summaryrefslogtreecommitdiff
path: root/security/pam-af
diff options
context:
space:
mode:
authorjoerg <joerg>2008-06-12 02:14:13 +0000
committerjoerg <joerg>2008-06-12 02:14:13 +0000
commit39d7fb93432416d872ed34e0025741cc93068c06 (patch)
treec12b9c282e2706cb6bac87456615dfdf2b256e55 /security/pam-af
parentcce8b72ae5b66d3a54ac565ef8ac6780597301bc (diff)
downloadpkgsrc-39d7fb93432416d872ed34e0025741cc93068c06.tar.gz
Add DESTDIR support.
Diffstat (limited to 'security/pam-af')
-rw-r--r--security/pam-af/Makefile4
-rw-r--r--security/pam-af/distinfo4
-rw-r--r--security/pam-af/patches/patch-aa18
3 files changed, 16 insertions, 10 deletions
diff --git a/security/pam-af/Makefile b/security/pam-af/Makefile
index 142221f569f..3c51182a13f 100644
--- a/security/pam-af/Makefile
+++ b/security/pam-af/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2007/01/08 05:49:01 obache Exp $
+# $NetBSD: Makefile,v 1.2 2008/06/12 02:14:44 joerg Exp $
DISTNAME= pam_af-1.0.1
PKGNAME= ${DISTNAME:S/_/-/}
@@ -10,6 +10,8 @@ MAINTAINER= obache@NetBSD.org
HOMEPAGE= http://mbsd.msk.ru/stas/pam_af.html
COMMENT= Anti-bruteforce PAM module
+PKG_DESTDIR_SUPPORT= user-destdir
+
.include "../../mk/bsd.fast.prefs.mk"
.if ${OPSYS} == "Linux"
diff --git a/security/pam-af/distinfo b/security/pam-af/distinfo
index 05ab7c75767..a5d961c16c6 100644
--- a/security/pam-af/distinfo
+++ b/security/pam-af/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.2 2008/06/01 08:09:38 obache Exp $
+$NetBSD: distinfo,v 1.3 2008/06/12 02:14:44 joerg Exp $
SHA1 (pam_af-1.0.1.tar.bz2) = f953e50791db0d13f124ce0346f1db43b9d0bafa
RMD160 (pam_af-1.0.1.tar.bz2) = 6fd33ef36b810eac58a59cd6ae0eb918548205e3
Size (pam_af-1.0.1.tar.bz2) = 18006 bytes
-SHA1 (patch-aa) = 57b60fc8b7860c476451d33112aa67ac756ede5a
+SHA1 (patch-aa) = 121c46c9a00c6973d5d9b5588dadb24e7c9f4289
SHA1 (patch-ab) = 160c9a9a43506389abaccd7d5aa6c16f96511a46
diff --git a/security/pam-af/patches/patch-aa b/security/pam-af/patches/patch-aa
index c672266ff2e..337f9085142 100644
--- a/security/pam-af/patches/patch-aa
+++ b/security/pam-af/patches/patch-aa
@@ -1,15 +1,19 @@
-$NetBSD: patch-aa,v 1.1.1.1 2007/01/08 05:49:01 obache Exp $
+$NetBSD: patch-aa,v 1.2 2008/06/12 02:14:44 joerg Exp $
---- Makefile.orig 2006-11-07 09:26:58.000000000 +0900
+--- Makefile.orig 2006-11-07 00:26:58.000000000 +0000
+++ Makefile
-@@ -104,14 +104,14 @@ TOOLMAN = $(TOOLDIR)/$(DISTTOOLMAN)
+@@ -102,16 +102,16 @@ DISTTOOLMAN = pam_af_tool.8
+ LIBMAN = $(LIBDIR)/$(DISTLIBMAN)
+ TOOLMAN = $(TOOLDIR)/$(DISTTOOLMAN)
- SECUREDIR = /lib/security
- SBINDIR = /sbin
+-SECUREDIR = /lib/security
+-SBINDIR = /sbin
-MANDIR = /share/man
-DESTDIR = /usr/local
-+MANDIR = /$(PKGMANDIR)
-+DESTDIR = $(PREFIX)
++SECUREDIR = ${PREFIX}/lib/security
++SBINDIR = ${PREFIX}/sbin
++MANDIR = ${PREFIX}/$(PKGMANDIR)
++#DESTDIR = /usr/local
LIB_OBJS = $(LIBDIR)/pam_af.o $(LIBDIR)/subr.o
TOOL_OBJS = $(TOOLDIR)/pam_af_tool.o $(TOOLDIR)/subr.o