summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-01-27 21:32:58 +0000
committerjoerg <joerg@pkgsrc.org>2010-01-27 21:32:58 +0000
commit7b75acb6fd1e2b2e1edd7f113a83eb8c6c81890d (patch)
tree2cef14950aaa755d53ed3072e9b0641cdb02b4c3 /security
parentc764992617749b865d15e86df6d9f8c7f86b2973 (diff)
downloadpkgsrc-7b75acb6fd1e2b2e1edd7f113a83eb8c6c81890d.tar.gz
DESTDIR support
Diffstat (limited to 'security')
-rw-r--r--security/mcrypt/Makefile4
-rw-r--r--security/nfsbug/Makefile8
-rw-r--r--security/p0f/Makefile18
-rw-r--r--security/rc5des/Makefile9
-rw-r--r--security/rid/Makefile14
5 files changed, 31 insertions, 22 deletions
diff --git a/security/mcrypt/Makefile b/security/mcrypt/Makefile
index e8e723390f9..385c0ab195d 100644
--- a/security/mcrypt/Makefile
+++ b/security/mcrypt/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2008/12/15 20:59:28 smb Exp $
+# $NetBSD: Makefile,v 1.22 2010/01/27 21:38:37 joerg Exp $
DISTNAME= mcrypt-2.6.8
CATEGORIES= security devel
@@ -8,6 +8,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://mcrypt.sourceforge.net/
COMMENT= Replacement to crypt(1), supports many crypto algorithms
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_LIBTOOL= yes
USE_PKGLOCALEDIR= yes
GNU_CONFIGURE= yes
diff --git a/security/nfsbug/Makefile b/security/nfsbug/Makefile
index 2f686a02ec9..dcb6c9755c5 100644
--- a/security/nfsbug/Makefile
+++ b/security/nfsbug/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2007/02/22 19:27:08 wiz Exp $
+# $NetBSD: Makefile,v 1.19 2010/01/27 21:37:03 joerg Exp $
DISTNAME= nfsshell-1.0
PKGREVISION= 1
@@ -10,6 +10,8 @@ DISTFILES= nfsBugFerret.tgz \
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= NFS security verification suite
+PKG_DESTDIR_SUPPORT= user-destdir
+
EXTRACT_ONLY= nfsBugFerret.tgz
WRKSRC= ${WRKDIR}/nfsbug
@@ -20,7 +22,7 @@ post-extract:
${CP} ${DISTDIR}/nfsShell.c ${WRKSRC}/nfsshell.c
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/nfsbug ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/nfsshell ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/nfsbug ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/nfsshell ${DESTDIR}${PREFIX}/bin
.include "../../mk/bsd.pkg.mk"
diff --git a/security/p0f/Makefile b/security/p0f/Makefile
index 62c301b385e..eef2601b118 100644
--- a/security/p0f/Makefile
+++ b/security/p0f/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2009/07/17 18:00:23 adrianp Exp $
+# $NetBSD: Makefile,v 1.25 2010/01/27 21:35:44 joerg Exp $
#
DISTNAME= p0f-2.0.8
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://lcamtuf.coredump.cx/p0f.shtml
COMMENT= Passive OS fingerprinting tool
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/p0f
PKG_SYSCONFSUBDIR= p0f
@@ -30,13 +32,13 @@ post-patch:
${LN} -s NetBSD ${WRKSRC}/mk/DragonFly
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/p0f ${PREFIX}/bin
- ${INSTALL_DATA} ${WRKSRC}/doc/README ${PREFIX}/share/doc/p0f/p0f.README
- ${INSTALL_DATA} ${WRKSRC}/p0frep ${PREFIX}/share/doc/p0f/p0frep
- ${INSTALL_DATA} ${WRKSRC}/p0f.fp ${PREFIX}/share/examples/p0f
- ${INSTALL_DATA} ${WRKSRC}/p0fa.fp ${PREFIX}/share/examples/p0f
- ${INSTALL_DATA} ${WRKSRC}/p0fr.fp ${PREFIX}/share/examples/p0f
- ${INSTALL_MAN} ${WRKSRC}/p0f.1 ${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_PROGRAM} ${WRKSRC}/p0f ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/doc/README ${DESTDIR}${PREFIX}/share/doc/p0f/p0f.README
+ ${INSTALL_DATA} ${WRKSRC}/p0frep ${DESTDIR}${PREFIX}/share/doc/p0f/p0frep
+ ${INSTALL_DATA} ${WRKSRC}/p0f.fp ${DESTDIR}${PREFIX}/share/examples/p0f
+ ${INSTALL_DATA} ${WRKSRC}/p0fa.fp ${DESTDIR}${PREFIX}/share/examples/p0f
+ ${INSTALL_DATA} ${WRKSRC}/p0fr.fp ${DESTDIR}${PREFIX}/share/examples/p0f
+ ${INSTALL_MAN} ${WRKSRC}/p0f.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../net/libpcap/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/security/rc5des/Makefile b/security/rc5des/Makefile
index d6d56387df8..04865abc789 100644
--- a/security/rc5des/Makefile
+++ b/security/rc5des/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2008/05/26 02:13:23 joerg Exp $
+# $NetBSD: Makefile,v 1.20 2010/01/27 21:32:58 joerg Exp $
#
DISTNAME= rc5-mlg-004
@@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.distributed.net/rc5/
COMMENT= Binaries for taking part in the rc5des challenge
+PKG_DESTDIR_SUPPORT= user-destdir
+
EMUL_PLATFORMS= netbsd-alpha netbsd-arm netbsd-i386
EMUL_MODULES.netbsd= base
@@ -42,8 +44,9 @@ do-build:
#do-build:
# cd ${WRKSRC}; ${RM} -f master.ini.orig master.ini.in rc5.sh.orig
+INSTALLATION_DIRS+= RC5
+
do-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/RC5
- cd ${WRKSRC} && pax -rw . ${PREFIX}/RC5
+ cd ${WRKSRC} && pax -rw . ${DESTDIR}${PREFIX}/RC5
.include "../../mk/bsd.pkg.mk"
diff --git a/security/rid/Makefile b/security/rid/Makefile
index d53844d9246..5834d3432d9 100644
--- a/security/rid/Makefile
+++ b/security/rid/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2009/06/30 00:07:22 joerg Exp $
+# $NetBSD: Makefile,v 1.13 2010/01/27 21:34:09 joerg Exp $
#
DISTNAME= rid-1.11
@@ -11,13 +11,15 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.theorygroup.com/Software/RID/
COMMENT= Remote Intrusion Detection to track down compromised hosts
+PKG_DESTDIR_SUPPORT= user-destdir
+
MAKE_JOBS_SAFE= no
GNU_CONFIGURE= YES
CONF_FILES= ${PREFIX}/share/examples/rid/rid.conf ${PKG_SYSCONFDIR}/rid.conf
-INSTALLATION_DIRS= sbin
+INSTALLATION_DIRS= sbin share/doc/rid share/examples/rid
post-configure:
@echo "#undef DEFAULT_YYIN" >> ${WRKSRC}/netconfig.h
@@ -25,13 +27,11 @@ post-configure:
${WRKSRC}/netconfig.h
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/rid ${PREFIX}/sbin
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/rid
+ ${INSTALL_PROGRAM} ${WRKSRC}/rid ${DESTDIR}${PREFIX}/sbin
${INSTALL_DATA} ${WRKSRC}/BUGS ${WRKSRC}/CHANGES \
${WRKSRC}/COPYRIGHT ${WRKSRC}/CREDITS ${WRKSRC}/README \
- ${PREFIX}/share/doc/rid
- ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/rid
- ${INSTALL_DATA} ${WRKSRC}/rid.conf ${PREFIX}/share/examples/rid
+ ${DESTDIR}${PREFIX}/share/doc/rid
+ ${INSTALL_DATA} ${WRKSRC}/rid.conf ${DESTDIR}${PREFIX}/share/examples/rid
.include "../../net/libpcap/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"