Skip site navigation (1)Skip section navigation (2)
Date:      Mon,  7 Feb 2005 13:19:49 -0800 (PST)
From:      "Michael C.Shultz" <reso3w83@verizon.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/77238: [MAINTAINER] sysutils/portmanager update to 0.2.6
Message-ID:  <20050207211949.E7D212CE745@ringworm.mechee.com>
Resent-Message-ID: <200502072130.j17LUGSi039250@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         77238
>Category:       ports
>Synopsis:       [MAINTAINER] sysutils/portmanager update to 0.2.6
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 07 21:30:15 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Michael C. Shultz
>Release:        FreeBSD 5.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD ringworm.mechee.com 5.3-STABLE FreeBSD 5.3-STABLE #0: Thu Jan 20 07:27:28 PST 2005 root@ringworm.mechee.com:/ROUTER/obj/ROUTER/src-5.3/sys/RINGWORM i386


>Description:

update portmanager to ver 0.2.6

1) Fixed bug where ports were being updated for old dependencies
when they did not require it.

2) Added -sl option:  show leaf ports (ports with no other ports
depending on them)

3) Added -slid option:  interactivly delete leaf ports	

>How-To-Repeat:

	N/A

>Fix:


--- portmanager-0.2.6.diff begins here ---
diff -uN portmanager/Makefile portmanager-0.2.6/Makefile
--- portmanager/Makefile	Mon Feb  7 12:14:34 2005
+++ portmanager-0.2.6/Makefile	Mon Feb  7 11:54:58 2005
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	portmanager
-PORTVERSION=	0.2.5
+PORTVERSION=	0.2.6
 PORTREVISION=	0
 #-----------------------------------------
 #for local use, remove before submitting PR
@@ -18,13 +18,7 @@
 MASTER_SITE_SUBDIR=	portmanager
 
 MAINTAINER=		reso3w83@verizon.net
-COMMENT=		FreeBSD port management software
-
-.if defined(WITH_DEBUG)
-BUILD_DEPENDS=	autoheader259:${PORTSDIR}/devel/autoconf259	\
-	aclocal19:${PORTSDIR}/devel/automake19	\
-	libtoolize15:${PORTSDIR}/devel/libtool15
-.endif
+COMMENT=		FreeBSD usr/ports status and safe usr/ports update
 
 MAN1=			portmanager.1
 MAN3=			libMG.3 		\
@@ -38,41 +32,45 @@
 USE_GMAKE=		yes
 GNU_CONFIGURE=		yes
 CONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}
+
+#CONFIGURE_ARGS=
+#
+#  WITH_DEBUG disbled in 0.2.6, intend to reinstate it
+#  in 0.2.7
+#.if defined(WITH_DEBUG)
+#CONFIGURE_ARGS= 	--with-debug=yes
+#.endif
+
+CONFIGURE_ARGS=		--with-prefix=${PREFIX} 		\
+			--with-bindir=/bin			\
+			--with-etcdir=/etc/portmanager		\
+			--with-pkgdbdir=/var/db/pkg		\
+			--with-portsdir=/usr/ports		\
+			--with-sharedir=/share/portmanager	\
+			--with-tempdir=/tmp
+
 INSTALLS_SHLIB=		yes
-USE_REINPLACE=		yes
 # Need INSTALL_TARGET to install /usr/local/etc/portmanager/pm-020.conf.SAMPLE
 INSTALL_TARGET=         install info
 
-post-patch:
-	@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g ;	\
-	s|%%VERSION%%|${PORTVERSION}_${PORTREVISION}|g ;	\
-	s|%%PORTSDIR%%|${PORTSDIR}|g ;	\
-	s|%%PKG_DBDIR%%|${PKG_DBDIR}|g' ${WRKSRC}/libPMGR/src/libPMGR.h
-
-# Only way to get WITH_DEBUG build dependencies handled prior to reconfiguring
-# is to use post-configure <sigh>
-post-configure:
-.if defined(WITH_DEBUG)
-	@${REINPLACE_CMD} -e 's|# BDECFLAGS=|BDECFLAGS=|g ;	\
-	s|# CFLAGS=|CFLAGS=|g ; 				\
-	s|# AC_SUBST(CFLAGS)|AC_SUBST(CFLAGS)|g' ${WRKSRC}/configure.ac
-	cd ${WRKSRC};sh rePackage.sh;sh configure
-.endif
-
 post-install:
 	@${ECHO}	"***********************************************************************"
-	@${ECHO}	"* to compile with debug support try:                                  *"
-	@${ECHO}	"*                                                                     *"
-	@${ECHO}	"*   make WITH_DEBUG=yes install clean                                 *"
+	@${ECHO}	"* portmanager                                                         *"
+	@${ECHO}	"***********************************************************************"
 	@${ECHO}	"*                                                                     *"
-	@${ECHO}	"* to upgrade ports example:                                           *"
+	@${ECHO}	"* upgrade ports example:                                              *"
 	@${ECHO}	"*                                                                     *"
 	@${ECHO}	"* portmanager -u -ip editors/nedit editors/openoffice                 *"
 	@${ECHO}	"*                                                                     *"
-	@${ECHO}	"* upgrades evrything except nedit, open office and their dependencies *"
+	@${ECHO}	"* upgrades everything except nedit,open office and their dependencies *"
+	@${ECHO}	"*                                                                     *"
+	@${ECHO}	"* portmanager -sl will show you leaf ports, these are safe to remove  *"
+	@${ECHO}	"*                                                                     *"
+	@${ECHO}	"* portmanager -slid will let you safely remove leaf ports             *"
 	@${ECHO}	"*                                                                     *"
 	@${ECHO}	"* see man portmanager(1) for more information                         *"
 	@${ECHO}	"*                                                                     *"
+	@${ECHO}	"***********************************************************************"
 	@${ECHO}	"* all feedback is welcome, send to:                                   *"
 	@${ECHO}	"* Michael C. Shultz reso3w83@verizon.net                              *"
 	@${ECHO}	"***********************************************************************"
diff -uN portmanager/distinfo portmanager-0.2.6/distinfo
--- portmanager/distinfo	Mon Feb  7 12:14:34 2005
+++ portmanager-0.2.6/distinfo	Mon Feb  7 12:14:59 2005
@@ -1,2 +1,2 @@
-MD5 (portmanager-0.2.5.tar.gz) = 27fc6da9d10ef3793324c95b7597f8c8
-SIZE (portmanager-0.2.5.tar.gz) = 393258
+MD5 (portmanager-0.2.6.tar.gz) = e57487c9d50e29c8e7c5a4e36606b00d
+SIZE (portmanager-0.2.6.tar.gz) = 409033
--- portmanager-0.2.6.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050207211949.E7D212CE745>