From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Nov 11 15:30:22 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3167D16A4D0 for ; Tue, 11 Nov 2003 15:30:22 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3633B43FAF for ; Tue, 11 Nov 2003 15:30:20 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id hABNUKFY068459 for ; Tue, 11 Nov 2003 15:30:20 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id hABNUKr2068458; Tue, 11 Nov 2003 15:30:20 -0800 (PST) (envelope-from gnats) Resent-Date: Tue, 11 Nov 2003 15:30:20 -0800 (PST) Resent-Message-Id: <200311112330.hABNUKr2068458@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, Oliver Eikemeier Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EE93316A4CE; Tue, 11 Nov 2003 15:29:21 -0800 (PST) Received: from mx2.fillmore-labs.com (lima.fillmore-labs.com [62.138.193.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id F2DA543FCB; Tue, 11 Nov 2003 15:29:20 -0800 (PST) (envelope-from eikemeier@fillmore-labs.com) Received: from pd951a4b5.dip.t-dialin.net ([217.81.164.181] helo=fillmore-labs.com ident=o091dcex9mdc14g0) by mx2.fillmore-labs.com with asmtp (TLSv1:AES256-SHA:256) (Exim 4.24; FreeBSD 4.9) id 1AJhwl-000EKQ-Lb; Wed, 12 Nov 2003 00:29:20 +0100 Message-Id: <3FB170CB.2020903@fillmore-labs.com> Date: Wed, 12 Nov 2003 00:29:15 +0100 From: Oliver Eikemeier To: FreeBSD-gnats-submit@FreeBSD.org cc: FreeBSD Ports Management Team Subject: ports/59194: proposal of two new port CATEGORIES: local and rookie X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Nov 2003 23:30:22 -0000 >Number: 59194 >Category: ports >Synopsis: proposal of two new port CATEGORIES: local and rookie >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Nov 11 15:30:19 PST 2003 >Closed-Date: >Last-Modified: >Originator: Oliver Eikemeier >Release: FreeBSD 5.1-CURRENT i386 >Organization: Fillmore Labs - http://www.fillmore-labs.com >Environment: System: FreeBSD nuuk.fillmore-labs.com 5.1-CURRENT >Description: Two new categories are proposed: - local, for installations that want to integrate local additions to the ports tree. They can have the line CATEGORIES= local in the ports Makefile, clearly marking them as such without conflicting with the checks in bsd.port.mk. Furthermore they are integrated in a local `make index' or other tools working on the whole ports tree. The following conditions must be true for local ports to be recognized: * ${PORTSDIR}/local/Makefile must exists, and have the local ports listed in SUBDIR * NO_LOCAL_PORTS must not be defined This change should have effect for systems where the directory ${PORTSDIR}/local doesn't exist or when NO_LOCAL_PORTS is defined - rookies, for port candidates managed in an external CVS directory. This should be a collective effort to help people gaining experience in creating and maintaining FreeBSD ports without being obliged to the high standards of the ports collection. It may also be a great place to test experimental ports until they stabilize. The idea is shamelessly stolen from Thomas Klausner's pkgsrc-wip, see http://pkgsrc-wip.sourceforge.net/ The rookies directory should contain a snapshot of the sourceforge CVS, like http://cvs.sourceforge.net/viewcvs.py/pkgsrc-wip/wip/ The sourceforge registration for project portrookies is submitted and awaiting approval. This should have no impact on the existing FreeBSD ports tree, especially both categories are not valid when the respective subtrees do not exist. >How-To-Repeat: >Fix: --- categories.patch begins here --- diff -u Makefile.orig Makefile --- Makefile 8 Nov 2003 23:57:29 -0000 1.78 +++ Makefile 11 Nov 2003 23:09:44 -0000 @@ -59,6 +59,14 @@ SUBDIR += x11-toolkits SUBDIR += x11-wm +.if exists(${.CURDIR}/local/Makefile) && !defined(NO_LOCAL_PORTS) +SUBDIR += local +.endif + +.if exists(${.CURDIR}/rookies/Makefile) && !defined(NO_ROOKIES) +SUBDIR += rookies +.endif + PORTSTOP= yes .include diff -u Mk/bsd.port.mk.orig Mk/bsd.port.mk --- Mk/bsd.port.mk 8 Nov 2003 03:22:08 -0000 1.473 +++ Mk/bsd.port.mk 11 Nov 2003 23:13:35 -0000 @@ -2391,6 +2391,14 @@ x11 x11-clocks x11-fm x11-fonts x11-servers x11-toolkits x11-wm xfce \ zope +.if exists(${PORTSDIR}/local/Makefile) && !defined(NO_LOCAL_PORTS) +VALID_CATEGORIES+= local +.endif + +.if exists(${PORTSDIR}/rookies/Makefile) && !defined(NO_ROOKIES) +VALID_CATEGORIES+= rookies +.endif + check-categories: .for cat in ${CATEGORIES} @if ${ECHO_CMD} ${VALID_CATEGORIES} | ${GREP} -wq ${cat}; then \ --- categories.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: