From 4ce4852b3bb355ee4ae1b93165adcf49f0c02c8d Mon Sep 17 00:00:00 2001 From: marcus Date: Fri, 7 Mar 2008 05:38:17 +0000 Subject: Do not setuid seahorse-agent. It is a GTK+ app and cannot have its suid bit set. Seahorse-agent used to need root for mlock(), but it no longer calls mlock(). git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@10612 df743ca5-7f9a-e211-a948-0013205c9059 --- security/seahorse/Makefile | 3 ++- security/seahorse/files/patch-agent_Makefile.in | 11 +++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 security/seahorse/files/patch-agent_Makefile.in (limited to 'security/seahorse') diff --git a/security/seahorse/Makefile b/security/seahorse/Makefile index fc9f8e32d..422dd6104 100644 --- a/security/seahorse/Makefile +++ b/security/seahorse/Makefile @@ -3,11 +3,12 @@ # Whom: Dave McKay # # $FreeBSD$ -# $MCom: ports/security/seahorse/Makefile,v 1.56 2008/02/11 21:38:56 marcus Exp $ +# $MCom: ports/security/seahorse/Makefile,v 1.57 2008/02/25 10:39:34 kwm Exp $ # PORTNAME= seahorse PORTVERSION= 2.21.92 +PORTREVISION= 1 CATEGORIES= security gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR=sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} diff --git a/security/seahorse/files/patch-agent_Makefile.in b/security/seahorse/files/patch-agent_Makefile.in new file mode 100644 index 000000000..0ea3f6cf5 --- /dev/null +++ b/security/seahorse/files/patch-agent_Makefile.in @@ -0,0 +1,11 @@ +--- agent/Makefile.in.orig 2008-03-07 00:35:27.000000000 -0500 ++++ agent/Makefile.in 2008-03-07 00:35:44.000000000 -0500 +@@ -686,7 +686,7 @@ uninstall-man: uninstall-man1 + # Don't make the agent setuid + # Make the agent setuid + @HAVE_USER_MLOCK_FALSE@install-exec-hook: +-@HAVE_USER_MLOCK_FALSE@ chmod u+s $(DESTDIR)$(bindir)/seahorse-agent ++#@HAVE_USER_MLOCK_FALSE@ chmod u+s $(DESTDIR)$(bindir)/seahorse-agent + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. + .NOEXPORT: -- cgit v1.2.3