From owner-freebsd-ports-bugs@FreeBSD.ORG Sun May 17 07:50:05 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C8F181065673 for ; Sun, 17 May 2009 07:50:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A63FF8FC16 for ; Sun, 17 May 2009 07:50:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n4H7o50b004480 for ; Sun, 17 May 2009 07:50:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n4H7o50V004479; Sun, 17 May 2009 07:50:05 GMT (envelope-from gnats) Resent-Date: Sun, 17 May 2009 07:50:05 GMT Resent-Message-Id: <200905170750.n4H7o50V004479@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Philip M. Gollucci" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 68A3E106566C for ; Sun, 17 May 2009 07:41:08 +0000 (UTC) (envelope-from pgollucci@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 3E6BE8FC12; Sun, 17 May 2009 07:41:08 +0000 (UTC) (envelope-from pgollucci@FreeBSD.org) Received: from freefall.freebsd.org (pgollucci@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n4H7f82p095501; Sun, 17 May 2009 07:41:08 GMT (envelope-from pgollucci@freefall.freebsd.org) Received: (from pgollucci@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n4H7f8HC095494; Sun, 17 May 2009 07:41:08 GMT (envelope-from pgollucci) Message-Id: <200905170741.n4H7f8HC095494@freefall.freebsd.org> Date: Sun, 17 May 2009 07:41:08 GMT From: "Philip M. Gollucci" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: bob@bomar.us Subject: ports/134601: [PATCH] www/photo_gallery: apache@ cleanups X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 May 2009 07:50:06 -0000 >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 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: