Date: Sun, 17 May 2009 07:41:08 GMT From: "Philip M. Gollucci" <pgollucci@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: bob@bomar.us Subject: ports/134601: [PATCH] www/photo_gallery: apache@ cleanups Message-ID: <200905170741.n4H7f8HC095494@freefall.freebsd.org> Resent-Message-ID: <200905170750.n4H7o50V004479@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 134601 >Category: ports >Synopsis: [PATCH] www/photo_gallery: apache@ cleanups >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 May 17 07:50:04 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Philip M. Gollucci >Release: FreeBSD 7.1-PRERELEASE i386 >Organization: Riderway Inc. >Environment: System: FreeBSD freefall.freebsd.org 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #36: Mon Dec 29 15:15:30 UTC 2008 >Description: - Convert to USE_APACHE, remove apache from _DEPENDS- - Use WWWOWN, WWWGRP - APACHEDIR comes from USE_APACHE - Use %%var%% in pkg-plist - Bump PORTREVISION Port maintainer (bob@bomar.us) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- photo_gallery-1.5_1.patch begins here --- Index: Makefile =================================================================== RCS file: /home/pcvs/ports/www/photo_gallery/Makefile,v retrieving revision 1.4 diff -u -u -r1.4 Makefile --- Makefile 11 Jun 2006 21:04:34 -0000 1.4 +++ Makefile 17 May 2009 07:39:45 -0000 @@ -6,6 +6,7 @@ PORTNAME= photo_gallery PORTVERSION= 1.5 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= http://www.capybara.org/~dfraser/photo_gallery/ DISTNAME= ${PORTNAME}_${PORTVERSION} @@ -15,20 +16,17 @@ COMMENT= Simple web based photo gallery RUN_DEPENDS= anytopnm:${PORTSDIR}/graphics/netpbm\ - ${LOCALBASE}/etc/apache/httpd.conf:${PORTSDIR}/www/apache13\ ${SITE_PERL}/CGI.pm:${PORTSDIR}/www/p5-CGI.pm \ ${SITE_PERL}/Image/Info.pm:${PORTSDIR}/graphics/p5-Image-Info\ ${SITE_PERL}/URI.pm:${PORTSDIR}/net/p5-URI -WEBOWN?= www -WEBGRP?= www -APACHEDIR= ${LOCALBASE}/www/data -INSTALLDIR= ${APACHEDIR}/photo -NO_BUILD= yes +USE_APACHE= 1.3 USE_PERL5= yes +NO_BUILD= yes do-install: - ${MKDIR} ${INSTALLDIR} - cd ${WRKSRC}; ${FIND} . \ - | ${CPIO} -pdm -R ${WEBOWN}:${WEBGRP} ${INSTALLDIR} + ${MKDIR} ${WWWDIR}/ + @cd ${WRKSRC}; ${FIND} . \ + | ${CPIO} -pdm -R ${WWWOWN}:${WWWGRP} ${WWWDIR} + .include <bsd.port.mk> Index: pkg-plist =================================================================== RCS file: /home/pcvs/ports/www/photo_gallery/pkg-plist,v retrieving revision 1.2 diff -u -u -r1.2 pkg-plist --- pkg-plist 15 Oct 2004 14:45:10 -0000 1.2 +++ pkg-plist 17 May 2009 07:39:45 -0000 @@ -1,5 +1,5 @@ -www/data/photo/index.cgi -www/data/photo/readme.html -www/data/photo/.header.html -www/data/photo/.footer.html -@dirrm www/data/photo +%%WWWDIR%%/index.cgi +%%WWWDIR%%/readme.html +%%WWWDIR%%/.header.html +%%WWWDIR%%/.footer.html +@dirrm %%WWWDIR%% --- photo_gallery-1.5_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?200905170741.n4H7f8HC095494>