pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/37391: security/tripwire PRE_ROOT_CMD chmods the wrong directory



The following reply was made to PR pkg/37391; it has been noted by GNATS.

From: Lloyd Parkes <Lloyd.Parkes%ird.govt.nz@localhost>
To: gnats-bugs%NetBSD.org@localhost
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--
 



Home | Main Index | Thread Index | Old Index