- Fix path mangling when running make all-depends-list

- Change email address from Verizon to gmail so I may hear from my european
  friends

PR:		ports/77575
Submitted by:	Michael C. Shultz <ringworm01@gmail.com> (maintainer)
This commit is contained in:
Pav Lucistnik 2005-02-17 09:51:16 +00:00
parent d4c3bc932c
commit 8f081bfd6a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=129078
4 changed files with 100 additions and 4 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= portmanager
PORTVERSION= 0.2.6
PORTREVISION= 5
PORTREVISION= 6
#-----------------------------------------
#for local use, remove before submitting PR
CATEGORIES= sysutils
@ -18,7 +18,7 @@ MASTER_SITES= http://portmanager.sunsite.dk/distfiles/ \
${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= portmanager
MAINTAINER= reso3w83@verizon.net
MAINTAINER= ringworm01@gmail.com
COMMENT= FreeBSD usr/ports status and safe usr/ports update
MAN1= portmanager.1

View File

@ -0,0 +1,48 @@
--- libPMGR/src/PMGRrMissingDependencies.c Fri Feb 11 21:38:37 2005
+++ ../0.2.7/libPMGR/src/PMGRrMissingDependencies.c Tue Feb 15 12:45:57 2005
@@ -356,6 +356,7 @@
stringSize = strlen( "cd " )
+ strlen( PORTSDIR )
+ + strlen( "/" )
+ strlen( unInstalledPortDir )
+ strlen( "; " )
+ strlen( "make " )
@@ -368,8 +369,9 @@
/*zzzzzzzzzzzzzz*/
command[0] = 0;
- strcpy( command, "cd " );
+ strcat( command, "cd " );
strcat( command, PORTSDIR );
+ strcat( command, "/" );
strcat( command, unInstalledPortDir );
strcat( command, "; " );
strcat( command, "make " );
@@ -380,6 +382,7 @@
{
stringSize = strlen( "cd " )
+ strlen( PORTSDIR )
+ + strlen( "/" )
+ strlen( unInstalledPortDir )
+ strlen( "; " )
+ strlen( "make describe" );
@@ -390,6 +393,7 @@
command[0] = 0;
strcpy( command, "cd " );
strcat( command, PORTSDIR );
+ strcat( command, "/" );
strcat( command, unInstalledPortDir );
strcat( command, "; " );
strcat( command, "make describe" );
@@ -432,7 +436,9 @@
unInstalledPortName = buffer02;
fprintf( stdout, " * * * *\n" );
fprintf( stdout, "adding %s to list of things to be upgraded/added.\n",
- unInstalledPortName );
+ unInstalledPortName );
+ unInstalledPortDir--;
+ unInstalledPortDir[0] = '/';
MGdbAdd( property->outOfDatePortsDb, unInstalledPortDir, unInstalledPortName,
"MISSING is a dependency of", dependencyPortName, NULL );

View File

@ -7,7 +7,7 @@
PORTNAME= portmanager
PORTVERSION= 0.2.6
PORTREVISION= 5
PORTREVISION= 6
#-----------------------------------------
#for local use, remove before submitting PR
CATEGORIES= sysutils
@ -18,7 +18,7 @@ MASTER_SITES= http://portmanager.sunsite.dk/distfiles/ \
${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= portmanager
MAINTAINER= reso3w83@verizon.net
MAINTAINER= ringworm01@gmail.com
COMMENT= FreeBSD usr/ports status and safe usr/ports update
MAN1= portmanager.1

View File

@ -0,0 +1,48 @@
--- libPMGR/src/PMGRrMissingDependencies.c Fri Feb 11 21:38:37 2005
+++ ../0.2.7/libPMGR/src/PMGRrMissingDependencies.c Tue Feb 15 12:45:57 2005
@@ -356,6 +356,7 @@
stringSize = strlen( "cd " )
+ strlen( PORTSDIR )
+ + strlen( "/" )
+ strlen( unInstalledPortDir )
+ strlen( "; " )
+ strlen( "make " )
@@ -368,8 +369,9 @@
/*zzzzzzzzzzzzzz*/
command[0] = 0;
- strcpy( command, "cd " );
+ strcat( command, "cd " );
strcat( command, PORTSDIR );
+ strcat( command, "/" );
strcat( command, unInstalledPortDir );
strcat( command, "; " );
strcat( command, "make " );
@@ -380,6 +382,7 @@
{
stringSize = strlen( "cd " )
+ strlen( PORTSDIR )
+ + strlen( "/" )
+ strlen( unInstalledPortDir )
+ strlen( "; " )
+ strlen( "make describe" );
@@ -390,6 +393,7 @@
command[0] = 0;
strcpy( command, "cd " );
strcat( command, PORTSDIR );
+ strcat( command, "/" );
strcat( command, unInstalledPortDir );
strcat( command, "; " );
strcat( command, "make describe" );
@@ -432,7 +436,9 @@
unInstalledPortName = buffer02;
fprintf( stdout, " * * * *\n" );
fprintf( stdout, "adding %s to list of things to be upgraded/added.\n",
- unInstalledPortName );
+ unInstalledPortName );
+ unInstalledPortDir--;
+ unInstalledPortDir[0] = '/';
MGdbAdd( property->outOfDatePortsDb, unInstalledPortDir, unInstalledPortName,
"MISSING is a dependency of", dependencyPortName, NULL );