diff options
Diffstat (limited to 'security')
-rw-r--r-- | security/pam-pgsql/DESCR | 1 | ||||
-rw-r--r-- | security/pam-pgsql/Makefile | 21 | ||||
-rw-r--r-- | security/pam-pgsql/PLIST | 7 | ||||
-rw-r--r-- | security/pam-pgsql/distinfo | 6 | ||||
-rw-r--r-- | security/pam-pgsql/patches/patch-configure | 30 |
5 files changed, 65 insertions, 0 deletions
diff --git a/security/pam-pgsql/DESCR b/security/pam-pgsql/DESCR new file mode 100644 index 00000000000..290b36247a4 --- /dev/null +++ b/security/pam-pgsql/DESCR @@ -0,0 +1 @@ +PAM module to authenticate using a PostgreSQL database. diff --git a/security/pam-pgsql/Makefile b/security/pam-pgsql/Makefile new file mode 100644 index 00000000000..ea82918e3d7 --- /dev/null +++ b/security/pam-pgsql/Makefile @@ -0,0 +1,21 @@ +# $NetBSD: Makefile,v 1.1.1.1 2013/03/17 13:52:38 asau Exp $ + +DISTNAME= pam-pgsql-0.7.3.1 +CATEGORIES= security +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pam-pgsql/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://sourceforge.net/project/pam-pgsql/ +COMMENT= PAM module to authenticate using a PostgreSQL database +LICENSE= gnu-gpl-v2 + +GNU_CONFIGURE= yes +USE_LIBTOOL= yes +USE_LANGUAGES= c c++ + +CONFIGURE_ARGS+= --pammoddir=${PREFIX:Q}/lib/security + +.include "../../security/libgcrypt/buildlink3.mk" +.include "../../mk/pgsql.buildlink3.mk" +.include "../../mk/pam.buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/security/pam-pgsql/PLIST b/security/pam-pgsql/PLIST new file mode 100644 index 00000000000..10bab44b0d2 --- /dev/null +++ b/security/pam-pgsql/PLIST @@ -0,0 +1,7 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2013/03/17 13:52:38 asau Exp $ +lib/security/pam_pgsql.la +share/doc/pam-pgsql/CHANGELOG +share/doc/pam-pgsql/COPYRIGHT +share/doc/pam-pgsql/CREDITS +share/doc/pam-pgsql/README +share/doc/pam-pgsql/sample.sql diff --git a/security/pam-pgsql/distinfo b/security/pam-pgsql/distinfo new file mode 100644 index 00000000000..4b8d0577bab --- /dev/null +++ b/security/pam-pgsql/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2013/03/17 13:52:38 asau Exp $ + +SHA1 (pam-pgsql-0.7.3.1.tar.gz) = 55bef9c5159898897710d4d67f6092a48ce38b73 +RMD160 (pam-pgsql-0.7.3.1.tar.gz) = f55afb7f238d84c7fec98de4469d85e098a10552 +Size (pam-pgsql-0.7.3.1.tar.gz) = 301678 bytes +SHA1 (patch-configure) = 9c3d61cf2bf5eeb56c8366eb43de75b7627d992b diff --git a/security/pam-pgsql/patches/patch-configure b/security/pam-pgsql/patches/patch-configure new file mode 100644 index 00000000000..7ca2f27c053 --- /dev/null +++ b/security/pam-pgsql/patches/patch-configure @@ -0,0 +1,30 @@ +$NetBSD: patch-configure,v 1.1.1.1 2013/03/17 13:52:38 asau Exp $ + +--- configure.orig 2011-03-27 07:08:25.000000000 +0000 ++++ configure +@@ -1136,6 +1136,9 @@ do + | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) + oldincludedir=$ac_optarg ;; + ++ -pammoddir=* | --pammoddir=* | pammoddir=*) ++ pammoddir=$ac_optarg ;; ++ + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) + ac_prev=prefix ;; + -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) +@@ -11390,6 +11393,7 @@ if test "x$ac_cv_header_security_pam_mod + + fi + ++if test "x$pammoddir" = "x"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install the PAM module" >&5 + $as_echo_n "checking where to install the PAM module... " >&6; } + if test "x$ac_cv_header_security_openpam_h" = "xyes"; then : +@@ -11402,6 +11406,7 @@ else + $as_echo "$as_me: WARNING: Unknown PAM implementation, defaulting to something safe" >&2;} + + fi ++fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pammoddir" >&5 + $as_echo "$pammoddir" >&6; } + |