summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorjlam <jlam>2005-01-22 16:22:25 +0000
committerjlam <jlam>2005-01-22 16:22:25 +0000
commitc30e896695f2e13a9e9a45cdd08309d6a4eb29e0 (patch)
tree57953a86774f1a2d7ba3e07c20e570b0a6200340 /security
parent5ed28703f7e0314715eddca0c33d954ca46a9f4e (diff)
downloadpkgsrc-c30e896695f2e13a9e9a45cdd08309d6a4eb29e0.tar.gz
Pass -DSYSCONFDIR="$sysconfdir" in the Makefile instead of the configure
script to avoid bizarre quoting problems within the configure script. This also fixes the definition of SYSCONFDIR in the compiled library. Bump the PKGREVISION to 1.
Diffstat (limited to 'security')
-rw-r--r--security/openpam/Makefile3
-rw-r--r--security/openpam/distinfo4
-rw-r--r--security/openpam/patches/patch-aa12
-rw-r--r--security/openpam/patches/patch-ac13
4 files changed, 17 insertions, 15 deletions
diff --git a/security/openpam/Makefile b/security/openpam/Makefile
index 27815a8c79b..9248ebcd030 100644
--- a/security/openpam/Makefile
+++ b/security/openpam/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.4 2005/01/17 16:55:21 jlam Exp $
+# $NetBSD: Makefile,v 1.5 2005/01/22 16:22:25 jlam Exp $
DISTNAME= openpam-20040210
+PKGREVISION= 1
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=openpam/}
diff --git a/security/openpam/distinfo b/security/openpam/distinfo
index d59b4d47669..5b894b85927 100644
--- a/security/openpam/distinfo
+++ b/security/openpam/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2005/01/13 21:51:08 jlam Exp $
+$NetBSD: distinfo,v 1.2 2005/01/22 16:22:25 jlam Exp $
SHA1 (openpam-20040210.tar.gz) = 99967a06cba98736d8999bf31aec80592f4718b2
Size (openpam-20040210.tar.gz) = 212523 bytes
-SHA1 (patch-aa) = a24f8ccd0da01358b4d1015fe54e21c4e78e659e
SHA1 (patch-ab) = 9e5149c20b1ea0c0b937e7d90e5c6b609d5b4796
+SHA1 (patch-ac) = 6cdf6231be6f896766ec3e9b78018a9d3180f8a8
diff --git a/security/openpam/patches/patch-aa b/security/openpam/patches/patch-aa
deleted file mode 100644
index 27330e98032..00000000000
--- a/security/openpam/patches/patch-aa
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: patch-aa,v 1.1.1.1 2005/01/13 21:51:08 jlam Exp $
-
---- configure.orig 2004-02-09 18:00:00.000000000 -0500
-+++ configure
-@@ -3213,6 +3213,7 @@ else
- echo "${ECHO_T}no" >&6
- fi;
-
-+CPPFLAGS="$CPPFLAGS -DSYSCONFDIR=\\\"$sysconfdir\\\""
-
- echo "$as_me:$LINENO: checking whether to build example version of /bin/su" >&5
- echo $ECHO_N "checking whether to build example version of /bin/su... $ECHO_C" >&6
diff --git a/security/openpam/patches/patch-ac b/security/openpam/patches/patch-ac
new file mode 100644
index 00000000000..b60b35cb69e
--- /dev/null
+++ b/security/openpam/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1 2005/01/22 16:22:25 jlam Exp $
+
+--- lib/Makefile.in.orig 2004-02-09 18:00:00.000000000 -0500
++++ lib/Makefile.in
+@@ -160,7 +160,7 @@ libpam_la_OBJECTS = $(am_libpam_la_OBJEC
+
+ DEFS = @DEFS@
+ DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
+-CPPFLAGS = @CPPFLAGS@
++CPPFLAGS = @CPPFLAGS@ -DSYSCONFDIR=\"$(sysconfdir)\"
+ LDFLAGS = @LDFLAGS@
+ LIBS = @LIBS@
+ depcomp = $(SHELL) $(top_srcdir)/depcomp