Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Jul 2008 23:06:12 +0200
From:      Marcin Wisnicki <mwisnicki+freebsd@gmail.com>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        gnome@FreeBSD.org
Subject:   [PATCH] security/gnome-keyring: install pam module in better location
Message-ID:  <488a4047.0405560a.4272.68dc@mx.google.com>

next in thread | raw e-mail | index | archive | help

>Submitter-Id:	current-users
>Originator:	Marcin Wisnicki
>Organization:	
>Confidential:	no 
>Synopsis:	[PATCH] security/gnome-keyring: install pam module in better location
>Severity:	non-critical
>Priority:	low
>Category:	ports 
>Class:		change-request
>Release:	FreeBSD 7.0-STABLE i386
>Environment:
System: FreeBSD ghost.pnet.one.pl 7.0-STABLE FreeBSD 7.0-STABLE #15: Fri Jul 25 18:16:53 CEST 2008
>Description:
FreeBSD doesn't have /lib/security subdirectory for pam modules and instead
stores them directly inside /lib. Other ports that install pam modules adapt
this convention to $PREFIX and so should gnome-keyring.

Port maintainer (gnome@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- gnome-keyring-2.22.3_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/security/gnome-keyring.orig/Makefile /usr/ports/security/gnome-keyring/Makefile
--- /usr/ports/security/gnome-keyring.orig/Makefile	2008-07-06 04:34:11.000000000 +0200
+++ /usr/ports/security/gnome-keyring/Makefile	2008-07-25 22:40:47.000000000 +0200
@@ -8,6 +8,7 @@
 
 PORTNAME=	gnome-keyring
 PORTVERSION=	2.22.3
+PORTREVISION=	1
 CATEGORIES=	security gnome
 MASTER_SITES=	GNOME
 DIST_SUBDIR=	gnome2
@@ -27,6 +28,7 @@
 USE_LDCONFIG=	yes
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
 		LDFLAGS="-L${LOCALBASE}/lib"
+CONFIGURE_ARGS=	--with-pam-dir="${PREFIX}/lib"
 GCONF_SCHEMAS=	gnome-keyring.schemas
 
 .include <bsd.port.mk>
diff -ruN --exclude=CVS /usr/ports/security/gnome-keyring.orig/pkg-plist /usr/ports/security/gnome-keyring/pkg-plist
--- /usr/ports/security/gnome-keyring.orig/pkg-plist	2008-03-24 19:43:45.000000000 +0100
+++ /usr/ports/security/gnome-keyring/pkg-plist	2008-07-25 22:41:19.000000000 +0200
@@ -9,9 +9,9 @@
 lib/libgnome-keyring.la
 lib/libgnome-keyring.so
 lib/libgnome-keyring.so.0
-lib/security/pam_gnome_keyring.a
-lib/security/pam_gnome_keyring.la
-lib/security/pam_gnome_keyring.so
+lib/pam_gnome_keyring.a
+lib/pam_gnome_keyring.la
+lib/pam_gnome_keyring.so
 libdata/pkgconfig/gnome-keyring-1.pc
 libexec/gnome-keyring-ask
 share/dbus-1/services/org.gnome.keyring.service
@@ -113,7 +113,6 @@
 share/locale/zh_HK/LC_MESSAGES/gnome-keyring.mo
 share/locale/zh_TW/LC_MESSAGES/gnome-keyring.mo
 @dirrm %%DOCSDIR%%
-@dirrmtry lib/security
 @dirrm lib/gnome-keyring
 @dirrm include/gnome-keyring-1
 @dirrmtry share/locale/zh_HK/LC_MESSAGES
--- gnome-keyring-2.22.3_1.patch ends here ---




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?488a4047.0405560a.4272.68dc>