ports/173399: [PATCH] mail/roundcube-login_info: file permissions update

Mark Felder feld at feld.me
Mon Nov 5 18:00:01 UTC 2012


>Number:         173399
>Category:       ports
>Synopsis:       [PATCH] mail/roundcube-login_info: file permissions update
>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:   Mon Nov 05 18:00:01 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     feld
>Release:        FreeBSD 9.1-PRERELEASE amd64
>Organization:
>Environment:
System: FreeBSD mwi1.coffeenet.org 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #5 r239731: Mon Aug 27 09:53:18 CDT
>Description:
utilize ${INSTALL_DATA} instead of ${PAX} to ensure file/directory permissions are sane

Port maintainer (feld at feld.me) is cc'd.

Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: suffix)
>How-To-Repeat:
>Fix:

--- roundcube-login_info-1.2_1.patch begins here ---
diff -ruN --exclude=CVS ../roundcube-login_info.orig/Makefile ./Makefile
--- ../roundcube-login_info.orig/Makefile	2012-11-03 08:28:52.000000000 -0500
+++ ./Makefile	2012-11-05 11:23:29.000000000 -0600
@@ -3,6 +3,7 @@
 
 PORTNAME=	login_info
 DISTVERSION=	1.2
+PORTREVISION=	1
 CATEGORIES=	mail
 MASTER_SITES=	https://www.std-soft.de/webmail/plugins/
 PKGNAMEPREFIX=	roundcube-
@@ -30,7 +31,11 @@
 		-e "s,^\., at dirrm %%WWWDIR%%," >>${.CURDIR}/pkg-plist.tmp
 
 do-install:
+	@${ECHO} "Installing in ${WWWDIR}"
 	${MKDIR} ${WWWDIR}
-	cd ${WRKSRC} && ${PAX} -r -w . ${WWWDIR}
+	cd ${WRKSRC} && ${FIND} . \
+		-type d -exec ${MKDIR} ${WWWDIR}/{} \;  \
+		-o -type f \
+		-exec ${INSTALL_DATA} {} ${WWWDIR}/{} \;
 
 .include <bsd.port.mk>
--- roundcube-login_info-1.2_1.patch ends here ---

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


More information about the freebsd-ports-bugs mailing list