ports/130005: [PATCH] Fix chmod command in www/cmsmadesimple

Mel mel.xyzzy at rachie.is-a-geek.net
Mon Dec 29 00:00:13 UTC 2008


>Number:         130005
>Category:       ports
>Synopsis:       [PATCH] Fix chmod command in www/cmsmadesimple
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 29 00:00:12 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Mel
>Release:        FreeBSD 7.1-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD squish.rachie.is-a-geek.net 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #5: Sat Sep 13 02:44:01 AKDT 2008 root at squish.rachie.is-a-geek.net:/data/obj/data/RELENG_7/src/sys/GENERIC-PF i386


	
>Description:
Install www/cmsmadesimple via package and it'll fail to install because of a
plist bug.
>How-To-Repeat:
# pkg_add -r cmsmadesimple-1.4.1
Fetching http://packages-7:8050/All/cmsmadesimple-1.4.1.tbz... Done.
chmod: -R: No such file or directory
pkg_add: command '/bin/chmod 755 -R /usr/local/www/cmsmadesimple' failed

>Fix:

--- patch-cmsmadesimple-Makefile begins here ---
Index: www/cmsmadesimple/Makefile
===================================================================
RCS file: /home/ncvs/ports/www/cmsmadesimple/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- www/cmsmadesimple/Makefile	23 Nov 2008 10:05:29 -0000	1.3
+++ www/cmsmadesimple/Makefile	28 Dec 2008 23:35:22 -0000
@@ -7,6 +7,7 @@
 
 PORTNAME=	cmsmadesimple
 PORTVERSION=	1.4.1
+PORTREVISION=	1
 CATEGORIES=	www
 MASTER_SITES=	http://s3.amazonaws.com/cmsms/downloads/2536/
 DISTNAME=	${PORTNAME}-${PORTVERSION}-full
@@ -49,7 +50,7 @@
 post-install:
 	@${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}' \
 		>> ${TMPPLIST}
-	@${ECHO_CMD} '@exec ${CHMOD} 755 -R ${WWWDIR}' \
+	@${ECHO_CMD} '@exec ${CHMOD} -R 755 ${WWWDIR}' \
 		>> ${TMPPLIST}
 
 .for i in ${WRITABLE_DIRS}
--- patch-cmsmadesimple-Makefile ends here ---

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



More information about the freebsd-ports-bugs mailing list