Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Jul 2003 10:50:17 +0100 (BST)
From:      Bruce M Simpson <bms@spc.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/54909: [PATCH] security/opensc: fix mozilla plugin path
Message-ID:  <20030727095017.7FB74C7@saboteur.dek.spc.org>
Resent-Message-ID: <200307271000.h6RA0UFl073549@freefall.freebsd.org>

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

>Number:         54909
>Category:       ports
>Synopsis:       [PATCH] security/opensc: fix mozilla plugin path
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 27 03:00:30 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Bruce M Simpson
>Release:        FreeBSD 5.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD saboteur.dek.spc.org 5.1-RELEASE FreeBSD 5.1-RELEASE #3: Mon Jun 23 06:55:01 BST 2003 root@saboteur.dek.spc.org:/usr/src/sys/i386/compile/SABOTEUR i386


	
>Description:
	Do not assume anything about mozilla being installed; instead, use
	a path specific to this package for installing browser plugins.
>How-To-Repeat:
	
>Fix:

	

--- 3 begins here ---
diff -uNr opensc.orig/Makefile opensc/Makefile
--- opensc.orig/Makefile	Sun Jul 27 10:43:26 2003
+++ opensc/Makefile	Sun Jul 27 10:47:20 2003
@@ -13,8 +13,6 @@
 MAINTAINER=	bms@spc.org
 COMMENT=	ISO 7816 Smartcard API Library (OpenSSH Compatible)
 
-BROKEN=		"Creates /usr/lib/mozilla"
-
 LIB_DEPENDS=	pcsclite.0:${PORTSDIR}/devel/pcsc-lite	\
 		ldap.2:${PORTSDIR}/net/openldap20
 
@@ -25,6 +23,7 @@
 CONFIGURE_ARGS=	--with-pcsclite=${LOCALBASE}	\
 		--with-ldap-lib=openldap	\
 		--with-ldap-dir=${LOCALBASE}
+		--with-plugin-dir=${LOCALBASE}/share/opensc/plugins
 
 MAN1=		pkcs15-crypt.1 pkcs15-init.1
 MAN5=		pkcs15-profile.5
diff -uNr opensc.orig/pkg-plist opensc/pkg-plist
--- opensc.orig/pkg-plist	Sun Jul 27 10:45:36 2003
+++ opensc/pkg-plist	Sun Jul 27 10:47:20 2003
@@ -48,6 +48,7 @@
 share/opensc/pkcs15.profile
 share/opensc/scldap.conf.example
 @dirrm include/opensc
+@dirrm share/opensc/plugins
 @dirrm share/opensc
 @dirrm lib/security
 @dirrm lib/pkcs11
--- 3 ends here ---


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030727095017.7FB74C7>