Subject: Re: pkg/37391: security/tripwire PRE_ROOT_CMD chmods the wrong directory
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Lloyd Parkes <Lloyd.Parkes@ird.govt.nz>
List: pkgsrc-bugs
Date: 11/15/2007 23:40:02
The following reply was made to PR pkg/37391; it has been noted by GNATS.
From: Lloyd Parkes <Lloyd.Parkes@ird.govt.nz>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/37391: security/tripwire PRE_ROOT_CMD chmods the wrong directory
Date: Fri, 16 Nov 2007 11:37:40 +1300
This is a multi-part message in MIME format.
--------------070209080305040901000402
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Attached is for the Makefile.
--
Lloyd Parkes
Senior Systems Programmer
Open Systems
Ph: +64 4 890 2437
--------------070209080305040901000402
Content-Type: text/x-patch;
name="tripwire.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="tripwire.patch"
$NetBSD$
--- Makefile.orig 2007-11-02 12:09:13.375213000 +1300
+++ Makefile
@@ -30,7 +30,7 @@ pre-configure:
-e 's|@PKG_SYSCONFDIR@|${PKG_SYSCONFDIR}|g' \
${WRKSRC}/include/config.h.in > ${WRKSRC}/include/config.h
-PRE_ROOT_CMD= ${CHMOD} -R go+rwx ${WRKDIR}
+PRE_ROOT_CMD= ${CHMOD} -R go+rwx ${WRKSRC}
post-install:
${INSTALL_DATA} ${WRKSRC}/docs/designdoc.ps ${PREFIX}/share/doc/tripwire
--------------070209080305040901000402--