From owner-freebsd-ports-bugs@FreeBSD.ORG Sun May 17 07:50:06 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 7EAE3106567D for ; Sun, 17 May 2009 07:50:06 +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 5BD538FC21 for ; Sun, 17 May 2009 07:50:06 +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 n4H7o6hB004528 for ; Sun, 17 May 2009 07:50:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n4H7o6oe004527; Sun, 17 May 2009 07:50:06 GMT (envelope-from gnats) Resent-Date: Sun, 17 May 2009 07:50:06 GMT Resent-Message-Id: <200905170750.n4H7o6oe004527@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 53724106566C for ; Sun, 17 May 2009 07:46:03 +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 442488FC15; Sun, 17 May 2009 07:46:03 +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 n4H7k3GO004356; Sun, 17 May 2009 07:46:03 GMT (envelope-from pgollucci@freefall.freebsd.org) Received: (from pgollucci@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n4H7k2fc004355; Sun, 17 May 2009 07:46:02 GMT (envelope-from pgollucci) Message-Id: <200905170746.n4H7k2fc004355@freefall.freebsd.org> Date: Sun, 17 May 2009 07:46:02 GMT From: "Philip M. Gollucci" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: sam@brj.pp.ru Subject: ports/134603: [PATCH] www/wget4web: 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: 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 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: