portsdb(3):
- Fix the EXTRA_CATEGORIES support that was broken in recent updates.
PR: ports/35319
Submitted by: Ryan Davis <ryand-bsd@zenspider.com>
pkgtools.conf(5):
- Add a note that a user must run portsdb -Ufu to reflect values of
EXTRA_CATEGORIES and IGNORE_CATEGORIES.
For the victims of the above bug, please run "portsdb -qu" and then
"portupgrade -q portupgrade".
20020225.
- Clarify that portupgrade -O is disregarded if -r or -R is given.
- Reflect the fact that INDEX.rbo no longer exists.
- Document portsdb(1) better regarding PORTS_DBDIR.
- Merge INDEX.rbo into INDEX.db, and remove INDEX.rbo on portsdb
rebuild if it exists.
- Reduce the size of INDEX.db by half. :)
- Introduce PORTS_DBDRIVER and allow specifying a db driver for the
portsdb (INDEX.db), and switch the default portsdb driver from
db1.85 hash to db1.85 btree.
actually work.
Submitted by: MikeM <MyRaQ@mgm51.com>
Add dependency on security/p5-Authen-PAM, and change BUILD_DEPENDS to
RUN_DEPENDS (perl modules are needed at runtime too...).
Add proper return codes to the startup script.
- Fix a bug where it referenced the obsoleted PortsDB::PORTS_DIR.
- Depend on ruby-bdb1 and make bdb1_btree (db 1.85 btree) the default
pkgdb driver/format. This probably fixes the problem where pkgdb is
unexpectedly broken and rebuilt from scratch.
- Support pkgdb driver fallback. (bdb -> bdb1 -> dbm)
- Show the pkgdb driver (format) on updating/rebuilding.
- Reflect environment variables defined in pkgtools.conf properly.
(Now ENV['PORTS_DBDIR'] is reflected properly)
Reported by: Mori Kouji <mori@tri.asanuma.co.jp>
pkg_sort(1), portupgrade(1):
- Sort packages by build-time dependencies in addition to run-time
dependencies. This slightly slows sorting down but offers faultless
upgrading.
Inspired by: ade
portcvsweb(1):
- Accept a pkgname_glob, a portorigin_glob, and a cvs module alias.
portcvsweb bash-1\*
portcvsweb portupgrade
portcvsweb \*/fd
protcvsweb sys/i386/conf
etc. etc...
- Suppress ident(1)'s error message.
- Add -h, -q and -v.
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
pkgdb(1):
- Set the default answer to no when a score is under 80%.
pkgdb(1), portupgrade(1):
- Add a BUGS entry to each of the two man pages to note that a user
must run pkgdb -fu to rebuild a corrupt pkgdb.
pkgdb(3):
- Add a silly workaround against a possible bug of the dbm module to
keep a pkgdb from getting insane and rebuilt.
- [exp.] Add a knob environment variable PKG_DBDRIVER to specify an
alternative binary database format for pkgdb. The available options
are:
"bdb_btree":
DB 3.x/4.x B+tree; requires databases/ruby-bdb.
"bdb_hash" or just "bdb":
DB 3.x/4.x hash; requires databases/ruby-bdb.
"bdb1_btree" or just "btree":
DB 1.85 B+tree; requires databases/ruby-bdb1.
"bdb1_hash", or just "bdb1" or "hash":
DB 1.85 hash; requires databases/ruby-bdb1. This should be
equivalent to the default except some tuning parameters, but
it is quite possible that ruby-bdb1 is stabler than the
standard dbm module included in ruby.
default:
DB 1.85 hash; uses ruby's standard dbm module.
In principle, a B+tree database is faster to store data, a little
bit slower to extract data, and takes more space than a hash
database.
This is still an experimental/undocumented feature only for those
interested, although I don't believe it brings any unstability.
Note that you can always run pkgdb -fu to rebuild a database.
portcvsweb(1):
- Invoke browsers with system() instead of exec() so that it will
properly try every browser in turn - exec('/bin/sh', '-c', '..') may
cause an error within /bin/sh but it never returns.
Reported by: Jimmy Olgeni <olgeni@FreeBSD.org>
portsclean(1):
- Make portsclean -D remove empty directories (recursively) as well.
* Update the MSC theme.
* Stop the webmin service when the port is deinstalled, and restart it
properly when it is update (if BATCH is set then nothing happens, so
sysinstall will be happy at install time). Also, fix a $BATCH -> ${BATCH}
error in Makefile.
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.
the ECHO macro is set to "echo" by default, but it is set to "true" if
make(1) is invoked with the -s option while ECHO_CMD is always set to
the echo command.
script; that is, add 'start|stop' argument processing and
the ability to actually stop the script.
Bump PORTREVISION to indicate a functionality change - or rather,
to indicate a change that actually makes this a FreeBSD port..
Final push by: Dan Langille <dan@langille.org> in a somewhat
unrelated e-mail exchange
Obtained from: a svscan SysV init script that I somehow managed
to lose the source and URL for :(
pkg_which database. (The first stage was 'portsclean -L'.)
Hopefully these tools will support divided/obsoleted/renamed ports
some way in the not-too-distant future..
pkgdb(1):
- Make pkgdb(1) -F provide a user an option to unregister stale
packages, in addition to deinstalling them.
- Reword: 'remove a package record' -> 'unregister a package', etc. .
pkg_deinstall(1):
- Add a new option:
-c, --collate
Check if any of the installed files of each package have been
overwritten by other packages, and do not deinstall if any.
pkg_which(1):
- Make pkg_which(1) capable of showing multiple file owner packages.
- Add a new option:
-c/--collate PKGNAME
Show files installed by the given packge that have been
overwritten by other packages.
- Strip -c/-o's argument of PKG_DBDIR and a trailing slash.
- Be less verbose unless -v is given.
pkgdb(3):
- Record and handle files that are installed by multiple packages.
- Bump the DB version.
- Squeeze series of slashes seen in the output of 'pkg_info -L'.
- Show the reason for rebuilding a package database.
pkgdb(1):
- When pkgdb(1) finds a package with a non-existent or missing origin
which is not required by any other package, ask the user if the
package should be deinstalled. This will help users delete
obsoleted packages.
pkg_fetch(1):
- Fix the pkg_fetch(1) man page: PKG_PATH should read PKG_SITES...
After upgrading ruby and portupgrade, try running pkgdb -F to see if
it suggests deinstalling ruby-uri (which has been obsoleted).
included in the standard distribution of ruby. (both 1.6 and 1.7)
Bump PORTREVISIONs of dependent ports for those who don't use
portupgrade/pkgdb which can handle stale package dependencies.
sent to a directory that's writeable by user uucp. I generally configure
this manually myself when I install nut, and since there are so many
other things that need manual configuration, I never thought it was
a big deal. However, a user pointed out that it'd be nice if the thing
(well, at least this part of the thing) worked more or less out of
the box, so here you go.
This change adds a /var/db/nut directory that is owned by user uucp.
Fix a silly bug in the last version where portupgrade doesn't upgrade
packages which requisite packages don't need upgrading. Probably you
need to reinstall this port manually.
PR: ports/33946
Submitted by: Vivek Khera <khera@kciLink.com>
- Distinguish "ignored" from "skipped", and only report ignored
packages when -v/--verbose is specified. (This reduces loads of "No
need to upgrade ..." messages that you see when you run portupgrade
-a, etc.)
Point taken from: Quincey Koziol <koziol@ncsa.uiuc.edu>
- Embrace the bsd.*.mk changes in CURRENT and stop files from getting
installed into /.
Problem noted by: Brooks Davis <brooks@FreeBSD.org>,
Anders Andersson <anders@hack.org>
For recent CURRENT users, please manually remove /_* and /*.rb files
that should have been accidentally installed by bsd.prog.mk.
last release.
portsclean(1):
- -C/--workclean: Support the case where the ports directory is a
symlink.
portupgrade(1):
- Alter the "skip" message for originless packages.
pkgdb(3):
- When a dependency sanity check fails, suggest specifying -O as the
alternative to running pkgdb -F.
overall:
- Make more grammar/wording fixes.
- Move all stuff specific to kde core ports to x11/kde2/Makefile.kde.
+ Default to compile optimized for speed, not debugging, in ports
builds, not just packages. We don't really get that many backtraces
or debugging information, and there's a better way to provide these
things to people willing to spend some time working on KDE. It's
at (as announced before): http://freebsd.kde.org/.
- Remove teTeX dependency for kdegraphics2 upon request, and being unable
to find any reason not to. Apparently, kdegraphics still compiles
libkdvi and kdvi -- I guess dvips is merely a runtime dependency.
Therefore to enable its use one just needs to add the teTeX package.
Bump PORTREVISION to reflect dependency change.
- Fix koffice port by removing PYTHON_VERSION, which is unnecessary.
PR: 33650 (part of)
Submitted by: John Merryweather Cooper <jmcoopr@johncoop.MSHOME.bmi.net>
Reviewed by: kde-freebsd@lists.csociety.org (teTeX dep removal, and
optimizing for speed, not debugging capability)
--enable-debug and turn off stripping of binaries so we actually get all
the debugging we're supposed to get. :)
Submitted by: Alan Eldridge <alane@geeksrus.net>
- USE_AUTO* -> USE_AUTO*_VER=* where required
- USE_AUTO* / *_DEPENDS=.*auto*:*/devel/auto* -> GNU_CONFIGURE where OK
- Other minor changes to fix things
These changes should be no-ops with the current bsd.port.mk, but will
assist in preparing for the next generation of USE_AUTO*.
Submitted by: bento 4-exp USE_AUTO* cleanups
http://people.FreeBSD.org/~will/4-exp/http://bento.FreeBSD.org/errorlogs/4-exp-latest/
- Fix a couple of undefined method errors introduced in the last
version.
Reported by: roberto, jan grant <jan.grant@bristol.ac.uk>
PR: ports/33478
portsclean(1), portupgrade(1), portversion(1):
- Apply English grammar fixes.
Submitted by: David Bogen <db@bogen.org> (Thanks a lot!)
pkgtools.conf(5):
- Introduce new configuration variables: BEFOREBUILD and
AFTERINSTALL.
Requested by: Gabriel Ambuehl <gabriel_ambuehl@buz.ch>
- New utility functions localbase() and x11base() are now available.
pkgdb(1):
- Add some progress messages.
pkg_deinstall(1):
- Do not try to backup a nonexistent file.
portupgrade(1):
- Always run afterinstall commands as root.
- Show beforebuild/afterinstall commands to run.
- Do not try to restore a +REQUIRED_BY file that's empty.
overall:
- Do not call stty(1) if stdin is not a terminal.
- Fix a bug where portupgrade(1) and pkgdb(1) fail to do a
substitution over a large file.
Reported by: asmodai
Seriously, this removes a warning when the 'list' command was invoked
(either by -L or -c list) and penv could not change to its envdir.
This is especially useful if penv is used as a make(1) environment
processor, as described in my message to -arch today. The previous
versions would complain loudly about nonexistent envdirs for e.g. all
the build, lib and run dependencies.
Happy holidays!
Initialy reported by: Valentin Zahariev <curly@e-card.bg>
Long disregarded by: myself, as merely an annoyance, before
the actual development of the make(1) envproc code,
when it became a *big* noisy annoyance :)
portupgrade:
- Do not invoke sudo if a command is already run as root.
Suggested by: Will Andrews <will@csociety.org>
- Fix a bug where the port that's built first is built with wrong make
arguments.
Reported by: Ollivier Robert <roberto@eurocontrol.fr>
- Add a note that ^Z doesn't work to the BUGS section of the man page.
pkgdb & portupgrade:
- Ignore any empty lines in +REQUIRED_BY.
- Speed up dealing with a big file.
- Chase a recent Ruby 1.7.x change so they don't produce superfluous
empty lines.
pkg_fetch & portupgrade:
- Make these commands more verbose even if -v/--verbose is not given,
so that one can see what is going on.
Requested by: Alfred Perlstein <bright@mu.org>
pkg_sort:
- Make this command actually work.
pkgtools.conf:
- Fix a typo in comment.
Submitted by: Gregory Neil Shapiro <gshapiro@gshapiro.net>
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.
make sure that the "autoconf" and "automake" binaries KDE looked for were
found and were autoconf213 and automake14 (as there are issues with the
latest versions), but the logic in setting $PATH was wrong. This puts
${WRKSRC}/auto-bin before the rest of the users $PATH. This fixes KDE
auto* problems if automake14 and automake-1.5 are both installed.
PR: 32512
Submitted by: Alan Eldridge <alane@geeksrus.net>
Approved by: will
* General:
- Support for objprelink.
- Hack for autoconf 2.13/automake 1.4. Note that we can't use
the standard USE_AUTO* because they change things in work/*;
KDE has its own way of doing that.
- Light cleanup of extra dirs in the PLISTs provided by
my mkplistpkg[1] script.
- Speedups of both compile and runtime through the usage of
--disable-debug and --enable-final. The latter did not work
with the kdemultimedia package, unfortunately.
- Patch updates.
* audio/kdemultimedia2:
- Patch to fix KSCD on FreeBSD[2]. It works very well now.
* deskutils/kdepim:
- Enable kpilot[3]. Pull in the latest pilot-link stuff.
* devel/kdesdk,
* devel/kdevelop:
- No specific changes.
* devel/qt-designer:
- Make this port depend almost entirely on qt23 to make it more
maintainable, so I don't have to keep hacking the patches to
get them to apply.
* editors/koffice,
* games/kdegames,
* graphics/kdegraphics:
- No specific changes.
* misc/kdeaddons:
- SDL is required now. Cull SDL PLIST_SUB and such.
- Fix breakage from hardcoding "sdl-config".
* misc/kdeutils2:
- Fix problem with klaptopdaemon[4] where it didn't properly
display the battery time. This patch is untested, but applied.
* net/kdenetwork2:
- Fix DCC for KSIRC[5].
- Remove ktalkd from the build. It requires some weird thing
in the configure script that I don't have time to look at.
* sysutils/kdeadmin:
- No specific changes.
* textproc/kdoc:
- Remove bogus requirement that kdoc requires Perl 5.6.0; it sure
seems to operate fine with >= 5.005. But I'll let time tell.
* www/quanta:
- No specific changes (--disable-debug support only).
* x11/kde2:
- No specific changes.
* x11/kdebase2:
- Fix ksysguard compile by merging the files from the HEAD branch
of KDE CVS that were missing at release time for FreeBSD[6]. :\
* x11/kdelibs2:
- Recognize CUPS' spinoff[7].
- Add libxslt dependency since it was removed from kdelibs.
- Fix libxml compile problems[8] (accomplished by upgrading).
- Remove libkformula from port Makefile; this library has been
spun off into koffice.
- Fix mode problems with DCOP[9]. This allows you to save files
properly. It also seems to be a FreeBSD specific problem.
- Fix bashisms in kdeprint/imagetops script[10].
* x11-clocks/kdetoys2:
- No specific changes.
* x11-toolkits/qt23:
- Do NOT upgrade to QT 2.3.2[11].
- Allow devel/qt-designer to depend on this port entirely for the
patches by adding a perlre to accomplish this.
* x11-wm/kdeartwork:
- No specific changes.
Thanks to the FreeBSD/KDE[1] team[12] who helped me test these out!
[1] http://freebsd.kde.org/;
http://www.databits.net/cgi-bin/cvsweb.cgi/scripts/portbuild/mkplistpkg
[2] Submitted by: Matthew Holmes <matt@speakeasy.net>
[3] PR: 31914
Submitted by: Alan Eldridge <alane@geeksrus.net>
[4] PR: 28475
Submitted by: Arun Sharma <arun@sharmas.dhs.org>
[5] Submitted by: Luc Morin <luc_m@videotron.ca>
[6] Found at: http://webcvs.kde.org/kdebase/ksysguard/ksysguardd/FreeBSD/
[7] PR: 32321
Reported by: gad
Submitted by: James A. Halstead <jah4007@cs.rit.edu>
[8] PR: 32055
Reported by: William Richard <wrichard@trivalley.com>, others
[9] PR: 31629
Submitted by: Alan Eldridge <alane@geeksrus.net>
[10] PR: 32358
Submitted by: Alexander N. Kabaev <ak03@gte.com>
[11] PR: 31809
Requested by: Nathan Ahlstrom <nrahlstr@winternet.com> (denied)
[12] http://freebsd.kde.org/contact.shtml;
http://lists.csociety.org/pipermail/kde-freebsd;
http://lists.csociety.org/listinfo/kde-freebsd
overall:
- Perform better checks on pkgname and origin.
- Deprecate the use of PKGREPOSITORY and PKGREPOSITORYSUBDIR. Use
PACKAGES for PKGREPOSITORY and hardcode 'All'.
pkg_deinstall:
- -P/--preserve: Only preserve shared libraries with version numbers.
Keeping *.so files may be harmful because it allows ld to pick them
up and produce new binaries linked with the libraries of removed
packages. It is enough to only preserve *.so.* files to retain
compatibility.
portsclean:
- -P/--pkgclean: Clean dead symlinks as well.
- Fix the manpage: supply missing words.
portupgrade:
- Detect NO_LATEST_LINK and LATEST_LINK and use them to determine the
name of the latest package to fetch.
pkgdb:
- Improve the score computer. Try not to suggest a stupid guess. ;)
pkg_fetch, pkg_glob, pkg_sort, pkgdb, portsdb, portversion:
- Do not show help twice when -h/--help is given.
Reported by: Masami Kobayashi <masami@tncc.jp>
pkgtools.conf:
- Explain how to use EXTRA_CATEGORIES.
and bugs seen in other port. Because we don't really test as much as we would
like, this gets entered as a new port so the old software is still easily
available.