Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jul 2008 22:33:39 +0200 (CEST)
From:      Matthias Andree <matthias.andree@gmx.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/125726: [MAINTAINER] security/openvpn: install docs with proper permissions
Message-ID:  <20080717203339.5748DC9D8@merlin.emma.line.org>
Resent-Message-ID: <200807172040.m6HKe1JD038630@freefall.freebsd.org>

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

>Number:         125726
>Category:       ports
>Synopsis:       [MAINTAINER] security/openvpn: install docs with proper permissions
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 17 20:40:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Matthias Andree
>Release:        FreeBSD 6.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD merlin.emma.line.org 6.3-STABLE FreeBSD 6.3-STABLE #34: Sun Jul 13 14:11:14 CEST 2008
>Description:
install docs with proper permissions.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- openvpn-2.0.6_9.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/security/openvpn/Makefile /usr/home/emma/ports/security/openvpn/Makefile
--- /usr/ports/security/openvpn/Makefile	2008-02-20 02:15:28.000000000 +0100
+++ /usr/home/emma/ports/security/openvpn/Makefile	2008-07-17 22:32:15.000000000 +0200
@@ -13,7 +13,7 @@
 # UPGRADE REQUESTS WILL BE DROPPED UNLESS BSD-RELATED.
 # -----------------------------------------------------
 PORTVERSION=	2.0.6
-PORTREVISION=	8
+PORTREVISION=	9
 CATEGORIES=	security net
 # MASTER_SITES points to hosts in distinct data centers,
 # so just one MASTER_SITES entry should be OK.
@@ -81,10 +81,14 @@
 	PORTS README
 	${INSTALL_DATA} ${WRKSRC}/${docs} ${DOCSDIR}
 .endfor
-	( cd ${WRKSRC} \
-	&& ${FIND} easy-rsa sample-config-files sample-scripts -depth \
-	| ${GREP} -v easy-rsa/Windows \
-	| ${CPIO} -pdmu ${DOCSDIR} )
+.for dir in easy-rsa 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
 .endif
 	@${CAT} ${PKGMESSAGE}
 
--- openvpn-2.0.6_9.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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