Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Jul 2006 11:09:43 +0400 (MSD)
From:      Stanislav Sedov <ssedov@mbsd.msk.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        vs@FreeBSD.org
Subject:   ports/100962: [PATCH] lang/gprolog: fix file permissions
Message-ID:  <20060728070943.8F3401209D@fonon.realnet>
Resent-Message-ID: <200607280720.k6S7KHgm036103@freefall.freebsd.org>

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

>Number:         100962
>Category:       ports
>Synopsis:       [PATCH] lang/gprolog: fix file permissions
>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:   Fri Jul 28 07:20:17 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:
 - Fix file permissions
 - Use PORTDOCS macro

Port maintainer (vs@FreeBSD.org) is cc'd.

>How-To-Repeat:
>Fix:

--- gprolog-1.2.18_2.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/lang/gprolog/Makefile /var/tmp/gprolog/Makefile
--- /usr/ports/lang/gprolog/Makefile	Thu Mar 16 12:43:10 2006
+++ /var/tmp/gprolog/Makefile	Fri Jul 28 11:06:27 2006
@@ -7,7 +7,7 @@
 
 PORTNAME=	gprolog
 PORTVERSION=	1.2.18
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	lang
 MASTER_SITES=	${MASTER_SITE_DEBIAN} ftp://ftp.inria.fr/INRIA/Projects/contraintes/gprolog/:doc
 MASTER_SITE_SUBDIR=	pool/main/g/${PORTNAME}
@@ -35,6 +35,8 @@
 
 PLIST_SUB+=	GPROLOG_VER=${PORTVERSION}
 
+PORTDOCS=	*
+
 .include <bsd.port.pre.mk>
 
 .if defined(WITHOUT_FD)
@@ -57,6 +59,8 @@
 	@${MKDIR} ${DOCSDIR}
 	@cd ${DOCSDIR} && ${GZIP_CMD} -cd ${_DISTDIR}/manual.pdf.gz >manual.pdf
 	@cd ${DOCSDIR} && ${TAR} zxf ${_DISTDIR}/manual-html.tar.gz
+	@${FIND} ${DOCSDIR}/ -type f -exec ${CHMOD} ${SHAREMODE} {} \;
+	@${FIND} ${DOCSDIR}/ -type f -exec ${CHOWN} ${SHAREOWN} {} \;
 .	endif
 
 .include <bsd.port.post.mk>
diff -ruN --exclude=CVS /usr/ports/lang/gprolog/pkg-plist /var/tmp/gprolog/pkg-plist
--- /usr/ports/lang/gprolog/pkg-plist	Tue Jan 10 12:51:24 2006
+++ /var/tmp/gprolog/pkg-plist	Fri Jul 28 11:06:43 2006
@@ -99,84 +99,3 @@
 @dirrm gprolog-%%GPROLOG_VER%%/include
 @dirrm gprolog-%%GPROLOG_VER%%/bin
 @dirrm gprolog-%%GPROLOG_VER%%
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/compil-scheme.gif
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/contents_motif.gif
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/debug-box.gif
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/index.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual-idx.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual001.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual002.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual003.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual004.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual005.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual006.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual007.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual008.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual009.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual010.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual011.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual012.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual013.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual014.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual015.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual016.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual017.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual018.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual019.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual020.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual021.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual022.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual023.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual024.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual025.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual026.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual027.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual028.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual029.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual030.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual031.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual032.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual033.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual034.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual035.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual036.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual037.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual038.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual039.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual040.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual041.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual042.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual043.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual044.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual045.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual046.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual047.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual048.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual049.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual050.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual051.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual052.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual053.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual054.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual055.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual056.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual057.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual058.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual059.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual060.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual061.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual062.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual063.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual064.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual065.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual066.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual067.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual068.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual069.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual070.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/manual071.html
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/next_motif.gif
-%%PORTDOCS%%%%DOCSDIR%%/manual-html/previous_motif.gif
-%%PORTDOCS%%%%DOCSDIR%%/manual.pdf
-%%PORTDOCS%%@dirrm %%DOCSDIR%%/manual-html
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
--- gprolog-1.2.18_2.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?20060728070943.8F3401209D>