From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Sep 10 16:30:30 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7920F16A412 for ; Sun, 10 Sep 2006 16:30:30 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8E73643D45 for ; Sun, 10 Sep 2006 16:30:29 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k8AGUTEQ053342 for ; Sun, 10 Sep 2006 16:30:29 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k8AGUTpn053341; Sun, 10 Sep 2006 16:30:29 GMT (envelope-from gnats) Date: Sun, 10 Sep 2006 16:30:29 GMT Message-Id: <200609101630.k8AGUTpn053341@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Kay Lehmann Cc: Subject: Re: ports/102896: last security/gorilla update brokes the program X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Kay Lehmann List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Sep 2006 16:30:30 -0000 The following reply was made to PR ports/102896; it has been noted by GNATS. From: Kay Lehmann To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/102896: last security/gorilla update brokes the program Date: Sun, 10 Sep 2006 18:26:33 +0200 This is a multi-part message in MIME format. --------------020708000505070303050300 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hello, the problem is, that the port install with some real strict permissions, so only root can use the program. I attached a patch to solve the problem and added some minor improvements. Sorry. Greets, Kay Edwin Groothuis wrote: > Maintainer of security/gorilla, > > Please note that PR ports/102896 has just been submitted. > > If it contains a patch for an upgrade, an enhancement or a bug fix > you agree on, reply to this email stating that you approve the patch > and a committer will take care of it. > > The full text of the PR can be found at: > http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/102896 > > --------------020708000505070303050300 Content-Type: text/x-patch; name="gorilla-1.4-wrong_permissions.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="gorilla-1.4-wrong_permissions.patch" diff -urN gorilla.orig/Makefile gorilla/Makefile --- gorilla.orig/Makefile Sun Sep 10 18:01:44 2006 +++ gorilla/Makefile Sun Sep 10 18:06:48 2006 @@ -24,13 +24,16 @@ do-install: @${MKDIR} ${PREFIX}/lib/gorilla - @${INSTALL_DATA} ${WRKSRC}/*.tcl ${PREFIX}/lib/gorilla - ${TAR} -C ${WRKSRC} -cf - blowfish pics pwsafe twofish | \ + @${INSTALL_SCRIPT} ${WRKSRC}/*.tcl ${PREFIX}/lib/gorilla + ${TAR} -C ${WRKSRC} -cf - blowfish pics pwsafe twofish sha1 | \ ${TAR} -C ${PREFIX}/lib/gorilla --unlink -xf - - @${INSTALL_DATA} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin + @${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin post-install: @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/lib/gorilla - @${CHMOD} ugo+x ${PREFIX}/bin/gorilla + @${CHMOD} ugo+rx ${PREFIX}/lib/gorilla/blowfish/*.tcl + @${CHMOD} ugo+rx ${PREFIX}/lib/gorilla/pwsafe/*.tcl + @${CHMOD} ugo+rx ${PREFIX}/lib/gorilla/twofish/*.tcl + @${CHMOD} ugo+rx ${PREFIX}/lib/gorilla/sha1/*.tcl .include diff -urN gorilla.orig/pkg-plist gorilla/pkg-plist --- gorilla.orig/pkg-plist Sun Sep 10 18:01:44 2006 +++ gorilla/pkg-plist Sun Sep 10 18:17:08 2006 @@ -22,6 +22,9 @@ lib/gorilla/pwsafe/pwtest.tcl lib/gorilla/pwsafe/pwsafe-v2.tcl lib/gorilla/pwsafe/pwsafe-v3.tcl +lib/gorilla/sha1/LICENSE.txt +lib/gorilla/sha1/pkgIndex.tcl +lib/gorilla/sha1/sha256.tcl lib/gorilla/twofish/twofish.tcl lib/gorilla/twofish/twotest.tcl lib/gorilla/twofish/pkgIndex.tcl @@ -30,4 +33,5 @@ @dirrm lib/gorilla/pics @dirrm lib/gorilla/twofish @dirrm lib/gorilla/pwsafe +@dirrm lib/gorilla/sha1 @dirrm lib/gorilla --------------020708000505070303050300--