Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jul 2008 22:42:11 +0200 (CEST)
From:      Matthias Andree <matthias.andree@gmx.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/125727: [MAINTAINER] security/openvpn-devel: install docs with proper owner
Message-ID:  <20080717204211.45559C398@merlin.emma.line.org>
Resent-Message-ID: <200807172050.m6HKo1ta038911@freefall.freebsd.org>

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

>Number:         125727
>Category:       ports
>Synopsis:       [MAINTAINER] security/openvpn-devel: install docs with proper owner
>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:50:00 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 owner

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

--- openvpn-devel-2.1.r8_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/security/openvpn-devel/Makefile /usr/home/emma/ports/security/openvpn-devel/Makefile
--- /usr/ports/security/openvpn-devel/Makefile	2008-06-15 20:30:58.000000000 +0200
+++ /usr/home/emma/ports/security/openvpn-devel/Makefile	2008-07-17 22:41:15.000000000 +0200
@@ -7,6 +7,7 @@
 
 PORTNAME=	openvpn
 DISTVERSION=	2.1_rc8
+PORTREVISION=	1
 CATEGORIES=	security net
 MASTER_SITES=	https://secure.openvpn.net/beta/
 PKGNAMESUFFIX=	-devel
@@ -77,10 +78,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/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
--- openvpn-devel-2.1.r8_1.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?20080717204211.45559C398>