aboutsummaryrefslogtreecommitdiff
path: root/ports-mgmt/portupgrade/pkg-plist
Commit message (Collapse)AuthorAgeFilesLines
* ports-mgmt/portupgrade*: Move manpages to share/manYasuhiro Kimura2024-03-031-16/+16
| | | | | PR: 277400 Approved by: portmgr (blanket)
* - Update to 2.4.13Bryan Drewery2014-10-061-11/+1
| | | | | | | | | | | | | | | | | | | - Update plist for pkg-1.3 - Remove pkg-message as ALT_PKGDEP has not worked properly since 2008. See https://github.com/freebsd/portupgrade/issues/61 Changes: * portinstall/upgrade -P[P] now supported with pkgng * pkg_fetch now supports pkgng * Fixed pkg-1.3 delete support to not recurse * Fixed portupgrade -b support with pkgng * Improved portsclean performance with pkgng (#59) * Use service(8) for rc script restarting * Show command executions with PORTUPGRADE_DEBUG in environment * Deprecate rc script handling in lieu of pkg's HANDLE_RC_SCRIPTS in pkg.conf Notes: svn path=/head/; revision=370246
* - Blacklist ruby-bdb with Ruby 2.1 [1]Bryan Drewery2014-05-251-4/+1
| | | | | | | | | | | | | - Stop installing script(1) wrapper [2] - Fix ZSH dir leftover (somewhat a false-positive) [3] PR: ports/188084 [1] Submitted by: Christoph Moench-Tegeder <cmt@burggraben.net> [1] Submitted by: sunpoet [2] Reported by: swills [3] Notes: svn path=/head/; revision=355252
* - Don't remove ruby dirsBryan Drewery2014-04-181-3/+0
| | | | | | | - Don't bump PORTREVISION as this isn't a big deal, just a nit. Notes: svn path=/head/; revision=351571
* - Update LICENSE to BSD3CLAUSEBryan Drewery2014-04-121-3/+1
| | | | | | | | | - Convert to USES=tar - Convert to @sample Don't bump PORTREVISION as this is a nop. Notes: svn path=/head/; revision=351065
* - Support STAGEDIRBryan Drewery2013-09-231-0/+16
| | | | Notes: svn path=/head/; revision=327977
* - Update to 2.4.10.6Bryan Drewery2013-06-291-0/+1
| | | | | | | | | | | | | | | | Changes: * Fix how pkgng support is detected for completions * Fix portcvsweb so it uses svnweb.FreeBSD.ORG [1] * Symlink portcvsweb as portsvnweb * Fix portcvsweb FreshPorts and datespec support [2] * Add support for WITH_PKGNG=devel Submitted by: Matthew Luckie <mjl@luckie.org.nz> [1] (based on) Submitted by: paranormal <paranormal@isgroup.com.ua> [2] Notes: svn path=/head/; revision=322041
* - 2.4.10 releaseBryan Drewery2012-10-151-10/+14
| | | | | | | | | | | | | | | | | - Trim header Changes: * Pkgng support when WITH_PKGNG=yes is defined in /etc/make.conf Portupgrade does not yet support pkgng packages or `pkgdb -F`, just building/upgrading ports using pkgng. Be sure to run `pkgdb -fu` to convert any existing pkgdb. * Move all files out of global ruby namespace * manpage cleanups Feature safe: yes Notes: svn path=/head/; revision=305900
* - Update to 2.4.9.8Bryan Drewery2012-08-261-0/+6
| | | | | | | | | | | | | | | | | | | | | | Changelog: * Fix MOVED tracking when upgrading ports [1] * Track and display deleted ports when upgrading * Automatically set DISABLE_CONFLICTS when moving origins * Fix crash when running portupgrade inside of a WRKDIR * Fix "Frozen string" error with ruby 1.9 when using the {BEFORE,AFTER}{INSTALL,DEINSTALL} hooks in pkgtools.conf * Fix failure being seen as success due to broken script(1) on older systems [2][3]. This is done by installing a more recent script(1) into PREFIX/libexec/pkgtools and using it instead. Only installed/used on FreeBSD 8.0 and earlier. PR: ports/151662 [1], ports/147242 [2], ports/131111 [3] Approved by: eadler (mentor) Notes: svn path=/head/; revision=303176
* - Update to 2.4.9.4Jason Helfman2012-04-271-1/+1
| | | | | | | | PR: ports/167338 Submitted by: maintainer, bryan@shatow.net Notes: svn path=/head/; revision=295595
* - We don't install README anymore.Stanislav Sedov2011-08-231-1/+1
| | | | | | | - Fix a bug when :map was used on a string. Notes: svn path=/head/; revision=280248
* - Fix plist.Stanislav Sedov2011-08-231-1/+0
| | | | Notes: svn path=/head/; revision=280243
* - Update to 2.4.6Sergey Matveychuk2008-07-161-0/+1
| | | | | | | | | | * Many bugs was fixed * a new pkgdu utility shows installed packages disk usage PR: many Notes: svn path=/head/; revision=216930
* Fix pkg-plist with NOPORTDOCS=yesSergey Matveychuk2008-07-011-5/+5
| | | | Notes: svn path=/head/; revision=216091
* - Fix handling of lib/compat/pkg directoryPav Lucistnik2007-01-251-1/+2
| | | | | | | Approved by: sem (maintainer) Notes: svn path=/head/; revision=183265
* - Update to 2.2.2. New stable version.Sergey Matveychuk2006-11-211-9/+10
| | | | | | | | | | | | | | | Most visible changes are: * Database files locking. Only one process can write to them in the same time. * pkgdb -F is more smart now and takes OPTIONS, make.conf and pkgtools.conf settings into account. Moreover: * Many bugs fixed. * Many code refactored. Notes: svn path=/head/; revision=177736
* - Convert to USE_LDCONFIG.Florent Thoumie2006-05-291-3/+1
| | | | | | | | | PR: ports/93186 Submitted by: $self Approved by: maintainer Notes: svn path=/head/; revision=163869
* Try to clean up lib/compat and lib/compat/pkg at deinstall.Kris Kennaway2006-02-261-1/+2
| | | | | | | Approved by: portmgr (implicit) Notes: svn path=/head/; revision=156812
* Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtryEdwin Groothuis2006-01-221-1/+1
| | | | | | | | Approved by: krion@ PR: ports/88711 (related) Notes: svn path=/head/; revision=154116
* Update to 2.0.1.Norikatsu Shigemura2006-01-031-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * portversion(1) also reads MOVED and trace origin change, and, when invoked with "-v", displays the new origin. Example: % portversion -v screen screen-4.0.2_2 < needs updating (port has 4.0.2_3) (=> 'sysutils/screen') * Add "--ignore-moved" to portupgrade(1) and portversion(1). When invoked with this option, both programs totally ignore MOVED. If you encounter strange behaviour of these programs, try this out. * Add IGNORE_MOVED option to pkgtools.conf. This can be used to selectively ignore MOVED by pkgs. See pkgtools.conf.sample for details. * Keep the order of MOVED entries, and do not trace back to old entries. Previously, when encounters the following entries, editors/emacs|editors/emacs19|2004-03-20|emacs 19.x moved to a non-default port location editors/emacs21|editors/emacs|2004-03-20|emacs 21.x moved to default port location portupgrade traces as "editors/emacs21" -> "editors/emacs" -> "editors/emacs19". I thought this behavior should not be what we want to, so added this change. PR: ports/91272 Submitted by: KOMATSU Shinichiro <koma2@lovepeers.org> (maintainer) Notes: svn path=/head/; revision=152671
* Make portsdb -U use the canonical way to make a ports index file nowAkinori MUSHA2004-02-071-2/+0
| | | | | | | | | that make index has got fast enough. Suggested by: kris Notes: svn path=/head/; revision=100230
* Update to 20020921.Akinori MUSHA2002-09-201-1/+0
| | | | | | | | | | | | | | | | | | | | - Respect PKG_SUFX, which could be defined in /etc/make.conf or as an environment variable. - Drop the pkg_tarup(1) dependency in favor of pkg_create(1) -b, and mark IGNORE for systems which pkg_create(1) does not support -b. On those systems such as 4.4-STABLE and prior, users can either a) update pkg_* tools or b) stick with portupgrade-20020920 + pkg_tarup-1.2_3. - Remove the workaround against somewhat old 5-CURRENT's buggy bsd.*.mk. - Improve zsh/bash/tcsh completion definitions. (not much for tcsh, though..) Notes: svn path=/head/; revision=66870
* Update to 20020321, the latest maintenance release.Akinori MUSHA2002-03-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | pkg_deinstall(1): - Show the results more precisely. - -P: Only preserve real FreeBSD shared libraries, determined by file(1). - -P: Move preserved shared libraries to $LOCALBASE/lib/compat/pkg. portupgrade(1): - If an error is returned from getcwd(), show a better message and abort. FreeBSD PR: ports/35893 Submitted by: Ernst de Haan <znerd@FreeBSD.org> - -N: If multiple ports match a given pattern, list them. Suggested by: Will Andrews <will@FreeBSD.org> portsdb(1): - On exception, handle it and exit normally. - Check the file/directory permissions on the INDEX file before generating a new INDEX. Suggested by: parv <parv_@yahoo.com> - Make automatic portsdb directory selection in the case of "portsdb -fu" too. ports_glob(1): - -M: Unbreak. Notes: svn path=/head/; revision=56679
* Update to 20020213.1 which fixes the PKG_DBDRIVER problem introducedAkinori MUSHA2002-02-131-2/+2
| | | | | | | | | | | | | | | in the last version. For the victims please manually reinstall the portupgrade port, as always. ;) Reported by: many users (Sorry!) Use some logic and keep pkg_add/pkg_delete from complaining about the @exec/@unexec return codes. Submitted by: olgeni Notes: svn path=/head/; revision=54653
* o Update to 20020205. The best release ever, I hope. :)Akinori MUSHA2002-02-041-10/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | pkg_deinstall(1), portupgrade(1): - Properly print the legend. pkg_glob(1), portsdb(1): - Do not print an empty line when the result list is empty. pkgdb(1): - Greatly improve the origin fixing procedure. Do the origin duplicateness check before checking dependencies and avoid redoing the origin check. - Show the user CVS history on the spot via the CVSweb. portcvsweb(1): - Allow specifying a no longer existent port file/directory. "portcvsweb net/ruby-uri" now works. - Change the default BROWSER value from 'lynx' to 'w3m:lynx:links:mozilla:netscape'. portupgrade(1): - Fix a bug where portupgrade tried to use a package with a different origin when the package name is identical to that of what it wants except for the version part. pkgdb(3): - Abolish the [You have no permission to update the pkgdb -- using a slow method] message. Instead, run 'pkgdb -u' via sudo(8) when under portupgrade -s, or stop the process immediately with a message that the user must run the command as root. pkgtools.conf(5): - Allow specifying unofficial ports' origin globs in HOLD_PKGS as well as package globs. overall/miscellaneous: - Change --no-config to --noconfig in order to get the -q option really working. Since --no-config was regarded a negative form of --config, it didn't work as expected. - Fix some bugs in the zsh compdefs and add missing descriptions for some options. o Use bzip2 instead of gzip for the distribution tarball to save 20KB. As the portupgrade user base is growing significantly, I'll get more serious about the download size issue from now on. The next few releases will be distributed in patches against this version. Notes: svn path=/head/; revision=54209
* Update to 20011210 which brings several usability improvements.Akinori MUSHA2001-12-101-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | pkgtools.conf(5): - Turn HOLD_PORTS into HOLD_PKGS. - List `bsdpan-*' in HOLD_PKGS by default. Requested by: Anton Berezin <tobez@tobez.org> pkgdb(1): - Support HOLD_PKGS and make -f/--force overrite the setting. pkg_fetch(1): - Dig the temporary directory and the packages directory before fetching. Requested by: Chris Dillon <cdillon@wolves.k12.mo.us> - Properly quote the fetch command line arguments. portupgrade(1): - Fix a bug that -Pf did not properly work. Reported by: The Anarcat <anarcat@anarcat.dyndns.org> - Make -p/--package build packages for the ports that are installed as dependency as well. Suggested by: Vivek Khera <khera@kcilink.com> - Make -p/--package build packages for those which requisite packages are upgraded as well, when they are given from the command line or -r is specified. Suggested by: Vivek Khera <khera@kcilink.com>, Lev Serebryakov <lev@serebryakov.spb.ru> - Do not regard a packaging error as an installation error. - Make -Nf override HOLD_PKGS. - Suggest specifying -f when skipping a package. - Detect a checksum mismatch error properly from a build log. portinstall(1): (portupgrade -N) - Only upgrade required packages of a newly installed port when -R is specified. portversion(1): - Support HOLD_PKGS. overall/miscellaneous: - Introduce lazy initialization for config variables and make the initialization process a little bit quicker. - Fix some typos in the manpages. Submitted by: Dan Langille <dan@langille.org>, kuriyama@FreeBSD.org - Add shell completion definitions for pkg_tarup(1). - Provide a replacement of the weekly status-pkg report script (/etc/periodic/weekly/400.status-pkg), which is installed as $PREFIX/etc/pkgtools.status-pkg.sh. port: - Add a missing entry of pkg_which to pkg_plist. - Do not remove the zsh site-functions directory on deinstallation when zsh is installed. Notes: svn path=/head/; revision=51301
* Update to 20011106.Akinori MUSHA2001-11-061-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | pkgdb: - Make the dependency guesser rather more intelligent and show a score when suggesting a candidate to the user. - Check for the pkgdb directory ownership before starting to fix it. pkg_deinstall: - Emit a warning if none matches given patterns. pkg_glob: - Do not sort package names in dependency order but in alphabetical order. (see pkg_sort(1) below) pkg_sort: - This is a new command to sort given lines of package names in dependency order. portversion: - Fix the portversion -c output again. misc.: - Fix typos in the zsh compdef's: PKGDBDIR -> PKG_DBDIR. Notes: svn path=/head/; revision=49665
* Update to 20011030. Some minor bugs/typos were fixed.Akinori MUSHA2001-10-291-8/+8
| | | | | | | | | | | | | | | | | | | | | | portupgrade: - Fix quotes. [Submitted by: Jimmy Olgeni <olgeni@uli.it>] - Do not ask whether to install a port twice. (portinstall/-N) - Complete missing words in the manpage. pkgdb: - Comment out deleted pkgdeps properly. misc.: - Convert the install script to Makefiles. - Change the examples/docs subdirectory name from `portupgrade' to `pkgtools'. Notes: svn path=/head/; revision=49346
* Update to 20011024.Akinori MUSHA2001-10-241-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | portupgrade, portversion, pkg_deinstall, pkg_glob: Introduce the configuration file `pkgtools.conf' for the pkgtools suite. Currently portupgrade(1), portversion(1), pkg_deinstall(1) and pkg_glob(1) use it. Add a new option -q/--no-config to avoid reading the configuration file. Introduce dependency sanity checks. If an inconsistency is detected, immediately abort a process suggesting the user should run `pkgdb -F'. Add a new option -O/--omit-check to omit the sanity checks. pkgdb: Fix the origin guesser's minor bug when the origin port directory does not exist. portupgrade: Add a new option -y/--yes, which lets portupgrade assume user answers yes to all the questions. Make sure to ask user where it should. (Get -N and -i right) Fix a bug where portinstall -i didn't work interactively. [Submitted by: Gregory Neil Shapiro <gshapiro@gshapiro.net>] portsdb: Attempt to offer fast INDEX generation. Now it generates an INDEX file more than a few minutes faster. overall: Emit a warning when pkgdb cannot be updated though it is not up-to-date. Finally remove -E/--regex. Use the ':RE' glob pattern instead. Notes: svn path=/head/; revision=49172
* Update to 20011006.1, a hotfix release. This fixes a bug where pkgdb fails toAkinori MUSHA2001-10-061-0/+1
| | | | | | | | | | | | | create a new database for the very first time. (Run "pkgdb -fu" if you have 20011006 installed) Fix MAN1 entries. Remove old database pkgdb.byfile.db on installation. (new database is named pkgdb.db) Notes: svn path=/head/; revision=48506
* Update to 20011006 with many improvements.Akinori MUSHA2001-10-061-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Beware, there can probably be some bugs left in the new pkgdb code. In such a case please run "pkgdb -fu" to fix the situation. overall: Utilize pkgdb better and optimize. portupgrade: Do not scan packages all at once when -P is given, but find one per request. [Requested by: Hideaki OKADA <hokada@isl.melco.co.jp>] Create a backup package record in tmpdir instead of pkgdbdir, in order not to update pkgdbdir's mtime. Rephrase/add messages. portinstall: Commit major changes and improvements over portinstall. Now it warns and asks the user for confirmation if a port is being installed when a package of the same origin is already installed. Upgrade all the required packages before installing a new port. [Requested by: Hajimu UMEMOTO <ume@mahoroba.org>] Do not install ports immediately but queue them up, then install them after upgrading all the specified and required packages. pkgdb: Record pkgname <=> origin mapping in the pkgdb and make full use of it instead of repeatedly calling pkg_info -o which has undesirable overheads. Make portupgrade, pkg_deinstall update the pkgdb after they install/deinstall packages or modify package records. Integrate pkgdepfix(1) within. (pkgdb -F/--fix) Add -o/--origin, which looks up an origin of a package in pkgdb. Detect added/deleted/reinstalled packages more strictly so pkgdb can keep being sane and consistent. Do not fail over a small conflict found during updating pkgdb; portupgrade should not be aborted by such a minor problem. pkgdepfix: Obsolete -o and turn -o on by default. Now we can look up an origin of a package so quickly thanks to the pkgdb. Integrate into pkgdb(1). (pkgdb -F/--fix) portsdb: A date spec is not a valid ports glob; emit a warning if specified. [Found by: Hajimu UMEMOTO <ume@mahoroba.org>] Notes: svn path=/head/; revision=48497
* De-typo: s/compt/compat/.Akinori MUSHA2001-10-021-2/+2
| | | | | | | Submitted by: olgeni Notes: svn path=/head/; revision=48342
* Update to 20010922, with some brand new functionalities.Akinori MUSHA2001-09-211-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | overall: - Implement new package glob patterns: {<|<=|>=|>}{date|pkgname_glob}. For example, you can rebuild and reinstall all the dependent packages of png that had been installed prior to png this way: portupgrade -fr png -x '>=png' - Introduce the packages database, which is currently a simple hash that maps file paths to package names. Inspired by: NetBSD pkgdb(1): (new) - A command to create/update the packages database. pkg_which(1): (new) - A command to check which package a file came from quickly. portsclean(1): - Suppress "can't cd" error messages. Submitted by: Jos Backus <josb@cncdsl.com> ports_glob(1): (new) - Give portsdb(1)'s ports glob expanding feature a suitable name. Notes: svn path=/head/; revision=48053
* Update to 20010827.Akinori MUSHA2001-08-261-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | pkg_fetch: - Yet another new utility, which downloads binary packages from a remote site. Optionally it can also download the required packages recursively. portupgrade: - Do not regard "no package found" as an error when upgrading packages with -PP. pkgdepfix, portsclean -L: - Fix a problem where the ruby 1.6.4 release fails in error. Reported by: David Wolfskill <david@catwhisker.org> portcvsweb: - Explicitly execute a browser via /bin/sh, as the specification says. other stuff: - Improve the manpage and the completion definitions. Notes: svn path=/head/; revision=46942
* Update to 20010826.Akinori MUSHA2001-08-251-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Overall: - Support the cases where PORTREVISION == 0 and PORTEPOCH == 0. portupgrade: - Add a new option: -l/--log-results, which is used to save the results as a file. [new] - Properly exit with a non-zero status when main() does not return a valid value. [fix] portsclean: - Finally implement portsclean -L/--libclean, which cleans the old shared libraries that are not recorded in the package database. It moves old and orphan shared libraries to ${PREFIX}/lib/compat/pkg. [new] - In concert with this feature, the portupgrade port now digs the directory and installs a startup script which runs `ldconfig -m ${PREFIX}/lib/compat/pkg'. [new] - Implement portsclean -DD, which cleans all the distfiles which are not referenced from any port that is currently installed, which portsclean -D only cleans the distfiles which are not referenced from any port in the ports tree. [new] Note that -DD runs very fast but removes more, whereas -D runs so slow but removes less. Idea provided by: Kris Kennaway <kris@obsecurity.org> portsdb: - Do not fail in the case when INDEX.db and INDEX.rbo are not in sync somehow. [fix] - Implement -r/--recursive. (a bit slow, though) [new] Completions: - Improve and update zsh compdefs. - Add completion definitions for bash. [new] ..and several minor improvements. Enjoy! Notes: svn path=/head/; revision=46891
* Add a missing entry ("ChangeLog") to pkg-plist.Akinori MUSHA2001-08-231-0/+1
| | | | | | | Submitted by: Jimmy Olgeni <olgeni@uli.it> Notes: svn path=/head/; revision=46678
* Update to 20010821, with many improvements.Akinori MUSHA2001-08-211-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Overall: - Disregard -r and -R when -a is also specified; there is no need to recurse when you do with everything. - Fix a bug in -r and -R routines where it might fail in error if dependencies of a package were all wrong. [Caught by: Mamoru Iwaki <iwaki@bsp.bc.niigata-u.ac.jp>] - Fix the support for the case where PORTSDIR is a symlink. - Squeeze //'s. - Run `stty sane' before building each port, on interrupt, and before exit. - Accept portorigin_glob and pkgname_glob with paths, except for -x/--exclude. portupgrade: - Fix `portupgrade -Ni' (portinstall -i). - Skip ports and packages that once failed, and do not try to upgrade multiple packages of an origin. - If a port or a package failed to build or install, skip its dependents. This behavior can be overridden by the new option, -g/--go-on. pkgdepfix: - Backup +CONTENTS files before removing duplicates. portsclean: - Start implementing -L/--libclean. misc/tcsh/complete.sample: - Add a simple example of tcsh completion definitions. [Contributed by: kuwa@flab.fujitsu.co.jp] Notes: svn path=/head/; revision=46581
* Update to 20010811.Akinori MUSHA2001-08-111-0/+2
| | | | | | | | | | | | | | | | | | | | | portsclean: - Rewrite in Ruby and implement the distfiles cleaner. [new] portsdb: - Show a progress message while updating INDEX.*. - Record version information into INDEX.rdo. - Record category information into INDEX.rdo and enhance the API accordingly. - Introduce the automatic PORTS_DBDIR selector. Now it will use whichever writable directory in the following ones: $PORTS_DBDIR, $PORTS_DIR, /usr/ports, $PKG_DBDIR, /var/db/pkg, $TMPDIR, /var/tmp, /tmp (checked in the order named) portcvsweb: - New tool: a tool to open CVSweb to view a CVS log. [new] Notes: svn path=/head/; revision=46069
* Update to 20010802, only a minor update.Akinori MUSHA2001-08-021-0/+1
| | | | | | | | | | | | | | | | overall: - Fix commands not to quit when user answers ^D to a yes/no question. - Call pkg_* commands in fullpaths. portupgrade: - When -s is specified, run sudo to build & install dependent ports when some are missing, too. portsclean: - This is a new command which cleans ports' working directories. Notes: svn path=/head/; revision=45722
* Update to 20010727 with a couple of new commands added. (No changesAkinori MUSHA2001-07-261-1/+5
| | | | | | | | | | | | | have been made to the existing utilities) pkg_deinstall: This is a package deinstaller with wildcards and dependency recursion support. pkg_glob: This is a package glob expander with wildcards and dependency recursion support. Notes: svn path=/head/; revision=45516
* Update to 20010617.Akinori MUSHA2001-06-171-0/+1
| | | | | | | | | | | | | | portupgrade: Add a new option: -N/--new. If it is specified, portupgrade installs a new one when a specified package is not installed. portinstall: New command equivalent to `portupgrade -N'. You can specify a port origin to name the one you want to install, too: e.g. `portinstall shells/zsh' Notes: svn path=/head/; revision=44093
* Update to 20010611, with many changes and enhancements.Akinori MUSHA2001-06-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Beware of bugs, just in case. ;) portupgrade: - Sort packages by default and remove -s/--sort. - Rename -y/--yield/-Y/--yield-command to -s/--sudo/-S/--sudo-command. - Implement -a/--all. - Implement -x/--exclude=GLOB. - Exit on OptionParser::ParseError immediately. - Do not call "make fetch-recursive" but just "make fetch", now that portupgrade does recursion itself. - In fetch mode, specify -DPACKAGE_BUILDING for ports that define IS_INTERACTIVE. [Submitted by: Jimmy Olgeni <olgeni@uli.it>]] portversion: - Exit on OptionParser::ParseError immediately. portsdb: - New tool: which updates INDEX and INDEX.db in the ports directory. pkgdepfix: - Implement origin fixer with intelligent guessing, finally! (-o/--fix-origin) - Make pkgdep guessing more intelligent. Notes: svn path=/head/; revision=43780
* Update to 20010607.Akinori MUSHA2001-06-061-0/+2
| | | | | | | | | | | | | | portupgrade: - Implement -P/--use-packages, which everyone bugged me with. :> pkgdepfix: - Add "delete" to the choices as to how to deal with a stale dependency. - Alter the prompt message. - Add zsh compdef. Notes: svn path=/head/; revision=43568
* From now on I use release dates for this port's version numbers, andAkinori MUSHA2001-06-051-0/+1
| | | | | | | | | | | this is version 20010606. A new tool pkgdepfix is added. It allows you to interactively fix /var/db/pkg's @pkgdep / +REQUIRED_BY discrepancies. Run this periodically to let portupgrade properly trace dependencies. Notes: svn path=/head/; revision=43542
* Update portupgrade to 1.26 and portversion to 1.4.Akinori MUSHA2001-05-291-0/+1
| | | | | | | | | | | | | | | | | | | | This is a milestone release for me. Enjoy. :> portupgrade changes: - Implement -s/--sort which sorts packages in the dependency order. - Implement -R/--upward-recursive, and get -r/--recursive working for upgrading as well. (Finally!) - Add -DBATCH to the make fetch' commandline to prevent ports from dumbly waiting for user input. Greatly inspired by: Jimmy Olgeni <olgeni@uli.it> (Thanks!!) portversion changes: - Make command output optimal by using portupgrade's -s option. - Report possible ports' Makefile breakage. Notes: svn path=/head/; revision=43286
* Fix a rmdir line so it never fails.Akinori MUSHA2001-05-181-1/+2
| | | | | | | Submitted by: Jimmy Olgeni <olgeni@FreeBSD.org> Notes: svn path=/head/; revision=42703
* Update to 1.20.Akinori MUSHA2001-04-171-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | 2001-04-18 03:36 knu * misc/zsh/_portupgrade: Add -F. 2001-04-18 03:35 knu * portupgrade: Add -F/--fetch option to make dial-up users happy. Submitted by: Jimmy Olgeni <olgeni@uli.it> (He suggested -e, but I prefered -F) Show what version a package is upgraded to to help a user decide whether to upgrade or not. Submitted by: Timothy Smith <tim@mysql.com> Resurrect portversion for what it's worth as a reference code. The problems that kept it from working has been addressed and will hopefully be fixed soon. :) Notes: svn path=/head/; revision=41603
* Say good-bye to portversion. Now we have new pkg_version(1) whichAkinori MUSHA2001-04-101-2/+0
| | | | | | | | | | does handle versions correctly. By the way, I'll have to find a workaround for the ruby's thread vs. libc_r (stdio/malloc) problem exposed by portversion... Hmm. Notes: svn path=/head/; revision=41211
* Update portupgrade to 1.18. Now it comes with portversion, which isAkinori MUSHA2001-03-211-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the Porter's Handbook compliant version of pkg_version with a little bit better performance and better usability. 2001-03-22 06:13 knu * README, portupgrade, misc/zsh/_portupgrade: Add a couple of new options: -A [command to run after each installation] -B [command to run before each build] 2001-03-22 05:49 knu * README, install.rb, portversion, misc/zsh/_portversion: Add portversion. 2001-03-22 05:43 knu * portupgrade: Use make(1) arguments specified with -m for "make -V PKGNAME" too. Ignore the difference of the name parts when it compares the package versions. 2001-03-22 05:36 knu * misc/zsh/_portupgrade: Add a missing closing bracket. Notes: svn path=/head/; revision=40179
* Add portupgrade, a tool to upgrade installed packages with ports.Akinori MUSHA2001-03-171-0/+12
It upgrades ports without reinstalling dependent packages by directly modifying the package info recorded in the files under /var/db/pkg. e.g. portupgrade gtk portupgrade -cC gnome\* It currently has many design flaws (to me at least) but I am releasing this because it's functionally stable enough to use. (I believe.. ;) Use with care, at your own risk. Notes: svn path=/head/; revision=39990