Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Jul 2012 09:49:27 -0400 (EDT)
From:      Eric F Crist <ecrist@secure-computing.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Josh Paetzel <jpaetzel@FreeBSD.org>
Subject:   ports/170111: security/openvpn-devel: update to more recent snapshot
Message-ID:  <201207241349.q6ODnRTk062186@terrance.secure-computing.net>
Resent-Message-ID: <201207241350.q6ODo6fu028015@freefall.freebsd.org>

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

>Number:         170111
>Category:       ports
>Synopsis:       security/openvpn-devel: update to more recent snapshot
>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:   Tue Jul 24 13:50:06 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Eric F Crist
>Release:        FreeBSD 9.0-CURRENT amd64
>Organization:
Secure Computing Networks & ClaimLynx, Inc
>Environment:
FreeBSD cartman.secure-computing.net 9.0-CURRENT FreeBSD 9.0-CURRENT #5: Fri Jan 21 12:06:32 CST 2011     root@cartman.secure-computing.net:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
	
	update security/openvpn-devel to latest snapshot

>How-To-Repeat:
>Fix:

--- ovpnd.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/security/openvpn-devel/Makefile,v
retrieving revision 1.76
diff -u -r1.76 Makefile
--- Makefile	27 Feb 2012 19:20:42 -0000	1.76
+++ Makefile	24 Jul 2012 13:47:25 -0000
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	openvpn
-DISTVERSION=	201208
+DISTVERSION=	201230
 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/
@@ -23,8 +23,8 @@
 
 GNU_CONFIGURE=	yes
 USE_OPENSSL=	yes
-CONFIGURE_ARGS=	--with-lzo-lib=${LOCALBASE}/lib \
-		--with-lzo-headers=${LOCALBASE}/include
+CFLAGS+=	-I${LOCALBASE}/include
+LDFLAGS+=	-L${LOCALBASE}/lib
 INSTALL_TARGET=	install mandir=${MANPREFIX}/man
 
 LIB_DEPENDS+=	lzo2.2:${PORTSDIR}/archivers/lzo2
@@ -77,8 +77,8 @@
 	@${FIND} ${WRKSRC} -name \*.bak -delete
 
 post-build:
-	cd ${WRKSRC}/plugin/down-root && ${MAKE}
-	cd ${WRKSRC}/plugin/auth-pam && ${CC} ${CPPFLAGS} -I../.. -DDLOPEN_PAM=0 ${CFLAGS} -fPIC -shared -Wl,-soname,openvpn-auth-pam.so -o openvpn-auth-pam.so auth-pam.c pamdl.c -lc -lpam
+	cd ${WRKSRC}/src/plugins/down-root && ${MAKE}
+	cd ${WRKSRC}/src/plugins/auth-pam && ${CC} ${CPPFLAGS} -I../../../include -DDLOPEN_PAM=0 ${CFLAGS} -fPIC -shared -Wl,-soname,openvpn-auth-pam.so -o openvpn-auth-pam.so auth-pam.c pamdl.c -lc -lpam
 	@# self-tests here
 .if !defined(WITHOUT_CHECK)
 	cd ${WRKSRC} && ${MAKE} check
@@ -86,24 +86,16 @@
 
 post-install:
 	${MKDIR} ${PREFIX}/lib
-	${INSTALL_LIB} ${WRKSRC}/plugin/down-root/openvpn-down-root.so ${PREFIX}/lib/
-	${INSTALL_LIB} ${WRKSRC}/plugin/auth-pam/openvpn-auth-pam.so ${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/
 .if !defined(NOPORTDOCS)
 	${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/plugin/down-root/README ${DOCSDIR}/README.openvpn-down-root
-	${INSTALL_DATA} ${WRKSRC}/plugin/auth-pam/README ${DOCSDIR}/README.openvpn-auth-pam
+	${INSTALL_DATA} ${WRKSRC}/src/plugins/down-root/README.down-root ${DOCSDIR}/README.openvpn-down-root
+	${INSTALL_DATA} ${WRKSRC}/src/plugins/auth-pam/README.auth-pam ${DOCSDIR}/README.openvpn-auth-pam
 .for docs in AUTHORS COPYING COPYRIGHT.GPL ChangeLog INSTALL \
 	PORTS README
 	${INSTALL_DATA} ${WRKSRC}/${docs} ${DOCSDIR}/
 .endfor
-.for dir in easy-rsa easy-rsa/1.0 easy-rsa/2.0 sample-config-files
-	${MKDIR} ${DOCSDIR}/${dir}
-	${FIND} ${WRKSRC}/${dir}/ -maxdepth 1 -type f -exec ${INSTALL_DATA} \{\} ${DOCSDIR}/${dir} \;
-.endfor
-.for dir in sample-scripts
-	${MKDIR} ${DOCSDIR}/${dir}
-	${FIND} ${WRKSRC}/${dir}/ -maxdepth 1 -type f -exec ${INSTALL_SCRIPT} \{\} ${DOCSDIR}/${dir} \;
-.endfor
 .else
 	-@${RMDIR} ${DOCSDIR}
 .endif
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/security/openvpn-devel/distinfo,v
retrieving revision 1.55
diff -u -r1.55 distinfo
--- distinfo	27 Feb 2012 19:20:42 -0000	1.55
+++ distinfo	24 Jul 2012 13:47:25 -0000
@@ -1,2 +1,2 @@
-SHA256 (openvpn-201208.tar.gz) = b49e92d1b060a1e9fc740cfc34445057d9c4d841ccee80c627eeb9468d4cdd1a
-SIZE (openvpn-201208.tar.gz) = 1105648
+SHA256 (openvpn-201230.tar.gz) = a92e577439bdadf149602f2059ab1d15a88c4db7f8784d8dd055bafd32d96c94
+SIZE (openvpn-201230.tar.gz) = 1519953
--- ovpnd.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?201207241349.q6ODnRTk062186>