summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorjoerg <joerg>2006-10-09 12:52:34 +0000
committerjoerg <joerg>2006-10-09 12:52:34 +0000
commit8ef8b1d313dbe7ace4b99e4611fafd727ea64f46 (patch)
tree394404a5282788a08d7e1183cc0f35c1b517e24d /security
parent1061ad5e759c85ead19c2d6143b0ff8ef065d46d (diff)
downloadpkgsrc-8ef8b1d313dbe7ace4b99e4611fafd727ea64f46.tar.gz
Flag a number of packages I use as supporting (user-)destdir.
apg is a bit special as it has some hardcoded ownership, so mark that as "destdir".
Diffstat (limited to 'security')
-rw-r--r--security/apg/Makefile8
-rw-r--r--security/audit-packages/Makefile9
2 files changed, 10 insertions, 7 deletions
diff --git a/security/apg/Makefile b/security/apg/Makefile
index 587e0b34287..e4daf95da46 100644
--- a/security/apg/Makefile
+++ b/security/apg/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2005/12/05 20:50:54 rillig Exp $
+# $NetBSD: Makefile,v 1.10 2006/10/09 12:52:36 joerg Exp $
#
DISTNAME= apg-2.2.3
@@ -9,7 +9,9 @@ MAINTAINER= zuntum@NetBSD.org
HOMEPAGE= http://www.adel.nursat.kz/apg/
COMMENT= Tool set for random password generation
-MAKE_ENV+= FLAGS=${CFLAGS:M*:Q} INSTALL_PREFIX=${PREFIX:Q}
+PKG_DESTDIR_SUPPORT= destdir
+
+MAKE_ENV+= FLAGS=${CFLAGS:M*:Q} INSTALL_PREFIX=${DESTDIR:Q}${PREFIX:Q}
USE_TOOLS+= perl:run
REPLACE_PERL= perl/apgcli.pl
@@ -20,6 +22,6 @@ CS_LIBS.SunOS+= -lnsl -lsocket
MAKE_ENV+= CS_LIBS=${CS_LIBS:Q}
post-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/perl/apgcli.pl ${PREFIX}/bin/apgcli
+ ${INSTALL_SCRIPT} ${WRKSRC}/perl/apgcli.pl ${DESTDIR}${PREFIX}/bin/apgcli
.include "../../mk/bsd.pkg.mk"
diff --git a/security/audit-packages/Makefile b/security/audit-packages/Makefile
index 4c03c7bc987..2c7d01bac02 100644
--- a/security/audit-packages/Makefile
+++ b/security/audit-packages/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.70 2006/10/05 14:26:42 joerg Exp $
+# $NetBSD: Makefile,v 1.71 2006/10/09 12:52:36 joerg Exp $
DISTNAME= audit-packages-1.44
CATEGORIES= security pkgtools
@@ -9,6 +9,7 @@ MAINTAINER= agc@NetBSD.org
COMMENT= Tools to show vulnerabilities in installed packages
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
USE_TOOLS+= digest:run
@@ -18,8 +19,8 @@ WRKSRC= ${WRKDIR}
NO_CHECKSUM= yes
OWN_DIRS= ${PKGVULNDIR}
-MAN8DIR= ${PREFIX}/${PKGMANDIR}/man8
-CAT8DIR= ${PREFIX}/${PKGMANDIR}/cat8
+MAN8DIR= ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
+CAT8DIR= ${DESTDIR}${PREFIX}/${PKGMANDIR}/cat8
INSTALLATION_DIRS= ${CAT8DIR} ${MAN8DIR} sbin
.include "../../mk/bsd.prefs.mk"
@@ -58,7 +59,7 @@ do-build:
do-install:
@for f in audit-packages download-vulnerability-list; do \
- ${INSTALL_SCRIPT} ${WRKSRC}/$$f ${PREFIX}/sbin; \
+ ${INSTALL_SCRIPT} ${WRKSRC}/$$f ${DESTDIR}${PREFIX}/sbin; \
done
${INSTALL_MAN} ${WRKSRC}/audit-packages.0 ${CAT8DIR}/
${INSTALL_MAN} ${WRKSRC}/audit-packages.8 ${MAN8DIR}/