aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/pam_bsdbioapi/Makefile5
-rw-r--r--security/pam_bsdbioapi/distinfo6
-rw-r--r--security/pam_bsdbioapi/files/patch-src_pam_bsdbioapi_pam_bsdbioapi.823
-rw-r--r--security/pam_bsdbioapi/files/patch-src_pam_bsdbioapi_pam_bsdbioapi.c51
-rw-r--r--security/pam_bsdbioapi/pkg-descr2
5 files changed, 6 insertions, 81 deletions
diff --git a/security/pam_bsdbioapi/Makefile b/security/pam_bsdbioapi/Makefile
index eb26c869c4d5..f2013f61c480 100644
--- a/security/pam_bsdbioapi/Makefile
+++ b/security/pam_bsdbioapi/Makefile
@@ -6,10 +6,9 @@
#
PORTNAME= pam_bsdbioapi
-PORTVERSION= 1.5
-PORTREVISION= 1
+PORTVERSION= 1.5.1
CATEGORIES= security
-MASTER_SITES= http://shapeshifter.se/pub/pam_bsdbioapi/
+MASTER_SITES= http://www.shapeshifter.se/pub/pam_bsdbioapi/
MAINTAINER= fli@shapeshifter.se
COMMENT= PAM module for BioAPI
diff --git a/security/pam_bsdbioapi/distinfo b/security/pam_bsdbioapi/distinfo
index bf142ac81cc0..45758fc3e9b9 100644
--- a/security/pam_bsdbioapi/distinfo
+++ b/security/pam_bsdbioapi/distinfo
@@ -1,3 +1,3 @@
-MD5 (pam_bsdbioapi-1.5.tar.gz) = 148a4dd4be43ba6a86554375264e2c88
-SHA256 (pam_bsdbioapi-1.5.tar.gz) = 8aed40bd942c9f3230eaba478736a3203be31e3d10574cdd812d4f03bf3cea78
-SIZE (pam_bsdbioapi-1.5.tar.gz) = 27827
+MD5 (pam_bsdbioapi-1.5.1.tar.gz) = 23802598b74265dc29c6d18c3b958654
+SHA256 (pam_bsdbioapi-1.5.1.tar.gz) = 7f715b2806dcfc5dbc42faa43caadc9f8c990c547c93ad322d0636d6c9850a1d
+SIZE (pam_bsdbioapi-1.5.1.tar.gz) = 27927
diff --git a/security/pam_bsdbioapi/files/patch-src_pam_bsdbioapi_pam_bsdbioapi.8 b/security/pam_bsdbioapi/files/patch-src_pam_bsdbioapi_pam_bsdbioapi.8
deleted file mode 100644
index 0e7d99d87b32..000000000000
--- a/security/pam_bsdbioapi/files/patch-src_pam_bsdbioapi_pam_bsdbioapi.8
+++ /dev/null
@@ -1,23 +0,0 @@
---- src/pam_bsdbioapi/pam_bsdbioapi.8 Thu Feb 23 06:15:13 2006
-+++ src/pam_bsdbioapi/pam_bsdbioapi.8.orig Sun Dec 10 06:36:31 2006
-@@ -36,6 +36,7 @@
- .Ar pam_bsdbioapi
- .Ar bsp-uuid
- .Ar backend
-+.Op -s
- .Op -f birdb-path
- .Op -m message-file
- .Sh DESCRIPTION
-@@ -69,6 +70,12 @@
- This option is required.
- .Pp
- .Bl -tag -width ".Fl m Ar message-file"
-+.It Fl s
-+Fail without prompting the user to swipe finger if the user has not enrolled
-+yet.
-+This is useful if only a handful of users has enrolled, but leaks whether the
-+given user has enrolled, to whomever tries to authenticate as the user (e.g.
-+an attacker outside).
- .It Fl f Ar birdb-path
- Specify an alternative path to the birdb.conf file for backend configuration.
- The default is /usr/local/etc/birdb.conf
diff --git a/security/pam_bsdbioapi/files/patch-src_pam_bsdbioapi_pam_bsdbioapi.c b/security/pam_bsdbioapi/files/patch-src_pam_bsdbioapi_pam_bsdbioapi.c
deleted file mode 100644
index 9e125ce4eafc..000000000000
--- a/security/pam_bsdbioapi/files/patch-src_pam_bsdbioapi_pam_bsdbioapi.c
+++ /dev/null
@@ -1,51 +0,0 @@
---- src/pam_bsdbioapi/pam_bsdbioapi.c Thu Feb 23 06:15:13 2006
-+++ src/pam_bsdbioapi/pam_bsdbioapi.c.orig Sun Dec 10 06:26:57 2006
-@@ -215,7 +215,7 @@
- int argc, const char *argv[])
- {
- const char *user, *bsp_id, *dbid, *conf, *msgfile;
-- int error, pam_retval = PAM_AUTH_ERR;
-+ int error, pam_retval = PAM_AUTH_ERR, skip_unenrolled;
- BioAPI_HANDLE *handle;
- struct birdb_rec keyrec, **recs;
- struct birdb_mod *bm;
-@@ -241,9 +241,10 @@
-
- conf = DEFCONFPATH;
- msgfile = NULL;
-+ skip_unenrolled = 0;
-
- optind = 2;
-- while ((opt = getopt(argc, (char **)argv, "m:f:")) != -1) {
-+ while ((opt = getopt(argc, (char **)argv, "m:f:s")) != -1) {
- switch (opt) {
- case 'm':
- msgfile = argv[optind - 1];
-@@ -253,6 +254,9 @@
- conf = argv[optind - 1];
- PAM_LOG("Got birdb configuration file: %s", conf);
- break;
-+ case 's':
-+ skip_unenrolled = 1;
-+ break;
- }
- }
-
-@@ -271,7 +275,6 @@
- PAM_LOG("Got user: %s", user);
-
- setuid(euid);
-- pam_info(pamh, "Initiating biometric authentication...");
-
- error = bioapi_init();
- if (error)
-@@ -312,7 +315,8 @@
-
- keyrec.br_key = (char *)user;
- recs = birdb_backend_get(bm, bmh, &keyrec);
-- if (recs != NULL) {
-+ if (recs != NULL && (!skip_unenrolled || recs[0] != NULL)) {
-+ pam_info(pamh, "Initiating biometric authentication...");
- handle = bioapi_attach_bsp(bsp_id);
- if (handle == NULL) {
- PAM_VERBOSE_ERROR("Failed to attach the selected BSP");
diff --git a/security/pam_bsdbioapi/pkg-descr b/security/pam_bsdbioapi/pkg-descr
index 305dd4591eef..caf704d4fb3a 100644
--- a/security/pam_bsdbioapi/pkg-descr
+++ b/security/pam_bsdbioapi/pkg-descr
@@ -5,4 +5,4 @@ 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
+WWW: http://www.shapeshifter.se/code/pam_bsdbioapi