From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Jan 20 11:10:02 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C32F2433 for ; Mon, 20 Jan 2014 11:10:02 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 99E761F16 for ; Mon, 20 Jan 2014 11:10:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s0KBA220090832 for ; Mon, 20 Jan 2014 11:10:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id s0KBA2pu090831; Mon, 20 Jan 2014 11:10:02 GMT (envelope-from gnats) Resent-Date: Mon, 20 Jan 2014 11:10:02 GMT Resent-Message-Id: <201401201110.s0KBA2pu090831@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Yasuhiro KIMURA Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1FBDF712 for ; Mon, 20 Jan 2014 11:04:22 +0000 (UTC) Received: from gate.utahime.jp (ipq210.utahime.jp [183.180.29.210]) by mx1.freebsd.org (Postfix) with ESMTP id DF12E1CCD for ; Mon, 20 Jan 2014 11:04:21 +0000 (UTC) Received: from eastasia.home.utahime.org (eastasia.home.utahime.org [192.168.174.1]) by gate.utahime.jp (Postfix) with ESMTP id 90F3B61FAB; Mon, 20 Jan 2014 20:04:14 +0900 (JST) Received: from eastasia.home.utahime.org (localhost [127.0.0.1]) by localhost-backdoor.home.utahime.org (Postfix) with ESMTP id 653BB4E656; Mon, 20 Jan 2014 20:04:14 +0900 (JST) Received: from rolling-vm-freebsd2.home.utahime.org (rolling-vm-freebsd2.home.utahime.org [192.168.174.54]) by eastasia.home.utahime.org (Postfix) with ESMTP id 3FA924E646; Mon, 20 Jan 2014 20:04:14 +0900 (JST) Received: by rolling-vm-freebsd2.home.utahime.org (Postfix, from userid 1000) id 2859EC3FD0; Mon, 20 Jan 2014 20:04:14 +0900 (JST) Message-Id: <20140120110414.2859EC3FD0@rolling-vm-freebsd2.home.utahime.org> Date: Mon, 20 Jan 2014 20:04:14 +0900 (JST) From: Yasuhiro KIMURA To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/185905: [PATCH] security/logcheck: Use "USES=shebangfix" to fix perl path X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jan 2014 11:10:02 -0000 >Number: 185905 >Category: ports >Synopsis: [PATCH] security/logcheck: Use "USES=shebangfix" to fix perl path >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jan 20 11:10:02 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Yasuhiro KIMURA >Release: FreeBSD 10.0-RELEASE amd64 >Organization: >Environment: System: FreeBSD xxxx 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260673: Mon Jan 20 13:37:55 JST 2014 xxxx amd64 >Description: Use "USES=shebangfix" to fix perl path of logtail and logtail2. >How-To-Repeat: >Fix: --- patch-logcheck begins here --- Index: Makefile =================================================================== --- Makefile (revision 340381) +++ Makefile (working copy) @@ -33,7 +33,7 @@ .endif # Enable Perl dependency for logtail script -USES= perl5 +USES= perl5 shebangfix WRKSRC= ${WRKDIR}/${DISTNAME:S!_!-!} BINMODE= 755 @@ -45,6 +45,7 @@ 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 @@ 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 --- patch-logcheck ends here --- >Release-Note: >Audit-Trail: >Unformatted: