Date: Sun, 17 May 2009 07:46:02 GMT From: "Philip M. Gollucci" <pgollucci@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: sam@brj.pp.ru Subject: ports/134603: [PATCH] www/wget4web: apache@ cleanups Message-ID: <200905170746.n4H7k2fc004355@freefall.freebsd.org> Resent-Message-ID: <200905170750.n4H7o6oe004527@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 134603 >Category: ports >Synopsis: [PATCH] www/wget4web: 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:06 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: - DISTNAME was set to default, remove - USE_APACHE=yes is deprecated - Use WWWOWN, WWWGRP - APACHEDIR comes from USE_APACHE - Use WWWDIR - Bump PORTREVISION Port maintainer (sam@brj.pp.ru) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- wget4web-1.0_2.patch begins here --- Index: Makefile =================================================================== RCS file: /home/pcvs/ports/www/wget4web/Makefile,v retrieving revision 1.3 diff -u -u -r1.3 Makefile --- Makefile 6 Jun 2008 14:07:22 -0000 1.3 +++ Makefile 17 May 2009 07:44:29 -0000 @@ -6,30 +6,25 @@ PORTNAME= wget4web PORTVERSION= 1.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www ftp MASTER_SITES= http://irodov.nm.ru/wget4web/ -DISTNAME= ${PORTNAME}-${PORTVERSION} MAINTAINER= sam@brj.pp.ru COMMENT= WWW interface for console wget -USE_APACHE= yes RUN_DEPENDS= ${LOCALBASE}/bin/wget:${PORTSDIR}/ftp/wget +USE_APACHE= 1.3 + WRKSRC= ${WRKDIR}/${PORTNAME} -# These are tunable -WEBOWN?= www -WEBGRP?= www +NO_BUILD= yes + LOGSDIR?= /var/log/wget4web TASKDIR?= /var/spool/wget4web FILESDIR?= /var/spool/wget4web/files -APACHEDIR?= ${PREFIX}/www/data - -INSTALLDIR= ${APACHEDIR}/wget4web -NO_BUILD= yes -PLIST_SUB= INSTALLDIR=${INSTALLDIR:S,^${PREFIX}/,,} \ +PLIST_SUB= INSTALLDIR=${WWWDIR} \ LOGSDIR=${LOGSDIR} TASKDIR=${TASKDIR} FILESDIR=${FILESDIR} post-patch: @@ -39,10 +34,10 @@ ${WRKSRC}/data/info.cgi do-install: - @${MKDIR} ${INSTALLDIR}; \ - cd ${WRKSRC}; ${FIND} . -name "*.cgi" -o -name "*.lib" \ - | ${CPIO} -pdm -R ${WEBOWN}:${WEBGRP} ${INSTALLDIR}; \ - ${MKDIR} -p ${LOGSDIR} ${TASKDIR} ${FILESDIR}; \ - ${CHOWN} ${WEBOWN}:${WEBGRP} ${LOGSDIR} ${TASKDIR} ${FILESDIR} + @${MKDIR} ${WWWDIR}/ + @cd ${WRKSRC}; ${FIND} . -name "*.cgi" -o -name "*.lib" \ + | ${CPIO} -pdm -R ${WEBOWN}:${WEBGRP} ${WWWDIR}/ + ${MKDIR} ${LOGSDIR}/ ${TASKDIR}/ ${FILESDIR}/ + ${CHOWN} ${WWWOWN}:${WWWGRP} ${LOGSDIR}/ ${TASKDIR}/ ${FILESDIR}/ .include <bsd.port.mk> Index: pkg-plist =================================================================== RCS file: /home/pcvs/ports/www/wget4web/pkg-plist,v retrieving revision 1.1 diff -u -u -r1.1 pkg-plist --- pkg-plist 11 Mar 2005 16:01:53 -0000 1.1 +++ pkg-plist 17 May 2009 07:44:29 -0000 @@ -1,14 +1,14 @@ -%%INSTALLDIR%%/add.cgi -%%INSTALLDIR%%/admin.lib -%%INSTALLDIR%%/admincenter.cgi -%%INSTALLDIR%%/admindel.cgi -%%INSTALLDIR%%/adminfiles.cgi -%%INSTALLDIR%%/data/info.cgi -%%INSTALLDIR%%/data/users.cgi -%%INSTALLDIR%%/progress.cgi -%%INSTALLDIR%%/showlog.cgi -@dirrm %%INSTALLDIR%%/data -@dirrm %%INSTALLDIR%% -@unexec rmdir %%LOGSDIR%% 2> /dev/null | true -@unexec rmdir %%FILESDIR%% 2> /dev/null | true -@unexec rmdir %%TASKDIR%% 2> /dev/null | true +%%WWWDIR%%/add.cgi +%%WWWDIR%%/admin.lib +%%WWWDIR%%/admincenter.cgi +%%WWWDIR%%/admindel.cgi +%%WWWDIR%%/adminfiles.cgi +%%WWWDIR%%/data/info.cgi +%%WWWDIR%%/data/users.cgi +%%WWWDIR%%/progress.cgi +%%WWWDIR%%/showlog.cgi +@dirrm %%WWWDIR%%/data +@dirrm %%WWWDIR%% +@dirrmtry %%LOGSDIR%% +@dirrmtry %%FILESDIR%% +@dirrmtry %%TASKDIR%% --- wget4web-1.0_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?200905170746.n4H7k2fc004355>