diff options
-rw-r--r-- | ports-mgmt/portupgrade-devel/Makefile | 2 | ||||
-rw-r--r-- | ports-mgmt/portupgrade-devel/files/patch-make_index | 68 | ||||
-rw-r--r-- | ports-mgmt/portupgrade-devel/pkg-plist | 2 | ||||
-rw-r--r-- | ports-mgmt/portupgrade/Makefile | 2 | ||||
-rw-r--r-- | ports-mgmt/portupgrade/files/patch-make_index | 68 | ||||
-rw-r--r-- | ports-mgmt/portupgrade/pkg-plist | 2 | ||||
-rw-r--r-- | sysutils/portupgrade-devel/Makefile | 2 | ||||
-rw-r--r-- | sysutils/portupgrade-devel/files/patch-make_index | 68 | ||||
-rw-r--r-- | sysutils/portupgrade-devel/pkg-plist | 2 | ||||
-rw-r--r-- | sysutils/portupgrade/Makefile | 2 | ||||
-rw-r--r-- | sysutils/portupgrade/files/patch-make_index | 68 | ||||
-rw-r--r-- | sysutils/portupgrade/pkg-plist | 2 |
12 files changed, 276 insertions, 12 deletions
diff --git a/ports-mgmt/portupgrade-devel/Makefile b/ports-mgmt/portupgrade-devel/Makefile index 7c8eb3195579..edefb5cb900b 100644 --- a/ports-mgmt/portupgrade-devel/Makefile +++ b/ports-mgmt/portupgrade-devel/Makefile @@ -7,7 +7,7 @@ PORTNAME= portupgrade PORTVERSION= 20040113 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils MASTER_SITES= ftp://ftp.iDaemons.org/pub/distfiles/ \ ${MASTER_SITE_LOCAL} diff --git a/ports-mgmt/portupgrade-devel/files/patch-make_index b/ports-mgmt/portupgrade-devel/files/patch-make_index new file mode 100644 index 000000000000..bc0bfb1215ce --- /dev/null +++ b/ports-mgmt/portupgrade-devel/files/patch-make_index @@ -0,0 +1,68 @@ +Index: bin/Makefile +=================================================================== +RCS file: /home/cvs/pkgtools/bin/Makefile,v +retrieving revision 1.6 +diff -u -u -0 -r1.6 Makefile +--- bin/Makefile 26 Jan 2002 23:57:34 -0000 1.6 ++++ bin/Makefile 7 Feb 2004 08:49:02 -0000 +@@ -7,3 +7 @@ +-SCRIPTS= ${BUILDDIR}/make_describe_pass1 \ +- ${BUILDDIR}/make_describe_pass2 \ +- ${BUILDDIR}/pkg_fetch \ ++SCRIPTS= ${BUILDDIR}/pkg_fetch \ +Index: bin/portupgrade +=================================================================== +RCS file: /home/cvs/pkgtools/bin/portupgrade,v +retrieving revision 1.220 +diff -u -u -0 -r1.220 portupgrade +--- bin/portupgrade 23 Jul 2003 12:23:03 -0000 1.220 ++++ bin/portupgrade 22 Aug 2003 07:41:57 -0000 +@@ -174,0 +175 @@ ++ $new_force = false +@@ -327,2 +328,7 @@ +- "packages (default: #{MYNAME == 'portinstall' ? 'on' : 'off'})") { +- |$new| ++ "packages; Specified twice, always install a new" << NEXTLINE << ++ "one instead of upgrading (default: #{MYNAME == 'portinstall' ? 'on' : 'off'})") { ++ if $new ++ $new_force = true ++ else ++ $new = true ++ end +Index: lib/pkgdb.rb +=================================================================== +RCS file: /home/cvs/pkgtools/lib/pkgdb.rb,v +retrieving revision 1.112 +diff -u -u -0 -r1.112 pkgdb.rb +--- lib/pkgdb.rb 23 Jul 2003 12:23:05 -0000 1.112 ++++ lib/pkgdb.rb 7 Feb 2004 08:52:43 -0000 +@@ -45,2 +44,0 @@ +- :make_describe_pass1 => "#{PREFIX}/sbin/make_describe_pass1", +- :make_describe_pass2 => "#{PREFIX}/sbin/make_describe_pass2", +Index: lib/portsdb.rb +=================================================================== +RCS file: /home/cvs/pkgtools/lib/portsdb.rb,v +retrieving revision 1.78 +diff -u -u -0 -r1.78 portsdb.rb +--- lib/portsdb.rb 23 Jul 2003 12:23:05 -0000 1.78 ++++ lib/portsdb.rb 7 Feb 2004 08:52:26 -0000 +@@ -340,18 +340 @@ +- if true +- system %` +- #{PkgDB::command(:make_describe_pass1)} | +- #{PkgDB::command(:make_describe_pass2)} | +- (cd #{abs_ports_dir} && perl Tools/make_index) | +- sed -e 's./.\001.g' | +- sort -t '|' +1 -2 | +- sed -e 's.\001./.g' > #{tmp} +- ` +- else +- system %` +- cd #{abs_ports_dir} && (make describe ECHO_MSG='echo > /dev/null' 2> /dev/null | +- perl Tools/make_index) | +- sed -e 's./.\001.g' | +- sort -t '|' +1 -2 | +- sed -e 's.\001./.g' > #{tmp} +- ` +- end ++ system "cd #{abs_ports_dir} && make INDEXFILE=INDEX.tmp index && mv INDEX.tmp #{tmp}" diff --git a/ports-mgmt/portupgrade-devel/pkg-plist b/ports-mgmt/portupgrade-devel/pkg-plist index 381c951fc74d..04bfc7e22267 100644 --- a/ports-mgmt/portupgrade-devel/pkg-plist +++ b/ports-mgmt/portupgrade-devel/pkg-plist @@ -1,8 +1,6 @@ etc/rc.d/000.pkgtools.sh @exec /bin/mkdir -p %D/lib/compat/pkg @unexec /bin/rmdir %D/lib/compat/pkg 2>/dev/null || true -sbin/make_describe_pass1 -sbin/make_describe_pass2 sbin/pkg_deinstall sbin/pkg_fetch sbin/pkg_glob diff --git a/ports-mgmt/portupgrade/Makefile b/ports-mgmt/portupgrade/Makefile index 7c8eb3195579..edefb5cb900b 100644 --- a/ports-mgmt/portupgrade/Makefile +++ b/ports-mgmt/portupgrade/Makefile @@ -7,7 +7,7 @@ PORTNAME= portupgrade PORTVERSION= 20040113 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils MASTER_SITES= ftp://ftp.iDaemons.org/pub/distfiles/ \ ${MASTER_SITE_LOCAL} diff --git a/ports-mgmt/portupgrade/files/patch-make_index b/ports-mgmt/portupgrade/files/patch-make_index new file mode 100644 index 000000000000..bc0bfb1215ce --- /dev/null +++ b/ports-mgmt/portupgrade/files/patch-make_index @@ -0,0 +1,68 @@ +Index: bin/Makefile +=================================================================== +RCS file: /home/cvs/pkgtools/bin/Makefile,v +retrieving revision 1.6 +diff -u -u -0 -r1.6 Makefile +--- bin/Makefile 26 Jan 2002 23:57:34 -0000 1.6 ++++ bin/Makefile 7 Feb 2004 08:49:02 -0000 +@@ -7,3 +7 @@ +-SCRIPTS= ${BUILDDIR}/make_describe_pass1 \ +- ${BUILDDIR}/make_describe_pass2 \ +- ${BUILDDIR}/pkg_fetch \ ++SCRIPTS= ${BUILDDIR}/pkg_fetch \ +Index: bin/portupgrade +=================================================================== +RCS file: /home/cvs/pkgtools/bin/portupgrade,v +retrieving revision 1.220 +diff -u -u -0 -r1.220 portupgrade +--- bin/portupgrade 23 Jul 2003 12:23:03 -0000 1.220 ++++ bin/portupgrade 22 Aug 2003 07:41:57 -0000 +@@ -174,0 +175 @@ ++ $new_force = false +@@ -327,2 +328,7 @@ +- "packages (default: #{MYNAME == 'portinstall' ? 'on' : 'off'})") { +- |$new| ++ "packages; Specified twice, always install a new" << NEXTLINE << ++ "one instead of upgrading (default: #{MYNAME == 'portinstall' ? 'on' : 'off'})") { ++ if $new ++ $new_force = true ++ else ++ $new = true ++ end +Index: lib/pkgdb.rb +=================================================================== +RCS file: /home/cvs/pkgtools/lib/pkgdb.rb,v +retrieving revision 1.112 +diff -u -u -0 -r1.112 pkgdb.rb +--- lib/pkgdb.rb 23 Jul 2003 12:23:05 -0000 1.112 ++++ lib/pkgdb.rb 7 Feb 2004 08:52:43 -0000 +@@ -45,2 +44,0 @@ +- :make_describe_pass1 => "#{PREFIX}/sbin/make_describe_pass1", +- :make_describe_pass2 => "#{PREFIX}/sbin/make_describe_pass2", +Index: lib/portsdb.rb +=================================================================== +RCS file: /home/cvs/pkgtools/lib/portsdb.rb,v +retrieving revision 1.78 +diff -u -u -0 -r1.78 portsdb.rb +--- lib/portsdb.rb 23 Jul 2003 12:23:05 -0000 1.78 ++++ lib/portsdb.rb 7 Feb 2004 08:52:26 -0000 +@@ -340,18 +340 @@ +- if true +- system %` +- #{PkgDB::command(:make_describe_pass1)} | +- #{PkgDB::command(:make_describe_pass2)} | +- (cd #{abs_ports_dir} && perl Tools/make_index) | +- sed -e 's./.\001.g' | +- sort -t '|' +1 -2 | +- sed -e 's.\001./.g' > #{tmp} +- ` +- else +- system %` +- cd #{abs_ports_dir} && (make describe ECHO_MSG='echo > /dev/null' 2> /dev/null | +- perl Tools/make_index) | +- sed -e 's./.\001.g' | +- sort -t '|' +1 -2 | +- sed -e 's.\001./.g' > #{tmp} +- ` +- end ++ system "cd #{abs_ports_dir} && make INDEXFILE=INDEX.tmp index && mv INDEX.tmp #{tmp}" diff --git a/ports-mgmt/portupgrade/pkg-plist b/ports-mgmt/portupgrade/pkg-plist index 381c951fc74d..04bfc7e22267 100644 --- a/ports-mgmt/portupgrade/pkg-plist +++ b/ports-mgmt/portupgrade/pkg-plist @@ -1,8 +1,6 @@ etc/rc.d/000.pkgtools.sh @exec /bin/mkdir -p %D/lib/compat/pkg @unexec /bin/rmdir %D/lib/compat/pkg 2>/dev/null || true -sbin/make_describe_pass1 -sbin/make_describe_pass2 sbin/pkg_deinstall sbin/pkg_fetch sbin/pkg_glob diff --git a/sysutils/portupgrade-devel/Makefile b/sysutils/portupgrade-devel/Makefile index 7c8eb3195579..edefb5cb900b 100644 --- a/sysutils/portupgrade-devel/Makefile +++ b/sysutils/portupgrade-devel/Makefile @@ -7,7 +7,7 @@ PORTNAME= portupgrade PORTVERSION= 20040113 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils MASTER_SITES= ftp://ftp.iDaemons.org/pub/distfiles/ \ ${MASTER_SITE_LOCAL} diff --git a/sysutils/portupgrade-devel/files/patch-make_index b/sysutils/portupgrade-devel/files/patch-make_index new file mode 100644 index 000000000000..bc0bfb1215ce --- /dev/null +++ b/sysutils/portupgrade-devel/files/patch-make_index @@ -0,0 +1,68 @@ +Index: bin/Makefile +=================================================================== +RCS file: /home/cvs/pkgtools/bin/Makefile,v +retrieving revision 1.6 +diff -u -u -0 -r1.6 Makefile +--- bin/Makefile 26 Jan 2002 23:57:34 -0000 1.6 ++++ bin/Makefile 7 Feb 2004 08:49:02 -0000 +@@ -7,3 +7 @@ +-SCRIPTS= ${BUILDDIR}/make_describe_pass1 \ +- ${BUILDDIR}/make_describe_pass2 \ +- ${BUILDDIR}/pkg_fetch \ ++SCRIPTS= ${BUILDDIR}/pkg_fetch \ +Index: bin/portupgrade +=================================================================== +RCS file: /home/cvs/pkgtools/bin/portupgrade,v +retrieving revision 1.220 +diff -u -u -0 -r1.220 portupgrade +--- bin/portupgrade 23 Jul 2003 12:23:03 -0000 1.220 ++++ bin/portupgrade 22 Aug 2003 07:41:57 -0000 +@@ -174,0 +175 @@ ++ $new_force = false +@@ -327,2 +328,7 @@ +- "packages (default: #{MYNAME == 'portinstall' ? 'on' : 'off'})") { +- |$new| ++ "packages; Specified twice, always install a new" << NEXTLINE << ++ "one instead of upgrading (default: #{MYNAME == 'portinstall' ? 'on' : 'off'})") { ++ if $new ++ $new_force = true ++ else ++ $new = true ++ end +Index: lib/pkgdb.rb +=================================================================== +RCS file: /home/cvs/pkgtools/lib/pkgdb.rb,v +retrieving revision 1.112 +diff -u -u -0 -r1.112 pkgdb.rb +--- lib/pkgdb.rb 23 Jul 2003 12:23:05 -0000 1.112 ++++ lib/pkgdb.rb 7 Feb 2004 08:52:43 -0000 +@@ -45,2 +44,0 @@ +- :make_describe_pass1 => "#{PREFIX}/sbin/make_describe_pass1", +- :make_describe_pass2 => "#{PREFIX}/sbin/make_describe_pass2", +Index: lib/portsdb.rb +=================================================================== +RCS file: /home/cvs/pkgtools/lib/portsdb.rb,v +retrieving revision 1.78 +diff -u -u -0 -r1.78 portsdb.rb +--- lib/portsdb.rb 23 Jul 2003 12:23:05 -0000 1.78 ++++ lib/portsdb.rb 7 Feb 2004 08:52:26 -0000 +@@ -340,18 +340 @@ +- if true +- system %` +- #{PkgDB::command(:make_describe_pass1)} | +- #{PkgDB::command(:make_describe_pass2)} | +- (cd #{abs_ports_dir} && perl Tools/make_index) | +- sed -e 's./.\001.g' | +- sort -t '|' +1 -2 | +- sed -e 's.\001./.g' > #{tmp} +- ` +- else +- system %` +- cd #{abs_ports_dir} && (make describe ECHO_MSG='echo > /dev/null' 2> /dev/null | +- perl Tools/make_index) | +- sed -e 's./.\001.g' | +- sort -t '|' +1 -2 | +- sed -e 's.\001./.g' > #{tmp} +- ` +- end ++ system "cd #{abs_ports_dir} && make INDEXFILE=INDEX.tmp index && mv INDEX.tmp #{tmp}" diff --git a/sysutils/portupgrade-devel/pkg-plist b/sysutils/portupgrade-devel/pkg-plist index 381c951fc74d..04bfc7e22267 100644 --- a/sysutils/portupgrade-devel/pkg-plist +++ b/sysutils/portupgrade-devel/pkg-plist @@ -1,8 +1,6 @@ etc/rc.d/000.pkgtools.sh @exec /bin/mkdir -p %D/lib/compat/pkg @unexec /bin/rmdir %D/lib/compat/pkg 2>/dev/null || true -sbin/make_describe_pass1 -sbin/make_describe_pass2 sbin/pkg_deinstall sbin/pkg_fetch sbin/pkg_glob diff --git a/sysutils/portupgrade/Makefile b/sysutils/portupgrade/Makefile index 7c8eb3195579..edefb5cb900b 100644 --- a/sysutils/portupgrade/Makefile +++ b/sysutils/portupgrade/Makefile @@ -7,7 +7,7 @@ PORTNAME= portupgrade PORTVERSION= 20040113 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils MASTER_SITES= ftp://ftp.iDaemons.org/pub/distfiles/ \ ${MASTER_SITE_LOCAL} diff --git a/sysutils/portupgrade/files/patch-make_index b/sysutils/portupgrade/files/patch-make_index new file mode 100644 index 000000000000..bc0bfb1215ce --- /dev/null +++ b/sysutils/portupgrade/files/patch-make_index @@ -0,0 +1,68 @@ +Index: bin/Makefile +=================================================================== +RCS file: /home/cvs/pkgtools/bin/Makefile,v +retrieving revision 1.6 +diff -u -u -0 -r1.6 Makefile +--- bin/Makefile 26 Jan 2002 23:57:34 -0000 1.6 ++++ bin/Makefile 7 Feb 2004 08:49:02 -0000 +@@ -7,3 +7 @@ +-SCRIPTS= ${BUILDDIR}/make_describe_pass1 \ +- ${BUILDDIR}/make_describe_pass2 \ +- ${BUILDDIR}/pkg_fetch \ ++SCRIPTS= ${BUILDDIR}/pkg_fetch \ +Index: bin/portupgrade +=================================================================== +RCS file: /home/cvs/pkgtools/bin/portupgrade,v +retrieving revision 1.220 +diff -u -u -0 -r1.220 portupgrade +--- bin/portupgrade 23 Jul 2003 12:23:03 -0000 1.220 ++++ bin/portupgrade 22 Aug 2003 07:41:57 -0000 +@@ -174,0 +175 @@ ++ $new_force = false +@@ -327,2 +328,7 @@ +- "packages (default: #{MYNAME == 'portinstall' ? 'on' : 'off'})") { +- |$new| ++ "packages; Specified twice, always install a new" << NEXTLINE << ++ "one instead of upgrading (default: #{MYNAME == 'portinstall' ? 'on' : 'off'})") { ++ if $new ++ $new_force = true ++ else ++ $new = true ++ end +Index: lib/pkgdb.rb +=================================================================== +RCS file: /home/cvs/pkgtools/lib/pkgdb.rb,v +retrieving revision 1.112 +diff -u -u -0 -r1.112 pkgdb.rb +--- lib/pkgdb.rb 23 Jul 2003 12:23:05 -0000 1.112 ++++ lib/pkgdb.rb 7 Feb 2004 08:52:43 -0000 +@@ -45,2 +44,0 @@ +- :make_describe_pass1 => "#{PREFIX}/sbin/make_describe_pass1", +- :make_describe_pass2 => "#{PREFIX}/sbin/make_describe_pass2", +Index: lib/portsdb.rb +=================================================================== +RCS file: /home/cvs/pkgtools/lib/portsdb.rb,v +retrieving revision 1.78 +diff -u -u -0 -r1.78 portsdb.rb +--- lib/portsdb.rb 23 Jul 2003 12:23:05 -0000 1.78 ++++ lib/portsdb.rb 7 Feb 2004 08:52:26 -0000 +@@ -340,18 +340 @@ +- if true +- system %` +- #{PkgDB::command(:make_describe_pass1)} | +- #{PkgDB::command(:make_describe_pass2)} | +- (cd #{abs_ports_dir} && perl Tools/make_index) | +- sed -e 's./.\001.g' | +- sort -t '|' +1 -2 | +- sed -e 's.\001./.g' > #{tmp} +- ` +- else +- system %` +- cd #{abs_ports_dir} && (make describe ECHO_MSG='echo > /dev/null' 2> /dev/null | +- perl Tools/make_index) | +- sed -e 's./.\001.g' | +- sort -t '|' +1 -2 | +- sed -e 's.\001./.g' > #{tmp} +- ` +- end ++ system "cd #{abs_ports_dir} && make INDEXFILE=INDEX.tmp index && mv INDEX.tmp #{tmp}" diff --git a/sysutils/portupgrade/pkg-plist b/sysutils/portupgrade/pkg-plist index 381c951fc74d..04bfc7e22267 100644 --- a/sysutils/portupgrade/pkg-plist +++ b/sysutils/portupgrade/pkg-plist @@ -1,8 +1,6 @@ etc/rc.d/000.pkgtools.sh @exec /bin/mkdir -p %D/lib/compat/pkg @unexec /bin/rmdir %D/lib/compat/pkg 2>/dev/null || true -sbin/make_describe_pass1 -sbin/make_describe_pass2 sbin/pkg_deinstall sbin/pkg_fetch sbin/pkg_glob |