From bms@spc.org  Sun Jul 27 02:50:29 2003
Return-Path: <bms@spc.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 8CED637B401
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 27 Jul 2003 02:50:29 -0700 (PDT)
Received: from bigboy.spc.org (bigboy.spc.org [195.206.69.225])
	by mx1.FreeBSD.org (Postfix) with ESMTP id A526843FD7
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 27 Jul 2003 02:50:25 -0700 (PDT)
	(envelope-from bms@spc.org)
Received: from saboteur.dek.spc.org (unknown [81.3.72.68])
	(using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits))
	(No client certificate requested)
	by bigboy.spc.org (Postfix) with ESMTP id C88D5316A
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 27 Jul 2003 10:51:01 +0100 (BST)
Received: by saboteur.dek.spc.org (Postfix, from userid 1001)
	id 7FB74C7; Sun, 27 Jul 2003 10:50:17 +0100 (BST)
Message-Id: <20030727095017.7FB74C7@saboteur.dek.spc.org>
Date: Sun, 27 Jul 2003 10:50:17 +0100 (BST)
From: Bruce M Simpson <bms@spc.org>
Reply-To: Bruce M Simpson <bms@spc.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [PATCH] security/opensc: fix mozilla plugin path
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         54909
>Category:       ports
>Synopsis:       [PATCH] security/opensc: fix mozilla plugin path
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 27 03:00:30 PDT 2003
>Closed-Date:    Sun Jul 27 23:03:21 PDT 2003
>Last-Modified:  Sun Jul 27 23:03:21 PDT 2003
>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:

From: Bruce M Simpson <bms@spc.org>
To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org
Cc:  
Subject: Re: ports/54909: [PATCH] security/opensc: fix mozilla plugin path
Date: Sun, 27 Jul 2003 11:05:28 +0100

 --9jxsPFA5p3P2qPhR
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 This patch has a typo, corrected below.
 
 BMS
 
 --9jxsPFA5p3P2qPhR
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: attachment; filename=3
 
 diff -uNr opensc.orig/Makefile opensc/Makefile
 --- opensc.orig/Makefile	Sun Jul 27 10:43:26 2003
 +++ opensc/Makefile	Sun Jul 27 10:50:34 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
  
 @@ -24,7 +22,8 @@
  GNU_CONFIGURE=	yes
  CONFIGURE_ARGS=	--with-pcsclite=${LOCALBASE}	\
  		--with-ldap-lib=openldap	\
 -		--with-ldap-dir=${LOCALBASE}
 +		--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
 
 --9jxsPFA5p3P2qPhR--
State-Changed-From-To: open->closed 
State-Changed-By: daichi 
State-Changed-When: Sun Jul 27 23:03:06 PDT 2003 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=54909 
>Unformatted:
