summaryrefslogtreecommitdiff
path: root/security
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
parentcce8b72ae5b66d3a54ac565ef8ac6780597301bc (diff)
downloadpkgsrc-39d7fb93432416d872ed34e0025741cc93068c06.tar.gz
Add DESTDIR support.
Diffstat (limited to 'security')
-rw-r--r--security/AiCA/Makefile28
-rw-r--r--security/AiSSLtelnet/Makefile10
-rw-r--r--security/Bastille/Makefile8
-rw-r--r--security/CSP/Makefile8
-rw-r--r--security/CoolKey/Makefile4
-rw-r--r--security/MyPasswordSafe/Makefile6
-rw-r--r--security/aide/Makefile4
-rw-r--r--security/aide06/Makefile4
-rw-r--r--security/amap/Makefile22
-rw-r--r--security/amavis-perl/Makefile48
-rw-r--r--security/amavisd-new/Makefile42
-rw-r--r--security/antonym/Makefile13
-rw-r--r--security/beecrypt/Makefile4
-rw-r--r--security/dirb/Makefile4
-rw-r--r--security/egd/Makefile4
-rw-r--r--security/fsh/Makefile4
-rw-r--r--security/p5-Net-SSH/Makefile4
-rw-r--r--security/p5-SHA/Makefile4
-rw-r--r--security/p5-String-Random/Makefile4
-rw-r--r--security/pam-af/Makefile4
-rw-r--r--security/pam-af/distinfo4
-rw-r--r--security/pam-af/patches/patch-aa18
-rw-r--r--security/pam-ldap/Makefile11
-rw-r--r--security/pam-mysql/Makefile9
-rw-r--r--security/pam-radius/Makefile20
-rw-r--r--security/pcsc-lite/Makefile9
-rw-r--r--security/pgp2/Makefile24
-rw-r--r--security/pgp5/Makefile9
-rw-r--r--security/pgpenvelope/Makefile4
-rw-r--r--security/php-mcrypt/Makefile4
-rw-r--r--security/php-mhash/Makefile4
-rw-r--r--security/pinentry/Makefile4
-rw-r--r--security/portsentry/Makefile9
-rw-r--r--security/portsentry/distinfo4
-rw-r--r--security/portsentry/patches/patch-ac6
-rw-r--r--security/prelude-pflogger/Makefile6
-rw-r--r--security/prelude-pflogger/distinfo4
-rw-r--r--security/prelude-pflogger/patches/patch-aa4
-rw-r--r--security/prngd/Makefile20
-rw-r--r--security/pscan/Makefile8
-rw-r--r--security/putty/Makefile6
-rw-r--r--security/pwsafe/Makefile4
-rw-r--r--security/py-OpenSSL/Makefile4
-rw-r--r--security/py-crack/Makefile4
-rw-r--r--security/py-gnupg/Makefile4
-rw-r--r--security/py-gnutls/Makefile4
-rw-r--r--security/py-m2crypto/Makefile4
-rw-r--r--security/py-mcrypt/Makefile4
-rw-r--r--security/py-paramiko/Makefile4
-rw-r--r--security/py-smbpasswd/Makefile4
-rw-r--r--security/py-tlslite/Makefile4
-rw-r--r--security/pyca/Makefile30
52 files changed, 286 insertions, 200 deletions
diff --git a/security/AiCA/Makefile b/security/AiCA/Makefile
index 9b5da5bcd96..120efe72291 100644
--- a/security/AiCA/Makefile
+++ b/security/AiCA/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2008/01/18 05:09:36 tnn Exp $
+# $NetBSD: Makefile,v 1.17 2008/06/12 02:14:44 joerg Exp $
#
DISTNAME= AiCA-0.81
@@ -10,6 +10,8 @@ MAINTAINER= tech-pkg-ja@jp.NetBSD.org
HOMEPAGE= http://mars.elcom.nitech.ac.jp/security/
COMMENT= Manage Certification Authority and PKI utilities
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= yes
WRKSRC= ${WRKDIR}/AiCA
@@ -25,7 +27,7 @@ LIBRARIES= libaica.a libaicrypto.a libaissl.a
DOCS= COPYRIGHT README README.j
EXAMPLES= lib/aica.cnf sample.csv
-INSTALLATION_DIRS= bin include lib
+INSTALLATION_DIRS= bin include lib certs templates ${DOCDIR} ${EXAMPLESDIR}
pre-configure:
cd ${WRKSRC}; \
@@ -34,25 +36,21 @@ pre-configure:
do-install:
.for f in ${LIBRARIES}
- ${INSTALL_LIB} ${WRKSRC}/lib/${f} ${PREFIX}/lib
+ ${INSTALL_LIB} ${WRKSRC}/lib/${f} ${DESTDIR}${PREFIX}/lib
.endfor
.for f in ${COMMANDS}
- ${INSTALL_PROGRAM} ${WRKSRC}/${f} ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/bin
.endfor
- ${INSTALL_SCRIPT} ${WRKSRC}/bin/newca.sh ${PREFIX}/bin
- ${INSTALL_DATA} ${WRKSRC}/aicrypto/include/*.h ${PREFIX}/include
- ${INSTALL_DATA} ${WRKSRC}/aiconfig.h ${PREFIX}/include
- ${INSTALL_DATA_DIR} ${PREFIX}/certs
- ${CP} ${WRKSRC}/certs/* ${PREFIX}/certs
- ${INSTALL_DATA_DIR} ${PREFIX}/templates
- ${CP} ${WRKSRC}/templates/* ${PREFIX}/templates
- ${INSTALL_DATA_DIR} ${DOCDIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/bin/newca.sh ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/aicrypto/include/*.h ${DESTDIR}${PREFIX}/include
+ ${INSTALL_DATA} ${WRKSRC}/aiconfig.h ${DESTDIR}${PREFIX}/include
+ ${CP} ${WRKSRC}/certs/* ${DESTDIR}${PREFIX}/certs
+ ${CP} ${WRKSRC}/templates/* ${DESTDIR}${PREFIX}/templates
.for f in ${DOCS}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${DOCDIR}
.endfor
- ${INSTALL_DATA_DIR} ${EXAMPLESDIR}
.for f in ${EXAMPLES}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${EXAMPLESDIR}
.endfor
.include "../../security/openssl/buildlink3.mk"
diff --git a/security/AiSSLtelnet/Makefile b/security/AiSSLtelnet/Makefile
index 4555ad11652..574107502a8 100644
--- a/security/AiSSLtelnet/Makefile
+++ b/security/AiSSLtelnet/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2008/05/17 08:22:56 obache Exp $
+# $NetBSD: Makefile,v 1.10 2008/06/12 02:14:44 joerg Exp $
#
DISTNAME= AiSSLtelnet-0.15
@@ -10,6 +10,8 @@ MAINTAINER= tech-pkg-ja@jp.NetBSD.org
HOMEPAGE= http://mars.elcom.nitech.ac.jp/security/
COMMENT= SSL Telnet based on AiSSL
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= YES
RESTRICTED= Source code redistribution is not permitted.consult okuno@mars.elcom.nitech.ac.jp.
@@ -18,10 +20,12 @@ NO_SRC_ON_CDROM= ${RESTRICTED}
WRKSRC= ${WRKDIR}/AiSSLtelnet
+INSTALLATION_DIRS= share/doc/AiSSLtelnet
+INSTALL_MAKE_FLAGS= PREFIX=${DESTDIR}${PREFIX}
+
pre-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/AiSSLtelnet
${INSTALL_DATA} ${WRKSRC}/aicrypto/COPYRIGHT ${WRKSRC}/README \
- ${WRKSRC}/README-j ${PREFIX}/share/doc/AiSSLtelnet
+ ${WRKSRC}/README-j ${DESTDIR}${PREFIX}/share/doc/AiSSLtelnet
# The sources assume <malloc.h> exists. Create a fake one for platforms
# that don't have it.
diff --git a/security/Bastille/Makefile b/security/Bastille/Makefile
index 0fd0b6b53aa..c2c880ca9e4 100644
--- a/security/Bastille/Makefile
+++ b/security/Bastille/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2008/03/04 11:02:25 rillig Exp $
+# $NetBSD: Makefile,v 1.4 2008/06/12 02:14:44 joerg Exp $
#
DISTNAME= Bastille-3.0.9
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://bastille-linux.sourceforge.net/
COMMENT= System hardening tool focusing on educating the user
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/Bastille
CONFIGURE_ENV+= GCONF_SCHEMA_FILE_DIR=${PREFIX:Q}/share/gconf/schemas/
MAKE_ENV+= GCONF_SCHEMA_FILE_DIR=${PREFIX:Q}/share/gconf/schemas/
@@ -25,8 +27,8 @@ SUBST_CLASSES+= b
SUBST_STAGE.b= pre-configure
SUBST_FILES.b= Install.sh
SUBST_SED.b= -e 's,umask 077,umask 022,'
-SUBST_SED.b+= -e 's,\$$RPM_BUILD_ROOT/usr/,${PREFIX}/,g'
-SUBST_SED.b+= -e 's,\$$RPM_BUILD_ROOT/var/,${VARBASE}/,g'
+SUBST_SED.b+= -e 's,\$$RPM_BUILD_ROOT/usr/,${DESTDIR}${PREFIX}/,g'
+SUBST_SED.b+= -e 's,\$$RPM_BUILD_ROOT/var/,${DESTDIR}${VARBASE}/,g'
SUBST_CLASSES+= b2
SUBST_STAGE.b2= pre-configure
diff --git a/security/CSP/Makefile b/security/CSP/Makefile
index a6f2599fbfc..c3dec6f1d98 100644
--- a/security/CSP/Makefile
+++ b/security/CSP/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2008/05/26 02:13:23 joerg Exp $
+# $NetBSD: Makefile,v 1.5 2008/06/12 02:14:44 joerg Exp $
#
DISTNAME= CSP-0.32
@@ -11,6 +11,8 @@ MAINTAINER= cube@cubidou.net
HOMEPAGE= http://devel.it.su.se/pub/jsp/polopoly.jsp?d=1026&a=3290
COMMENT= Simple PKI Toolkit
+PKG_DESTDIR_SUPPORT= user-destdir
+
DEPENDS+= p5-Date-Calc>=5.4:../../devel/p5-Date-Calc
DEPENDS+= p5-IPC-Run>=0.79:../../devel/p5-IPC-Run
DEPENDS+= p5-Term-Prompt>=1.03:../../devel/p5-Term-Prompt
@@ -37,8 +39,8 @@ SUBST_SED.csp= -e s,@@CSPHOME@@,${CSPHOME}, \
SUBST_STAGE.csp= post-patch
post-install:
- cd ${WRKSRC}/ca && ${FIND} . -type f | pax -rw ${CSPHOME}
- ${INSTALL_DATA} ${DISTDIR}/${CSPGUIDE} ${PREFIX}/share/doc/csp
+ cd ${WRKSRC}/ca && ${FIND} . -type f | pax -rw ${DESTDIR}${CSPHOME}
+ ${INSTALL_DATA} ${DISTDIR}/${CSPGUIDE} ${DESTDIR}${PREFIX}/share/doc/csp
.include "../../lang/perl5/module.mk"
.include "../../security/openssl/buildlink3.mk"
diff --git a/security/CoolKey/Makefile b/security/CoolKey/Makefile
index fc0cd927178..76ec34b2815 100644
--- a/security/CoolKey/Makefile
+++ b/security/CoolKey/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2008/03/04 11:33:02 shannonjr Exp $
+# $NetBSD: Makefile,v 1.2 2008/06/12 02:14:44 joerg Exp $
#
DISTNAME= coolkey-1.1.0
@@ -9,6 +9,8 @@ MAINTAINER= shannonjr@NetBSD.org
HOMEPAGE= http://directory.fedora.redhat.com/wiki/CoolKey
COMMENT= Driver support for the CoolKey and CAC products
+PKG_DESTDIR_SUPPORT= user-destdir
+
# Only for NetBSD>=4.99.0
NOT_FOR_PLATFORM= NetBSD-[0-3].*-* NetBSD-4.[0-9].*-*
NOT_FOR_PLATFORM+= NetBSD-4.[0-8]*.*-* NetBSD-4.9[0-8].*-*
diff --git a/security/MyPasswordSafe/Makefile b/security/MyPasswordSafe/Makefile
index 960f05c02f6..d43e5870d54 100644
--- a/security/MyPasswordSafe/Makefile
+++ b/security/MyPasswordSafe/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2007/01/13 00:16:40 joerg Exp $
+# $NetBSD: Makefile,v 1.15 2008/06/12 02:14:44 joerg Exp $
#
DISTNAME= MyPasswordSafe-20061216
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.semanticgap.com/myps/
COMMENT= Easy-to-use password manager
+PKG_DESTDIR_SUPPORT= user-destdir
+
.include "options.mk"
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
@@ -17,5 +19,7 @@ USE_LANGUAGES= c c++
USE_TOOLS+= gmake
MAKE_FLAGS+= QMAKE=${QTDIR:Q}/bin/qmake
+INSTALL_MAKE_FLAGS+= PREFIX=${DESTDIR}${PREFIX}
+
.include "../../x11/libXScrnSaver/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/security/aide/Makefile b/security/aide/Makefile
index 0524d09b698..373370acf0c 100644
--- a/security/aide/Makefile
+++ b/security/aide/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2007/02/22 19:27:06 wiz Exp $
+# $NetBSD: Makefile,v 1.28 2008/06/12 02:14:44 joerg Exp $
#
DISTNAME= aide-0.10
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.cs.tut.fi/~rammer/aide.html
COMMENT= Free intrusion detection system for checking file integrity
+PKG_DESTDIR_SUPPORT= user-destdir
+
BUILDLINK_API_DEPENDS.mhash?= mhash>=0.8.17
diff --git a/security/aide06/Makefile b/security/aide06/Makefile
index 8874bacfc02..6a05fe81b2f 100644
--- a/security/aide06/Makefile
+++ b/security/aide06/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2007/02/22 19:27:06 wiz Exp $
+# $NetBSD: Makefile,v 1.16 2008/06/12 02:14:44 joerg Exp $
#
DISTNAME= aide-0.6
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.cs.tut.fi/~rammer/aide.html
COMMENT= Older intrusion detection system for checking file integrity
+PKG_DESTDIR_SUPPORT= user-destdir
+
#BUILD_DEPENDS+= bison-[0-9]*:../../devel/bison
GNU_CONFIGURE= yes
diff --git a/security/amap/Makefile b/security/amap/Makefile
index 196ddc9a54a..09f3e939c94 100644
--- a/security/amap/Makefile
+++ b/security/amap/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2008/01/18 05:09:36 tnn Exp $
+# $NetBSD: Makefile,v 1.17 2008/06/12 02:14:44 joerg Exp $
#
DISTNAME= amap-5.2
@@ -10,6 +10,8 @@ MAINTAINER= adrianp@NetBSD.org
HOMEPAGE= http://freeworld.thc.org/thc-amap/
COMMENT= Applications and Services scanner
+PKG_DESTDIR_SUPPORT= user-destdir
+
HAS_CONFIGURE= YES
CONFIGURE_ARGS+= --prefix=${PREFIX:Q}
@@ -34,21 +36,19 @@ SUBST_SED.conf+= -e "s|@GREP@|${GREP}|g"
SUBST_SED.conf+= -e "s|@SED@|${SED}|g"
SUBST_MESSAGE.conf= Fixing configure script.
-INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${EGDIR}
post-extract:
${CHMOD} 0700 ${WRKSRC}
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/amap ${PREFIX}/bin
- ${LN} -s ${PREFIX}/bin/amap ${PREFIX}/bin/amap6
- ${INSTALL_PROGRAM} ${WRKSRC}/amapcrap ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/amap.1 ${PREFIX}/${PKGMANDIR}/man1
- ${INSTALL_DATA_DIR} ${EGDIR}
- ${INSTALL_DATA} ${WRKSRC}/appdefs.trig ${EGDIR}
- ${INSTALL_DATA} ${WRKSRC}/appdefs.resp ${EGDIR}
- ${INSTALL_DATA} ${WRKSRC}/appdefs.rpc ${EGDIR}
-
+ ${INSTALL_PROGRAM} ${WRKSRC}/amap ${DESTDIR}${PREFIX}/bin
+ ${LN} -s amap ${DESTDIR}${PREFIX}/bin/amap6
+ ${INSTALL_PROGRAM} ${WRKSRC}/amapcrap ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/amap.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_DATA} ${WRKSRC}/appdefs.trig ${DESTDIR}${EGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/appdefs.resp ${DESTDIR}${EGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/appdefs.rpc ${DESTDIR}${EGDIR}
.include "../../devel/pcre/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
diff --git a/security/amavis-perl/Makefile b/security/amavis-perl/Makefile
index 30c2b3c2c4e..499fad4d460 100644
--- a/security/amavis-perl/Makefile
+++ b/security/amavis-perl/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2006/11/12 02:56:41 rillig Exp $
+# $NetBSD: Makefile,v 1.26 2008/06/12 02:14:44 joerg Exp $
DISTNAME= amavisd-${VERSION}
PKGNAME= amavis-perl-${VERSION}
@@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.amavis.org/
COMMENT= Mail virus scanner
+PKG_DESTDIR_SUPPORT= user-destdir
+
CONFLICTS+= amavis-[0-9]*
CONFLICTS+= amavis-perl-[0-9]*
@@ -59,7 +61,8 @@ CONFIGURE_ARGS+=--enable-all
CONFIGURE_ARGS+=--with-amavisuser=amavis
CONFIGURE_ARGS+=--with-perl=${PERL5}
-INSTALLATION_DIRS= sbin ${PKGMANDIR}/man1 ${PKGMANDIR}/man5 ${PKGMANDIR}/man8
+INSTALLATION_DIRS= sbin ${PKGMANDIR}/man1 ${PKGMANDIR}/man5 \
+ ${PKGMANDIR}/man8 share/doc/amavis
post-build:
${SED} -e "s|/etc/amavisd.conf|${PREFIX}/etc/amavis/amavisd.conf|" \
@@ -68,34 +71,33 @@ post-build:
do-install:
# Program files
.if empty(PKG_OPTIONS:Mmilter)
- ${INSTALL_PROGRAM} ${WRKSRC}/amavis/amavis ${PREFIX}/sbin
+ ${INSTALL_PROGRAM} ${WRKSRC}/amavis/amavis ${DESTDIR}${PREFIX}/sbin
.endif
- ${INSTALL_SCRIPT} ${WRKDIR}/amavisd ${PREFIX}/sbin
+ ${INSTALL_SCRIPT} ${WRKDIR}/amavisd ${DESTDIR}${PREFIX}/sbin
# Documents
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/amavis
- ${INSTALL_DATA} ${WRKSRC}/doc/amavis.html ${PREFIX}/share/doc/amavis
- ${INSTALL_DATA} ${WRKSRC}/doc/amavis.png ${PREFIX}/share/doc/amavis
- ${INSTALL_DATA} ${WRKSRC}/doc/amavis.txt ${PREFIX}/share/doc/amavis
- ${INSTALL_DATA} ${FILESDIR}/LICENSE.sendmail ${PREFIX}/share/doc/amavis
- ${INSTALL_DATA} ${WRKSRC}/FAQ ${PREFIX}/share/doc/amavis
- ${INSTALL_DATA} ${WRKSRC}/NEWS ${PREFIX}/share/doc/amavis
- ${INSTALL_DATA} ${WRKSRC}/README.exim ${PREFIX}/share/doc/amavis
- ${INSTALL_DATA} ${WRKSRC}/README.milter ${PREFIX}/share/doc/amavis
- ${INSTALL_DATA} ${WRKSRC}/README.postfix ${PREFIX}/share/doc/amavis
- ${INSTALL_DATA} ${WRKSRC}/README.qmail ${PREFIX}/share/doc/amavis
- ${INSTALL_DATA} ${WRKSRC}/README.scanners ${PREFIX}/share/doc/amavis
- ${INSTALL_DATA} ${WRKSRC}/README.sendmail ${PREFIX}/share/doc/amavis
+ ${INSTALL_DATA} ${WRKSRC}/doc/amavis.html ${DESTDIR}${PREFIX}/share/doc/amavis
+ ${INSTALL_DATA} ${WRKSRC}/doc/amavis.png ${DESTDIR}${PREFIX}/share/doc/amavis
+ ${INSTALL_DATA} ${WRKSRC}/doc/amavis.txt ${DESTDIR}${PREFIX}/share/doc/amavis
+ ${INSTALL_DATA} ${FILESDIR}/LICENSE.sendmail ${DESTDIR}${PREFIX}/share/doc/amavis
+ ${INSTALL_DATA} ${WRKSRC}/FAQ ${DESTDIR}${PREFIX}/share/doc/amavis
+ ${INSTALL_DATA} ${WRKSRC}/NEWS ${DESTDIR}${PREFIX}/share/doc/amavis
+ ${INSTALL_DATA} ${WRKSRC}/README.exim ${DESTDIR}${PREFIX}/share/doc/amavis
+ ${INSTALL_DATA} ${WRKSRC}/README.milter ${DESTDIR}${PREFIX}/share/doc/amavis
+ ${INSTALL_DATA} ${WRKSRC}/README.postfix ${DESTDIR}${PREFIX}/share/doc/amavis
+ ${INSTALL_DATA} ${WRKSRC}/README.qmail ${DESTDIR}${PREFIX}/share/doc/amavis
+ ${INSTALL_DATA} ${WRKSRC}/README.scanners ${DESTDIR}${PREFIX}/share/doc/amavis
+ ${INSTALL_DATA} ${WRKSRC}/README.sendmail ${DESTDIR}${PREFIX}/share/doc/amavis
${INSTALL_DATA} ${WRKSRC}/amavis/amavisd.conf \
- ${PREFIX}/share/doc/amavis
+ ${DESTDIR}${PREFIX}/share/doc/amavis
${SED} "s+@PREFIX@+${PREFIX}+g" < ${FILESDIR}/amavis.m4 \
> ${WRKDIR}/amavis.m4
- ${INSTALL_DATA} ${WRKDIR}/amavis.m4 ${PREFIX}/share/doc/amavis
+ ${INSTALL_DATA} ${WRKDIR}/amavis.m4 ${DESTDIR}${PREFIX}/share/doc/amavis
# Man pages
.if empty(PKG_OPTIONS:Mmilter)
- ${INSTALL_DATA} ${WRKSRC}/doc/amavis.1 ${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_DATA} ${WRKSRC}/doc/amavis.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.endif
- ${INSTALL_DATA} ${WRKSRC}/doc/amavis-milter.1 ${PREFIX}/${PKGMANDIR}/man1
- ${INSTALL_DATA} ${WRKSRC}/doc/amavisd.conf.5 ${PREFIX}/${PKGMANDIR}/man5
- ${INSTALL_DATA} ${WRKSRC}/doc/amavisd.8 ${PREFIX}/${PKGMANDIR}/man8
+ ${INSTALL_DATA} ${WRKSRC}/doc/amavis-milter.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_DATA} ${WRKSRC}/doc/amavisd.conf.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5
+ ${INSTALL_DATA} ${WRKSRC}/doc/amavisd.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
.include "../../mk/bsd.pkg.mk"
diff --git a/security/amavisd-new/Makefile b/security/amavisd-new/Makefile
index 3cf4989ce75..1142a0438f7 100644
--- a/security/amavisd-new/Makefile
+++ b/security/amavisd-new/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.37 2008/04/12 22:43:09 jlam Exp $
+# $NetBSD: Makefile,v 1.38 2008/06/12 02:14:44 joerg Exp $
DISTNAME= amavisd-new-${VERSION}${PATCHLEVEL}
PKGNAME= amavisd-new-${VERSION}${PATCHLEVEL:S/-//}
@@ -14,6 +14,8 @@ MAINTAINER= jdunn@aquezada.com
HOMEPAGE= http://www.ijs.si/software/amavisd/
COMMENT= daemonized interface between MTA and content checkers
+PKG_DESTDIR_SUPPORT= user-destdir
+
DEPENDS+= p5-Archive-Tar-[0-9]*:../../archivers/p5-Archive-Tar
DEPENDS+= p5-Archive-Zip>=1.14:../../archivers/p5-Archive-Zip
DEPENDS+= p5-BerkeleyDB-[0-9]*:../../databases/p5-BerkeleyDB
@@ -104,31 +106,29 @@ SUBST_SED.amavisd= \
-e "s|@LOCALBASE@|${LOCALBASE}|g" \
-e "s|@PREFIX@|${PREFIX}|g"
-INSTALLATION_DIRS= sbin
+INSTALLATION_DIRS= sbin ${DOCDIR} ${EGDIR}
do-install:
.if !empty(PKG_OPTIONS:Mmilter)
- ${INSTALL_PROGRAM} ${WRKSRC}/helper-progs/amavis ${PREFIX}/sbin
- ${INSTALL_PROGRAM} ${WRKSRC}/helper-progs/amavis-milter ${PREFIX}/sbin
+ ${INSTALL_PROGRAM} ${WRKSRC}/helper-progs/amavis ${DESTDIR}${PREFIX}/sbin
+ ${INSTALL_PROGRAM} ${WRKSRC}/helper-progs/amavis-milter ${DESTDIR}${PREFIX}/sbin
.endif
- ${INSTALL_SCRIPT} ${WRKSRC}/amavisd ${PREFIX}/sbin/amavisd
- ${INSTALL_SCRIPT} ${WRKSRC}/amavisd-nanny ${PREFIX}/sbin/amavisd-nanny
- ${INSTALL_SCRIPT} ${WRKSRC}/amavisd-release ${PREFIX}/sbin/amavisd-release
- ${INSTALL_SCRIPT} ${WRKSRC}/amavisd-agent ${PREFIX}/sbin/amavisd-agent
- ${INSTALL_DATA_DIR} ${DOCDIR}
- ${INSTALL_DATA} ${WRKSRC}/AAAREADME.first ${DOCDIR}
- ${INSTALL_DATA} ${WRKSRC}/INSTALL ${DOCDIR}
- ${INSTALL_DATA} ${WRKSRC}/LDAP.schema ${DOCDIR}
- ${INSTALL_DATA} ${WRKSRC}/LICENSE ${DOCDIR}
- ${INSTALL_DATA} ${WRKSRC}/MANIFEST ${DOCDIR}
- ${INSTALL_DATA} ${WRKSRC}/RELEASE_NOTES ${DOCDIR}
- ${INSTALL_DATA} ${WRKSRC}/README_FILES/amavisd-new-docs.html ${DOCDIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/amavisd ${DESTDIR}${PREFIX}/sbin/amavisd
+ ${INSTALL_SCRIPT} ${WRKSRC}/amavisd-nanny ${DESTDIR}${PREFIX}/sbin/amavisd-nanny
+ ${INSTALL_SCRIPT} ${WRKSRC}/amavisd-release ${DESTDIR}${PREFIX}/sbin/amavisd-release
+ ${INSTALL_SCRIPT} ${WRKSRC}/amavisd-agent ${DESTDIR}${PREFIX}/sbin/amavisd-agent
+ ${INSTALL_DATA} ${WRKSRC}/AAAREADME.first ${DESTDIR}${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/INSTALL ${DESTDIR}${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/LDAP.schema ${DESTDIR}${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/LICENSE ${DESTDIR}${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/MANIFEST ${DESTDIR}${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/RELEASE_NOTES ${DESTDIR}${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README_FILES/amavisd-new-docs.html ${DESTDIR}${DOCDIR}
for file in README_FILES/README.*; do \
- ${INSTALL_DATA} ${WRKSRC}/$$file ${DOCDIR}; \
+ ${INSTALL_DATA} ${WRKSRC}/$$file ${DESTDIR}${DOCDIR}; \
done
- ${INSTALL_DATA_DIR} ${EGDIR}
- ${INSTALL_DATA} ${WRKSRC}/amavisd.conf ${EGDIR}/amavisd.conf-minimal
- ${INSTALL_DATA} ${WRKSRC}/amavisd.conf-default ${EGDIR}
- ${INSTALL_DATA} ${WRKSRC}/amavisd.conf-sample ${EGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/amavisd.conf ${DESTDIR}${EGDIR}/amavisd.conf-minimal
+ ${INSTALL_DATA} ${WRKSRC}/amavisd.conf-default ${DESTDIR}${EGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/amavisd.conf-sample ${DESTDIR}${EGDIR}
.include "../../mk/bsd.pkg.mk"
diff --git a/security/antonym/Makefile b/security/antonym/Makefile
index d7e806b9d8b..30cdb01eca0 100644
--- a/security/antonym/Makefile
+++ b/security/antonym/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2007/03/19 16:40:28 tv Exp $
+# $NetBSD: Makefile,v 1.7 2008/06/12 02:14:44 joerg Exp $
#
DISTNAME= antonym-1.9
@@ -17,14 +17,15 @@ USE_TOOLS+= perl:run
REPLACE_PERL= antonym
PKG_INSTALLATION_TYPES= overwrite pkgviews
-INSTALLATION_DIRS= bin
+PKG_DESTDIR_SUPPORT= user-destdir
+
+INSTALLATION_DIRS= bin share/examples/antonym
do-build: # empty
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/antonym ${PREFIX}/bin/
- ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/antonym
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/examples/antonym/
- ${INSTALL_DATA} ${WRKSRC}/replyblocks.dat.example ${PREFIX}/share/examples/antonym/dot.antonym
+ ${INSTALL_SCRIPT} ${WRKSRC}/antonym ${DESTDIR}${PREFIX}/bin/
+ ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/examples/antonym/
+ ${INSTALL_DATA} ${WRKSRC}/replyblocks.dat.example ${DESTDIR}${PREFIX}/share/examples/antonym/dot.antonym
.include "../../mk/bsd.pkg.mk"
diff --git a/security/beecrypt/Makefile b/security/beecrypt/Makefile
index f6f4b6c6d2e..5ce890c5a19 100644
--- a/security/beecrypt/Makefile
+++ b/security/beecrypt/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2006/06/04 10:21:33 joerg Exp $
+# $NetBSD: Makefile,v 1.10 2008/06/12 02:14:44 joerg Exp $
DISTNAME= beecrypt-4.1.1
CATEGORIES= security
@@ -8,6 +8,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.virtualunlimited.com/products/beecrypt/
COMMENT= Multipurpose cryptographic library
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= YES
USE_LANGUAGES= c c++
USE_LIBTOOL= YES
diff --git a/security/dirb/Makefile b/security/dirb/Makefile
index 587223bd869..92ca5907db3 100644
--- a/security/dirb/Makefile
+++ b/security/dirb/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2008/01/18 05:09:37 tnn Exp $
+# $NetBSD: Makefile,v 1.8 2008/06/12 02:14:44 joerg Exp $
#
PKGNAME= dirb-1.9
@@ -11,6 +11,8 @@ MAINTAINER= pancake@phreaker.net
HOMEPAGE= http://dirb.sourceforge.net/
COMMENT= Web Content Scanner
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC=${WRKDIR}/dirb
USE_PKGLOCALEDIR= yes
diff --git a/security/egd/Makefile b/security/egd/Makefile
index 36269bd26e1..32725c05bdc 100644
--- a/security/egd/Makefile
+++ b/security/egd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2007/11/12 00:04:06 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2008/06/12 02:14:44 joerg Exp $
#
DISTNAME= egd-0.8
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.lothar.com/tech/crypto/
COMMENT= EGD: Entropy Gathering Daemon
+PKG_DESTDIR_SUPPORT= user-destdir
+
DEPENDS+= p5-SHA-[0-9]*:../../security/p5-SHA
PERL5_PACKLIST= auto/egd/.packlist
diff --git a/security/fsh/Makefile b/security/fsh/Makefile
index 754bb1112f7..f934c8e89b3 100644
--- a/security/fsh/Makefile
+++ b/security/fsh/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2007/12/12 20:42:30 wiz Exp $
+# $NetBSD: Makefile,v 1.19 2008/06/12 02:14:44 joerg Exp $
#
DISTNAME= fsh-1.2
@@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.lysator.liu.se/fsh/
COMMENT= Fast remote command execution
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= YES
INFO_FILES= # PLIST
diff --git a/security/p5-Net-SSH/Makefile b/security/p5-Net-SSH/Makefile
index 315e5851b1d..08e2cda69da 100644
--- a/security/p5-Net-SSH/Makefile
+++ b/security/p5-Net-SSH/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2007/10/22 06:53:16 dogcow Exp $
+# $NetBSD: Makefile,v 1.5 2008/06/12 02:14:44 joerg Exp $
#
DISTNAME= Net-SSH-Perl-1.30
@@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://search.cpan.org/dist/Net-SSH-Perl/
COMMENT= Perl implementations of SSH1 and SSH2 protocols
+PKG_DESTDIR_SUPPORT= user-destdir
+
DEPENDS+= p5-Convert-PEM>=0.05:../../textproc/p5-Convert-PEM
DEPENDS+= p5-Crypt-Blowfish-[0-9]*:../../security/p5-Crypt-Blowfish
DEPENDS+= p5-Crypt-DES-[0-9]*:../../security/p5-Crypt-DES
diff --git a/security/p5-SHA/Makefile b/security/p5-SHA/Makefile
index a780d853183..e54fb622e6a 100644
--- a/security/p5-SHA/Makefile
+++ b/security/p5-SHA/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2006/03/04 21:30:37 jlam Exp $
+# $NetBSD: Makefile,v 1.15 2008/06/12 02:14:44 joerg Exp $
#
DISTNAME= SHA-1.2
@@ -11,6 +11,8 @@ MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=SHA/}
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Perl5 interface to the SHA1 algorithm
+PKG_DESTDIR_SUPPORT= user-destdir
+
PERL5_PACKLIST= auto/SHA/.packlist
.include "../../lang/perl5/module.mk"
diff --git a/security/p5-String-Random/Makefile b/security/p5-String-Random/Makefile
index bd6f1b50a7b..3edc5b6bfcb 100644
--- a/security/p5-String-Random/Makefile
+++ b/security/p5-String-Random/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2008/05/22 19:04:37 tnn Exp $
+# $NetBSD: Makefile,v 1.3 2008/06/12 02:14:44 joerg Exp $
DISTNAME= String-Random-0.22
PKGNAME= p5-${DISTNAME}
@@ -10,6 +10,8 @@ HOMEPAGE= http://search.cpan.org/dist/String-Random/
COMMENT= Perl module to generate random strings based on a pattern
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
+
PERL5_MODULE_TYPE= Module::Build
PERL5_PACKLIST= auto/String/Random/.packlist
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
diff --git a/security/pam-ldap/Makefile b/security/pam-ldap/Makefile
index a51810d2fbe..8d909fa081e 100644
--- a/security/pam-ldap/Makefile
+++ b/security/pam-ldap/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2008/01/18 05:09:40 tnn Exp $
+# $NetBSD: Makefile,v 1.30 2008/06/12 02:14:44 joerg Exp $
DISTNAME= pam_ldap-184
PKGNAME= ${DISTNAME:S/_/-/}
@@ -11,6 +11,8 @@ MAINTAINER= rh@NetBSD.org
HOMEPAGE= http://www.padl.com/pam_ldap.html
COMMENT= Pluggable authentication module for LDAP directories
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_LIBTOOL= yes
USE_TOOLS+= gmake
GNU_CONFIGURE= yes
@@ -28,18 +30,19 @@ INSTALL_TARGET= install install-data
DOCDIR= ${PREFIX}/share/doc/${PKGBASE}
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
+INSTALLATION_DIRS= ${DOCDIR}
+
CONF_FILES= ${EGDIR}/pam_ldap.conf ${PKG_SYSCONFDIR}/pam_ldap.conf
.include "../../databases/openldap-client/buildlink3.mk"
.include "../../mk/pam.buildlink3.mk"
post-install:
- ${INSTALL_DATA_DIR} ${DOCDIR}
.for file in COPYING COPYING.LIB
- cd ${WRKSRC} && ${INSTALL_DATA} ${file} ${DOCDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} ${file} ${DESTDIR}${DOCDIR}
.endfor
.for file in ldapns.schema ns-pwd-policy.schema
- cd ${WRKSRC} && ${INSTALL_DATA} ${file} ${EGDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} ${file} ${DESTDIR}${EGDIR}
.endfor
.include "../../mk/bsd.pkg.mk"
diff --git a/security/pam-mysql/Makefile b/security/pam-mysql/Makefile
index a2a02b82838..8a8a9f441fd 100644
--- a/security/pam-mysql/Makefile
+++ b/security/pam-mysql/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2008/01/18 05:09:40 tnn Exp $
+# $NetBSD: Makefile,v 1.10 2008/06/12 02:14:44 joerg Exp $
DISTNAME= pam_mysql-0.7RC1
PKGNAME= ${DISTNAME:S/_/-/:S/RC/rc/}
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://pam-mysql.sourceforge.net/
COMMENT= PAM module for authenticating with MySQL
+PKG_DESTDIR_SUPPORT= user-destdir
+
DOCDIR= ${PREFIX}/share/doc/pam-mysql
GNU_CONFIGURE= yes
@@ -21,9 +23,10 @@ CONFIGURE_ARGS+= --with-pam-mods-dir=${PREFIX:Q}/lib/security
CONFIGURE_ARGS+= --with-pam=${PAMBASE:Q}
CONFIGURE_ARGS+= --disable-static
+INSTALLATION_DIRS= ${DOCDIR}
+
post-install:
- ${INSTALL_DATA_DIR} ${DOCDIR:Q}
- cd ${WRKSRC:Q} && ${INSTALL_DATA} CREDITS ChangeLog README ${DOCDIR:Q}
+ cd ${WRKSRC:Q} && ${INSTALL_DATA} CREDITS ChangeLog README ${DESTDIR}${DOCDIR}
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/mysql.buildlink3.mk"
diff --git a/security/pam-radius/Makefile b/security/pam-radius/Makefile
index 4f6a44ea784..dcf6e86f8ea 100644
--- a/security/pam-radius/Makefile
+++ b/security/pam-radius/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2006/10/10 14:38:01 adrianp Exp $
+# $NetBSD: Makefile,v 1.2 2008/06/12 02:14:44 joerg Exp $
PKGNAME= ${DISTNAME:S/_/-/}
DISTNAME= pam_radius-1.3.16
@@ -9,20 +9,20 @@ MAINTAINER= adrianp@NetBSD.org
HOMEPAGE= http://www.freeradius.org/pam_radius_auth/
COMMENT= PAM module for authentication against a RADIUS server
+PKG_DESTDIR_SUPPORT= user-destdir
+
NO_CONFIGURE= YES
EXTRACT_SUFX= .tar
-do-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/pam-radius
- ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/pam-radius
- ${INSTALL_DATA_DIR} ${PREFIX}/lib/security
+INSTALLATION_DIRS= lib/security share/doc/pam-radius share/examples/pam-radius
- ${INSTALL_DATA} ${WRKSRC}/INSTALL ${PREFIX}/share/doc/pam-radius
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/pam-radius
- ${INSTALL_DATA} ${WRKSRC}/USAGE ${PREFIX}/share/doc/pam-radius
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/INSTALL ${DESTDIR}${PREFIX}/share/doc/pam-radius
+ ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/pam-radius
+ ${INSTALL_DATA} ${WRKSRC}/USAGE ${DESTDIR}${PREFIX}/share/doc/pam-radius
${INSTALL_DATA} ${WRKSRC}/pam_radius_auth.conf \
- ${PREFIX}/share/examples/pam-radius
- ${INSTALL_LIB} ${WRKSRC}/pam_radius_auth.so ${PREFIX}/lib/security
+ ${DESTDIR}${PREFIX}/share/examples/pam-radius
+ ${INSTALL_LIB} ${WRKSRC}/pam_radius_auth.so ${DESTDIR}${PREFIX}/lib/security
.include "../../mk/pam.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/security/pcsc-lite/Makefile b/security/pcsc-lite/Makefile
index 787a265ee23..0325e076ae1 100644
--- a/security/pcsc-lite/Makefile
+++ b/security/pcsc-lite/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2008/03/04 11:29:08 shannonjr Exp $
+# $NetBSD: Makefile,v 1.2 2008/06/12 02:14:44 joerg Exp $
#
DISTNAME= pcsc-lite-1.4.99
@@ -9,6 +9,8 @@ MAINTAINER= shannonjr@NetBSD.org
HOMEPAGE= http://alioth.debian.org/frs/download.php/2257/
COMMENT= Middleware to access a smart card using SCard API (PC/SC).
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config
@@ -32,13 +34,14 @@ CONF_FILES+= ${EGDIR}/reader.conf ${PKG_SYSCONFDIR}/reader.conf
PKGCONFIG_OVERRIDE+= src/libpcsclite.pc.in
+INSTALLATION_DIRS= ${EGDIR}
+
pre-configure:
cd ${WRKSRC} && ${SH} bootstrap
post-install:
- ${INSTALL_DATA_DIR} ${EGDIR}
- ${INSTALL_DATA} ${WRKSRC}/etc/reader.conf ${EGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/etc/reader.conf ${DESTDIR}${EGDIR}
.include "../../devel/libusb/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/security/pgp2/Makefile b/security/pgp2/Makefile
index 3f7128bc2a1..0b86d3a2305 100644
--- a/security/pgp2/Makefile
+++ b/security/pgp2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.52 2007/10/31 12:29:34 rillig Exp $
+# $NetBSD: Makefile,v 1.53 2008/06/12 02:14:45 joerg Exp $
DISTNAME= pgp263is
PKGREVISION= 1
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.pgpi.org/
COMMENT= Public-key encryption and digital signature utility (v2)
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/src
CRYPTO= yes
@@ -42,7 +44,7 @@ CFLAGS+= -DHIGHFIRST
BUILD_DEFS+= ASMFLAG
-INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PGPLIB}
post-extract:
cd ${WRKDIR} && ${TAR} xf pgp263ii.tar && ${RM} -f pgp263ii.tar
@@ -54,17 +56,13 @@ do-build:
-DMAX_NAMELEN=255" RSALIBS="${RSALIBS}" RSAOBJS="${RSAOBJS}"
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/pgp ${PREFIX}/bin
- ${INSTALL_DATA} ${WRKDIR}/doc/pgp.1 ${PREFIX}/${PKGMANDIR}/man1
- ${INSTALL_DATA_DIR} ${PGPLIB}
- cd ${WRKDIR}/doc && ${INSTALL_DATA} pgpdoc1.txt pgpdoc2.txt ${PGPLIB}
+ ${INSTALL_PROGRAM} ${WRKSRC}/pgp ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKDIR}/doc/pgp.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+ cd ${WRKDIR}/doc && ${INSTALL_DATA} pgpdoc1.txt pgpdoc2.txt ${DESTDIR}${PGPLIB}
cd ${WRKDIR} && \
- ${INSTALL_DATA} de.hlp en.hlp es.hlp fr.hlp pgp.hlp ${PGPLIB}
- [ -f ${PGPLIB}/language.txt ] || \
- ${INSTALL_DATA} ${WRKDIR}/language.txt ${PGPLIB}
- [ -f ${PGPLIB}/config.txt ] || \
- ${INSTALL_DATA} ${WRKDIR}/config.txt ${PGPLIB}
- [ -f ${PGPLIB}/pgp.hlp ] || \
- ${INSTALL_DATA} ${WRKDIR}/en.hlp ${PGPLIB}/pgp.hlp
+ ${INSTALL_DATA} de.hlp en.hlp es.hlp fr.hlp pgp.hlp ${DESTDIR}${PGPLIB}
+ ${INSTALL_DATA} ${WRKDIR}/language.txt ${DESTDIR}${PGPLIB}
+ ${INSTALL_DATA} ${WRKDIR}/config.txt ${DESTDIR}${PGPLIB}
+ ${INSTALL_DATA} ${WRKDIR}/en.hlp ${DESTDIR}${PGPLIB}/pgp.hlp
.include "../../mk/bsd.pkg.mk"
diff --git a/security/pgp5/Makefile b/security/pgp5/Makefile
index c203133d0c4..d0838ab0abc 100644
--- a/security/pgp5/Makefile
+++ b/security/pgp5/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 2007/12/02 11:35:41 wiz Exp $
+# $NetBSD: Makefile,v 1.33 2008/06/12 02:14:45 joerg Exp $
#
DISTNAME= pgp50i-unix-src
@@ -14,6 +14,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.pgpi.org/
COMMENT= Public-key encryption and digital signature utilities (v5)
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS+= perl
CONFLICTS= pgraf-[0-9]* # Both have a `pgps' executable
@@ -27,11 +29,12 @@ LICENSE= fee-based-commercial-use
PGPLIB= ${PREFIX}/share/pgp5
+INSTALLATION_DIRS= bin ${PGPLIB}
+
post-patch:
${MV} ${WRKSRC}/man/pgp.1 ${WRKSRC}/man/pgp5.1
post-install:
- ${INSTALL_DATA_DIR} ${PGPLIB}
- ${INSTALL_DATA} ${WRKSRC}/language50.txt ${PGPLIB}
+ ${INSTALL_DATA} ${WRKSRC}/language50.txt ${DESTDIR}${PGPLIB}
.include "../../mk/bsd.pkg.mk"
diff --git a/security/pgpenvelope/Makefile b/security/pgpenvelope/Makefile
index cdef84cb4c2..31c95225536 100644
--- a/security/pgpenvelope/Makefile
+++ b/security/pgpenvelope/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2007/04/04 14:41:23 tv Exp $
+# $NetBSD: Makefile,v 1.10 2008/06/12 02:14:45 joerg Exp $
#
DISTNAME= pgpenvelope-2.10.2
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://pgpenvelope.sourceforge.net/
COMMENT= GnuPG and Pine/Procmail integration tool
+PKG_DESTDIR_SUPPORT= user-destdir
+
DEPENDS+= p5-AppConfig>=1.52:../../devel/p5-AppConfig
DEPENDS+= p5-Class-MakeMethods>=1.010:../../devel/p5-Class-MakeMethods
DEPENDS+= p5-GnuPG-Interface>=0.34nb2:../../security/p5-GnuPG-Interface
diff --git a/security/php-mcrypt/Makefile b/security/php-mcrypt/Makefile
index 27ff07da88a..d2b5efaed5a 100644
--- a/security/php-mcrypt/Makefile
+++ b/security/php-mcrypt/Makefile
@@ -1,9 +1,11 @@
-# $NetBSD: Makefile,v 1.8 2006/06/04 16:26:55 joerg Exp $
+# $NetBSD: Makefile,v 1.9 2008/06/12 02:14:45 joerg Exp $
MODNAME= mcrypt
CATEGORIES+= security
COMMENT= PHP extension for the mcrypt crypto algorithms library
+PKG_DESTDIR_SUPPORT= user-destdir
+
CONFLICTS= php-mcrypt-[0-9]*
CONFIGURE_ARGS+= --with-${MODNAME}=shared,${BUILDLINK_PREFIX.libmcrypt}
diff --git a/security/php-mhash/Makefile b/security/php-mhash/Makefile
index 6e4af6f861b..e4b8d1b8c42 100644
--- a/security/php-mhash/Makefile
+++ b/security/php-mhash/Makefile
@@ -1,9 +1,11 @@
-# $NetBSD: Makefile,v 1.8 2006/06/04 16:26:55 joerg Exp $
+# $NetBSD: Makefile,v 1.9 2008/06/12 02:14:45 joerg Exp $
MODNAME= mhash
CATEGORIES+= security
COMMENT= PHP extension for the mhash hash algorithms library
+PKG_DESTDIR_SUPPORT= user-destdir
+
CONFLICTS= php-mhash-[0-9]*
CONFIGURE_ARGS+= --with-${MODNAME}=shared,${BUILDLINK_PREFIX.mhash}
diff --git a/security/pinentry/Makefile b/security/pinentry/Makefile
index 9f1ea508827..4ae70e97ecb 100644
--- a/security/pinentry/Makefile
+++ b/security/pinentry/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2008/04/25 15:16:31 smb Exp $
+# $NetBSD: Makefile,v 1.20 2008/06/12 02:14:45 joerg Exp $
#
DISTNAME= pinentry-0.7.2
@@ -10,6 +10,8 @@ MAINTAINER= shannonjr@NetBSD.org
HOMEPAGE= ftp://ftp.gnupg.org/gcrypt/pinentry/
COMMENT= Applications for entering PINs or Passphrases
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-libiconv-prefix=${BUILDLINK_PREFIX.iconv}
diff --git a/security/portsentry/Makefile b/security/portsentry/Makefile
index 91c6183c77b..2840a134263 100644
--- a/security/portsentry/Makefile
+++ b/security/portsentry/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2007/12/28 11:51:42 obache Exp $
+# $NetBSD: Makefile,v 1.19 2008/06/12 02:14:45 joerg Exp $
#
DISTNAME= portsentry-1.2
@@ -9,6 +9,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://sourceforge.net/projects/sentrytools/
COMMENT= Detects and respond to port scans against a target host in real-time
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/portsentry_beta
BUILD_TARGET= ${LOWER_OPSYS}
@@ -18,6 +20,7 @@ CONF_FILES= ${EGDIR}/portsentry.conf ${PKG_SYSCONFDIR}/portsentry.conf
CONF_FILES+= ${EGDIR}/portsentry.ignore ${PKG_SYSCONFDIR}/portsentry.ignore
INSTALLATION_DIRS= sbin share/doc/portsentry share/examples/portsentry
+INSTALL_MAKE_FLAGS= INSTALLDIR=${DESTDIR}${PREFIX}
post-patch:
@cd ${WRKSRC}; \
@@ -35,7 +38,7 @@ post-patch:
done
post-install:
- ${INSTALL_DATA} ${WRKSRC}/README.install ${PREFIX}/share/doc/portsentry
- ${INSTALL_DATA} ${WRKSRC}/README.methods ${PREFIX}/share/doc/portsentry
+ ${INSTALL_DATA} ${WRKSRC}/README.install ${DESTDIR}${PREFIX}/share/doc/portsentry
+ ${INSTALL_DATA} ${WRKSRC}/README.methods ${DESTDIR}${PREFIX}/share/doc/portsentry
.include "../../mk/bsd.pkg.mk"
diff --git a/security/portsentry/distinfo b/security/portsentry/distinfo
index 0e53808fd46..ee188e9a7ed 100644
--- a/security/portsentry/distinfo
+++ b/security/portsentry/distinfo
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.7 2005/12/08 19:21:57 joerg Exp $
+$NetBSD: distinfo,v 1.8 2008/06/12 02:14:45 joerg Exp $
SHA1 (portsentry-1.2.tar.gz) = 091124db3f9ccc29afae08d6ab1fdd073b789d0a
RMD160 (portsentry-1.2.tar.gz) = 8bf4bce18229a7ebff47e7fe50493738ae818085
Size (portsentry-1.2.tar.gz) = 48054 bytes
SHA1 (patch-aa) = eea7602eaed3d065b4ec6002dff524bdcd846e9f
SHA1 (patch-ab) = 76d9062ba8fd205b05d64ce8485e1c6c294bed1a
-SHA1 (patch-ac) = 8b00f1dde9f6203a958d2a7b5d6a2efa1a904753
+SHA1 (patch-ac) = a986348ed630e2f9a794d78d75989fc3aa0d3638
SHA1 (patch-ad) = 7e79e119eda32e4e2f53f878ea1b24afdce2ee54
diff --git a/security/portsentry/patches/patch-ac b/security/portsentry/patches/patch-ac
index 600efb497f0..b1e3eb0f37d 100644
--- a/security/portsentry/patches/patch-ac
+++ b/security/portsentry/patches/patch-ac
@@ -1,4 +1,4 @@
-$NetBSD: patch-ac,v 1.4 2005/12/08 19:21:57 joerg Exp $
+$NetBSD: patch-ac,v 1.5 2008/06/12 02:14:45 joerg Exp $
--- Makefile.orig 2003-05-23 18:10:13.000000000 +0000
+++ Makefile
@@ -39,12 +39,12 @@ $NetBSD: patch-ac,v 1.4 2005/12/08 19:21:57 joerg Exp $
- cp ./portsentry $(INSTALLDIR)$(CHILDDIR)
+ ${BSD_INSTALL_DATA} ./portsentry.conf $(INSTALLDIR)$(CHILDDIR)
+ ${BSD_INSTALL_DATA} ./portsentry.ignore $(INSTALLDIR)$(CHILDDIR)
-+ ${BSD_INSTALL_PROGRAM} ./portsentry ${PREFIX}/sbin
++ ${BSD_INSTALL_PROGRAM} ./portsentry ${DESTDIR}${PREFIX}/sbin
@echo "Setting permissions"
chmod 600 $(INSTALLDIR)$(CHILDDIR)/portsentry.ignore
chmod 600 $(INSTALLDIR)$(CHILDDIR)/portsentry.conf
- chmod 700 $(INSTALLDIR)$(CHILDDIR)/portsentry
-+ chmod 700 ${PREFIX}/sbin/portsentry
++ chmod 700 ${DESTDIR}${PREFIX}/sbin/portsentry
@echo ""
@echo ""
@echo "Edit $(INSTALLDIR)$(CHILDDIR)/portsentry.conf and change"
diff --git a/security/prelude-pflogger/Makefile b/security/prelude-pflogger/Makefile
index a3805a25f59..f4eb26173ba 100644
--- a/security/prelude-pflogger/Makefile
+++ b/security/prelude-pflogger/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2008/03/06 14:53:54 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2008/06/12 02:14:45 joerg Exp $
#
DISTNAME= prelude-pflogger-0.9.0-rc2
@@ -11,6 +11,8 @@ MAINTAINER= shannonjr@NetBSD.org
HOMEPAGE= http://prelude-ids.org/download/releases/
COMMENT= Prelude sensor for Packet Filter (pf)
+PKG_DESTDIR_SUPPORT= user-destdir
+
.include "../../mk/bsd.prefs.mk"
PRELUDE_USER?= _prelude
@@ -49,6 +51,8 @@ SUBST_SED.make= -e 's,@EGDIR@,${EGDIR},g'
RCD_SCRIPTS= pflogger
+INSTALLATION_DIRS= share/examples/prelude-pflogger
+
pre-configure:
set -e; cd ${WRKSRC}; \
aclocal; autoheader; automake -a --foreign -i; autoconf
diff --git a/security/prelude-pflogger/distinfo b/security/prelude-pflogger/distinfo
index 0803632001c..4958b7849fc 100644
--- a/security/prelude-pflogger/distinfo
+++ b/security/prelude-pflogger/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.3 2007/09/05 18:59:02 shannonjr Exp $
+$NetBSD: distinfo,v 1.4 2008/06/12 02:14:45 joerg Exp $
SHA1 (prelude-pflogger-0.9.0-rc2.tar.gz) = ae354809dae5f04392a1c93a88be4cf9993c3b43
RMD160 (prelude-pflogger-0.9.0-rc2.tar.gz) = 7c5808b0ca515c8080c64b52aa0aae166831e4d4
Size (prelude-pflogger-0.9.0-rc2.tar.gz) = 303763 bytes
-SHA1 (patch-aa) = f991d106bf39961504576c7b92cb6ca45db04e7e
+SHA1 (patch-aa) = b7f7623e75c324e593aec10d921ee5364a2fa542
SHA1 (patch-ab) = 75a78b3d50067b07448aff9fde565f8bd5ab1b54
diff --git a/security/prelude-pflogger/patches/patch-aa b/security/prelude-pflogger/patches/patch-aa
index 6db91ec4974..bc7a663d8b5 100644
--- a/security/prelude-pflogger/patches/patch-aa
+++ b/security/prelude-pflogger/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.3 2007/09/05 18:59:02 shannonjr Exp $
+$NetBSD: patch-aa,v 1.4 2008/06/12 02:14:45 joerg Exp $
--- Makefile.am.orig 2005-09-18 08:30:01.000000000 -0600
+++ Makefile.am
@@ -18,7 +18,7 @@ $NetBSD: patch-aa,v 1.3 2007/09/05 18:59:02 shannonjr Exp $
- $(INSTALL) -d -m 700 $(DESTDIR)$(configdir); \
- $(INSTALL) -m 600 $(top_srcdir)/prelude-pflogger.conf $(DESTDIR)$(configdir)/; \
- fi
-+ $(INSTALL) -m 644 $(top_srcdir)/prelude-pflogger.conf @EGDIR@;
++ $(INSTALL) -m 644 $(top_srcdir)/prelude-pflogger.conf ${DESTDIR}@EGDIR@;
uninstall-local:
- rm -f $(DESTDIR)$(configdir)/prelude-pflogger.conf;
diff --git a/security/prngd/Makefile b/security/prngd/Makefile
index 4b7d0ac23a6..eaee575cf70 100644
--- a/security/prngd/Makefile
+++ b/security/prngd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2007/12/02 12:28:09 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2008/06/12 02:14:45 joerg Exp $
DISTNAME= prngd-0.9.29
CATEGORIES= security
@@ -9,12 +9,14 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.aet.tu-cottbus.de/personen/jaenicke/postfix_tls/prngd.html
COMMENT= Pseudo Random Number Generator Daemon
+PKG_DESTDIR_SUPPORT= user-destdir
+
MAKE_ENV+= DEFS='-DRANDSAVENAME="\"${VARBASE}/db/prngd-seed\"" -DCONFIGFILE="\"${PKG_SYSCONFDIR}/prngd.conf\""'
EGDIR= ${PREFIX}/share/examples/prngd
CONF_FILES= ${EGDIR}/prngd.conf.netbsd ${PKG_SYSCONFDIR}/prngd.conf
-INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/doc/prngd share/examples/prngd
SUBST_CLASSES+= path
SUBST_STAGE.path= pre-install
@@ -27,13 +29,11 @@ do-build:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE}
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/prngd ${PREFIX}/bin/prngd
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/prngd
- ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/prngd
- ${INSTALL_DATA} ${WRKSRC}/00README ${PREFIX}/share/doc/prngd
- ${INSTALL_DATA} ${WRKSRC}/00README.gatherers ${PREFIX}/share/doc/prngd
- ${INSTALL_DATA} ${WRKSRC}/00DESIGN ${PREFIX}/share/doc/prngd
- ${INSTALL_DATA} ${WRKSRC}/contrib/NetBSD1/prngd.conf.netbsd ${PREFIX}/share/examples/prngd
- ${INSTALL_MAN} ${WRKSRC}/prngd.man ${PREFIX}/${PKGMANDIR}/man1/prngd.1
+ ${INSTALL_PROGRAM} ${WRKSRC}/prngd ${DESTDIR}${PREFIX}/bin/prngd
+ ${INSTALL_DATA} ${WRKSRC}/00README ${DESTDIR}${PREFIX}/share/doc/prngd
+ ${INSTALL_DATA} ${WRKSRC}/00README.gatherers ${DESTDIR}${PREFIX}/share/doc/prngd
+ ${INSTALL_DATA} ${WRKSRC}/00DESIGN ${DESTDIR}${PREFIX}/share/doc/prngd
+ ${INSTALL_DATA} ${WRKSRC}/contrib/NetBSD1/prngd.conf.netbsd ${DESTDIR}${PREFIX}/share/examples/prngd
+ ${INSTALL_MAN} ${WRKSRC}/prngd.man ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/prngd.1
.include "../../mk/bsd.pkg.mk"
diff --git a/security/pscan/Makefile b/security/pscan/Makefile
index 7ca2d815ca1..158fccc1b0d 100644
--- a/security/pscan/Makefile
+++ b/security/pscan/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2007/12/02 08:32:25 rillig Exp $
+# $NetBSD: Makefile,v 1.9 2008/06/12 02:14:45 joerg Exp $
DISTNAME= pscan
PKGNAME= pscan-1.3
@@ -9,6 +9,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.striker.ottawa.on.ca/~aland/pscan/
COMMENT= Security C code scanner for misuse of format strings
+PKG_DESTDIR_SUPPORT= user-destdir
+
BUILD_TARGET= pscan
USE_TOOLS+= lex
@@ -16,7 +18,7 @@ USE_TOOLS+= lex
INSTALLATION_DIRS= bin
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/pscan ${PREFIX}/bin
- ${INSTALL_SCRIPT} ${WRKSRC}/find_formats.sh ${PREFIX}/bin/find_formats
+ ${INSTALL_PROGRAM} ${WRKSRC}/pscan ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/find_formats.sh ${DESTDIR}${PREFIX}/bin/find_formats
.include "../../mk/bsd.pkg.mk"
diff --git a/security/putty/Makefile b/security/putty/Makefile
index 3681f75c07b..e61c10f605e 100644
--- a/security/putty/Makefile
+++ b/security/putty/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2008/01/08 17:02:11 adrianp Exp $
+# $NetBSD: Makefile,v 1.18 2008/06/12 02:14:45 joerg Exp $
#
DISTNAME= putty-0.60
@@ -9,12 +9,16 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.chiark.greenend.org.uk/~sgtatham/putty/
COMMENT= Free implementation of Telnet and SSH for Win32 and Unix platforms
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS+= gmake
BUILD_DIRS= ${WRKSRC}/unix
MAKE_FILE= Makefile.gtk
MAKE_FLAGS+= mandir=${PREFIX}/${PKGMANDIR}
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
+
PKG_OPTIONS_VAR= PKG_OPTIONS.putty
PKG_SUPPORTED_OPTIONS= inet6
diff --git a/security/pwsafe/Makefile b/security/pwsafe/Makefile
index 291d9c32043..4d31d1f399f 100644
--- a/security/pwsafe/Makefile
+++ b/security/pwsafe/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2008/01/18 05:09:40 tnn Exp $
+# $NetBSD: Makefile,v 1.8 2008/06/12 02:14:45 joerg Exp $
#
DISTNAME= pwsafe-0.2.0
@@ -11,6 +11,8 @@ MAINTAINER= mishka@apk.od.ua
HOMEPAGE= http://nsd.dyndns.org/pwsafe/
COMMENT= CLI based PasswordSafe compatible password manager
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= yes
USE_LANGUAGES= c c++
USE_TOOLS+= gmake
diff --git a/security/py-OpenSSL/Makefile b/security/py-OpenSSL/Makefile
index ab316bd39cf..1cd2d93c13b 100644
--- a/security/py-OpenSSL/Makefile
+++ b/security/py-OpenSSL/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2008/04/25 20:39:11 joerg Exp $
+# $NetBSD: Makefile,v 1.15 2008/06/12 02:14:45 joerg Exp $
#
DISTNAME= pyOpenSSL-0.6
@@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://pyopenssl.sourceforge.net/
COMMENT= Python interface to the OpenSSL library
+PKG_DESTDIR_SUPPORT= user-destdir
+
PYTHON_VERSIONS_ACCEPTED= 25 24 23
PYDISTUTILSPKG= yes
diff --git a/security/py-crack/Makefile b/security/py-crack/Makefile
index c48e28f0365..33b0a8086e7 100644
--- a/security/py-crack/Makefile
+++ b/security/py-crack/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2006/10/04 21:58:14 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2008/06/12 02:14:45 joerg Exp $
#
DISTNAME= pycrack-0.01
@@ -11,6 +11,8 @@ MAINTAINER= darcy@NetBSD.org
HOMEPAGE= http://www.digitalevacuation.org/
COMMENT= Python interface to cracklib
+PKG_DESTDIR_SUPPORT= user-destdir
+
DEPENDS+= crack>=5.0:../../security/crack
MAKE_ENV+= MANDIR=${LOCALBASE}/man
diff --git a/security/py-gnupg/Makefile b/security/py-gnupg/Makefile
index 445742ba900..e8487c4ee5c 100644
--- a/security/py-gnupg/Makefile
+++ b/security/py-gnupg/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2008/04/25 20:39:11 joerg Exp $
+# $NetBSD: Makefile,v 1.14 2008/06/12 02:14:45 joerg Exp $
DISTNAME= GnuPGInterface-0.3.2
PKGNAME= ${PYPKGPREFIX}-gnupg-0.3.2
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://py-gnupg.sourceforge.net/
COMMENT= Python module for GnuPG interface
+PKG_DESTDIR_SUPPORT= user-destdir
+
DEPENDS+= gnupg>=1.0.0:../../security/gnupg
PYTHON_VERSIONS_ACCEPTED= 25 24 23 21
diff --git a/security/py-gnutls/Makefile b/security/py-gnutls/Makefile
index 8e5747a0c73..5aab201d0e5 100644
--- a/security/py-gnutls/Makefile
+++ b/security/py-gnutls/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2008/03/06 14:53:54 wiz Exp $
+# $NetBSD: Makefile,v 1.17 2008/06/12 02:14:45 joerg Exp $
DISTNAME= python-gnutls-0.2
PKGNAME= ${PYPKGPREFIX}${DISTNAME:S/python//}
@@ -10,6 +10,8 @@ MAINTAINER= minskim@NetBSD.org
HOMEPAGE= http://www.lychnis.net/wiki/PythonGnutls
COMMENT= Python bindings for GNUTLS
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/${DISTNAME}/src
PYDISTUTILSPKG= yes
NO_CONFIGURE= yes
diff --git a/security/py-m2crypto/Makefile b/security/py-m2crypto/Makefile
index 94ec1c9f5f7..58fc4e84245 100644
--- a/security/py-m2crypto/Makefile
+++ b/security/py-m2crypto/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2008/04/25 20:39:11 joerg Exp $
+# $NetBSD: Makefile,v 1.23 2008/06/12 02:14:45 joerg Exp $
#
DISTNAME= m2crypto-0.13
@@ -15,6 +15,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://sandbox.rulemaker.net/ngps/m2/
COMMENT= Crypto and SSL toolkit for Python
+PKG_DESTDIR_SUPPORT= user-destdir
+
PYDISTUTILSPKG= yes
PYTHON_VERSIONS_ACCEPTED= 25 24 23 21
diff --git a/security/py-mcrypt/Makefile b/security/py-mcrypt/Makefile
index ef3f4a3df76..9579248de56 100644
--- a/security/py-mcrypt/Makefile
+++ b/security/py-mcrypt/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2008/04/25 20:39:12 joerg Exp $
+# $NetBSD: Makefile,v 1.7 2008/06/12 02:14:45 joerg Exp $
#
DISTNAME= python-mcrypt-1.1
@@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://sourceforge.net/projects/python-mcrypt/
COMMENT= Python interface to mcrypt library
+PKG_DESTDIR_SUPPORT= user-destdir
+
PYBINMODULE= yes
PYDISTUTILSPKG= yes
diff --git a/security/py-paramiko/Makefile b/security/py-paramiko/Makefile
index 016b05680cd..f93075e76f9 100644
--- a/security/py-paramiko/Makefile
+++ b/security/py-paramiko/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2008/05/15 18:27:43 drochner Exp $
+# $NetBSD: Makefile,v 1.6 2008/06/12 02:14:45 joerg Exp $
#
DISTNAME= paramiko-1.7.3
@@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.lag.net/paramiko/
COMMENT= SSH2 protocol library
+PKG_DESTDIR_SUPPORT= user-destdir
+
PYDISTUTILSPKG= yes
do-test:
diff --git a/security/py-smbpasswd/Makefile b/security/py-smbpasswd/Makefile
index e8e882aa8e6..e9e4fe3a449 100644
--- a/security/py-smbpasswd/Makefile
+++ b/security/py-smbpasswd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2008/04/28 22:03:53 bouyer Exp $
+# $NetBSD: Makefile,v 1.2 2008/06/12 02:14:45 joerg Exp $
#
DISTNAME= py-smbpasswd-1.0.1
@@ -10,6 +10,8 @@ MAINTAINER= bouyer@NetBSD.org
HOMEPAGE= http://barryp.org/software/py-smbpasswd/
COMMENT= Python SMB Password Hash Generator
+PKG_DESTDIR_SUPPORT= user-destdir
+
PYBINMODULE= yes
PYDISTUTILSPKG= yes
PYTHON_VERSIONS_ACCEPTED= 24 23 22
diff --git a/security/py-tlslite/Makefile b/security/py-tlslite/Makefile
index 0cae1da69e0..3f12b9b3c37 100644
--- a/security/py-tlslite/Makefile
+++ b/security/py-tlslite/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2008/04/25 20:39:12 joerg Exp $
+# $NetBSD: Makefile,v 1.3 2008/06/12 02:14:45 joerg Exp $
#
DISTNAME= tlslite-0.3.8
@@ -10,6 +10,8 @@ MAINTAINER= schmonz@NetBSD.org
HOMEPAGE= http://trevp.net/tlslite/
COMMENT= SSL 3.0, TLS 1.0, and TLS 1.1 in Python
+PKG_DESTDIR_SUPPORT= user-destdir
+
PYDISTUTILSPKG= yes
.include "../../lang/python/extension.mk"
diff --git a/security/pyca/Makefile b/security/pyca/Makefile
index 15c93ebff97..0b0aa90bbc3 100644
--- a/security/pyca/Makefile
+++ b/security/pyca/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2006/03/04 21:30:38 jlam Exp $
+# $NetBSD: Makefile,v 1.15 2008/06/12 02:14:45 joerg Exp $
# Date-based distfile name for pre-releases leading to 0.6.6.
DISTNAME= pyca-20031021
@@ -30,7 +30,9 @@ PYCA_SCRIPT_FIXUP_SED= \
-e "s|/home/.*/openssl.cnf|${PKG_SYSCONFDIR}/openssl.cnf|g" \
-e "s|/home/.*/pylib|${PREFIX}/lib/pyca|g"
-INSTALLATION_DIRS= bin libexec/cgi-bin sbin
+INSTALLATION_DIRS= bin lib/pyca/openssl libexec/cgi-bin sbin \
+ share/doc/html/pyca/help share/doc/html/pyca/ssi \
+ share/examples/pyca
pyca-script-fixup:
cd ${WRKSRC}; for file in ${PYTHON_PATCH_SCRIPTS}; do \
@@ -43,37 +45,31 @@ post-configure: pyca-script-fixup
do-install:
cd ${WRKSRC}; for file in bin/*.py; do \
- ${INSTALL_SCRIPT} $${file} ${PREFIX}/bin; \
+ ${INSTALL_SCRIPT} $${file} ${DESTDIR}${PREFIX}/bin; \
done
cd ${WRKSRC}; for file in cgi-bin/*.py; do \
- ${INSTALL_SCRIPT} $${file} ${PREFIX}/libexec/cgi-bin; \
+ ${INSTALL_SCRIPT} $${file} ${DESTDIR}${PREFIX}/libexec/cgi-bin; \
done
cd ${WRKSRC}; for file in sbin/*.py; do \
- ${INSTALL_SCRIPT} $${file} ${PREFIX}/sbin; \
+ ${INSTALL_SCRIPT} $${file} ${DESTDIR}${PREFIX}/sbin; \
done
- ${INSTALL_DATA_DIR} ${PREFIX}/lib/pyca
cd ${WRKSRC}; for file in pylib/*.py; do \
- ${INSTALL_DATA} $${file} ${PREFIX}/lib/pyca; \
+ ${INSTALL_DATA} $${file} ${DESTDIR}${PREFIX}/lib/pyca; \
done
- ${INSTALL_DATA_DIR} ${PREFIX}/lib/pyca/openssl
cd ${WRKSRC}; for file in pylib/openssl/*.py; do \
- ${INSTALL_DATA} $${file} ${PREFIX}/lib/pyca/openssl; \
+ ${INSTALL_DATA} $${file} ${DESTDIR}${PREFIX}/lib/pyca/openssl; \
done
- ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/pyca
cd ${WRKSRC}; for file in conf/*.cnf; do \
- ${INSTALL_DATA} $${file} ${PREFIX}/share/examples/pyca; \
+ ${INSTALL_DATA} $${file} ${DESTDIR}${PREFIX}/share/examples/pyca; \
done
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/pyca
cd ${WRKSRC}; for file in htdocs/*.html; do \
- ${INSTALL_DATA} $${file} ${PREFIX}/share/doc/html/pyca; \
+ ${INSTALL_DATA} $${file} ${DESTDIR}${PREFIX}/share/doc/html/pyca; \
done
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/pyca/help
cd ${WRKSRC}; for file in htdocs/help/*; do \
- ${INSTALL_DATA} $${file} ${PREFIX}/share/doc/html/pyca/help; \
+ ${INSTALL_DATA} $${file} ${DESTDIR}${PREFIX}/share/doc/html/pyca/help; \
done
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/pyca/ssi
cd ${WRKSRC}; for file in htdocs/ssi/*.html; do \
- ${INSTALL_DATA} $${file} ${PREFIX}/share/doc/html/pyca/ssi; \
+ ${INSTALL_DATA} $${file} ${DESTDIR}${PREFIX}/share/doc/html/pyca/ssi; \
done
.include "../../lang/python/application.mk"