Update portupgrade to 1.31 and portversion to 1.7.

* Fix the Makefile/PKGNAME error detection.
  [Reported by:	Tadayuki OKADA <tadayuki@mediaone.net>]

* Implement -y/--yield which yields root priledges where needed.

* Implement -Y/--yield-command which specifies the command to yield
  root priledges. (default: sudo)
This commit is contained in:
Akinori MUSHA 2001-05-31 03:32:59 +00:00
parent 1c7f5e9b9c
commit bec4f9dede
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=43331
12 changed files with 24 additions and 60 deletions

View file

@ -6,12 +6,12 @@
#
PORTNAME= portupgrade
PORTVERSION= 1.29
PORTVERSION= 1.31
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_LOCAL} \
http://www.iDaemons.org/distfiles/
MASTER_SITE_SUBDIR= knu
DISTNAME= pkgtools-20010530d
DISTNAME= pkgtools-20010531
MAINTAINER= knu@FreeBSD.org

View file

@ -1 +1 @@
MD5 (pkgtools-20010530d.tar.gz) = 8f0bb6b84ded3f35552440917ae7833d
MD5 (pkgtools-20010531.tar.gz) = 440b75639e940b82f879ce2c045043ea

View file

@ -3,16 +3,7 @@ Portupgrade is a tool to upgrade installed packages via the port.
It upgrades ports without reinstalling dependent packages by directly
modifying the package info recorded in the files under /var/db/pkg.
The procedures it takes is shown as follows:
You may want to use portversion which is a replacement of
pkg_version(8) optimized and cooperative with portupgrade.
1. Build the corresponding port of the given installed package
2. Fix the dependency info of the ones which depends on the given
package
3. Save the +REQUIRED_BY list of the given package
4. Uninstall the given package forcibly if -u is specified
5. Install the new version via the port (built in <1>)
6. Restore the +REQUIRED_BY list (saved in <3>)
The usage can be shown by running it without arguments or with a -h.
Author: Akinori MUSHA <knu@FreeBSD.org>
Author: Akinori MUSHA <knu@FreeBSD.org>

View file

@ -6,12 +6,12 @@
#
PORTNAME= portupgrade
PORTVERSION= 1.29
PORTVERSION= 1.31
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_LOCAL} \
http://www.iDaemons.org/distfiles/
MASTER_SITE_SUBDIR= knu
DISTNAME= pkgtools-20010530d
DISTNAME= pkgtools-20010531
MAINTAINER= knu@FreeBSD.org

View file

@ -1 +1 @@
MD5 (pkgtools-20010530d.tar.gz) = 8f0bb6b84ded3f35552440917ae7833d
MD5 (pkgtools-20010531.tar.gz) = 440b75639e940b82f879ce2c045043ea

View file

@ -3,16 +3,7 @@ Portupgrade is a tool to upgrade installed packages via the port.
It upgrades ports without reinstalling dependent packages by directly
modifying the package info recorded in the files under /var/db/pkg.
The procedures it takes is shown as follows:
You may want to use portversion which is a replacement of
pkg_version(8) optimized and cooperative with portupgrade.
1. Build the corresponding port of the given installed package
2. Fix the dependency info of the ones which depends on the given
package
3. Save the +REQUIRED_BY list of the given package
4. Uninstall the given package forcibly if -u is specified
5. Install the new version via the port (built in <1>)
6. Restore the +REQUIRED_BY list (saved in <3>)
The usage can be shown by running it without arguments or with a -h.
Author: Akinori MUSHA <knu@FreeBSD.org>
Author: Akinori MUSHA <knu@FreeBSD.org>

View file

@ -6,12 +6,12 @@
#
PORTNAME= portupgrade
PORTVERSION= 1.29
PORTVERSION= 1.31
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_LOCAL} \
http://www.iDaemons.org/distfiles/
MASTER_SITE_SUBDIR= knu
DISTNAME= pkgtools-20010530d
DISTNAME= pkgtools-20010531
MAINTAINER= knu@FreeBSD.org

View file

@ -1 +1 @@
MD5 (pkgtools-20010530d.tar.gz) = 8f0bb6b84ded3f35552440917ae7833d
MD5 (pkgtools-20010531.tar.gz) = 440b75639e940b82f879ce2c045043ea

View file

@ -3,16 +3,7 @@ Portupgrade is a tool to upgrade installed packages via the port.
It upgrades ports without reinstalling dependent packages by directly
modifying the package info recorded in the files under /var/db/pkg.
The procedures it takes is shown as follows:
You may want to use portversion which is a replacement of
pkg_version(8) optimized and cooperative with portupgrade.
1. Build the corresponding port of the given installed package
2. Fix the dependency info of the ones which depends on the given
package
3. Save the +REQUIRED_BY list of the given package
4. Uninstall the given package forcibly if -u is specified
5. Install the new version via the port (built in <1>)
6. Restore the +REQUIRED_BY list (saved in <3>)
The usage can be shown by running it without arguments or with a -h.
Author: Akinori MUSHA <knu@FreeBSD.org>
Author: Akinori MUSHA <knu@FreeBSD.org>

View file

@ -6,12 +6,12 @@
#
PORTNAME= portupgrade
PORTVERSION= 1.29
PORTVERSION= 1.31
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_LOCAL} \
http://www.iDaemons.org/distfiles/
MASTER_SITE_SUBDIR= knu
DISTNAME= pkgtools-20010530d
DISTNAME= pkgtools-20010531
MAINTAINER= knu@FreeBSD.org

View file

@ -1 +1 @@
MD5 (pkgtools-20010530d.tar.gz) = 8f0bb6b84ded3f35552440917ae7833d
MD5 (pkgtools-20010531.tar.gz) = 440b75639e940b82f879ce2c045043ea

View file

@ -3,16 +3,7 @@ Portupgrade is a tool to upgrade installed packages via the port.
It upgrades ports without reinstalling dependent packages by directly
modifying the package info recorded in the files under /var/db/pkg.
The procedures it takes is shown as follows:
You may want to use portversion which is a replacement of
pkg_version(8) optimized and cooperative with portupgrade.
1. Build the corresponding port of the given installed package
2. Fix the dependency info of the ones which depends on the given
package
3. Save the +REQUIRED_BY list of the given package
4. Uninstall the given package forcibly if -u is specified
5. Install the new version via the port (built in <1>)
6. Restore the +REQUIRED_BY list (saved in <3>)
The usage can be shown by running it without arguments or with a -h.
Author: Akinori MUSHA <knu@FreeBSD.org>
Author: Akinori MUSHA <knu@FreeBSD.org>