diff options
author | linimon <linimon@FreeBSD.org> | 2004-08-31 05:28:33 +0000 |
---|---|---|
committer | linimon <linimon@FreeBSD.org> | 2004-08-31 05:28:33 +0000 |
commit | cdb1bf494d4a51c345e8fbff15b2033b3f0c9dfa (patch) | |
tree | be83e1e270e81db2dc50dcb6c233e2e362f2f204 /ports-mgmt | |
parent | b80f616d81b52114fb06e5cf860ecb68a0e2649c (diff) | |
download | FreeBSD-ports-cdb1bf494d4a51c345e8fbff15b2033b3f0c9dfa.zip FreeBSD-ports-cdb1bf494d4a51c345e8fbff15b2033b3f0c9dfa.tar.gz |
Minor bug fix and pkg-plist correction.
PR: ports/71138
Submitted by: Michael C. Shultz <ringworm at inbox dot lv> (maintainer)
Diffstat (limited to 'ports-mgmt')
-rw-r--r-- | ports-mgmt/portmanager/Makefile | 3 | ||||
-rw-r--r-- | ports-mgmt/portmanager/files/patch-libMG.h | 11 | ||||
-rw-r--r-- | ports-mgmt/portmanager/pkg-plist | 24 |
3 files changed, 25 insertions, 13 deletions
diff --git a/ports-mgmt/portmanager/Makefile b/ports-mgmt/portmanager/Makefile index 12891b0..e7005be 100644 --- a/ports-mgmt/portmanager/Makefile +++ b/ports-mgmt/portmanager/Makefile @@ -7,6 +7,7 @@ PORTNAME= portmanager PORTVERSION= 0.2.0 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= portmanager @@ -53,7 +54,7 @@ post-install: @${ECHO} "* -u upgrade installed ports *" @${ECHO} "* *WARNING* *" @${ECHO} "* the formant of *" - @${ECHO} "* ${PREFIX}/etc/portmanager/portmanager.conf is *" + @${ECHO} "* /usr/local/etc/portmanager/portmanager.conf is *" @${ECHO} "* changed in version 0.2.0 and has been renamed to *" @${ECHO} "* pm-020.conf *" @${ECHO} "* *" diff --git a/ports-mgmt/portmanager/files/patch-libMG.h b/ports-mgmt/portmanager/files/patch-libMG.h new file mode 100644 index 0000000..76708db --- /dev/null +++ b/ports-mgmt/portmanager/files/patch-libMG.h @@ -0,0 +1,11 @@ +--- libMG/src/libMG.h Thu Aug 12 10:34:49 2004 ++++ libMG/src/libMG.h Fri Aug 27 02:48:55 2004 +@@ -307,7 +307,7 @@ + { \ + errorCode = 1; \ + } \ +- strcpy( var, string ); ++ strncpy( var, string, strlen(string)+1 ); + + #include <MGrFileSize.h> + #include <MGrFileTime.h> diff --git a/ports-mgmt/portmanager/pkg-plist b/ports-mgmt/portmanager/pkg-plist index 711f118..8763dc9 100644 --- a/ports-mgmt/portmanager/pkg-plist +++ b/ports-mgmt/portmanager/pkg-plist @@ -1,8 +1,17 @@ -etc/portmanager/pm-020.conf.SAMPLE +@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 +@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 +@unexec rmdir %D/etc/portmanager 2>/dev/null || true +@unexec rmdir %D/share/portmanager 2>/dev/null || true bin/mgmlParse bin/pmStatus bin/pmupgrade bin/portmanager +etc/portmanager/pm-020.conf.SAMPLE include/MGrFileSize.h include/MGrFileTime.h include/MGrIfFileExist.h @@ -17,19 +26,10 @@ include/libPMGR.h include/pmStatus.h include/pmupgrade.h include/portmanager.h -lib/libMG.a lib/libMG lib/libMG.0 -lib/libPMGR.a +lib/libMG.a lib/libPMGR lib/libPMGR.0 +lib/libPMGR.a share/portmanager/.keepme -@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 -@unexec rm -f %D/share/portmanager/ports_installed.db 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/portCache.tmp 2>/dev/null || true -@unexec rm -f %D/share/portmanager/ports_old.db 2>/dev/null || true -@unexec rmdir %D/share/portmanager 2>/dev/null || true -@unexec rmdir %D/etc/portmanager 2>/dev/null || true |