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:   ports/125967: [PATCH] security/gnome-keyring: install pam module in better location
Message-ID:  <488a4047.0405560a.4272.68dc@mx.google.com>
Resent-Message-ID: <200807252110.m6PLA4t1038758@freefall.freebsd.org>

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

>Number:         125967
>Category:       ports
>Synopsis:       [PATCH] security/gnome-keyring: install pam module in better location
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 25 21:10:04 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Marcin Wisnicki
>Release:        FreeBSD 7.0-STABLE i386
>Organization:
>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 ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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