diff options
author | joerg <joerg@pkgsrc.org> | 2010-01-27 22:05:28 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-01-27 22:05:28 +0000 |
commit | cc48fb70ada4923385ebac2ccffe41adf6d90db2 (patch) | |
tree | cda897cdaf847e4059a16bcfa8098a9b15a8beff /security | |
parent | a925601abe93427064dcca7008d3b7952cd84ee8 (diff) | |
download | pkgsrc-cc48fb70ada4923385ebac2ccffe41adf6d90db2.tar.gz |
DESTDIR support
Diffstat (limited to 'security')
-rw-r--r-- | security/chkrootkit/Makefile | 16 | ||||
-rw-r--r-- | security/ddos-scan/Makefile | 8 | ||||
-rw-r--r-- | security/dsniff-nox11/Makefile | 9 | ||||
-rw-r--r-- | security/dsniff/Makefile | 8 | ||||
-rw-r--r-- | security/fwbuilder/Makefile | 6 | ||||
-rw-r--r-- | security/fwbuilder21/Makefile | 6 | ||||
-rw-r--r-- | security/honeyd-arpd/Makefile | 8 | ||||
-rw-r--r-- | security/honeyd/Makefile | 10 | ||||
-rw-r--r-- | security/ike-scan/Makefile | 9 |
9 files changed, 51 insertions, 29 deletions
diff --git a/security/chkrootkit/Makefile b/security/chkrootkit/Makefile index b0202aa5a04..6b878caf8f7 100644 --- a/security/chkrootkit/Makefile +++ b/security/chkrootkit/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2008/06/02 12:23:04 obache Exp $ +# $NetBSD: Makefile,v 1.15 2010/01/27 22:14:55 joerg Exp $ # DISTNAME= chkrootkit-0.47 @@ -11,6 +11,7 @@ HOMEPAGE= http://www.chkrootkit.org/ COMMENT= Locally checks for signs of a rootkit PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir USE_TOOLS+= gmake NO_CONFIGURE= yes @@ -49,14 +50,13 @@ MAKE_ENV+= STATIC="-static" MAKE_ENV+= STATIC="-static" .endif -INSTALLATION_DIRS+= bin +INSTALLATION_DIRS+= bin share/doc/chkrootkit do-install: - cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PROGRAMS} ${PREFIX}/bin - ${INSTALL_SCRIPT} ${WRKSRC}/chkrootkit ${PREFIX}/bin - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/chkrootkit - ${INSTALL_DATA} ${WRKSRC}/README ${DOCDIR} - ${INSTALL_DATA} ${WRKSRC}/README.chklastlog ${DOCDIR} - ${INSTALL_DATA} ${WRKSRC}/README.chkwtmp ${DOCDIR} + cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PROGRAMS} ${DESTDIR}${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/chkrootkit ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${DOCDIR} + ${INSTALL_DATA} ${WRKSRC}/README.chklastlog ${DESTDIR}${DOCDIR} + ${INSTALL_DATA} ${WRKSRC}/README.chkwtmp ${DESTDIR}${DOCDIR} .include "../../mk/bsd.pkg.mk" diff --git a/security/ddos-scan/Makefile b/security/ddos-scan/Makefile index bd0502dd000..e85db28a296 100644 --- a/security/ddos-scan/Makefile +++ b/security/ddos-scan/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2007/06/30 18:49:38 joerg Exp $ +# $NetBSD: Makefile,v 1.13 2010/01/27 22:13:41 joerg Exp $ # DISTNAME= ddos_scan @@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://staff.washington.edu/dittrich/ COMMENT= Scan for a limited set of distributed denial of service (ddos) agents +PKG_DESTDIR_SUPPORT= user-destdir + BUILD_TARGET= default dds INSTALLATION_DIRS= sbin share/doc @@ -18,7 +20,7 @@ INSTALLATION_DIRS= sbin share/doc BUILD_ENV+= OPSYS=${OSYS:Q} do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/dds ${PREFIX}/sbin/dds - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/dds + ${INSTALL_PROGRAM} ${WRKSRC}/dds ${DESTDIR}${PREFIX}/sbin/dds + ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/dds .include "../../mk/bsd.pkg.mk" diff --git a/security/dsniff-nox11/Makefile b/security/dsniff-nox11/Makefile index d68458714b7..346d7ea6d60 100644 --- a/security/dsniff-nox11/Makefile +++ b/security/dsniff-nox11/Makefile @@ -1,4 +1,6 @@ -# $NetBSD: Makefile,v 1.5 2008/10/01 08:43:09 apb Exp $ +# $NetBSD: Makefile,v 1.6 2010/01/27 22:12:22 joerg Exp $ + +PKG_DESTDIR_SUPPORT= user-destdir .include "../../security/dsniff/Makefile.common" @@ -8,12 +10,15 @@ COMMENT= Password sniffer CONFIGURE_ARGS+= --without-x +INSTALLATION_DIRS+= ${PKGMANDIR}/man8 +INSTALL_MAKE_FLAGS+= install_prefix=${DESTDIR} + post-configure: ( cd ${WRKSRC} \ && grep '#define.*HAVE_SYS_QUEUE_H' config.h >/dev/null \ && mv missing/sys/queue.h missing/sys/queue.h.fake ) post-install: - ${RM} ${PREFIX}/${PKGMANDIR}/man8/webspy.8 + ${RM} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/webspy.8 .include "../../mk/bsd.pkg.mk" diff --git a/security/dsniff/Makefile b/security/dsniff/Makefile index 4e68373950d..95aeacbb3ba 100644 --- a/security/dsniff/Makefile +++ b/security/dsniff/Makefile @@ -1,4 +1,6 @@ -# $NetBSD: Makefile,v 1.31 2009/05/09 16:33:04 adrianp Exp $ +# $NetBSD: Makefile,v 1.32 2010/01/27 22:10:07 joerg Exp $ + +PKG_DESTDIR_SUPPORT= user-destdir .include "Makefile.common" @@ -12,8 +14,8 @@ BUILD_TARGET= libmissing.a webspy INSTALLATION_DIRS+= sbin ${PKGMANDIR}/man8 do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/webspy ${PREFIX}/sbin - ${INSTALL_MAN} ${WRKSRC}/webspy.8 ${PREFIX}/${PKGMANDIR}/man8 + ${INSTALL_PROGRAM} ${WRKSRC}/webspy ${DESTDIR}${PREFIX}/sbin + ${INSTALL_MAN} ${WRKSRC}/webspy.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8 BUILDLINK_DEPMETHOD.libXt?= build diff --git a/security/fwbuilder/Makefile b/security/fwbuilder/Makefile index 331267f7a97..5a0ad6039e1 100644 --- a/security/fwbuilder/Makefile +++ b/security/fwbuilder/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.18 2010/01/18 09:59:24 wiz Exp $ +# $NetBSD: Makefile,v 1.19 2010/01/27 22:13:13 joerg Exp $ DISTNAME= fwbuilder-2.0.12 PKGREVISION= 2 @@ -9,6 +9,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.fwbuilder.org/ COMMENT= Firewall Builder GUI +PKG_DESTDIR_SUPPORT= user-destdir + CONFLICTS= fwbuilder21-[0-9]* USE_LIBTOOL= yes @@ -21,6 +23,8 @@ QMAKE= ${QTDIR}/bin/qmake CONFIGURE_ENV+= QMAKE=${QMAKE:Q} MAKE_ENV+= QMAKE=${QMAKE:Q} +INSTALL_MAKE_FLAGS+= INSTALL_ROOT=${DESTDIR} + .include "../../security/libfwbuilder/buildlink3.mk" .include "../../x11/qt3-tools/buildlink3.mk" diff --git a/security/fwbuilder21/Makefile b/security/fwbuilder21/Makefile index 323bc8bd98d..a8459e49ca5 100644 --- a/security/fwbuilder21/Makefile +++ b/security/fwbuilder21/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2010/01/18 09:59:24 wiz Exp $ +# $NetBSD: Makefile,v 1.10 2010/01/27 22:13:02 joerg Exp $ DISTNAME= fwbuilder-2.1.19 PKGNAME= fwbuilder21-2.1.19 @@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.fwbuilder.org/ COMMENT= Firewall Builder GUI +PKG_DESTDIR_SUPPORT= user-destdir + CONFLICTS= fwbuilder-[0-9]* USE_TOOLS+= gmake @@ -21,6 +23,8 @@ CONFIGURE_ENV+= QMAKE=${QMAKE:Q} MAKE_ENV+= QMAKE=${QMAKE:Q} QMAKE= ${QTDIR}/bin/qmake +INSTALL_MAKE_FLAGS+= INSTALL_ROOT=${DESTDIR} + .include "../../security/libfwbuilder21/buildlink3.mk" .include "../../x11/qt3-tools/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/security/honeyd-arpd/Makefile b/security/honeyd-arpd/Makefile index 02331d40d13..3efc4758b0f 100644 --- a/security/honeyd-arpd/Makefile +++ b/security/honeyd-arpd/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.22 2009/08/16 15:35:44 wiz Exp $ +# $NetBSD: Makefile,v 1.23 2010/01/27 22:06:18 joerg Exp $ # DISTNAME= arpd-0.2 @@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://niels.xtdnet.nl/honeyd/ COMMENT= ARP daemon for honeyd +PKG_DESTDIR_SUPPORT= user-destdir + RCD_SCRIPTS= honeydarpd GNU_CONFIGURE= yes WRKSRC= ${WRKDIR}/arpd @@ -20,8 +22,8 @@ CONFIGURE_ARGS+= --with-libevent=${BUILDLINK_PREFIX.libevent} INSTALLATION_DIRS= sbin ${PKGMANDIR}/man8 do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/arpd ${PREFIX}/sbin/honeyd-arpd - ${INSTALL_MAN} ${WRKSRC}/arpd.8 ${PREFIX}/${PKGMANDIR}/man8/honeyd-arpd.8 + ${INSTALL_PROGRAM} ${WRKSRC}/arpd ${DESTDIR}${PREFIX}/sbin/honeyd-arpd + ${INSTALL_MAN} ${WRKSRC}/arpd.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/honeyd-arpd.8 .include "../../devel/libevent/buildlink3.mk" .include "../../net/libdnet/buildlink3.mk" diff --git a/security/honeyd/Makefile b/security/honeyd/Makefile index 48334e17fbd..82df313dbcf 100644 --- a/security/honeyd/Makefile +++ b/security/honeyd/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.27 2009/08/16 15:35:44 wiz Exp $ +# $NetBSD: Makefile,v 1.28 2010/01/27 22:08:59 joerg Exp $ # DISTNAME= honeyd-1.5b @@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.honeyd.org/ COMMENT= Small daemon that creates virtual hosts on a network +PKG_DESTDIR_SUPPORT= user-destdir + DEPENDS+= honeyd-arpd>=0.2:../../security/honeyd-arpd GNU_CONFIGURE= YES @@ -40,11 +42,9 @@ CONF_FILES+= ${EGDIR:Q}/${f:Q} ${PKG_SYSCONFDIR:Q}/${f:Q} .include "../../net/libpcap/buildlink3.mk" .include "../../devel/pcre/buildlink3.mk" -pre-install: - ${INSTALL_DATA_DIR} ${PREFIX:Q}/share/examples/honeyd +INSTALLATION_DIRS+= share/examples/honeyd ${DOCDIR} post-install: - ${INSTALL_DATA_DIR} ${DOCDIR} - ${INSTALL_DATA} ${WRKSRC:Q}/README ${DOCDIR:Q} + ${INSTALL_DATA} ${WRKSRC:Q}/README ${DESTDIR}${DOCDIR} .include "../../mk/bsd.pkg.mk" diff --git a/security/ike-scan/Makefile b/security/ike-scan/Makefile index 126257c4451..687b0f3d805 100644 --- a/security/ike-scan/Makefile +++ b/security/ike-scan/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2010/01/17 12:02:40 wiz Exp $ +# $NetBSD: Makefile,v 1.14 2010/01/27 22:05:28 joerg Exp $ DISTNAME= ike-scan-1.9 PKGREVISION= 2 @@ -9,6 +9,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.nta-monitor.com/tools/ike-scan/ COMMENT= Fingerprinting IKE implementation +PKG_DESTDIR_SUPPORT= user-destdir + GNU_CONFIGURE= yes CONFIGURE_ARGS+= --with-openssl @@ -18,9 +20,10 @@ SUBST_FILES.man= ike-scan.1 SUBST_SED.man= -e "s|/usr/local|${PREFIX}|g" SUBST_MESSAGE.man= Fixing man pages. +INSTALLATION_DIRS+= share/doc/ike-scan + post-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ike-scan - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/ike-scan/README + ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/ike-scan/README .include "../../security/openssl/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |