aboutsummaryrefslogtreecommitdiffstats
path: root/security/pam-pgsql
diff options
context:
space:
mode:
authorwg <wg@FreeBSD.org>2013-05-20 18:29:45 +0800
committerwg <wg@FreeBSD.org>2013-05-20 18:29:45 +0800
commite3cbf703fcbe87bc72f0be54c21449ebde8c192f (patch)
tree071c9e1fa798906d2f73b37fd5040e70d6fb6cd8 /security/pam-pgsql
parentb4d30b187d5cdc7fffcb6ddfbe64a23fc023d67f (diff)
downloadfreebsd-ports-graphics-e3cbf703fcbe87bc72f0be54c21449ebde8c192f.tar.gz
freebsd-ports-graphics-e3cbf703fcbe87bc72f0be54c21449ebde8c192f.tar.zst
freebsd-ports-graphics-e3cbf703fcbe87bc72f0be54c21449ebde8c192f.zip
- Update to 0.7.3.1
- Pass maintainership to submitter - Remove leading article from COMMENT Changes: http://sourceforge.net/p/pam-pgsql/code/ci/46a971d5/tree/CHANGELOG PR: ports/178334 Submitted by: Berend de Boer <berend@pobox.com> Approved by: culot (mentor)
Diffstat (limited to 'security/pam-pgsql')
-rw-r--r--security/pam-pgsql/Makefile32
-rw-r--r--security/pam-pgsql/distinfo4
-rw-r--r--security/pam-pgsql/files/patch-Makefile.in11
-rw-r--r--security/pam-pgsql/files/patch-pam_get_pass.c19
-rw-r--r--security/pam-pgsql/files/patch-pam_pgsql.c14
-rw-r--r--security/pam-pgsql/pkg-plist7
6 files changed, 21 insertions, 66 deletions
diff --git a/security/pam-pgsql/Makefile b/security/pam-pgsql/Makefile
index c7d5b6d08b4..db9012359f7 100644
--- a/security/pam-pgsql/Makefile
+++ b/security/pam-pgsql/Makefile
@@ -1,34 +1,30 @@
-# New ports collection makefile for: pam-pgsql
-# Date created: Nov 16, 2000
-# Whom: Mikhail Teterin <mi@aldan.algebra.com>
-#
+# Created by: Mikhail Teterin <mi@aldan.algebra.com>
# $FreeBSD$
-#
PORTNAME= pam-pgsql
-PORTVERSION= 0.6.3
-PORTREVISION= 1
+PORTVERSION= 0.7.3.1
CATEGORIES= security databases
-MASTER_SITES= SF
-DISTNAME= libpam-pgsql-${PORTVERSION}
+MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/0.7/
-MAINTAINER= ports@FreeBSD.org
-COMMENT= A pam module for authenticating with PostgreSQL
+MAINTAINER= berend@pobox.com
+COMMENT= PAM module for authenticating with PostgreSQL
-LIB_DEPENDS= mhash.2:${PORTSDIR}/security/mhash
+LIB_DEPENDS= mhash:${PORTSDIR}/security/mhash \
+ gcrypt:${PORTSDIR}/security/libgcrypt
-USE_BZIP2= yes
USE_PGSQL= yes
GNU_CONFIGURE= yes
-WRKSRC= ${WRKDIR}/${DISTNAME:S/lib//}
-post-install:
+CONFIGURE_ARGS+= --libdir=/usr/lib
+
+.include <bsd.port.options.mk>
+
post-install:
@${SED} -e 's,%%PREFIX%%,${PREFIX},' ${PKGMESSAGE}
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/debian/changelog \
- ${WRKSRC}/debian/copyright ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/CHANGELOG \
+ ${WRKSRC}/COPYRIGHT ${DOCSDIR}
.endif
.include <bsd.port.mk>
diff --git a/security/pam-pgsql/distinfo b/security/pam-pgsql/distinfo
index 785ff26c7a2..599889d369b 100644
--- a/security/pam-pgsql/distinfo
+++ b/security/pam-pgsql/distinfo
@@ -1,2 +1,2 @@
-SHA256 (libpam-pgsql-0.6.3.tar.bz2) = 0e47e8f1fda4439073fb57a88c464af8593e7d2bc61b1fda531497250711b739
-SIZE (libpam-pgsql-0.6.3.tar.bz2) = 63420
+SHA256 (pam-pgsql-0.7.3.1.tar.gz) = c9327e7636e81a2d2bbaf4f017edbd9319a08df1654c9d1875e6f933750548dd
+SIZE (pam-pgsql-0.7.3.1.tar.gz) = 301678
diff --git a/security/pam-pgsql/files/patch-Makefile.in b/security/pam-pgsql/files/patch-Makefile.in
deleted file mode 100644
index 56b834bfafd..00000000000
--- a/security/pam-pgsql/files/patch-Makefile.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- Makefile.in.orig Wed May 25 21:02:56 2005
-+++ Makefile.in Thu Aug 18 21:30:07 2005
-@@ -9,7 +9,7 @@
- LDLIBS= ${LINK} -lpam -lpq @PAM_MISC_LD@ @MHASH_LD@
- INCLUDE= @PGSQL_INC@ @MHASH_INC@
- DEBUG= @DEBUG@
--CFLAGS= -O2 -frename-registers -fstrict-aliasing -fPIC -DPIC -Wall -W -Wdisabled-optimization -Wredundant-decls -Wmissing-format-attribute -Wmissing-noreturn -D_GNU_SOURCE ${INCLUDE} ${DEBUG}
-+CFLAGS= @CFLAGS@ -fPIC -DPIC -D_GNU_SOURCE ${INCLUDE} ${DEBUG}
-
-
- all: ${LIBLIB}
diff --git a/security/pam-pgsql/files/patch-pam_get_pass.c b/security/pam-pgsql/files/patch-pam_get_pass.c
deleted file mode 100644
index 103509d6331..00000000000
--- a/security/pam-pgsql/files/patch-pam_get_pass.c
+++ /dev/null
@@ -1,19 +0,0 @@
---- pam_get_pass.c.orig Wed May 25 21:02:56 2005
-+++ pam_get_pass.c Thu Aug 18 21:25:11 2005
-@@ -34,7 +34,16 @@
- #include <stdlib.h>
- #include <string.h>
- #include <security/pam_modules.h>
-+#include <security/pam_appl.h>
- #include "pam_mod_misc.h"
-+
-+#ifdef __FreeBSD__
-+#include <sys/param.h>
-+#endif
-+
-+#if (defined(__FreeBSD__) && __FreeBSD_version > 500000)
-+#define PAM_AUTHTOK_RECOVER_ERR PAM_AUTHTOK_RECOVERY_ERR
-+#endif
-
- static int
- pam_conv_pass(pam_handle_t *pamh, int pam_item, const char *prompt, int options)
diff --git a/security/pam-pgsql/files/patch-pam_pgsql.c b/security/pam-pgsql/files/patch-pam_pgsql.c
deleted file mode 100644
index 72488a1cb00..00000000000
--- a/security/pam-pgsql/files/patch-pam_pgsql.c
+++ /dev/null
@@ -1,14 +0,0 @@
---- pam_pgsql.c.orig Wed Aug 17 00:05:28 2005
-+++ pam_pgsql.c Wed Aug 17 00:06:51 2005
-@@ -17,10 +17,10 @@
- #include <time.h>
- #include <sys/time.h>
- #include <libpq-fe.h>
--#include <crypt.h>
- #include <sys/types.h>
- #include <unistd.h>
- #include <netdb.h>
-+#include <security/pam_appl.h>
-
- #define PAM_SM_AUTH
- #define PAM_SM_ACCOUNT
diff --git a/security/pam-pgsql/pkg-plist b/security/pam-pgsql/pkg-plist
index e6ddba9cdc6..5fc42044025 100644
--- a/security/pam-pgsql/pkg-plist
+++ b/security/pam-pgsql/pkg-plist
@@ -1,6 +1,9 @@
%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/changelog
-%%PORTDOCS%%%%DOCSDIR%%/copyright
+%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG
+%%PORTDOCS%%%%DOCSDIR%%/COPYRIGHT
+%%PORTDOCS%%%%DOCSDIR%%/CREDITS
+%%PORTDOCS%%%%DOCSDIR%%/sample.sql
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@cwd /usr
lib/pam_pgsql.so
+lib/pam_pgsql.la