diff options
author | stas <stas@FreeBSD.org> | 2008-08-03 00:42:32 +0800 |
---|---|---|
committer | stas <stas@FreeBSD.org> | 2008-08-03 00:42:32 +0800 |
commit | 2abde8405980f294ad088a687f6e3f6a50e9d454 (patch) | |
tree | 36349712be692a77668ac7fc1c4154804018aa1f /security/pam_af | |
parent | 05ef2a047fe965e6a7c58e0ecabae9d1333c9a34 (diff) | |
download | freebsd-ports-gnome-2abde8405980f294ad088a687f6e3f6a50e9d454.tar.gz freebsd-ports-gnome-2abde8405980f294ad088a687f6e3f6a50e9d454.tar.zst freebsd-ports-gnome-2abde8405980f294ad088a687f6e3f6a50e9d454.zip |
- Correctly detect OpenPAM.
PR: ports/126185
Submitted by: Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
Diffstat (limited to 'security/pam_af')
-rw-r--r-- | security/pam_af/Makefile | 1 | ||||
-rw-r--r-- | security/pam_af/files/patch-common_pam_af.h | 11 | ||||
-rw-r--r-- | security/pam_af/files/patch-common_subr.c | 11 | ||||
-rw-r--r-- | security/pam_af/files/patch-pam_af.c | 11 |
4 files changed, 34 insertions, 0 deletions
diff --git a/security/pam_af/Makefile b/security/pam_af/Makefile index 4cb63df6234c..9128ab6b1cbe 100644 --- a/security/pam_af/Makefile +++ b/security/pam_af/Makefile @@ -7,6 +7,7 @@ PORTNAME= pam_af PORTVERSION= 1.0.1 +PORTREVISION= 1 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 new file mode 100644 index 000000000000..3d47c278b685 --- /dev/null +++ b/security/pam_af/files/patch-common_pam_af.h @@ -0,0 +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 +@@ -37,7 +37,7 @@ + #define CFGDB "/etc/pam_af.conf" + #define CFGDB_PERM (S_IRUSR | S_IWUSR) + +-#ifdef _OPENPAM ++#ifdef 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 new file mode 100644 index 000000000000..982b146c489a --- /dev/null +++ b/security/pam_af/files/patch-common_subr.c @@ -0,0 +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 +@@ -66,7 +66,7 @@ + # define LOGERR(...) warnx(__VA_ARGS__) + #else /* !PAM_AF_DEFS */ + # include <security/pam_appl.h> +-# ifdef _OPENPAM ++# ifdef 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 new file mode 100644 index 000000000000..8c7f3c044edc --- /dev/null +++ b/security/pam_af/files/patch-pam_af.c @@ -0,0 +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 +@@ -53,7 +53,7 @@ + + #include <security/pam_appl.h> + #include <security/pam_modules.h> +-#ifdef _OPENPAM ++#ifdef OPENPAM + # include <security/openpam.h> + # include <security/pam_mod_misc.h> + #endif |