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.
o Be more graceful with install/deinstall: handle situation
where man/ru_RU.KOI8-R exists prior to installation of this port,
i.e., it cannot be a symlink
o Protect configuration file with perms 0400
This is a followup commit to the following PR
PR: 29024
o PREFIX safeness
o hier(7) police: share/ipa/examples -> share/examples/ipa
o better deinstall:
- remove all pending directories
- more graceful removal of startup files
o deploy BSD_INSTALL_* var where appropriate
PR: 29024
Submitted by: maintainer
o LIB_DEPENDS on gdbm
o Better deinstall handling
o Several port style changes
o Add both WWW and Author tags
PR: 28799
Submitted by: Alec Wolman <wolman@cs.washington.edu>
Approved by: maintainer
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.
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.
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.
log_analysis is a log file analysis engine that extracts relevant
data for any of the recognized log messages and produces a summary
that is much easier to read.
PR: 28711
Submitted by: Pete Fritchman <petef@databits.net>
reading variable sized blocks of data every second. This should be
more efficient.
Suggested & tested by: se
* Add a syntax for excluding CD-ROM drives etc.
Suggested by: des, se, many others...
Manual page updates coming soon.
filesystem.
WARNING: The sole reason why I'm adding this port is to allow me upgrade
gnomeutils port to the latest version. For some very strange reason
this new version requires libext2fs to build. The only thing I know
for sure about e2fsprogs is that it compiles cleanly on 4-STABLE and
5-CURRENT systems - I have not tested it in action. Please use it
with extremal precaution, because due to its low-level nature and
Linux roots it can do Very Bad Things[tm] to your data, set fire
on your house, kill your cat or something else even more horrible. If
someone wants to take over maintainership please feel free to do so.
-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
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'
LSOF now *requires* a populated /usr/src if building on a machine using
devfs (ie, 5-CURRENT). There is no other currently existing way for it
to get the information it needs.
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.)
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.
- Add windowmaker as secondary category
- Add NOPORTDOCS support to Makefile and PLIST
- Update WWW tag inside DESCR
Submitted by: Patrick Li <pat@databits.net>
Approved by: maintainer (timeout after 2 weeks)
after a given time with a given signal. A 'warning' signal
is sent first, then, after a timeout, a 'kill' signal, similar
to the way init(8) operates on shutdown.
WWW: http://ringwraith.online.bg/devel/sys/timelimit/
Author: Peter Pentchev <roam@orbitel.bg>
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.
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.
and pkg_add, don't let setup.sh start the service. The setup script is now
automatically called when not installing in batch mode.
Also, "borrow" better pkg-plist implementation from the vim5 port: it
allows to have @execs at the end of pkg-plist (thanks to O'Brien :-))
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.
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.
With a small disk being 20GB these days, chances are pretty good that
an ailing sector will not be read while still being recoverable by
the drive.
Diskcheck daemon will read disks in the background at a low rate and
that way give the diskdrive a chance to detect and correct soft read
errors before they become hard errors.
Idea by: phk
Written by: ben
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.
* 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.
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.
- update port to version 1.18
- add NOPORTDOCS support to PLIST
- be more minimalistic about patching, move some of the responsability
to CONFIGURE_ARGS
Submitted by: Patrick Li <pat@databits.net>
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.
* man
A search that returns only one match will display a Location: line
instead of going directly to the result.
* shell
On Solaris, the path is not set correctly for commands entered, causing
those outside /usr/sbin:/usr/sbin not to be found.
* mysql
Clicking on a user, host, database, table or column privilege to edit
it brings up the wrong record.
For the full change log, see http://www.webmin.com/webmin/updates.html.
I also removed the WITH_UPDATES option: updates are now installed by
default. The updates filenames have a proper version and revision number,
and when a new update comes out the port should no longer break because of
sudden md5 changes.
The WEBMIN_MODULES section now fits 80 columns.
the one-second sleep between invocations was moved to after the actual
invocation. This sleep could be interrupted by a SIGCHLD in the case
of a failing service, and the service could be restarted way more than
the documented once-per-second. Move the sleep back before the fork(),
just don't sleep before the very first fork, so the service starts faster.
Silence by: Daniel J. Bernstein (no telling if he'll fix this in later
daemontools releases, so I guess we'll have to do it as part
of our port..)
Approved by: nbm (maintainer)
From the change log:
* The module reports the error "The PostgreSQL database on your system is
version , but Webmin only supports versions 6.5 and above". This is often
caused by the shared libraries needed by Postgres not being in Webmin's
shared library path.
See also http://www.webmin.com/webmin/updates.html for previous module
changes.
Also, a cosmetic change: be a bit more verbose when unpacking updated
modules.
PORTREVISION bump, but this will only affect people using the WITH_UPDATES
option.
the ones generated by the Unix ls -l command. For example, a
regular file that is readable by everyone and writable only by its
owner has the mode string -rw-r--r--. Stat::lsMode will either
examine the file and produce the right mode string for you, or you
can pass it the mode that you get back from Perl's stat call.
PR: ports/26847
The line:
for webmin_module in "${WEBMIN_MODULES}"
must be rewritten as:
for webmin_module in ${WEBMIN_MODULES}
else the port will not unpack the update tarball.
This is a very stupid bug by me. Pass the pointy hat :-(
PORTREVISION bump: people using the WITH_UPDATES option should upgrade to
this version of the port. People who do not use WITH_UPDATES and run the
stock webmin release, or update it by hand, are unaffected by this patch.
From the webmin updates page:
* Apache Webserver: if Webmin is used in non-english language mode,
"<Directory>" sections created using this module may be wrongly written
out as something like "<Directorio>".
* Squid Proxy Server: the cache_dir directive is not properly supported in
squid 2.4.
* Users and Groups: passwords for users created or modified from a batch
file are not set correctly.
(see also http://www.webmin.com/webmin/updates.html)
While I'm here, check if a webmin configuration directory already exists at
install time (post-install target): in this case, automatically run the webmin
setup script (it will insert the proper Perl paths in the webmin scripts).
Users who have multiple or different configuration directories will have to
run the script manually, as before.
PORTREVISION bump to advertise the new changes.
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. :)