diff options
author | gerald <gerald@FreeBSD.org> | 2014-03-02 20:10:16 +0800 |
---|---|---|
committer | gerald <gerald@FreeBSD.org> | 2014-03-02 20:10:16 +0800 |
commit | 2b1c2ec94c9c3778e5e30f422a63a871f90d7809 (patch) | |
tree | 5eb365ba9d2e17eaf6193304f54c4efb603565f9 /security | |
parent | 423bd45d064fe0c9e305a475e815a3e7bb75d952 (diff) | |
download | freebsd-ports-gnome-2b1c2ec94c9c3778e5e30f422a63a871f90d7809.tar.gz freebsd-ports-gnome-2b1c2ec94c9c3778e5e30f422a63a871f90d7809.tar.zst freebsd-ports-gnome-2b1c2ec94c9c3778e5e30f422a63a871f90d7809.zip |
Leverage USES=shebangfix to fix two Perl scripts (logtail, logtail2)
instead of doing one the manual way and not fixing the other.
PR: 185905
Submitted by: Yasuhiro KIMURA <yasu@utahime.org>
Diffstat (limited to 'security')
-rw-r--r-- | security/logcheck/Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/security/logcheck/Makefile b/security/logcheck/Makefile index 066eda12368b..8396d4a6c43f 100644 --- a/security/logcheck/Makefile +++ b/security/logcheck/Makefile @@ -33,7 +33,7 @@ OPTIONS_DEFAULT=CRON .endif # Enable Perl dependency for logtail script -USES= perl5 +USES= perl5 shebangfix WRKSRC= ${WRKDIR}/${DISTNAME:S!_!-!} BINMODE= 755 @@ -45,6 +45,7 @@ SUB_LIST+= LOGCHECK_USER=${LOGCHECK_USER} \ PW=${PW} CRON=${PORT_OPTIONS:MCRON} SUB_FILES= pkg-install pkg-deinstall pkg-message PLIST_SUB+= DBDIR=${DBDIR} RUNDIR=${RUNDIR} +SHEBANG_FILES= src/logtail src/logtail2 CONFIG_DIRS= cracking.d ignore.d.paranoid ignore.d.server \ ignore.d.workstation violations.d violations.ignore.d DOCS= AUTHORS CHANGES CREDITS LICENSE TODO docs/README* @@ -72,8 +73,6 @@ post-patch: do-build: @${REINPLACE_CMD} -e 's!/var/log/syslog!/var/log/messages!' \ ${WRKSRC}/etc/logcheck.logfiles - @${REINPLACE_CMD} -e "s|#!/usr/bin/perl|#!${PERL}|" \ - ${WRKSRC}/src/logtail do-install: ${INSTALL_SCRIPT} ${WRKSRC}/src/logcheck ${PREFIX}/sbin |