Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Jan 2013 02:55:49 +0000 (UTC)
From:      Matthias Andree <mandree@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r310670 - head/security/openvpn
Message-ID:  <201301200255.r0K2tnUL091816@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mandree
Date: Sun Jan 20 02:55:48 2013
New Revision: 310670
URL: http://svnweb.freebsd.org/changeset/ports/310670

Log:
  - When installing from port, do not tamper with permissions of other files
    in ${PREFIX}/sbin and ${PREFIX}/lib. [1]
  
  - Do not install plugin .la/.so files with the executable bit set, they
    are not executable.
  
  PR:		ports/175434 [1]
  Submitted by:	Benjamin Lorenz [1]

Modified:
  head/security/openvpn/Makefile

Modified: head/security/openvpn/Makefile
==============================================================================
--- head/security/openvpn/Makefile	Sun Jan 20 01:30:35 2013	(r310669)
+++ head/security/openvpn/Makefile	Sun Jan 20 02:55:48 2013	(r310670)
@@ -3,7 +3,7 @@
 
 PORTNAME=	openvpn
 DISTVERSION=	2.3.0
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	security net
 MASTER_SITES=	http://swupdate.openvpn.net/community/releases/ \
 		http://build.openvpn.net/downloads/releases/
@@ -91,10 +91,10 @@ post-build:
 .endif
 
 post-install:
-	${MKDIR} ${PREFIX}/lib ${PREFIX}/sbin ${PREFIX}/include ${PREFIX}/man
-.for i in lib sbin
-	(cd ${_stagedir}${PREFIX}/${i} && ${COPYTREE_BIN} \* ${PREFIX}/${i}/)
-.endfor
+	${MKDIR} ${PREFIX}/lib/openvpn/plugins/ ${PREFIX}/sbin \
+		 ${PREFIX}/include ${PREFIX}/man
+	${INSTALL_PROGRAM} ${_stagedir}${PREFIX}/sbin/openvpn ${PREFIX}/sbin
+	${INSTALL_DATA} ${_stagedir}${PREFIX}/lib/openvpn/plugins/* ${PREFIX}/lib/openvpn/plugins/
 	${INSTALL_DATA} ${_stagedir}${PREFIX}/include/* ${PREFIX}/include/
 	${INSTALL_MAN} ${_stagedir}${PREFIX}/man/man8/* ${MAN8PREFIX}/man/man8/
 .if ${PORT_OPTIONS:MDOCS}



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