pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security DESTDIR support
details: https://anonhg.NetBSD.org/pkgsrc/rev/9fbae0eb4243
branches: trunk
changeset: 570298:9fbae0eb4243
user: joerg <joerg%pkgsrc.org@localhost>
date: Wed Jan 27 21:32:58 2010 +0000
description:
DESTDIR support
diffstat:
security/mcrypt/Makefile | 4 +++-
security/nfsbug/Makefile | 8 +++++---
security/p0f/Makefile | 18 ++++++++++--------
security/rc5des/Makefile | 9 ++++++---
security/rid/Makefile | 14 +++++++-------
5 files changed, 31 insertions(+), 22 deletions(-)
diffs (158 lines):
diff -r 0c597f05c308 -r 9fbae0eb4243 security/mcrypt/Makefile
--- a/security/mcrypt/Makefile Wed Jan 27 21:31:43 2010 +0000
+++ b/security/mcrypt/Makefile Wed Jan 27 21:32:58 2010 +0000
@@ -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 @@
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 -r 0c597f05c308 -r 9fbae0eb4243 security/nfsbug/Makefile
--- a/security/nfsbug/Makefile Wed Jan 27 21:31:43 2010 +0000
+++ b/security/nfsbug/Makefile Wed Jan 27 21:32:58 2010 +0000
@@ -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 @@
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
COMMENT= NFS security verification suite
+PKG_DESTDIR_SUPPORT= user-destdir
+
EXTRACT_ONLY= nfsBugFerret.tgz
WRKSRC= ${WRKDIR}/nfsbug
@@ -20,7 +22,7 @@
${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 -r 0c597f05c308 -r 9fbae0eb4243 security/p0f/Makefile
--- a/security/p0f/Makefile Wed Jan 27 21:31:43 2010 +0000
+++ b/security/p0f/Makefile Wed Jan 27 21:32:58 2010 +0000
@@ -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 @@
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 @@
${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 -r 0c597f05c308 -r 9fbae0eb4243 security/rc5des/Makefile
--- a/security/rc5des/Makefile Wed Jan 27 21:31:43 2010 +0000
+++ b/security/rc5des/Makefile Wed Jan 27 21:32:58 2010 +0000
@@ -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 @@
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:
# 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 -r 0c597f05c308 -r 9fbae0eb4243 security/rid/Makefile
--- a/security/rid/Makefile Wed Jan 27 21:31:43 2010 +0000
+++ b/security/rid/Makefile Wed Jan 27 21:32:58 2010 +0000
@@ -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 @@
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 @@
${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"
Home |
Main Index |
Thread Index |
Old Index