From owner-svn-ports-head@FreeBSD.ORG Fri Sep 28 18:45:59 2012 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 839F61065672; Fri, 28 Sep 2012 18:45:59 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 6DB478FC14; Fri, 28 Sep 2012 18:45:59 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q8SIjxvR088923; Fri, 28 Sep 2012 18:45:59 GMT (envelope-from bdrewery@svn.freebsd.org) Received: (from bdrewery@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q8SIjxEY088917; Fri, 28 Sep 2012 18:45:59 GMT (envelope-from bdrewery@svn.freebsd.org) Message-Id: <201209281845.q8SIjxEY088917@svn.freebsd.org> From: Bryan Drewery Date: Fri, 28 Sep 2012 18:45:59 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r305007 - in head/security/openvpn-devel: . files X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Sep 2012 18:45:59 -0000 Author: bdrewery Date: Fri Sep 28 18:45:58 2012 New Revision: 305007 URL: http://svn.freebsd.org/changeset/ports/305007 Log: - Update to 201237 snapshot [1] - Convert to new options framework - Remove ABI versions from LIB_DEPENDS - Update to new header PR: ports/171743 [1] Submitted by: Eric F Crist (maintainer) [1] 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 Fri Sep 28 18:43:30 2012 (r305006) +++ head/security/openvpn-devel/Makefile Fri Sep 28 18:45:58 2012 (r305007) @@ -1,12 +1,8 @@ -# New ports collection makefile for: openvpn -# Date created: 2010-02-19 -# Whom: Eric F Crist -# +# Created By: Eric F Crist # $FreeBSD$ -# PORTNAME= openvpn -DISTVERSION= 201230 +DISTVERSION= 201237 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/ @@ -26,14 +22,14 @@ CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib INSTALL_TARGET= install mandir=${MANPREFIX}/man -LIB_DEPENDS+= lzo2.2:${PORTSDIR}/archivers/lzo2 +LIB_DEPENDS+= lzo2:${PORTSDIR}/archivers/lzo2 MAN8= openvpn.8 -OPTIONS= PW_SAVE "Interactive passwords may be read from a file" off \ - PKCS11 "Use security/pkcs11-helper" off \ - EXAMPLES "Install sample configs and scripts" off \ - POLARSSL "Build will PolarSSL instead of OpenSSL" off +OPTIONS_DEFINE= PW_SAVE PKCS11 POLARSSL +PW_SAVE_DESC= Interactive passwords may be read from a file +PKCS11_DESC= Use security/pkcs11-helper +POLARSSL_DESC= Build with PolarSSL instead of OpenSSL USE_RC_SUBR= openvpn USE_LDCONFIG= ${PREFIX}/lib @@ -45,19 +41,20 @@ SUB_LIST+= OSVERSION=${OSVERSION} WITHOUT_CHECK= yes .endif -.if defined (WITH_POLARSSL) -BUILD_DEPENDS+= libpolarssl.so:${PORTSDIR}/security/polarssl -CONFIGURE_ARGS+= --with-crypto-lib=polarssl -.else -USE_OPENSSL= yes -.endif - -.include +.include .ifdef (LOG_OPENVPN) CFLAGS+= -DLOG_OPENVPN=${LOG_OPENVPN} .endif +.if ${PORT_OPTIONS:MPOLARSSL} +LIB_DEPENDS+= polarssl:${PORTSDIR}/security/polarssl +CONFIGURE_ARGS+= --with-crypto-library=polarssl +WITHOUT_CHECK= yes +.else +USE_OPENSSL= yes +.endif + pre-fetch: .ifdef (LOG_OPENVPN) @${ECHO} "Building with LOG_OPENVPN=${LOG_OPENVPN}" @@ -70,12 +67,12 @@ pre-fetch: @${ECHO} "" .endif -.if defined(WITH_PW_SAVE) +.if ${PORT_OPTIONS:MPW_SAVE} CONFIGURE_ARGS+= --enable-password-save .endif -.if defined(WITH_PKCS11) -LIB_DEPENDS+= pkcs11-helper.1:${PORTSDIR}/security/pkcs11-helper +.if ${PORT_OPTIONS:MPKCS11} +LIB_DEPENDS+= pkcs11-helper:${PORTSDIR}/security/pkcs11-helper .else CONFIGURE_ARGS+= --disable-pkcs11 .endif @@ -96,6 +93,8 @@ 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 .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} .for docs in AUTHORS COPYING COPYRIGHT.GPL ChangeLog INSTALL \ @@ -110,4 +109,4 @@ post-install: .endif @${CAT} ${PKGMESSAGE} -.include +.include Modified: head/security/openvpn-devel/distinfo ============================================================================== --- head/security/openvpn-devel/distinfo Fri Sep 28 18:43:30 2012 (r305006) +++ head/security/openvpn-devel/distinfo Fri Sep 28 18:45:58 2012 (r305007) @@ -1,2 +1,2 @@ -SHA256 (openvpn-201230.tar.gz) = a92e577439bdadf149602f2059ab1d15a88c4db7f8784d8dd055bafd32d96c94 -SIZE (openvpn-201230.tar.gz) = 1519953 +SHA256 (openvpn-201237.tar.gz) = f6786994921acb6d207e0acdc410aa9c8096650390bcb0f36f7491cb7707a0a8 +SIZE (openvpn-201237.tar.gz) = 1519381 Modified: head/security/openvpn-devel/files/pkg-message.in ============================================================================== --- head/security/openvpn-devel/files/pkg-message.in Fri Sep 28 18:43:30 2012 (r305006) +++ head/security/openvpn-devel/files/pkg-message.in Fri Sep 28 18:45:58 2012 (r305007) @@ -5,8 +5,18 @@ ### For compatibility notes when interoperating with older OpenVPN ### versions, please, see ### ------------------------------------------------------------------------ -### If you want to donate to OpenVPN: -### ------------------------------------------------------------------------ -### NOTE THIS IS AN UNSTABLE VERSION UNDER DEVELOPMENT! +### NOTE THIS IS AN UNSTABLE BETA VERSION UNDER DEVELOPMENT! ### It may or may not be suitable for production. Use at your own risk. ### ------------------------------------------------------------------------ +### +### PLUGIN LOCATION CHANGED! +### 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: +### %%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 Modified: head/security/openvpn-devel/pkg-plist ============================================================================== --- head/security/openvpn-devel/pkg-plist Fri Sep 28 18:43:30 2012 (r305006) +++ head/security/openvpn-devel/pkg-plist Fri Sep 28 18:45:58 2012 (r305007) @@ -4,6 +4,8 @@ lib/openvpn/plugins/openvpn-plugin-auth- 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 include/openvpn-plugin.h sbin/openvpn %%PORTDOCS%%%%DOCSDIR%%/AUTHORS @@ -39,9 +41,10 @@ sbin/openvpn %%PORTDOCS%%%%DOCSDIR%%/sample-scripts/bridge-stop %%PORTDOCS%%%%DOCSDIR%%/sample-scripts/ucn.pl %%PORTDOCS%%%%DOCSDIR%%/sample-scripts/verify-cn -%%PORTDOCS%%@dirrm %%DOCSDIR%%/sample-scripts -%%PORTDOCS%%@dirrm %%DOCSDIR%%/sample-config-files -%%PORTDOCS%%@dirrm %%DOCSDIR%% @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