ports/102896: last security/gorilla update brokes the program
Kay Lehmann
kay_lehmann at web.de
Sun Sep 10 16:30:30 UTC 2006
The following reply was made to PR ports/102896; it has been noted by GNATS.
From: Kay Lehmann <kay_lehmann at web.de>
To: bug-followup at 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 <bsd.port.mk>
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
+ at dirrm lib/gorilla/sha1
@dirrm lib/gorilla
--------------020708000505070303050300--
More information about the freebsd-ports-bugs
mailing list