summaryrefslogtreecommitdiffstats
path: root/security/pam_bsdbioapi
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2006-03-18 21:00:37 +0000
committerpav <pav@FreeBSD.org>2006-03-18 21:00:37 +0000
commitc6f07b67db3191ff95178a5879d130673022c899 (patch)
tree99920e9e5de23fe7f28db961fa7f7b42433eb7e4 /security/pam_bsdbioapi
parentf03589336f7c8b33370b490aa634828f24b9479f (diff)
downloadFreeBSD-ports-c6f07b67db3191ff95178a5879d130673022c899.zip
FreeBSD-ports-c6f07b67db3191ff95178a5879d130673022c899.tar.gz
- Update to 1.5
PR: ports/93794 Submitted by: Fredrik Lindberg <fli@shapeshifter.se> (maintainer)
Diffstat (limited to 'security/pam_bsdbioapi')
-rw-r--r--security/pam_bsdbioapi/Makefile33
-rw-r--r--security/pam_bsdbioapi/distinfo6
-rw-r--r--security/pam_bsdbioapi/files/pkg-message.in10
-rw-r--r--security/pam_bsdbioapi/pkg-descr4
-rw-r--r--security/pam_bsdbioapi/pkg-plist10
5 files changed, 57 insertions, 6 deletions
diff --git a/security/pam_bsdbioapi/Makefile b/security/pam_bsdbioapi/Makefile
index 9ac259a..a0d9e17 100644
--- a/security/pam_bsdbioapi/Makefile
+++ b/security/pam_bsdbioapi/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= pam_bsdbioapi
-PORTVERSION= 1.0
+PORTVERSION= 1.5
CATEGORIES= security
MASTER_SITES= http://shapeshifter.se/pub/pam_bsdbioapi/
@@ -15,10 +15,41 @@ COMMENT= PAM module for BioAPI
LIB_DEPENDS= bioapi100.0:${PORTSDIR}/security/bioapi
+INSTALLS_SHLIB= yes
+SUB_FILES= pkg-message
MAN8= pam_bsdbioapi.8
+MAN3= libbirdb.3
+MAN1= bbdm.1
+
+OPTIONS= FILEDB "Filebacked database backend" on \
+ MYSQL "MySQL backend" off \
+ PLAIN "Plain ASCII backend" on
.include <bsd.port.pre.mk>
+PLIST_FILES= etc/birdb.conf.sample
+BACKENDS=
+.if defined(WITH_FILEDB)
+BACKENDS+= filedb
+PLIST_FILES+= share/birdb/birdb_filedb.so
+.endif
+.if defined(WITH_MYSQL)
+USE_MYSQL= yes
+BACKENDS+= mysql
+PLIST_FILES+= share/birdb/birdb_mysql.so
+.endif
+.if defined(WITH_PLAIN)
+BACKENDS+= plain
+PLIST_FILES+= share/birdb/birdb_plain.so
+.endif
+
+CFLAGS+= -fPIC
+MAKE_ENV= BACKENDS="${BACKENDS}"
+
+post-install:
+ ${INSTALL} ${WRKSRC}/etc/birdb.conf ${PREFIX}/etc/birdb.conf.sample
+ @${CAT} ${PKGMESSAGE}
+
.if ${OSVERSION} < 500000
IGNORE= needs at least FreeBSD 5.0-RELEASE
.endif
diff --git a/security/pam_bsdbioapi/distinfo b/security/pam_bsdbioapi/distinfo
index f71346e..bf142ac 100644
--- a/security/pam_bsdbioapi/distinfo
+++ b/security/pam_bsdbioapi/distinfo
@@ -1,3 +1,3 @@
-MD5 (pam_bsdbioapi-1.0.tar.gz) = 04c3ad00c08865d205f131813484f9a5
-SHA256 (pam_bsdbioapi-1.0.tar.gz) = 6bed45702320c674d385ece24603591e818dfb43d34b0b3e4a70be8c6d567531
-SIZE (pam_bsdbioapi-1.0.tar.gz) = 4640
+MD5 (pam_bsdbioapi-1.5.tar.gz) = 148a4dd4be43ba6a86554375264e2c88
+SHA256 (pam_bsdbioapi-1.5.tar.gz) = 8aed40bd942c9f3230eaba478736a3203be31e3d10574cdd812d4f03bf3cea78
+SIZE (pam_bsdbioapi-1.5.tar.gz) = 27827
diff --git a/security/pam_bsdbioapi/files/pkg-message.in b/security/pam_bsdbioapi/files/pkg-message.in
new file mode 100644
index 0000000..05d7183
--- /dev/null
+++ b/security/pam_bsdbioapi/files/pkg-message.in
@@ -0,0 +1,10 @@
+
+**********************************************************
+
+ A sample configuration file for libbirdb has been copied
+ to %%PREFIX%%/etc/birdb.conf.sample
+ You need to create a birdb.conf file before pam_bsdbioapi
+ can run properly.
+
+**********************************************************
+
diff --git a/security/pam_bsdbioapi/pkg-descr b/security/pam_bsdbioapi/pkg-descr
index 5b03702..305dd45 100644
--- a/security/pam_bsdbioapi/pkg-descr
+++ b/security/pam_bsdbioapi/pkg-descr
@@ -1,4 +1,8 @@
The (BSD) BioAPI service module for PAM provides authentication management
through BioAPI BSPs.
+Features includes support for multiple database backends for BIR storage,
+BSP message callback translation for easy integration with graphical login
+managers such as GDM.
+
WWW: http://shapeshifter.se/code/pam_bsdbioapi
diff --git a/security/pam_bsdbioapi/pkg-plist b/security/pam_bsdbioapi/pkg-plist
index 6090c70..b3b41b9 100644
--- a/security/pam_bsdbioapi/pkg-plist
+++ b/security/pam_bsdbioapi/pkg-plist
@@ -1,3 +1,9 @@
-lib/libpam_bsdbioapi.a
-lib/libpam_bsdbioapi_p.a
+sbin/bbdm
+include/birdb.h
+lib/libbirdb.so.0
+lib/libbirdb.a
+lib/libbirdb.so
lib/pam_bsdbioapi.so
+@dirrm share/birdb
+share/pam_bsdbioapi/upek_touchchip.cmsg
+@dirrm share/pam_bsdbioapi
OpenPOWER on IntegriCloud