Bug 97507 - New category proposal: ports-mgmt - ports/packages management tools
Summary: New category proposal: ports-mgmt - ports/packages management tools
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Port Management Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-20 01:10 UTC by Shaun Amott
Modified: 2007-02-05 12:40 UTC (History)
0 users

See Also:


Attachments
ports_change_categories.diff (20.96 KB, patch)
2006-05-20 01:10 UTC, Shaun Amott
no flags Details | Diff
remove_from_old_categories.diff (4.87 KB, patch)
2006-05-20 01:10 UTC, Shaun Amott
no flags Details | Diff
Makefile (1.13 KB, text/plain)
2006-05-20 01:10 UTC, Shaun Amott
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Shaun Amott 2006-05-20 01:10:19 UTC
I would like to propose a new category addition to the ports tree.

The proposed category is "ports-mgmt", and would contain "everything
related to managing, tweaking and digging through the ports collection
itself."

There are 39 candidates for this new category, listed here:
http://wikitest.freebsd.org/moin.cgi/ports_2dmgmt

(plus misc/instant-tinderbox, which I discovered since then)

I have a few planned contributions to ports which would end up in this
category too.

Currently, there are quite a few very useful utilities in the tree for
managing, installing, etc., ports. But they are buried in the existing
categories, and are not particularly easy to find. Most of them are
very specifically related to ports management.

There have been a number of heated debates on freebsd-ports /
freebsd-questions lately that might not have happened had some of these
tools been known about.

This proposal has been put to the freebsd-ports mailing list, and the
general response was positive, with almost everyone liking the new idea.

"portutils" was also a popular choice for the category, but I feel the
above proposed name is more descriptive, and fits in with the naming
scheme used by other categories.

The only opposition to this category has been due to its size. However,
it has been pointed out that there are plenty of even smaller
categories. Additionally, I feel that this category is very specific and
the potential benefit to end-users outweighs this concern.

Please find below :

- A patch to change all the affected ports' CATEGORIES variables
- A patch to remove all the affected ports from their current categories
- A patch to fix ports depending on the affected ports
- A patch to add ports-mgmt to VALID_CATEGORIES in Mk/bsd.port.mk
- A Makefile for the new category

Fix: Index: net-mgmt/check_snmp_pkgvuln/Makefile
===================================================================
RCS file: /home/ncvs/ports/net-mgmt/check_snmp_pkgvuln/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- net-mgmt/check_snmp_pkgvuln/Makefile	11 May 2006 22:49:38 -0000	1.2
+++ net-mgmt/check_snmp_pkgvuln/Makefile	19 May 2006 23:41:10 -0000
@@ -17,7 +17,7 @@
 COMMENT=	Security vulnerability plugin for Nagios
 
 RUN_DEPENDS=	snmpwalk:${PORTSDIR}/net-mgmt/net-snmp \
-		portaudit:${PORTSDIR}/security/portaudit
+		portaudit:${PORTSDIR}/ports-mgmt/portaudit
 
 NAGIOS_PLUGIN_DIR?=	libexec/nagios
 
Index: security/jailaudit/Makefile
===================================================================
RCS file: /home/ncvs/ports/security/jailaudit/Makefile,v
retrieving revision 1.1
diff -u -r1.1 Makefile
--- security/jailaudit/Makefile	25 Nov 2005 02:31:06 -0000	1.1
+++ security/jailaudit/Makefile	19 May 2006 23:41:10 -0000
@@ -13,7 +13,7 @@
 MAINTAINER=	cryx-ports@h3q.com
 COMMENT=	Script to generate portaudit reports for jails
 
-RUN_DEPENDS=	${LOCALBASE}/sbin/portaudit:${PORTSDIR}/security/portaudit
+RUN_DEPENDS=	${LOCALBASE}/sbin/portaudit:${PORTSDIR}/ports-mgmt/portaudit
 
 USE_BZIP2=	yes
 
Index: sysutils/barry/Makefile
===================================================================
RCS file: /home/ncvs/ports/sysutils/barry/Makefile,v
retrieving revision 1.19
diff -u -r1.19 Makefile
--- sysutils/barry/Makefile	13 May 2006 04:15:24 -0000	1.19
+++ sysutils/barry/Makefile	19 May 2006 23:41:10 -0000
@@ -15,8 +15,8 @@
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	A nice KDE frontend to the ports system
 
-BUILD_DEPENDS=	${LOCALBASE}/sbin/portsdb:${PORTSDIR}/sysutils/portupgrade
-RUN_DEPENDS=	${LOCALBASE}/sbin/portsdb:${PORTSDIR}/sysutils/portupgrade
+BUILD_DEPENDS=	${LOCALBASE}/sbin/portsdb:${PORTSDIR}/ports-mgmt/portupgrade
+RUN_DEPENDS=	${LOCALBASE}/sbin/portsdb:${PORTSDIR}/ports-mgmt/portupgrade
 
 USE_BZIP2=	yes
 USE_KDELIBS_VER=3
Index: sysutils/bpm/Makefile
===================================================================
RCS file: /home/ncvs/ports/sysutils/bpm/Makefile,v
retrieving revision 1.14
diff -u -r1.14 Makefile
--- sysutils/bpm/Makefile	14 May 2006 15:00:04 -0000	1.14
+++ sysutils/bpm/Makefile	19 May 2006 23:41:10 -0000
@@ -15,7 +15,7 @@
 MAINTAINER=	sethk@meowfishies.com
 COMMENT=	A graphical BSD ports collection manager
 
-RUN_DEPENDS=	portupgrade:${PORTSDIR}/sysutils/portupgrade \
+RUN_DEPENDS=	portupgrade:${PORTSDIR}/ports-mgmt/portupgrade \
 		gdialog:${PORTSDIR}/x11/zenity
 
 USE_X_PREFIX=	yes
Index: sysutils/bsdadminscripts/Makefile
===================================================================
RCS file: /home/ncvs/ports/sysutils/bsdadminscripts/Makefile,v
retrieving revision 1.1
diff -u -r1.1 Makefile
--- sysutils/bsdadminscripts/Makefile	16 May 2006 09:16:11 -0000	1.1
+++ sysutils/bsdadminscripts/Makefile	19 May 2006 23:41:10 -0000
@@ -24,7 +24,7 @@
 .endif
 
 .if !defined(WITHOUT_PORTCONFIG)
-RUN_DEPENDS=	portupgrade:${PORTSDIR}/sysutils/portupgrade
+RUN_DEPENDS=	portupgrade:${PORTSDIR}/ports-mgmt/portupgrade
 PLIST_FILES+=	${PORT_SCRIPTS:S,^,sbin/port,}
 .endif
 
Index: sysutils/desktopbsd-tools/Makefile
===================================================================
RCS file: /home/ncvs/ports/sysutils/desktopbsd-tools/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- sysutils/desktopbsd-tools/Makefile	27 Apr 2006 09:51:23 -0000	1.2
+++ sysutils/desktopbsd-tools/Makefile	19 May 2006 23:41:10 -0000
@@ -17,7 +17,7 @@
 		bash:${PORTSDIR}/shells/bash \
 		csup:${PORTSDIR}/net/csup \
 		fastest_cvsup:${PORTSDIR}/sysutils/fastest_cvsup \
-		portupgrade:${PORTSDIR}/sysutils/portupgrade
+		portupgrade:${PORTSDIR}/ports-mgmt/portupgrade
 
 INSTALLS_SHLIB=	yes
 USE_BZIP2=	yes
Index: sysutils/pkgfe/Makefile
===================================================================
RCS file: /home/ncvs/ports/sysutils/pkgfe/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- sysutils/pkgfe/Makefile	5 Apr 2006 10:59:42 -0000	1.3
+++ sysutils/pkgfe/Makefile	19 May 2006 23:41:10 -0000
@@ -14,8 +14,8 @@
 MAINTAINER=	madis555@hot.ee
 COMMENT=	Ncurses front-end to manage the ports collection
 
-RUN_DEPENDS=	portupgrade:${PORTSDIR}/sysutils/portupgrade \
-		portaudit:${PORTSDIR}/security/portaudit \
+RUN_DEPENDS=	portupgrade:${PORTSDIR}/ports-mgmt/portupgrade \
+		portaudit:${PORTSDIR}/ports-mgmt/portaudit \
 		csup:${PORTSDIR}/net/csup
 
 NO_BUILD=	yes
Index: sysutils/port-authoring-tools/Makefile
===================================================================
RCS file: /home/ncvs/ports/sysutils/port-authoring-tools/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- sysutils/port-authoring-tools/Makefile	9 Jun 2004 03:17:56 -0000	1.2
+++ sysutils/port-authoring-tools/Makefile	19 May 2006 23:41:10 -0000
@@ -20,7 +20,7 @@
 		${LOCALBASE}/bin/cvsup:${PORTSDIR}/net/cvsup-without-gui \
 		${LOCALBASE}/bin/fastest_cvsup:${PORTSDIR}/sysutils/fastest_cvsup \
 		${LOCALBASE}/sbin/libchk:${PORTSDIR}/sysutils/libchk \
-		${LOCALBASE}/bin/port:${PORTSDIR}/devel/porttools
+		${LOCALBASE}/bin/port:${PORTSDIR}/ports-mgmt/porttools
 
 NO_BUILD=	yes
 
Index: sysutils/port-maintenance-tools/Makefile
===================================================================
RCS file: /home/ncvs/ports/sysutils/port-maintenance-tools/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- sysutils/port-maintenance-tools/Makefile	9 Jun 2004 03:20:54 -0000	1.2
+++ sysutils/port-maintenance-tools/Makefile	19 May 2006 23:41:10 -0000
@@ -19,11 +19,11 @@
 RUN_DEPENDS=	\
 		${LOCALBASE}/bin/cvsup:${PORTSDIR}/net/cvsup-without-gui \
 		${LOCALBASE}/bin/fastest_cvsup:${PORTSDIR}/sysutils/fastest_cvsup \
-		${LOCALBASE}/sbin/pkg_cutleaves:${PORTSDIR}/sysutils/pkg_cutleaves \
-		${LOCALBASE}/bin/pkg_tree:${PORTSDIR}/sysutils/pkg_tree \
-		${LOCALBASE}/bin/porteasy:${PORTSDIR}/misc/porteasy \
-		${LOCALBASE}/bin/portell:${PORTSDIR}/misc/portell \
-		${LOCALBASE}/sbin/portdowngrade:${PORTSDIR}/sysutils/portdowngrade
+		${LOCALBASE}/sbin/pkg_cutleaves:${PORTSDIR}/ports-mgmt/pkg_cutleaves \
+		${LOCALBASE}/bin/pkg_tree:${PORTSDIR}/ports-mgmt/pkg_tree \
+		${LOCALBASE}/bin/porteasy:${PORTSDIR}/ports-mgmt/porteasy \
+		${LOCALBASE}/bin/portell:${PORTSDIR}/ports-mgmt/portell \
+		${LOCALBASE}/sbin/portdowngrade:${PORTSDIR}/ports-mgmt/portdowngrade
 
 NO_BUILD=	yes
 
Index: x11/gnome2-power-tools/Makefile
===================================================================
RCS file: /home/ncvs/ports/x11/gnome2-power-tools/Makefile,v
retrieving revision 1.30
diff -u -r1.30 Makefile
--- x11/gnome2-power-tools/Makefile	30 Apr 2006 00:47:04 -0000	1.30
+++ x11/gnome2-power-tools/Makefile	19 May 2006 23:41:11 -0000
@@ -21,7 +21,7 @@
 		cog:${PORTSDIR}/sysutils/cog \
 		gnome-blog-poster:${PORTSDIR}/deskutils/gnomeblog \
 		gnomesu:${PORTSDIR}/security/libgnomesu \
-		bpm:${PORTSDIR}/sysutils/bpm \
+		bpm:${PORTSDIR}/ports-mgmt/bpm \
 		gnome-file-share-properties:${PORTSDIR}/www/gnome-user-share \
 		serpentine:${PORTSDIR}/sysutils/serpentine \
 		devilspie:${PORTSDIR}/x11-wm/devilspie \
@@ -34,8 +34,8 @@
 		eiciel:${PORTSDIR}/sysutils/eiciel \
 		gtk-send-pr:${PORTSDIR}/sysutils/gtk-send-pr \
 		thefish:${PORTSDIR}/sysutils/thefish \
-		bpm:${PORTSDIR}/sysutils/bpm \
-		pbrowser:${PORTSDIR}/sysutils/portbrowser
+		bpm:${PORTSDIR}/ports-mgmt/bpm \
+		pbrowser:${PORTSDIR}/ports-mgmt/portbrowser
 
 MASTERDIR=	${.CURDIR}/../gnome2
 GNOME_SLAVE=	yes
--- ports_fix_depends.diff ends here ---

Index: Mk/bsd.port.mk
===================================================================
RCS file: /home/ncvs/ports/Mk/bsd.port.mk,v
retrieving revision 1.532
diff -u -r1.532 bsd.port.mk
--- Mk/bsd.port.mk	2 May 2006 10:09:23 -0000	1.532
+++ Mk/bsd.port.mk	19 May 2006 23:46:03 -0000
@@ -2572,8 +2572,8 @@
 	games geography german gnome graphics hamradio haskell hebrew hungarian \
 	ipv6 irc japanese java kde korean lang linux lisp \
 	mail math mbone misc multimedia net net-im net-mgmt net-p2p news \
-	palm parallel pear perl5 picobsd plan9 polish portuguese print \
-	python ruby rubygems russian \
+	palm parallel pear perl5 picobsd plan9 polish ports-mgmt portuguese \
+	print python ruby rubygems russian \
 	scheme science security shells spanish sysutils \
 	tcl80 tcl81 tcl82 tcl83 tcl84 textproc \
 	tk80 tk82 tk83 tk84 tkstep80 \
--- bsd.port.mk.diff ends here ---
Comment 1 Shaun Amott 2006-05-20 01:22:55 UTC
I knew I'd mess *something* up.

misc/instant-tinderbox needs to be removed from misc/Makefile; I missed
this from the patch.

-- 
Shaun Amott [ PGP: 0x6B387A9A ]
    Scientia Est Potentia.
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2006-05-20 01:49:07 UTC
Responsible Changed
From-To: freebsd-ports-bugs->portmgr

Let's first see what portmgr thinks of it.
Comment 3 Pav Lucistnik freebsd_committer freebsd_triage 2007-01-23 19:59:12 UTC
State Changed
From-To: open->analyzed

Accepted for a test build on the cluster.
Comment 4 dfilter service freebsd_committer freebsd_triage 2007-01-31 15:37:25 UTC
pav         2007-01-31 15:37:18 UTC

  FreeBSD ports repository

  Modified files:
    .                    Makefile 
  Added files:
    ports-mgmt           Makefile 
  Log:
  - Introduce a new ports category ports-mgmt: Ports for managing, installing and
    developing FreeBSD ports and packages
  
  PR:             ports/97507
  Submitted by:   shaun
  
  Revision  Changes    Path
  1.98      +1 -0      ports/Makefile
  1.1       +6 -0      ports/ports-mgmt/Makefile (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 5 Pav Lucistnik freebsd_committer freebsd_triage 2007-01-31 16:12:39 UTC
State Changed
From-To: analyzed->closed

New category was created and will be populated soon
Comment 6 Alex Kozlov 2007-02-05 04:11:28 UTC
Hi

Please move to a new category sysutils/pkg_replace. Thank you.


--
Adios
Comment 7 Pav Lucistnik freebsd_committer freebsd_triage 2007-02-05 12:35:58 UTC
Alex Kozlov pí¹e v po 05. 02. 2007 v 06:11 +0200:
> Hi
> 
> Please move to a new category sysutils/pkg_replace. Thank you.


Done.

-- 
Pav Lucistnik <pav@oook.cz>
              <pav@FreeBSD.org>

A)bort, R)etry, H)it with big hammer