From owner-freebsd-ports Thu Feb 28 14:50:13 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 5EA1D37B405 for ; Thu, 28 Feb 2002 14:50:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g1SMo1w48070; Thu, 28 Feb 2002 14:50:01 -0800 (PST) (envelope-from gnats) Received: from wwweasel.geeksrus.net (wwweasel.geeksrus.net [64.8.210.226]) by hub.freebsd.org (Postfix) with ESMTP id 6F2F637B41A; Thu, 28 Feb 2002 14:41:34 -0800 (PST) Received: (from alane@localhost) by wwweasel.geeksrus.net (8.11.6/8.11.6) id g1SMcLu92377; Thu, 28 Feb 2002 17:38:21 -0500 (EST) (envelope-from alane) Message-Id: <200202282238.g1SMcLu92377@wwweasel.geeksrus.net> Date: Thu, 28 Feb 2002 17:38:21 -0500 (EST) From: Alan Eldridge Reply-To: Alan Eldridge To: FreeBSD-gnats-submit@freebsd.org Cc: knu@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/35432: sysutils/portupgrade: portsclean does not honor EXTRA_CATEGORIES in pkgtools.conf Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 35432 >Category: ports >Synopsis: sysutils/portupgrade: portsclean does not honor EXTRA_CATEGORIES in pkgtools.conf >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Feb 28 14:50:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Alan Eldridge >Release: FreeBSD 4.5-STABLE i386 >Organization: Geeksrus.NET >Environment: System: FreeBSD wwweasel.geeksrus.net 4.5-STABLE FreeBSD 4.5-STABLE #0: Fri Feb 8 21:25:34 EST 2002 root@wwweasel.geeksrus.net:/usr/obj/usr/src/sys/WWWEASEL i386 >Description: I added an entry 'local' to EXTRA_CATEGORIES. [alane ~/FreeBSD/ports/sysutils/portupgrade]$ grep -A5 EXTRA_CAT /usr/local/etc/pkgtools.conf # EXTRA_CATEGORIES: array # # This is a list of extra port categories you put your locally # maintained ports. You must prepare a Makefile in each directory # that defines a variable SUBDIR which lists all the ports in the # category. -- # EXTRA_CATEGORIES = [ # 'local', # ] EXTRA_CATEGORIES = [ 'local', ] # HOLD_PKGS: array # I have created a Makefile in $PORTSDIR/local as directed above. [alane ~]$ cd $PORTSDIR/local [alane ~/FreeBSD/ports/local]$ grep -C SUBDIR Makefile # SUBDIR+= aft SUBDIR+= compface SUBDIR+= durep SUBDIR+= grip-devel SUBDIR+= ncdialog SUBDIR+= p5-PDA-pilot # I have a port called grip-devel in $PORTSDIR/local/grip-devel. It's distfile is grip-2.98.7.tar.gz. [alane ~]$ cd $PORTSDIR/local/grip-devel [alane ~/FreeBSD/ports/local/grip-devel]$ head -20 Makefile # New ports collection makefile for: grip # Date created: 31 May 2000 # Whom: kbyanc@posi.net # # $FreeBSD$ # PORTNAME= grip PORTVERSION= 2.98.7 #PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR=grip PKGNAMESUFFIX= -devel MAINTAINER= ports@geeksrus.net LIB_DEPENDS= id3-3.7.13:${PORTSDIR}/audio/id3lib \ ghttp.1:${PORTSDIR}/www/libghttp When I run portsclean -D, it removes $DISTDIR/grip-2.98.7.tar.gz. [alane ~]$ cp -p grip-2.98.7.tar.gz FreeBSD/distfiles/ [alane ~]$ portsclean -D Detecting unreferenced distfiles... Delete /home/alane/FreeBSD/distfiles/grip-2.98.7.tar.gz >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message