ports/172598: security/openvpn-beta: fix bugs in port build
Eric F Crist
ecrist at secure-computing.net
Thu Oct 11 11:49:17 UTC 2012
>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 at 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 at 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:
More information about the freebsd-ports-bugs
mailing list