diff options
author | stas <stas@FreeBSD.org> | 2008-08-03 16:06:15 +0800 |
---|---|---|
committer | stas <stas@FreeBSD.org> | 2008-08-03 16:06:15 +0800 |
commit | 52f909195b30939df578181a71be3b5fd85a7104 (patch) | |
tree | d1ac0d8652457b45c97fe20f7ba8b88acb5be9b5 /security/pam_af | |
parent | 5da4fea1a58c03f19defc9fc84c465655b81ad09 (diff) | |
download | freebsd-ports-gnome-52f909195b30939df578181a71be3b5fd85a7104.tar.gz freebsd-ports-gnome-52f909195b30939df578181a71be3b5fd85a7104.tar.zst freebsd-ports-gnome-52f909195b30939df578181a71be3b5fd85a7104.zip |
- OpenPAM seesm to defined _OPENPAM instead of OPENPAM in older
releases. Make autodetection work on both.
Diffstat (limited to 'security/pam_af')
-rw-r--r-- | security/pam_af/Makefile | 2 | ||||
-rw-r--r-- | security/pam_af/files/patch-common_pam_af.h | 6 | ||||
-rw-r--r-- | security/pam_af/files/patch-common_subr.c | 6 | ||||
-rw-r--r-- | security/pam_af/files/patch-pam_af.c | 6 |
4 files changed, 10 insertions, 10 deletions
diff --git a/security/pam_af/Makefile b/security/pam_af/Makefile index 9128ab6b1cbe..e7bd9fc8b787 100644 --- a/security/pam_af/Makefile +++ b/security/pam_af/Makefile @@ -7,7 +7,7 @@ PORTNAME= pam_af PORTVERSION= 1.0.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security MASTER_SITES= http://mbsd.msk.ru/dist/ diff --git a/security/pam_af/files/patch-common_pam_af.h b/security/pam_af/files/patch-common_pam_af.h index 3d47c278b685..18bcda768857 100644 --- a/security/pam_af/files/patch-common_pam_af.h +++ b/security/pam_af/files/patch-common_pam_af.h @@ -1,11 +1,11 @@ ---- common/pam_af.h.orig 2008-08-02 20:32:55.000000000 +0400 -+++ common/pam_af.h 2008-08-02 20:33:08.000000000 +0400 +--- common/pam_af.h.orig 2005-10-16 19:55:28.000000000 +0400 ++++ common/pam_af.h 2008-08-03 12:00:10.000000000 +0400 @@ -37,7 +37,7 @@ #define CFGDB "/etc/pam_af.conf" #define CFGDB_PERM (S_IRUSR | S_IWUSR) -#ifdef _OPENPAM -+#ifdef OPENPAM ++#if defined(OPENPAM) || defined(_OPENPAM) # define PAM_AF_LOG(...) \ PAM_LOG(__VA_ARGS__) # define PAM_AF_LOGERR(...) \ diff --git a/security/pam_af/files/patch-common_subr.c b/security/pam_af/files/patch-common_subr.c index 982b146c489a..6d1c86d95253 100644 --- a/security/pam_af/files/patch-common_subr.c +++ b/security/pam_af/files/patch-common_subr.c @@ -1,11 +1,11 @@ ---- common/subr.c.orig 2008-08-02 20:33:51.000000000 +0400 -+++ common/subr.c 2008-08-02 20:34:25.000000000 +0400 +--- common/subr.c.orig 2006-11-07 03:22:37.000000000 +0300 ++++ common/subr.c 2008-08-03 12:00:42.000000000 +0400 @@ -66,7 +66,7 @@ # define LOGERR(...) warnx(__VA_ARGS__) #else /* !PAM_AF_DEFS */ # include <security/pam_appl.h> -# ifdef _OPENPAM -+# ifdef OPENPAM ++# if defined(OPENPAM) || defined(_OPENPAM) # include <security/pam_mod_misc.h> # include <security/openpam.h> # endif diff --git a/security/pam_af/files/patch-pam_af.c b/security/pam_af/files/patch-pam_af.c index 8c7f3c044edc..cecd54d9ab60 100644 --- a/security/pam_af/files/patch-pam_af.c +++ b/security/pam_af/files/patch-pam_af.c @@ -1,11 +1,11 @@ ---- pam_af.c.orig 2008-08-02 20:34:30.000000000 +0400 -+++ pam_af.c 2008-08-02 20:34:36.000000000 +0400 +--- pam_af.c.orig 2006-11-07 03:05:53.000000000 +0300 ++++ pam_af.c 2008-08-03 12:03:49.000000000 +0400 @@ -53,7 +53,7 @@ #include <security/pam_appl.h> #include <security/pam_modules.h> -#ifdef _OPENPAM -+#ifdef OPENPAM ++#if defined(OPENPAM) || defined(_OPENPAM) # include <security/openpam.h> # include <security/pam_mod_misc.h> #endif |