aboutsummaryrefslogtreecommitdiff
path: root/ports-mgmt
Commit message (Collapse)AuthorAgeFilesLines
* Update to 20010809.Akinori MUSHA2001-08-084-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | pkg_deinstall: - Bring in most of the options of pkg_delete(1). - Add a new option `-P', which preserves shared libraries. - List failed packages if any. - Obsolete GNU style long options, which take space and would only rarely be used. portupgrade: - Make portupgrade use pkg_deinstall instead of pkg_delete, to utilize its -P option. - Now portupgrade always uninstalls old packages, but preserves shared libraries by default. The -u option has been changed to mean "Do not preserve old shared libraries". Note, however, that its behavior is the same as before, it is just the default behavior that has been changed. With this change, portupgrade no longer leaves extra garbage even if you don't specify -u, but only old versions of shared libraries for safety. :) - Utilize $tmpdir properly for pkg_tarup. (previously PKGREPOSITORY was used prior to PKG_TMPDIR or TMPDIR) - Add a notice regarding the disk space for backup files. Since it's my birthday today, I just wish this update doesn't contain terrible bugs.. ;) Notes: svn path=/head/; revision=45990
* Update to 20010802, only a minor update.Akinori MUSHA2001-08-026-4/+12
| | | | | | | | | | | | | | | | 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 20010730 with some enhancements.Akinori MUSHA2001-07-304-4/+4
| | | | | | | | | | | | | | | | | portupgrade: - Make portupgrade a little bit more fail-safe by restoring modified dependency info on installation failure. portversion: - Make portversion refer to the ports database and run several times faster. (!) portsdb: - Do not immediately fail in error when it finds an error in the INDEX file, but skip the line and continue. Notes: svn path=/head/; revision=45619
* Update to 20010727 with a couple of new commands added. (No changesAkinori MUSHA2001-07-268-28/+40
| | | | | | | | | | | | | 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 20010714, a maintenance release.Akinori MUSHA2001-07-144-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | 2001-07-14 17:05 knu * misc/zsh/: _pkgdepfix, _portupgrade, _portversion: Improve zsh compdefs. 2001-07-14 16:40 knu * portupgrade.1: Fix manpage. [Submitted by: Sean Chittenden <sean@chittenden.org>] 2001-07-03 14:26 knu * pkgdepfix.1, portsdb, portsdb.1, portsdb.rb, portupgrade.1: Introduce a new environment variable PORTS_DBDIR, which specifies an alternative ports database directory. This is useful when /usr/ports is on a readonly filesystem. [Requested by: Makoto MATSUSHITA <matusita@jp.freebsd.org>] Warn and abort the update if PORTS_DBDIR is not writable, instead of just failing in error. Notes: svn path=/head/; revision=45115
* Update to 20010627. Enhance the behaviors of some flags:Akinori MUSHA2001-06-264-4/+4
| | | | | | | | | | | | | | | | | | | | | | | -B CMD --beforebuild CMD Run the sapecified command before each build. If the command exits in failure, the port/package will be skipped. Here is some typical uses: portupgrade -B 'cvs update' 'gnome*' portupgrade -aB 'test ! `make -V IS_INTERACTIVE`' -x GLOB --exclude GLOB Exclude packages matching the specified glob pattern. Exclusion is performed after recursing dependency in response to -r and/or -R, which means, for example, the following command will upgrade all the packages depending on XFree86 but leave XFree86 as it is: portupgrade -rx XFree86 XFree86 Notes: svn path=/head/; revision=44470
* Update to 20010622, a maintenance release with better diagnosticAkinori MUSHA2001-06-224-4/+4
| | | | | | | messages. Notes: svn path=/head/; revision=44322
* Whoops, 20010617 had an installation problem.Akinori MUSHA2001-06-174-4/+4
| | | | Notes: svn path=/head/; revision=44102
* Revise pkg-descr.Akinori MUSHA2001-06-172-26/+38
| | | | Notes: svn path=/head/; revision=44095
* Update to 20010617.Akinori MUSHA2001-06-176-4/+8
| | | | | | | | | | | | | | 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 20010615.Akinori MUSHA2001-06-154-4/+16
| | | | | | | | | | | | | This is a maintenance release. - Manpages provided. - Ports DB got faster. - Wording fixed. - New feature added to portsdb(1): you can use it to expand port/pkgname globs. (archivers/p5-*, zsh, gnome*, etc.) Notes: svn path=/head/; revision=44017
* Oops, wrong checksum.Akinori MUSHA2001-06-102-2/+2
| | | | Notes: svn path=/head/; revision=43781
* Update to 20010611, with many changes and enhancements.Akinori MUSHA2001-06-108-8/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Add experimental pkg_version(8)-like functionality.Dag-Erling Smørgrav2001-06-093-59/+124
| | | | Notes: svn path=/head/; revision=43710
* Clarify that portupgrade can do upgrade by means of both the port andAkinori MUSHA2001-06-094-8/+8
| | | | | | | the package. Notes: svn path=/head/; revision=43693
* Change pkg_tarup to ${LOCALBASE}/sbin/pkg_tarup in RUN_DEPENDS.Akinori MUSHA2001-06-092-2/+2
| | | | | | | Found by: bento Notes: svn path=/head/; revision=43676
* Update to 20010607b.Akinori MUSHA2001-06-074-4/+4
| | | | | | | | | | | | | | | portupgrade: - Change the meaning of -P/--use-packages. If specified once, it uses packages whenever available or uses ports. If specified twice, it never try to use ports but only uses packages. - The package directory is now specified via the environment variable, by PKGREPOSITORY and PKGREPOSITORYSUBDIR. Print the usages to stdout instead of stderr. Notes: svn path=/head/; revision=43575
* Update to 20010607.Akinori MUSHA2001-06-066-4/+8
| | | | | | | | | | | | | | 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
* Update to 20010606b.Akinori MUSHA2001-06-064-4/+4
| | | | | | | | | | | | | | | | | pkgdepfix: - Implement automatic guessing. - Add yes-to-all to the choices of yes/no prompt. - Do "stty sane" on interrupt. portupgrade: - Backing up +REQUIRED_BY must have been done before pkg_delete. [Submitted by: SASAKI Katuhiro <sahiro@vanilla.freemail.ne.jp>] Because of the portupgrade bug, portupgrade -u would have broken some of your +REQUIRED_BY files. Please fix them up with pkgdepfix. Notes: svn path=/head/; revision=43554
* From now on I use release dates for this port's version numbers, andAkinori MUSHA2001-06-0510-24/+34
| | | | | | | | | | | 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.42.Akinori MUSHA2001-06-024-6/+6
| | | | | | | | | | | | | I think I have finally fixed the problem some people have seen that it deletes a package registry in some cases! At the same time, -m and -p now works properly again. Those problems were all due to Shellwords::shellwords' destroying its given string. Thanks to Tadayuki OKADA <tadayuki@mediaone.net> for sending me a report that made me realize what the problem was. Notes: svn path=/head/; revision=43428
* De-typo (s/priviledge/privilege/g) with no PORTREVISION bump.Akinori MUSHA2001-06-012-0/+6
| | | | Notes: svn path=/head/; revision=43396
* Update portupgrade to 1.40. A bug with pkgdep has been fixed.Akinori MUSHA2001-06-014-6/+6
| | | | | | | | I'd like to call this a stable release, and take a rest for a while until the next stable release. ;) Notes: svn path=/head/; revision=43388
* Update portupgrade to 1.39.Akinori MUSHA2001-06-014-6/+6
| | | | | | | | * Fix file permissions and owners of replaced files. * Stop raising a false alarm. (which was harmless, though..) Notes: svn path=/head/; revision=43383
* Update portupgrade to 1.36.Akinori MUSHA2001-06-016-32/+6
| | | | | | | | | | | * No need to recurse @pkgdep search, really. * Support the latest pkg_tarup. * Backup +REQUIRED_BY a bit earlier, just in case. * If it fails to copy the new +REQUIRED_BY to the package's dbdir, emit a message and save the file in TMPDIR. Notes: svn path=/head/; revision=43373
* Apply a hotfix against a critical bug that +CONTENTS are lost when youAkinori MUSHA2001-05-314-0/+26
| | | | | | | | do upgrade as root and TMPDIR and /var/db/pkg are on different filesystems. Notes: svn path=/head/; revision=43353
* Update to 1.34. Now it never tries to yield root priviledgesAkinori MUSHA2001-05-314-6/+6
| | | | | | | unless -y is specified. Notes: svn path=/head/; revision=43335
* Update to 1.33. More operations need root priviledges.Akinori MUSHA2001-05-314-6/+6
| | | | Notes: svn path=/head/; revision=43333
* Update portupgrade to 1.31 and portversion to 1.7.Akinori MUSHA2001-05-316-30/+12
| | | | | | | | | | | | | * 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) Notes: svn path=/head/; revision=43331
* Update to portupgrade 1.29.Akinori MUSHA2001-05-304-8/+10
| | | | | | | | | | | | | | | | | portupgrade: - Fix a bug that -s/--sort didn't work. D'oh! - Make -u/--uninstall fail-safe. It backs up old installations with the help of pkg_tarup and restores on installation failure. - Show option errors more gracefully. - Die on signals more gracefully. portversion: - Show option errors more gracefully. - Die on signals more gracefully. Notes: svn path=/head/; revision=43301
* Update to 1.28 which fixes a bug when a package does not have @pkgdepAkinori MUSHA2001-05-294-6/+6
| | | | | | | | | | | or +REQUIRED_BY. Reported by: Jimmy Olgeni <olgeni@uli.it> I'll debug harder next time. Sorry for this. :( Notes: svn path=/head/; revision=43293
* Update to portupgrade 1.27.Akinori MUSHA2001-05-296-98/+6
| | | | | | | | Everything should now be fine while bug reports and thoughtful suggestions are always welcome. Notes: svn path=/head/; revision=43292
* Apply a hotfix to fix a couple of bugs/misfeatures.Akinori MUSHA2001-05-294-0/+92
| | | | Notes: svn path=/head/; revision=43291
* Update portupgrade to 1.26 and portversion to 1.4.Akinori MUSHA2001-05-296-6/+8
| | | | | | | | | | | | | | | | | | | | 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-182-2/+4
| | | | | | | Submitted by: Jimmy Olgeni <olgeni@FreeBSD.org> Notes: svn path=/head/; revision=42703
* Update to 1.25.Akinori MUSHA2001-05-174-6/+6
| | | | Notes: svn path=/head/; revision=42681
* Change the order in which we check out the ports root and index to workDag-Erling Smørgrav2001-05-162-11/+20
| | | | | | | | | around a CVS bug. Also add some missing options to usage() and help() and alphabetize them properly, and show the usage string if no arguments were specified on the command line. Notes: svn path=/head/; revision=42632
* Notate more detailed functionarity of this script.SADA Kenji2001-04-241-1/+17
| | | | | | | Approved by: maintainer Notes: svn path=/head/; revision=41869
* - minor update of the script.SADA Kenji2001-04-233-11/+45
| | | | | | | | | | | - import script file into port skeleton. - change maintainer's mail address. PR: ports/26762 Submitted by: maintainer Notes: svn path=/head/; revision=41835
* Update to 1.23.Akinori MUSHA2001-04-184-6/+6
| | | | | | | | | - Add BSD-style license notice. - Show the revision on help (-h). - Do distclean before each fetch if -c is specified with -F. Notes: svn path=/head/; revision=41658
* Update to 1.20.Akinori MUSHA2001-04-176-20/+10
| | | | | | | | | | | | | | | | | | | | | | | | | 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
* Get rid of the mention of portversion in pkg-descr.Akinori MUSHA2001-04-102-6/+0
| | | | Notes: svn path=/head/; revision=41212
* Say good-bye to portversion. Now we have new pkg_version(1) whichAkinori MUSHA2001-04-104-4/+14
| | | | | | | | | | 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
* Forgot to update porteasy's idea of its own version number.Dag-Erling Smørgrav2001-04-052-1/+2
| | | | | | | Notices by: <jbg@verloid.net> Notes: svn path=/head/; revision=40883
* Overhaul QT/KDE support:Will Andrews2001-04-031-1/+1
| | | | | | | | | | | | | | | | | | | | | - bsd.port.mk update to use bsd.kde.mk for USE_{QT,KDE}* - Cleanup corresponding ports for bsd.kde.mk update. - Fix bsd.kde.mk: use correct kdelibs dependency, put qt at the bottom, introduce QT_NONSTANDARD variable for nonstandard configure setup. - Update KDE2 to 2.1.1. Two patches included in x11/kdelibs2 to fix the proxy authentication that was broken for 2.1.1. Remove old patches. - Potentially fix kdelibs build for alpha. - Fix qt-designer 2.3.0 build. - Ruby stuff left alone since it looks like black magic to me. Should still work w/ compat shims for older USE_QT[,2] style. Some others were also left alone for the same reason. Reviewed by: portmgr, ports (bsd.kde.mk+bsd.port.mk) Submitted by: David Faure <faure@kde.org> (proxy auth patches) Alex Zepeda <garbanzo@kde.org> (old patches removal) Notes: svn path=/head/; revision=40792
* Reword pkg-comment and pkg-descr to make it clearer. (README will beAkinori MUSHA2001-03-234-10/+10
| | | | | | | | | fixed in the next release) Submitted by: obrien Notes: svn path=/head/; revision=40287
* Update to 1.19.Akinori MUSHA2001-03-224-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-23 04:08 knu * portupgrade: Change the timing of the invocation of the beforebuild command so that "portupgrade -B'cvs update' foo" works. Reported by: Ollivier Robert <roberto@eurocontrol.fr> 2001-03-23 04:06 knu * portversion: Fix the implication of a '*'. (portversion -v did nothing ;) Reported by: Tadayuki OKADA <tadayuki.okada@windriver.com> 2001-03-23 04:04 knu * pkgdb.rb: Skip packages with illegal names showing an informative message rather than dying of an error. Reported by: Ollivier Robert <roberto@eurocontrol.fr> Notes: svn path=/head/; revision=40217
* Update portupgrade to 1.18. Now it comes with portversion, which isAkinori MUSHA2001-03-218-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Update to 1.16.Akinori MUSHA2001-03-214-6/+6
| | | | | | | | | | | - Use Dir.entries(dir).each instead of Dir.glob(dir) so it does not hit the just installed packages. - Add -p option. [make package as well when each port is installed] (Requested by: Ollivier Robert <roberto@eurocontrol.fr>) - Sort options in alphabetical order. Notes: svn path=/head/; revision=40154
* Bring in the enhancements I submitted to mharo some time ago and bumpAkinori MUSHA2001-03-202-17/+48
| | | | | | | | | | | | | | | the version to 2.3.2. - Add checks for empty files, empty directories, core files, more possible backup files, dotfiles, symlinks and CVS directories. - Do not assume PATCHDIR always includes "/files/". Use the best method to check whether a file is added to @checker as a patch file. - Some trivial message style fixes. Notes: svn path=/head/; revision=40122