ports/114926: [ patch ] security/gnupg: resurrect WITH_SUID_GPG knob
Roman Bogorodskiy
novel at FreeBSD.org
Thu Jul 26 07:40:01 UTC 2007
>Number: 114926
>Category: ports
>Synopsis: [ patch ] security/gnupg: resurrect WITH_SUID_GPG knob
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu Jul 26 07:40:00 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Roman Bogorodskiy
>Release: FreeBSD 6.2-STABLE i386
>Organization:
>Environment:
>Description:
Resurrect handy WITH_SUID_GPG knob which seems to be lost during
some repo-copy or update.
>How-To-Repeat:
>Fix:
--- gnupg_suid.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/security/gnupg/Makefile,v
retrieving revision 1.104
diff -u -r1.104 Makefile
--- Makefile 23 Jul 2007 09:36:28 -0000 1.104
+++ Makefile 26 Jul 2007 07:33:06 -0000
@@ -97,6 +97,9 @@
post-install:
PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
+.if defined(WITH_SUID_GPG)
+ ${CHMOD} u+s ${PREFIX}/bin/gpg
+.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>
--- gnupg_suid.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list