Date: Thu, 26 Jul 2007 07:37:02 GMT From: Roman Bogorodskiy <novel@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/114926: [ patch ] security/gnupg: resurrect WITH_SUID_GPG knob Message-ID: <200707260737.l6Q7b2jP069467@freefall.freebsd.org> Resent-Message-ID: <200707260740.l6Q7e1vb069502@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707260737.l6Q7b2jP069467>