Fix bugs in my MASTER_SITES mechanismo (too bad, the MASTER_SITE_DEBIAN idea is not catching up), and upgrade the port to port-revision 2, which uses the newer patch from the authors 0.5.2-2.97a8737613
Port details
security/pam-pgsql 0.7.3.2_2
PAM module for authenticating with PostgreSQL
Port info
- Maintainer
- berend@pobox.com
- Packages
- latest: 0.7.3.2_2
- Upstream
- up to date
- Last update
- to 0.7.3.2_2 · d9b3e6b67a
- Quarterly
- 2026Q4: 0.7.3.2_2
- WWW
- https://sourceforge.net/projects/pam-pgsql/
- Links
- cgit · VuXML
Install
- Package
# pkg install pam-pgsqlinstalls 0.7.3.2_2 fromlatest; fromquarterly(2026Q4) 0.7.3.2_2- Port
# cd /usr/ports/security/pam-pgsql && make install clean# make -C /usr/ports/security/pam-pgsql config # change options first
- Size
- 25 KiB download · 61 KiB installed
- Depends on
- databases/postgresql18-client 18.6, security/libgcrypt 1.12.4, security/mhash 0.9.9.9_6
- License
- GPLv2
- Options
- 1 of 1 on in the package: DOCS
- pkg-message
Shown after installing
Follow the instructions in the /usr/local/share/doc/pam-pgsql/README to use this module. Note, that unlike most other ports, this port installs a file into /usr/lib directly (/usr/lib/pam_pgsql.so), because PAM requires that.
Packages by version and architecture
latest
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 16 | 0.7.3.2_2 | 0.7.3.2_2 | – |
| FreeBSD 15 | 0.7.3.2_2 | 0.7.3.2_2 | – |
| FreeBSD 14 | 0.7.3.2_2 | 0.7.3.2_2 | 0.7.3.2_2 |
quarterly (2026Q4)
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 15 | 0.7.3.2_2 | 0.7.3.2_2 | – |
| FreeBSD 14 | 0.7.3.2_2 | 0.7.3.2_2 | 0.7.3.2_2 |
version as in the ports tree (latest) or the most common one (quarterly) · different version · ✗ not built · – no packages for this platform. Package sets that have not been rebuilt for 60 days are left out.
Unaddressed and VuXML only (0)
No unaddressed CVE and nothing reported by
pkg audit for the packaged version 0.7.3.2_2.Fixed (0)
No VuXML entries for this package.
Problem reports (0) · open in Bugzilla, most recently changed first
None.
Commits (61)
Update to 0.5.2, which also includes the fix for the security hole I tried to close before. Note, that the hole WAS STILL THERE in 0.5.1 -- up until today :-( Although I added the pqescape.c, I forgot to add the patch, that made use of it...0474c49222
Close the security hole by making it escape all of the untrusted input before passing it to the SQL server. The code in the added pqescape.c is going to be in the next PostgreSQL release, but it is not there yet and this port will use its own private copy for now. No REVISION bump since the port was forbidden ever since the last upgrade. Submitter reviewed my tweaks of his patch and approved them authorizing (as one of the SOs) the removal of the FORBIDDEN flag. Submitted by: nectar Reviewed by: nectar Approved by: nectar Obtained from: http://CERT.uni-stuttgart.de/doc/postgresql/escape/6c09982b17
Remove the dependency on security/mhash by calling MD5Data directly. No REVISION bump, as the port remained FORBIDDEN ever since the last upgrade. While here, clarify the FORBIDDEN message a little.396ebf2f43
Mark this port FORBIDDEN due to a security hole.f6a3e78db7
Upgrade to 0.5.1. It now uses mhash, BTW. Submitted by: fenner's script (thanks!)d9eb6b3687
Re-organize the local MASTER_SITE_DEBIAN setting to include A LOT of country-code based aliases for the debian mirrors. Someone with power to commit to bsd.sites.mk should, of course, move it there ASAP. Get ready for upgrade to 0.5.1 -- noone else stepped forward to do this.d94195aac0
Fix include directory for postgresql7.1's new layout.7b48829512
Fix the package building (I used - in the Makefile, but _ in the pkg-plist) by passing the DOCDIR variable through PLIST_SUB. Remove my own PLIST_SUB hackery that predated (and, hopefully, inspired) the now standard PORTDOCS addition. Surprisingly enough, there still is no version 0.4 of this thing on the distsite... Submitted by: bento (and fenner's script -- many thanks)34cf5e431b
Fix the hardcoded prefix path to the ${LOCALBASE}.
Submitted by: vanilla196ab31ef4Add pam-pgsql 0.3, a pam module for authenticating with PostgreSQL. PR: 22876 Submitted by: Mikhail Teterin <mi@aldan.algebra.com>6b65c45f49