diff options
author | will <will@FreeBSD.org> | 2001-03-11 11:14:12 +0800 |
---|---|---|
committer | will <will@FreeBSD.org> | 2001-03-11 11:14:12 +0800 |
commit | f6a804b310b8343d7637b888d047d75a1189de2f (patch) | |
tree | 386ab858d5070c4afb599b8d683ee0cf080c1146 /security | |
parent | dac4ed0644cb14eebd9fa420ae95b123d39a2398 (diff) | |
download | freebsd-ports-gnome-f6a804b310b8343d7637b888d047d75a1189de2f.tar.gz freebsd-ports-gnome-f6a804b310b8343d7637b888d047d75a1189de2f.tar.zst freebsd-ports-gnome-f6a804b310b8343d7637b888d047d75a1189de2f.zip |
Eww. Cull etc/tmp in favor of var/tmp (even though this is not what
hier(7) specifically states, it's still better than screwing around with
stuff outside of ${PREFIX}).
PR: 25672
Submitted by: Dan Langille <dan@langille.org>
Diffstat (limited to 'security')
-rw-r--r-- | security/logcheck/Makefile | 4 | ||||
-rw-r--r-- | security/logcheck/pkg-plist | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/security/logcheck/Makefile b/security/logcheck/Makefile index 0a172704913f..558339edfd9e 100644 --- a/security/logcheck/Makefile +++ b/security/logcheck/Makefile @@ -14,6 +14,10 @@ MAINTAINER= ports@freebsddiary.org PKGMESSAGE= ${WRKDIR}/MESSAGE +pre-configure: + ${PERL} -pi -e "s@/usr/local/etc/tmp@${PREFIX}/var/tmp@g" ${WRKSRC}/Makefile ${WRKSRC}/systems/freebsd/logcheck.sh + ${PERL} -pi -e "s@/bin/mkdir@${MKDIR}@g" ${WRKSRC}/Makefile + post-build: @${SED} -e 's,%%PREFIX%%,${PREFIX},g' ${PKGDIR}/pkg-message > ${PKGMESSAGE} diff --git a/security/logcheck/pkg-plist b/security/logcheck/pkg-plist index 7e9c9adfca3c..85ff97f53b11 100644 --- a/security/logcheck/pkg-plist +++ b/security/logcheck/pkg-plist @@ -4,4 +4,6 @@ etc/logcheck.ignore.sample etc/logcheck.sh etc/logcheck.violations.ignore.sample etc/logcheck.violations.sample +@dirrm var/tmp +@dirrm var @dirrm etc/tmp |