2001-07-30 19:59  knu

	* misc/zsh/_portversion: Synchronize.

2001-07-30 19:56  knu

	* portsdb.rb: Do not immediately fail in error when it finds an
	error in the INDEX file, but skip the line and continue.

2001-07-30 19:55  knu

	* portsdb: Sort options in usage.

2001-07-30 18:38  knu

	* portversion.1: Update.

2001-07-30 18:36  knu

	* portversion: Now that we have portsdb(1) and pkgdepfix(1) with -o
	option, give up running `make -V PKGNAME' for each pkg's origin and
	just utilize the portsdb.  This makes it run several times faster!

2001-07-30 18:33  knu

	* portsdb.1: Update.

2001-07-29 21:53  knu

	* portupgrade.1: Update.

2001-07-29 21:50  knu

	* portupgrade: On an installation failure, restore the rewritten
	dependencies too.

2001-07-27 23:50  knu

	* portupgrade.1: Fix more.

2001-07-27 21:07  knu

	* portupgrade.1: Fix TECHNICAL DETAILS a bit.

2001-07-27 15:35  knu

	* portsdb.1: Remove a nonexistent option from SYNOPSIS.

2001-07-27 04:15  knu

	* pkg_glob.1: Mention that the output list is automatically sorted
	in dependency order.

2001-07-27 04:10  knu

	* install.rb: Fix a bogon.

2001-07-27 04:06  knu

	* install.rb: Install the pkg_deinstall(1) manpage, really.

2001-07-27 03:55  knu

	* README: Mention pkg_glob and pkg_deinstall.

2001-07-27 03:49  knu

	* portupgrade.1: Move the PORTUPGRADE paragraph from FILES to
	ENVIRONMENT.
	
	Add pkg_deinstall(1), pkg_glob(1) and pkg_update(1) to SEE ALSO.

2001-07-27 03:47  knu

	* install.rb: Install pkg_glob, pkg_deinstall and their manpages.

2001-07-27 03:46  knu

	* portversion: Utilize optparse's automatic type conversion.
	
	Rescue ArgumentError properly.

2001-07-27 03:38  knu

	* pkg_deinstall.1, pkg_glob.1: Add manpages for pkg_glob and
	pkg_deinstall.

2001-07-27 03:38  knu

	* misc/zsh/: _pkg_deinstall, _pkg_glob: Add zsh compdef's for
	pkg_glob and pkg_deinstall.

2001-07-27 03:35  knu

	* pkg_glob: New commands: pkg_glob and pkg_deinstall. (in one file)

2001-07-27 03:34  knu

	* misc/zsh/_portupgrade: -a and -r/-R are exclusive.

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 if
	/usr/ports is on a readonly filesystem.  [Requirested by: Makoto
	MATSUSHITA <matusita@jp.freebsd.org>]
	
	Warn and abort the update if PORTS_DBDIR is not writable instead of
	fail in error.

2001-07-03 14:22  knu

	* install.rb: Compress manpages.

2001-06-27 01:51  knu

	* misc/zsh/: _pkgdepfix, _portversion: Make these zsh compdefs
	aware of environment variables.

2001-06-27 01:49  knu

	* pkgdepfix.1, portsdb.1, portversion.1: Supply missing .El's.

2001-06-27 00:04  knu

	* portupgrade.1: Update & supply missing .El's.

2001-06-26 22:00  knu

	* portupgrade: Slightly enhance the behaviors of some options:
	
	  -x/--exclude:
	
	    When -r or -R is specified, exclude the matching packages
	_after_
	    expanding dependent packages.  Now one can upgrade all the
	    packages depending on `foo', not including `foo' by the
	following
	    command:
	
		portupgrade -x foo -r foo
	
	  -B/--beforebuild:
	
	    If the given command exits in failure, then the port/package is
	    skipped.  For instance, one can upgrade all the packages except
	    IS_INTERACTIVE ones by the following command:
	
		portupgrade -aB 'test ! `make -V IS_INTERACTIVE`'

2001-06-22 22:58  knu

	* portupgrade, portversion: More fixes against messages.

2001-06-22 22:39  knu

	* pkgdepfix, portupgrade, portversion: Usages are not warnings.

2001-06-22 21:21  knu

	* pkgdb.rb, portupgrade: Move the dependency sorter to the PkgDB
	class. (PkgDB#sort)

2001-06-22 21:21  knu

	* pkg_glob.sh: Add pkg_glob.sh, an experimental Bourne shell
	implementation of pkg_glob.

2001-06-22 19:35  knu

	* portupgrade: Emit better messages.

2001-06-22 19:32  knu

	* pkgdepfix, portversion: Use warning_message().

2001-06-22 19:25  knu

	* pkgdepfix, portversion: Cosmetic. (pkg.to_s -> pkg.fullname)

2001-06-22 19:24  knu

	* pkgtools.rb: Add warning_message().

2001-06-22 02:41  knu

	* misc/zsh/_portupgrade: Respect PORTSDIR/PKG_DBDIR.
	
	Complete port origins for portinstall and portupgrade -N.

2001-06-22 01:50  knu

	* portupgrade: Detect package name change and emit a warning.

2001-06-22 01:48  knu

	* pkginfo.rb, portsdb.rb: Now Ruby 1.7 has fnmatch out-of-the-box.

2001-06-20 01:31  knu

	* portupgrade: D'oh, fix a wrong message. ("#{newpkgname} is
	already installed" => "#{oldpkgname} is already installed")

2001-06-17 20:40  knu

	* install.rb: Fix an installation problem.
	
	Submitted by:	Jimmy Olgeni <olgeni@FreeBSD.org>

2001-06-17 19:12  knu

	* README: Reword.

2001-06-17 15:49  knu

	* README, install.rb, portupgrade, portupgrade.1,
	misc/zsh/_portupgrade: 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'

2001-06-17 15:38  knu

	* pkgtools.rb: s/Ok/OK/

2001-06-15 18:22  knu

	* tests/test_pkgname.rb: Obsoleted.

2001-06-15 18:22  knu

	* install.rb: Install manpages.

2001-06-15 18:21  knu

	* README: Now that there are manpages, remove detailed usages from
	README.

2001-06-15 18:21  knu

	* portversion: Update the usage instruction.

2001-06-15 18:20  knu

	* portversion.1: Add portversion(1) manpage.

2001-06-15 17:31  knu

	* portupgrade.1: Add portupgrade(1) manpage.

2001-06-15 17:31  knu

	* portsdb.1: Add portsdb(1) manpage.

2001-06-15 17:26  knu

	* pkgtools.rb: Check for PKG_TMPDIR prior to TMPDIR.

2001-06-15 17:25  knu

	* portsdb: Rename --update to --updateindex, --updatedb to
	--update.
	
	Implement a simple lookup feature: glob expansion.

2001-06-15 17:24  knu

	* portupgrade: Update the usage instruction.

2001-06-15 17:21  knu

	* pkgdepfix.1: Add pkgdepfix(1) manpage.

2001-06-15 17:19  knu

	* pkgdepfix: Correct the usage instruction.
	
	Introduce -s option instead of barely putting two arguments.

2001-06-15 12:29  knu

	* portinfo.rb: Make it comparable.

2001-06-15 03:43  knu

	* pkgname.rb: This is no longer needed.  Use PkgInfo instead.

2001-06-15 03:37  knu

	* pkginfo.rb, portinfo.rb: Properly require DB modules.

2001-06-15 03:34  knu

	* pkgtools.rb: Use singleton objects.

2001-06-15 03:34  knu

	* pkgdepfix: Utilize PortsDB#glob.

2001-06-15 03:33  knu

	* portupgrade: Use PkgInfo methods instead of PkgDB methods.

2001-06-15 03:31  knu

	* portsdb.rb: Make it singleton.
	
	Create an indices file in addition to a DBM table file for faster
	search, and make yet more improvements to get it faster.

2001-06-15 03:28  knu

	* pkginfo.rb: Provide some useful methods with the help of the
	singleton PkgDB object.

2001-06-15 03:20  knu

	* pkgdb.rb: Make it singleton.

2001-06-15 03:19  knu

	* portversion: Cleanup.

2001-06-14 16:13  knu

	* portsdb_bdb.rb: Make it a subclass of PortsDBM.

2001-06-14 16:12  knu

	* portsdb_dbm.rb: Copy portsdb.rb to portsdb_dbm.rb.

2001-06-14 15:58  knu

	* portsdb.rb, portsdb_dbm.rb: Show a line number on error.
	
	Add new methods: each_origin(), each_pkgname(), and glob().
	
	Obsolete each_port().

2001-06-14 15:56  knu

	* portinfo.rb: Add a new method: match?().

2001-06-14 15:56  knu

	* pkgdb.rb: Add a shortcut to glob().

2001-06-11 06:05  knu

	* README, portversion: Remvoe -s from portupgrade options in the
	portversion -c output.

2001-06-11 05:34  knu

	* pkgdepfix: Oops.

2001-06-11 05:21  knu

	* README: Describe a bit about portsdb.

2001-06-11 05:13  knu

	* misc/zsh/_pkgdepfix, misc/zsh/_portupgrade, README: Update.

2001-06-11 05:12  knu

	* install.rb: Install portsdb as well.

2001-06-11 05:12  knu

	* 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.

2001-06-11 05:09  knu

	* portversion: Exit on OptionParser::ParseError immediately.

2001-06-11 05:09  knu

	* portsdb: Rescue OptionParser::ParseError.

2001-06-11 05:07  knu

	* pkgdepfix: Implement origin fixer, with intelligent guessing.
	(-o/--fix-origin)
	
	Make pkgdep guessing more intelligent.

2001-06-11 04:41  knu

	* portsdb.rb, portsdb_dbm.rb: Make each iterate a block for each
	PortInfo.

2001-06-11 03:35  knu

	* portversion: Omit an unnecessary error check.

2001-06-11 03:11  knu

	* portversion: Compare arg with dummy using equal?, not ==.

2001-06-11 03:01  knu

	* pkgtools.rb: Rename $yield to $sudo and $yield_args to
	$sudo_args.
	
	Utilize PkgDB#glob('*', false).
	
	Define matchlen().

2001-06-11 02:58  knu

	* pkgdb.rb: Use PkgInfo#match? .

2001-06-11 02:57  knu

	* pkginfo.rb: Add PkgInfo#match?

2001-06-10 16:39  knu

	* pkgdb.rb: Add an option to glob() that makes it return package
	names instead of PkgInfo objects.

2001-06-10 01:52  knu

	* portupgrade: Improve -F.
	
	- Now that portupgrade supported -r/-R, we don't need to call make 
	 fetch-recursive instead of make fetch.
	
	- Specify -DPACKAGE_BUILDING for ports with IS_INTERACTIVE=yes.
	
	  Submitted by: Jimmy Olgeni <olgeni@uli.it>

2001-06-07 12:10  knu

	* pkgdepfix, portupgrade, portversion: Print the usage to stdout
	instead of stderr.

2001-06-07 12:05  knu

	* README, portupgrade, misc/zsh/_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, PKGREPOSITORY and PKGREPOSITORYSUBDIR.

2001-06-07 04:55  knu

	* misc/zsh/_pkgdepfix: Add a zsh compdef for pkgdepfix

2001-06-07 04:52  knu

	* README, portupgrade, misc/zsh/_portupgrade: Implement
	-P/--use-packages.

2001-06-07 03:48  knu

	* portupgrade: Functionalize.

2001-06-07 03:06  knu

	* README: Update

2001-06-07 03:06  knu

	* pkgdepfix: Complete the prompt message.

2001-06-07 03:02  knu

	* pkgdepfix: Add "delete" to the choices as to how to deal with a
	stale dependency.

2001-06-07 02:12  knu

	* install.rb, pkgdepfix, pkgtools.rb, portupgrade: Move common
	functions and global variables to pkgtools.rb.

2001-06-07 00:46  knu

	* portupgrade: Optimize.

2001-06-06 23:45  knu

	* portupgrade: Restructure a bit.

2001-06-06 22:20  knu

	* tsort.rb: Avoid using = in a conditional.

2001-06-06 22:14  knu

	* pkginfo.rb: Complete PkgFileInfo.

2001-06-06 16:43  knu

	* pkgdepfix: Implement automatic guessing.
	
	Add yes-to-all to the choices of yes/no prompt.

2001-06-06 13:19  knu

	* portupgrade: Uh oh, backing up +REQUIRED_BY must have been done
	before pkg_delete.  [Submitted by: SASAKI Katuhiro
	<sahiro@vanilla.freemail.ne.jp>]

2001-06-06 04:59  knu

	* pkgdepfix: Do "stty sane" on interrupt.

2001-06-06 02:28  knu

	* README, install.rb: pkgdepfix is added.

2001-06-06 02:18  knu

	* pkgdepfix: Add pkgdepfix, a tool for fixing /var/db/pkg's @pkgdep
	/ +REQUIRED_BY discrepancies.

2001-06-02 14:13  knu

	* portupgrade: Fix a bug that $make_args and $install_target are
	destroyed during shellwords(). [Reported by: Tadayuki OKADA
	<tadayuki@mediaone.net>]
	
	Show privileged commands when portupgrade is invoked by root as
	well.

2001-06-02 00:11  knu

	* README, portupgrade, misc/zsh/_portupgrade:
	s/priviledge/privilege/g

2001-06-01 21:01  knu

	* portupgrade: Replace pkgdep! with pkgdep.
	
	Check for pkgdep's emptiness.

2001-06-01 20:59  knu

	* pkgdb.rb: Obsolete unneeded pkgdep!.

2001-06-01 20:16  knu

	* portupgrade: Use cp instead of mv -f not to preserve the
	temporary file's owner and group.

2001-06-01 20:00  knu

	* README: Remove version numbers.

2001-06-01 19:59  knu

	* portupgrade: Fix Perlism and stop raising a false alarm.  Zero is
	NOT false, of course!

2001-06-01 18:53  knu

	* README: Update.

2001-06-01 18:51  knu

	* portupgrade: Make sure to make replaced files world readable.

2001-06-01 12:17  knu

	* README: Update.

2001-06-01 12:14  knu

	* portupgrade: Properly detect where pkg_tarup has created a
	tarball.
	
	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.

2001-06-01 12:10  knu

	* pkgdb.rb: No need to recurse @pkgdep search, really.
	
	Submitted by:	Jimmy Olgeni <olgeni@uli.it>

2001-06-01 00:22  knu

	* portupgrade: Fix a critical bug that +CONTENTS are lost when you
	do upgrade as root and TMPDIR and /var/db/pkg are on different
	filesystems.  Sigh...

2001-05-31 14:18  knu

	* README: Update.

2001-05-31 14:18  knu

	* portupgrade: Never yield root priviledges unless -y is specified.

2001-05-31 14:10  knu

	* misc/zsh/_portupgrade: Sync.

2001-05-31 13:56  knu

	* README: Update the version number.

2001-05-31 13:55  knu

	* portupgrade: Fix a typo.

2001-05-31 13:50  knu

	* README: Update the version number.

2001-05-31 13:49  knu

	* portupgrade: More operations need root priviledges.

2001-05-31 12:25  knu

	* README: Revise.

2001-05-31 12:16  knu

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

2001-05-31 11:52  knu

	* portupgrade: Implement -y/--yield which yields root priledges
	where needed.
	
	Implement -Y/--yield-command which specifies the command to yield
	root priledges. (default: sudo)

2001-05-31 11:50  knu

	* tsort.rb: Bring in tsort.rb rev.1.3.

2001-05-30 15:53  knu

	* README: Update.

2001-05-30 15:53  knu

	* 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.

2001-05-30 15:51  knu

	* portversion: Show option errors more gracefully.
	
	Die on signals more gracefully.

2001-05-30 07:59  knu

	* README, portupgrade: Fix a bug when a package does not have
	@pkgdep or +REQUIRED_BY.
	
	Reported by:	Jimmy Olgeni <olgeni@uli.it>

2001-05-30 07:15  knu

	* README: Update versions.

2001-05-30 07:13  knu

	* portupgrade, portversion: Redo the possible Makefile breakage
	report.

2001-05-30 06:48  knu

	* pkgdb.rb: Get glob(PORTNAME) to work again.

2001-05-30 05:48  knu

	* portsdb_bdb.rb: Add an experimental BDB version of portsdb.rb.

2001-05-30 05:45  knu

	* portsdb: Add portsdb. (not to be used yet)

2001-05-30 05:42  knu

	* README: Update the usage.

2001-05-30 05:38  knu

	* portversion: Make cosmetic changes in the usage output.
	
	Make command output optimal by using portupgrade's -s option.
	
	Report possible ports' Makefile breakage.

2001-05-30 04:36  knu

	* misc/zsh/_portupgrade: Add -s and -R, and update -r.

2001-05-30 04:35  knu

	* install.rb: Install tsort.rb too.

2001-05-30 04:35  knu

	* portupgrade: Make cosmetic changes in the usage output.
	
	Add -DBATCH to the `make fetch' commandline to prevent ports from
	dumbly waiting for user input.	[Suggestion by: Jimmy Olgeni
	<olgeni@uli.it>]
	
	Implement -s/--sort and -R/--upward-recursive, and get
	-r/--recursive working for upgrading as well. (Finally I did it!) 
	[Greatly inspired by and partly obtained from: Jimmy Olgeni
	<olgeni@uli.it>]

2001-05-30 04:33  knu

	* tsort.rb: Bring in tsort.rb, a topological sorter class.

2001-05-30 04:12  knu

	* pkgdb.rb: Implement pkgdep() and pkgdep!().
	
	Use Dir::glob() rather than an ugly hack.

2001-05-18 03:15  knu

	* misc/zsh/_portupgrade: Support -r.

2001-05-18 01:24  knu

	* portupgrade: Add -r/--recursive which lets --fetch and --package
	work recursively.  [Inspired by: Jimmy Olgeni <olgeni@uli.it>]

2001-04-21 05:16  knu

	* README: Update usages.

2001-04-21 05:14  knu

	* portversion: Implement -t/--test.
	
	Add BSD-style license notice.
	
	Adjust blank lines in help.

2001-04-21 05:05  knu

	* portupgrade: Define and use MYNAME.

2001-04-19 04:38  knu

	* README, portupgrade: Adjust blank lines in help.

2001-04-19 04:34  knu

	* README: Update portupgrade usage.

2001-04-19 04:34  knu

	* portupgrade: [Forced commit] Show the revision on help (-h).

2001-04-19 04:32  knu

	* portupgrade: Add BSD-style license notice.
	
	Do distclean before each fetch if -c is specified with -F.

2001-04-19 01:14  knu

	* README: Update portupgrade's usage.

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>

2001-03-24 05:23  knu

	* README: Reword to make it clearer.
	
	Submitted by:	David O'Brien <obrien@FreeBSD.org>

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>

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.

2001-03-21 20:51  knu

	* README, portupgrade, misc/zsh/_portupgrade: Add -p option. [make
	package as well when each port is installed]
	
	Sort options in alphabetical order.

2001-03-21 20:50  knu

	* pkgdb.rb: Use Dir.entries(dir).each instead of Dir.glob(dir) so
	it does not hit the just installed packages.

2001-03-18 22:45  knu

	* portupgrade: Fix a bug when the origin of a package is not found.
	
	Submitted by:	Leif Neland <leifn@neland.dk>

2001-03-18 07:56  knu

	* README: Describe portupgrade.

2001-03-18 07:22  knu

	* misc/zsh/_portupgrade: Match with reality. (-d -> -C)

2001-03-18 06:53  knu

	* pkgdb.rb, portupgrade: Fix a bogus bug.  D'oh!  +REQUIRED_BY must
	be read before it is removed!

2001-02-17 02:00  knu

	* pkgname.rb, tests/test_pkgname.rb: Add PkgName class, which was
	repocopied from PkgInfo.

2001-02-15 01:38  knu

	* portupgrade: Show a proper message when the origin for a port is
	unknown.

2001-02-14 21:24  knu

	* portupgrade: Change -d to -C. (--cleanup)
	
	List failed ports when finished.

2001-02-14 05:18  knu

	* portsdb.rb, portsdb_bdb.rb, portsdb_dbm.rb: Make PortsDB
	Enumerable.

2001-02-13 21:53  knu

	* tests/test_pkgdb.rb: I'll have to write tests for pkgdb.rb in the
	future...

2001-02-13 21:51  knu

	* misc/zsh/_portupgrade: Add zsh's compdef file for the portupgrade
	command.

2001-02-13 21:51  knu

	* portupgrade: Add -v (be verbose) and -n (no execute) options.
	
	Show more infomational messages.
	
	Touch only +REQUIRED_BY and +CONTENTS files when fixing the
	dependency.

2001-02-13 21:48  knu

	* install.rb, portinfo.rb, ports.rb, portsdb.rb, portsdb_bdb.rb,
	portsdb_dbm.rb, tests/test_portinfo.rb: Add modules that deal with
	the Ports Collection.

2001-02-13 18:12  knu

	* pkgdb.rb, pkginfo.rb, pkgname.rb: Make some class variables
	constants.

2001-02-13 04:58  knu

	* pkginfo.rb, pkgname.rb: Make it a point to use backquotes for
	%[qrx] notations.

2001-02-13 04:47  knu

	* pkgdb.rb: Define PkgDB::DB_DIR.

2001-02-13 04:31  knu

	* portupgrade: PkgDB#dbdir -> PkgDB#db_dir

2001-02-13 04:30  knu

	* pkgdb.rb: dbdir -> db_dir

2001-02-10 01:11  knu

	* pkgdb.rb: Whoops.  Fix a bogon introduced in the previous commit.

2001-02-09 12:42  knu

	* COPYING, README: Add COPYING and README.

2001-02-09 12:41  knu

	* portupgrade: Do not (re)generate "+REQUIRED_BY" if it's empty.
	
	Submitted by:	Takanori Saneto <sanewo@ba2.so-net.ne.jp>

2001-02-09 12:39  knu

	* pkgdb.rb: Optimize a bit.

2001-02-08 15:55  knu

	* runtest.sh: Add the runtest.sh script which runs unit tests.

2001-02-08 01:15  knu

	* portupgrade: Do not exit when a port fails to build or install.

2001-02-06 07:21  knu

	* install.rb: Add the installer script.

2001-02-06 07:05  knu

	* portupgrade: Fix help.

2001-02-06 05:13  knu

	* portupgrade: Add a note about the pkgname glob to the help
	message.

2001-02-06 04:37  knu

	* portupgrade: Add a new flag -u/--uninstall, which makes it do
	uninstall before doing install.
	
	Do "make reinstall" rather than just "make install".

2001-02-06 04:36  knu

	* pkgdb.rb: Add an instance method required_by().

2001-02-06 03:36  knu

	* portupgrade: Use File.*? instead of including FileTest to use *?.

2001-02-06 03:33  knu

	* portupgrade: Clean up (remove) the old pkg's pkgdir when the
	upgrade is successfully done. (Do nothing when the old pkg's pkgdir
	and the new pkg's are the same)
	
	Add a new flag -c/--cleanbuild, which makes it do clean build for
	each port.
	
	Make the help screen look better.

2001-02-06 03:33  knu

	* pkgdb.rb: Implement instance methods glob(), pkgdir(),
	pkgfiles(), and pkg_*() that correspond to pkgfiles.

2001-02-06 02:33  knu

	* portupgrade: Allow to specify pkgnames using globs.
	
	Add a new flag -d/--clean, which lets portupgrade clean after each
	installation.
	
	Make -i/--interactive act more interactively. (Confirm upon each
	upgrade, etc.)

2001-02-06 02:23  knu

	* pkginfo.rb, pkgname.rb: Obsolete the manual supply of an origin.
	
	Add methods that correspond to pkg_info flags. (plist(), origin(),
	etc.)

2001-02-06 02:10  knu

	* pkgdb.rb: Define constants COMMENT, DESC, CONTENTS, and
	REQUIRED_BY.
	
	Implement instance methods strip(), installed?(), required?(), and
	glob().

2001-02-06 01:07  knu

	* pkg.rb, pkgdb.rb, pkginfo.rb, pkgname.rb, pkgversion.rb,
	portupgrade, tests/test_pkgdb.rb, tests/test_pkginfo.rb,
	tests/test_pkgname.rb, tests/test_pkgversion.rb: Initial revision

2001-02-06 01:07  knu

	* pkg.rb, pkgdb.rb, pkginfo.rb, pkgname.rb, pkgversion.rb,
	portupgrade, tests/test_pkgdb.rb, tests/test_pkginfo.rb,
	tests/test_pkgname.rb, tests/test_pkgversion.rb: Tools for FreeBSD
	ports/packages.

