********** This portutil is a sample implementation to request for comments. Please tell me if you have any problems or requests. Before using portutil, place pkgdb_sh to a directory listed in your $PATH and fix all inconsistencies of package database by running "pkgdbsh -Fi" once. If you have already fixed them by pkgdb(portupgrade) command, you can omit this operation. ********** NAME portutil -- lightweight ports/packages management tool for base system SYNOPSIS portutil [command] [options] [[localopts] pkgname]] pkgdb_sh [-afFhiQ] [-s /OLD-dep/NEW-dep/] [-o pkgname=new/origin] COMMANDS Following commands are available for portutil: info Display information about specified ports. build Build specified ports. fetch Fetch distfiles or packages for specified ports. install Install specified ports. deinstall Uninstall specified packages. backup Create packages from specified already installed packages. update Update specified packages from ports. clean Cleanup working directory of specified ports. distclean Cleanup distfiles of specified ports. package Make packages from specified ports. config Update configuration of specified ports. rmconfig Remove configuration of specified ports. OPTIONS If you run portutil without arguments, it displays available options. Almost all of options are compatible with portupgrade(1). DIFFERENCE FROM PORTUPGRADE -w option is enabled by default. -P and -PP options are integrated to -P option. -z option is added. This option prevents from creating backup packages at update. -i option is added to pkgdb_sh command. EXAMPLES portutil update portutil fetch -RP && portutil install -RP pkgdb_sh -Fi BUGS For compatibility with portupgrade(1), -r and -R work in opposite to essential implementation. To suppress this behaviour, add COMPAT_PORTUPGRADE=NO to the "options" file. distclean command of portutil has a problem regarding removal of patch files. pkg_sort command is not implemented yet. -R option of ports_glob command is not implemented yet.