Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Oct 2012 21:22:39 -0400 (EDT)
From:      Eric F Crist <ecrist@secure-computing.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Josh Paetzel <jpaetzel@FreeBSD.org>
Subject:   ports/172598: security/openvpn-beta: fix bugs in port build
Message-ID:  <201210110122.q9B1MdQP012998@terrance.secure-computing.net>
Resent-Message-ID: <201210111149.q9BBnHqo062595@freefall.freebsd.org>

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

>Number:         172598
>Category:       ports
>Synopsis:       security/openvpn-beta: fix bugs in port build
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 11 11:49:17 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Eric F Crist
>Release:        FreeBSD 9.0-CURRENT amd64
>Organization:
Secure Computing Networks & ClaimLynx, Inc
>Environment:
FreeBSD terrance.secure-computing.net 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Tue Jun 12 02:52:29 UTC 2012     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
	Fixes bugs in port build related to OpenVPN library paths and the pkg-message
	
>How-To-Repeat:
>Fix:

--- ovpnb.diff begins here ---
Index: files/pkg-message.in
===================================================================
--- files/pkg-message.in	(revision 305695)
+++ files/pkg-message.in	(working copy)
@@ -13,10 +13,10 @@
 ### The following plugin locations have changed.  There is a symlink to the
 ### new file for the duration of the 2.3 release.  This will be removed in
 ### OpenVPN 2.4+.
-### Old Location:
+### New Location:
 ### %%PREFIX%%/openvpn/plugins/openvpn-plugin-auth-pam.so
 ### %%PREFIX%%/openvpn/plugins/openvpn-plugin-down-root.so
 ###
-### New Location:
+### Old Location:
 ### %%PREFIX%%/openvpn-plugin-auth-pam.so
 ### %%PREFIX%%/openvpn-plugin-down-root.so
Index: pkg-plist
===================================================================
--- pkg-plist	(revision 305695)
+++ pkg-plist	(working copy)
@@ -1,8 +1,6 @@
 lib/openvpn/plugins/openvpn-plugin-auth-pam.so
-lib/openvpn-plugin-auth-pam.so
 lib/openvpn/plugins/openvpn-plugin-auth-pam.la
 lib/openvpn/plugins/openvpn-plugin-down-root.so
-lib/openvpn-plugin-down-root.so
 lib/openvpn/plugins/openvpn-plugin-down-root.la
 lib/openvpn-auth-pam.so
 lib/openvpn-down-root.so
Index: Makefile
===================================================================
--- Makefile	(revision 305695)
+++ Makefile	(working copy)
@@ -6,6 +6,7 @@
 CATEGORIES=	security net
 MASTER_SITES=	http://swupdate.openvpn.net/community/releases/
 PKGNAMESUFFIX=	-beta
+PORTREVISION=	1
 
 MAINTAINER=	ecrist@secure-computing.net
 COMMENT=	Secure IP/Ethernet tunnel daemon
@@ -90,10 +91,9 @@
 
 post-install:
 	${MKDIR} ${PREFIX}/lib
-	${INSTALL_LIB} ${WRKSRC}/src/plugins/down-root/.libs/openvpn-plugin-down-root.so ${PREFIX}/lib/
-	${INSTALL_LIB} ${WRKSRC}/src/plugins/auth-pam/.libs/openvpn-plugin-auth-pam.so ${PREFIX}/lib/
-	${LN} -s ${WRKSRC}/src/plugins/down-root/.libs/openvpn-plugin-down-root.so ${PREFIX}/lib/openvpn-down-root.so
-	${LN} -s ${WRKSRC}/src/plugins/down-root/.libs/openvpn-plugin-auth-pam.so ${PREFIX}/lib/openvpn-auth-pam.so
+	${LN} -s ${PREFIX}/lib/openvpn/plugins/openvpn-plugin-down-root.so ${PREFIX}/lib/openvpn-down-root.so
+	${LN} -s ${PREFIX}/lib/openvpn/plugins/openvpn-plugin-auth-pam.so ${PREFIX}/lib/openvpn-auth-pam.so
+
 .if !defined(NOPORTDOCS)
 	${MKDIR} ${DOCSDIR}
 .for docs in AUTHORS COPYING COPYRIGHT.GPL ChangeLog INSTALL \
--- ovpnb.diff ends here ---

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



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