From fc78da6f48190af56fdf09a2771194324432abe2 Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Tue, 27 Dec 2005 05:18:42 +0000 Subject: - Update to 0.4.1_4: if portmanager has been installed for the first time it can't copy pm-020.conf-SAMPLE to pm-020.conf. PR: ports/90957 Submitted by: Michael C. Shultz (maintainer) --- ports-mgmt/portmanager/Makefile | 2 +- ports-mgmt/portmanager/files/patch-0.4.1_4 | 24 ++++++++++++++++++++++++ 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 ports-mgmt/portmanager/files/patch-0.4.1_4 (limited to 'ports-mgmt') diff --git a/ports-mgmt/portmanager/Makefile b/ports-mgmt/portmanager/Makefile index cb680f7b89bc..fe57030d56ea 100644 --- a/ports-mgmt/portmanager/Makefile +++ b/ports-mgmt/portmanager/Makefile @@ -7,7 +7,7 @@ PORTNAME= portmanager PORTVERSION= 0.4.1 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= sysutils MASTER_SITES= http://portmanager.sunsite.dk/distfiles/ \ ${MASTER_SITE_SOURCEFORGE} diff --git a/ports-mgmt/portmanager/files/patch-0.4.1_4 b/ports-mgmt/portmanager/files/patch-0.4.1_4 new file mode 100644 index 000000000000..91e82f838c72 --- /dev/null +++ b/ports-mgmt/portmanager/files/patch-0.4.1_4 @@ -0,0 +1,24 @@ +diff -ruN ../0.4.1_3/libMGPM/src/MGPMrInitialize.c ./libMGPM/src/MGPMrInitialize.c +--- ../0.4.1_3/libMGPM/src/MGPMrInitialize.c Thu Dec 22 06:42:13 2005 ++++ ./libMGPM/src/MGPMrInitialize.c Mon Dec 26 20:00:02 2005 +@@ -47,7 +47,7 @@ + */ + property->configConfFileName = calloc( stringSize + 1, 1 ); + MGmStrcpy(property->configConfFileName, ETCDIR); +- MGmStrcat(property->configConfFileName, "/portmanager/" ); ++ MGmStrcat(property->configConfFileName, "/portmanager" ); + MGmStrcat(property->configConfFileName, CONFIGURE_CONF); + + /* +diff -ruN ../0.4.1_3/libMGPM/src/MGPMrReadConfigure.c ./libMGPM/src/MGPMrReadConfigure.c +--- ../0.4.1_3/libMGPM/src/MGPMrReadConfigure.c Thu Dec 22 06:42:13 2005 ++++ ./libMGPM/src/MGPMrReadConfigure.c Mon Dec 26 20:05:15 2005 +@@ -156,7 +156,7 @@ + + MGmStrcpy( cmd[0], "/bin/cp" ); + MGmStrcpy( cmd[1], property->configConfFileName ); +- MGmStrcat( cmd[1], ".SAMPLE " ); ++ MGmStrcat( cmd[1], ".SAMPLE" ); + MGmStrcpy( cmd[2], property->configConfFileName ); + + MGmSystem( cmd, NULL ); -- cgit v1.2.3