aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authormnag <mnag@FreeBSD.org>2005-11-14 06:14:04 +0800
committermnag <mnag@FreeBSD.org>2005-11-14 06:14:04 +0800
commitfbe819d956f97dc016edeadf0a73c751d506a674 (patch)
treebba0ab983a3e9522af2c7e6844aaa0bba15924c0 /sysutils
parent2c1ce55e1d8ec92d206417f0b869d71a9b679403 (diff)
downloadfreebsd-ports-gnome-fbe819d956f97dc016edeadf0a73c751d506a674.tar.gz
freebsd-ports-gnome-fbe819d956f97dc016edeadf0a73c751d506a674.tar.zst
freebsd-ports-gnome-fbe819d956f97dc016edeadf0a73c751d506a674.zip
Update to 0.3.4_2
* Fixes bug where on initial installation if portmanager is run in single port update mode first it is missing a database * Added WITH_BUILD_DEPENDS_ARE_LEAVES information to man page PR: 88953 Submitted by: Michael C. Shultz <ringworm01@gmail.com> (maintainer)
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/portmanager/Makefile2
-rw-r--r--sysutils/portmanager/files/patch-0.3.4_277
2 files changed, 78 insertions, 1 deletions
diff --git a/sysutils/portmanager/Makefile b/sysutils/portmanager/Makefile
index f517a973f442..fae047f9b8ab 100644
--- a/sysutils/portmanager/Makefile
+++ b/sysutils/portmanager/Makefile
@@ -7,7 +7,7 @@
PORTNAME= portmanager
PORTVERSION= 0.3.4
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= http://portmanager.sunsite.dk/distfiles/ \
${MASTER_SITE_SOURCEFORGE}
diff --git a/sysutils/portmanager/files/patch-0.3.4_2 b/sysutils/portmanager/files/patch-0.3.4_2
new file mode 100644
index 000000000000..4845b9bbea69
--- /dev/null
+++ b/sysutils/portmanager/files/patch-0.3.4_2
@@ -0,0 +1,77 @@
+diff -ruN ../0.3.4_1/libMGPM/src/MGPMrController.c ./libMGPM/src/MGPMrController.c
+--- ../0.3.4_1/libMGPM/src/MGPMrController.c Sat Nov 12 15:33:52 2005
++++ ./libMGPM/src/MGPMrController.c Sat Nov 12 18:57:48 2005
+@@ -428,6 +428,24 @@
+ */
+ if( property->resume == 0 ) /* skip this if --resume */
+ {
++ if( ( errorCode = MGPMrCreateInstalledDb( property ) ) )
++ {
++ fprintf( stdout, "%s %s error: %s returned errorCode %d\n", id, PACKAGE_VERSION, "MGPMrCreateStatusDb", errorCode );
++ free( command );
++ free( oldPortDir );
++ free( oldPortName );
++ free( xtermTitle );
++ if( property->log )
++ {
++ strcpy( command, "echo \" end of log \" " );
++ strcat( command, " >> /var/log/portmanager.log" );
++ system( command );
++ strcpy( command, "date >> /var/log/portmanager.log" );
++ system( command );
++ }
++ return( 1 );
++ }
++
+ if( ( errorCode = MGPMrSinglePortCreateStatusDb( property, path ) ) )
+ {
+ fprintf( stdout, "%s %s error: %s returned errorCode %d\n", id, PACKAGE_VERSION, "MGPMrSinglePortCreateStatusDb", errorCode );
+diff -ruN ../0.3.4_1/portmanager/portmanager.1 ./portmanager/portmanager.1
+--- ../0.3.4_1/portmanager/portmanager.1 Sat Nov 12 15:33:52 2005
++++ ./portmanager/portmanager.1 Sun Nov 13 08:08:10 2005
+@@ -198,6 +198,33 @@
+ #START\&|/mail/postfix /usr/local/sbin/postfix start\&|
+ .sp
+ .\"=======================================================================
++.Sh KNOBS
++.sp
++Portmanager may be built in various configurations by setting certain
++\&"knobs\&" on or off.
++.sp
++WITH_DEBUG
++.sp
++ a) set with either make config from sysutils/portmanager or
++by adding \fBsysutils/portmanager|WITH_DEBUG=1|\fR to pm-020.conf
++.sp
++ b) effects: when portmanager is built all warnings are enabled
++and is built with -ggdb option so symbols may be seen with gdb debugger.
++.sp
++WITH_BUILD_DEPENDS_ARE_LEAVES
++.sp
++ a) portmanager normally tries to keep ports that are only build dependencies
++for other ports installed and current, some people have expressed a dislike
++of tracking build dependencies this close. By setting
++WITH_BUILD_DEPENDS_ARE_LEAVES=1 in pm-020.conf or through make config, build
++dependencies that are missing won't be tracked and -sl -slid will list these
++type of ports as leaves.
++.sp
++ b) ports/java, ports in this category are allowed to build even if build
++dependencies are missing in normal mode, all though in normal mode build
++dependencies will still get identified as missing.
++.sp
++.\"=======================================================================
+ .Sh DIAGNOSTICS
+ Detail of how portmanager upgrade cycle works:
+ .sp
+Binary files ../0.3.4_1/portmanager-0.3.5.tar.gz and ./portmanager-0.3.5.tar.gz differ
+diff -ruN ../0.3.4_1/programmer-notes.txt ./programmer-notes.txt
+--- ../0.3.4_1/programmer-notes.txt Sat Nov 12 15:33:53 2005
++++ ./programmer-notes.txt Sun Nov 13 03:05:41 2005
+@@ -2,6 +2,7 @@
+
+ TODO list
+
++ PICK up all paths through make -V's if possible
+ add pkgtools-to-portmanager.rb to tarball
+ move MGPMrGetPortName from MGPMrCreateAllUpdateStatusDb.c next new tarball to its own file
+ move database files to /var/db/portmanager