ports/76453: [MAINTAINER] sysutils/portmanager update to 0.2.3
Michael C.Shultz
reso3w83 at verizon.net
Wed Jan 19 06:40:26 UTC 2005
>Number: 76453
>Category: ports
>Synopsis: [MAINTAINER] sysutils/portmanager update to 0.2.3
>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: Wed Jan 19 06:40:25 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Michael C. Shultz
>Release: FreeBSD 5.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD ringworm.hiddenFromDomainNameThieves.com 5.3-STABLE FreeBSD 5.3-STABLE #1: Sat Jan 1 10:51:58 PST 2005 root at ringworm.hiddenFromDomainNameThieves.com:/ROUTER/obj/ROUTER/src-5.3/sys/RINGWORM i386
>Description:
update portmanager to ver 0.2.3
NOTE: portmanager's normal hosting site is broken, thanks to Chuck Swiger for
providing hosting service for this release! Without his help this release
would not be available for another week or two.
Changes:
1) Major rewrite of libMG routines. Now most datbase related code is
object oriented, this will simplify adding user requested features
in future releases.
2) New capability, now if a dependent port is missing, its own
dependencies are checked and if they are missing or out of
date they are added in the correct order.
3) For programmers, added a few man pages for libMG, see man 3 libMG
for an index to the others. Be warned, many still need to be written,
I'll try to add a few with each new version of portmanager.
4) Found a major openfile leak while running pmstatus
which is run once with portmanager -s or several times with
portmanager -u. In this version (0.2.3) pmstatus and pmupgrade were
merged into portmanager and the open files grew to:
2x's quantity of ports installed x' number of ports updated
After tracking down the problem and fixing it individual ports seem
to build faster. It is likely that previous versions of portmanager
caused a few ports to fail to build because it was hogging too many
open file handles, if so I appologize and promise to tighly monitor
memory leaks and open files in future versions. BTW, this version under
extensive monitoring with top and fstat -p shows no leakage at all.
>How-To-Repeat:
N/A
>Fix:
--- portmanager-0.2.3.diff begins here ---
diff -uN portmanager/Makefile portmanager-0.2.3/Makefile
--- portmanager/Makefile Wed Dec 29 07:41:05 2004
+++ portmanager-0.2.3/Makefile Tue Jan 18 22:15:50 2005
@@ -6,7 +6,7 @@
#
PORTNAME= portmanager
-PORTVERSION= 0.2.2
+PORTVERSION= 0.2.3
PORTREVISION= 0
#-----------------------------------------
#for local use, remove before submitting PR
@@ -14,8 +14,9 @@
#CATEGORIES= local/sysutils
#VALID_CATEGORIES+= ${CATEGORIES} # for FreeBSD to accept our local category
#-----------------------------------------
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= portmanager
+#MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+#MASTER_SITE_SUBDIR= portmanager
+MASTER_SITES= http://www.pkix.net/mirror/sf.net/
MAINTAINER= reso3w83 at verizon.net
COMMENT= FreeBSD port management software
@@ -27,6 +28,11 @@
.endif
MAN1= portmanager.1
+MAN3= libMG.3 \
+ MGdbCreate.3 \
+ MGdbGetRecordQty.3 \
+ MGdbGoTop.3 \
+ MGdbSeek.3
USE_GMAKE= yes
GNU_CONFIGURE= yes
@@ -38,13 +44,9 @@
post-patch:
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g ; \
- s|0.2.2|${PORTVERSION}_${PORTREVISION}|g ; \
+ s|0.2.3|${PORTVERSION}_${PORTREVISION}|g ; \
s|%%PORTSDIR%%|${PORTSDIR}|g ; \
s|%%PKG_DBDIR%%|${PKG_DBDIR}|g' ${WRKSRC}/libPMGR/src/libPMGR.h
-
- @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g ; \
- s|%%PORTSDIR%%|${PORTSDIR}|g ; \
- s|%%PKG_DBDIR%%|${PKG_DBDIR}|g' ${WRKSRC}/libPMGR/src/PMGRrMakeDescribe.c
# Only way to get WITH_DEBUG build dependencies handled prior to reconfiguring
# is to use post-configure <sigh>
diff -uN portmanager/distinfo portmanager-0.2.3/distinfo
--- portmanager/distinfo Wed Dec 29 07:41:05 2004
+++ portmanager-0.2.3/distinfo Tue Jan 18 22:07:28 2005
@@ -1,2 +1,2 @@
-MD5 (portmanager-0.2.2.tar.gz) = e57d637438ca7465f4677368e1a423e3
-SIZE (portmanager-0.2.2.tar.gz) = 381257
+MD5 (portmanager-0.2.3.tar.gz) = 5c69d3489a0b65222063dc78947781b1
+SIZE (portmanager-0.2.3.tar.gz) = 391773
diff -uN portmanager/pkg-plist portmanager-0.2.3/pkg-plist
--- portmanager/pkg-plist Wed Dec 29 07:41:05 2004
+++ portmanager-0.2.3/pkg-plist Tue Jan 18 08:21:25 2005
@@ -1,18 +1,17 @@
@unexec rm -f %D/share/portmanager/configure.db 2>/dev/null || true
@unexec rm -f %D/share/portmanager/configure.db.temp 2>/dev/null || true
+ at unexec rm -f %D/share/portmanager/ignore.db 2>/dev/null || true
@unexec rm -f %D/share/portmanager/portCache.tmp 2>/dev/null || true
@unexec rm -f %D/share/portmanager/port_dependencies.db 2>/dev/null || true
@unexec rm -f %D/share/portmanager/ports_cache.db 2>/dev/null || true
@unexec rm -f %D/share/portmanager/ports_installed.db 2>/dev/null || true
@unexec rm -f %D/share/portmanager/ports_old.db 2>/dev/null || true
-bin/pmstatus
-bin/pmupgrade
bin/portmanager
etc/portmanager/pm-020.conf.SAMPLE
include/libMG.h
lib/libMG
-lib/libMG.0
+lib/libMG.1
lib/libPMGR
-lib/libPMGR.0
+lib/libPMGR.1
@unexec rmdir %D/etc/portmanager 2>/dev/null || true
@unexec rmdir %D/share/portmanager 2>/dev/null || true
--- portmanager-0.2.3.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list