1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00

Minor bug fix and pkg-plist correction.

PR:		ports/71138
Submitted by:	Michael C. Shultz <ringworm at inbox dot lv> (maintainer)
This commit is contained in:
Mark Linimon 2004-08-31 05:28:33 +00:00
parent c7c7858635
commit 76161f4953
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=117718
6 changed files with 50 additions and 26 deletions

View File

@ -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} "* *"

View File

@ -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>

View File

@ -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

View File

@ -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} "* *"

View File

@ -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>

View File

@ -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