ports/101065: [PATCH] www/jetspeed: fix permissions, cleanup

Stanislav Sedov ssedov at mbsd.msk.ru
Sun Jul 30 18:50:14 UTC 2006


>Number:         101065
>Category:       ports
>Synopsis:       [PATCH] www/jetspeed: fix permissions, cleanup
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 30 18:50:12 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Stanislav Sedov
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
MBSD labs, Inc.
>Environment:
System: FreeBSD fonon.realnet 7.0-CURRENT FreeBSD 7.0-CURRENT #7: Sun Jun 18 20:51:36 MSD 2006
>Description:
Use install program for install to honour permission in case of incorrect
umask.

>How-To-Repeat:
>Fix:

--- jetspeed-1.5.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/www/jetspeed/Makefile /var/tmp/jetspeed/Makefile
--- /usr/ports/www/jetspeed/Makefile	Sun Mar 19 03:29:57 2006
+++ /var/tmp/jetspeed/Makefile	Sun Jul 30 22:45:31 2006
@@ -10,7 +10,7 @@
 CATEGORIES=	www
 MASTER_SITES=	${MASTER_SITE_APACHE_JAKARTA}
 MASTER_SITE_SUBDIR=jetspeed/binaries
-DISTFILES=	${PORTNAME}-${PORTVERSION}-war${EXTRACT_SUFX}
+DISTNAME=	${PORTNAME}-${PORTVERSION}-war
 
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Jetspeed is an Open Source Portal, written in Java and XML
@@ -27,10 +27,10 @@
 JAKARTA_HOME=	${LOCALBASE}/jakarta-tomcat4.1
 
 do-install:
-	@${CP} ${WRKSRC}/jetspeed.war ${JAKARTA_HOME}/webapps
+	@${INSTALL_DATA} ${WRKSRC}/jetspeed.war ${JAKARTA_HOME}/webapps
 .if !defined(NOPORTDOCS)
 	@${MKDIR} ${DOCSDIR}
-	@${CP} ${WRKSRC}/* ${DOCSDIR}
+	@${INSTALL_DATA} ${WRKSRC}/* ${DOCSDIR}
 .endif
 post-install:
 	@${CAT} ${PKGMESSAGE}
--- jetspeed-1.5.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list