Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Oct 2012 20:13:19 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r305741 - in head/security/openvpn-devel: . files
Message-ID:  <201210112013.q9BKDJhx079120@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Thu Oct 11 20:13:18 2012
New Revision: 305741
URL: http://svn.freebsd.org/changeset/ports/305741

Log:
  - Update to latest snapshot [1]
  - Properly install symlinks for auth-pam and down-root plugins [1]
  - Fix pkg-message description of locations of these plugins [1]
  - Fix plist for nonexistent DOCSDIR/openvpn and DOCSDIRS/sample
  
  PR:		ports/172587 [1]
  Submitted by:	Eric F Crist <ecrist@secure-computing.net> (maintainer) [1]
  Feature safe:	yes

Modified:
  head/security/openvpn-devel/Makefile
  head/security/openvpn-devel/distinfo
  head/security/openvpn-devel/files/pkg-message.in
  head/security/openvpn-devel/pkg-plist

Modified: head/security/openvpn-devel/Makefile
==============================================================================
--- head/security/openvpn-devel/Makefile	Thu Oct 11 20:11:26 2012	(r305740)
+++ head/security/openvpn-devel/Makefile	Thu Oct 11 20:13:18 2012	(r305741)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	openvpn
-DISTVERSION=	201237
+DISTVERSION=	201240
 CATEGORIES=	security net
 MASTER_SITES=	ftp://ftp.secure-computing.net/pub/FreeBSD/ports/openvpn-devel/ \
 		ftp://ftp2.secure-computing.net/pub/FreeBSD/ports/openvpn-devel/
@@ -91,10 +91,8 @@ post-build:
 
 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 \

Modified: head/security/openvpn-devel/distinfo
==============================================================================
--- head/security/openvpn-devel/distinfo	Thu Oct 11 20:11:26 2012	(r305740)
+++ head/security/openvpn-devel/distinfo	Thu Oct 11 20:13:18 2012	(r305741)
@@ -1,2 +1,2 @@
-SHA256 (openvpn-201237.tar.gz) = f6786994921acb6d207e0acdc410aa9c8096650390bcb0f36f7491cb7707a0a8
-SIZE (openvpn-201237.tar.gz) = 1519381
+SHA256 (openvpn-201240.tar.gz) = 60fd4af631fb4105322d6de21ad53928f5627c7cca7e8d6e3b388d100910fa1a
+SIZE (openvpn-201240.tar.gz) = 1498790

Modified: head/security/openvpn-devel/files/pkg-message.in
==============================================================================
--- head/security/openvpn-devel/files/pkg-message.in	Thu Oct 11 20:11:26 2012	(r305740)
+++ head/security/openvpn-devel/files/pkg-message.in	Thu Oct 11 20:13:18 2012	(r305741)
@@ -13,10 +13,11 @@
 ### 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:
-### %%PREFIX%%/openvpn-plugin-auth-pam.so
-### %%PREFIX%%/openvpn-plugin-down-root.so
+### Old Location:
+### %%PREFIX%%/lib/openvpn-plugin-down-root.so
+### %%PREFIX%%/lib/openvpn-plugin-auth-pam.so
+

Modified: head/security/openvpn-devel/pkg-plist
==============================================================================
--- head/security/openvpn-devel/pkg-plist	Thu Oct 11 20:11:26 2012	(r305740)
+++ head/security/openvpn-devel/pkg-plist	Thu Oct 11 20:13:18 2012	(r305741)
@@ -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
@@ -41,10 +39,8 @@ sbin/openvpn
 %%PORTDOCS%%%%DOCSDIR%%/sample-scripts/bridge-stop
 %%PORTDOCS%%%%DOCSDIR%%/sample-scripts/ucn.pl
 %%PORTDOCS%%%%DOCSDIR%%/sample-scripts/verify-cn
-@dirrmtry %%PORTDOCS%%%%DOCSDIR%%/openvpn
 @dirrmtry %%PORTDOCS%%%%DOCSDIR%%/sample-scripts
 @dirrmtry %%PORTDOCS%%%%DOCSDIR%%/sample-config-files
-@dirrmtry %%PORTDOCS%%%%DOCSDIR%%/sample
 @dirrmtry %%PORTDOCS%%%%DOCSDIR%%
 @dirrmtry lib/openvpn/plugins
 @dirrmtry lib/openvpn



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