error when such configuration variable as MAKE_ARGS, typically
BEFORE_DEINSTALL is not defined.
Reported by: krion, Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
*** NOTE ***
The preferences file format has changed, as have the periodic.conf(5) names.
Normally the default settings should be adequate, except when you need to
configure a proxy. Use $PREFIX/etc/portaudit.conf.sample as an example.
- moved portaudit to sbin
- clean up, merging stuff into the portaudit script
- better return codes and errors to stderr
- -f can check stdin now
- dropped ports tree auditing
- merged the periodic(8) scripts into one
- run daily auditing as `nobody'
portupgrade:
- Make -PP/--use-packages-only work better, just as I originally
intended. Now packages are correctly identified using
pkg_info(1), "LATEST_LINK" files are also properly detected.
Related informational messages have also been improved.
It turned out that the LATEST_LINK/NO_LATEST_LINK detection was
broken long ago and hasn't been working for long.
pkg_fetch(1):
- Properly rename a "latest link" file with a full package name with
version part.
pkgtools.conf(5):
- Improve and unify the method for pattern matching in MAKE_ARGS,
BEFOREBUILD, BEFOREDEINSTALL and AFTERINSTALL variables.
This should fix some cases where it looks like MAKE_ARGS entries
are ignored.
* Fix a typo in the libtool archive hint [1]
* Check for ports that have a poorly specified CONFLICTS line as well as ports
that conflict with themselves [2]
* Check for proper handling of gconf schemas
* Check for explicit listing of %gconf keys in the plist
Spotted by: lofi [1]
Submitted by: eik [2]
If you want to know which ports match '{,??-}apache{,-*}<2.*', do
/usr/local/sbin/pkg_version -T - '{,??-}apache{,-*}<2.*' < /usr/ports/INDEX | awk -F\| '{print$1}'
* Fix a bug introduced in the "use strict" conversion, and don't check patch
files for trailing blank lines
* Add a check to make sure pkg-config files are installed into the correct
location [1]
* Fix some nearby spacing nits
Requested by: pav [1]
ports tree. It also features a file `database/portaudit.txt'
where UUIDs for vulnerabilities can be allocated quickly
before they are moved to the VuXML database.
Call `packaudit' after upgrading your ports tree.
* Remove check for SIZE and MD5 in distinfo since this was a rush job, and
missed some common cases. [1]
* Re-enable use strict, and fix portlint to obey it
Requested by: eik [1]
* Add a generic check for deprecated macros (e.g. the recent autotools batch),
and add USE_MESA to the set [1]
* Only use USE_LIBTOOL_VER for checking .la file installation [1]
* Add a check for USE_LIBLTDL and warn about directly using a libltdl
dependency [1]
* Check distinfo to make sure each file in DISTFILES has SIZE and MD5 entries
if NO_SIZE and NO_CHECKSUM are not defined
Submitted by: krion and tobez [1]
* Do not complain about SIZE if NO_SIZE is set [1]
* Allow ``%%PORTDOCS%%@unexec rmdir %D/%%DOCSDIR%% 2>/dev/null || true'' in
pkg-plist when using PORTDOCS
* Be a little smarter about complaining when .la files are seen in the plist.
Also, point users to the GNOME site for elimintating .la files altogether [2]
* Super-scrub PKGNAME and PORTVERSION for illegal characters [3]
* Check for port versions that go backwards [3]
PR: 66891 [2]
Submitted by: krion [1]
leeym [2] (based on)
eik [3]
overall:
- Update Copyright years.
- Apply massive message improvement. (I hope..)
pkgtools.conf(5):
- pkg_site_mirror(): Use pointyhat.FreeBSD.org instead of bento and
beta.
portupgrade(1):
- Indicate some pieces of information on what is going on in the
process title.
portversion(1):
- Make a generated script (with -c) accept additional arguments for
portupgrade(1).
Collection. One is targeted to the audience of people who wish to
install ports from source and then maintain their system; the other,
more specialized, is intended for ports authors.
These might be good candidates for a "start here" reference for those
new to the ports collection and port maintenance. They might also serve
to introduce more people to fastest-cvsup, pkg_cutleaves, libchk, and
porttools, which IMHO would be A Good Thing.
PR: ports/65161
Special strings parsed that way are pl, alpha, beta, pre and rc.
Affected ports:
- databases/sybtcl sybtcl-3.0rc2
- graphics/linux-bmrt linux-bmrt-2.6beta
- net/py-ldap2 py23-ldap2-2.0.0pre21
(add parameter '-L': treat exclude file as a list of files
that *should* be installed and report deviations from that
list; patch sent by Bob Van Valzah <Bob@VanValzah.Com>)
PR: ports/66734
Submitted by: maintainer
- add support for 4.10-release
Now
/usr/local/sbin/pkg_add -r openldap21-client
should work on all FreeBSD versions
- FWIIW, fix pkg_sign -t sha1 (PR 66354)
* Add a check to see if PLIST_{FILES,DIRS} is defined and pkg-plist exists.
If so, print an error [1]
* Add a check for direct usage of iconv.\d+ and intl.\d+ instead of USE_ICONV
and USE_GETTEXT [1]
* If %%DOCSDIR%% is used in the plist, make sure @dirrm %%DOCSDIR%% is also
present [1]
* Don't flag a missing distinfo as FATAL [2]
Submitted by: krion [1]
eik [2]
* Add local patches to cause pkg_add to spawn itself correctly when installing
dependent packages. Previously, it would always spawn /usr/sbin/pkg_add.
- use passive ftp by default, don't retry on failure [1]
- add a -C flag, portlint style
- don't keep databases that are tool old [2]
Requested by: hubs [1]
Noticed by: Nicolas Rachinsky <nicolas@rachinsky.de> [2]
* Add some additional checks for USE_* variables included too late [1]
* Add a check for SIZE in distinfo [2]
* Fix a small style nit [2]
* Warn is USE_SIZE is used in a port's Makefile
* Check to see if a port supports WITHOUT_NLS if USE_GETTEXT is defined [3]
Submitted by: eik [1]
krion [2]
Requested by: kris [3]
- Ignore padded 0's in version comparison.
This fixes a bug 2.00 being wrongly regarded as equal to 2.0.2.
- Show a summary of how many packages were upgraded, ignored, skipped
and failed after listing results.
Requested by: netchild
* Add code for formal master/slave checking rules as defined in ports/64393 [1]:
1. A port is a slave port if and only if MASTERDIR != .CURDIR
2. Slave ports should define MASTERDIR using one of the following lines:
MASTERDIR= ${.CURDIR}/../../<category>/<port>
MASTERDIR= ${.CURDIR}/../<port>
3. Non-slave ports shouldn't define MASTERDIR at all
4. The last line of a slave port's Makefile has to be
.include "${MASTERDIR}/Makefile"
5. The last line of a non-slave ports Makefile must be one of:
.include <bsd.port.mk>
.include <bsd.port.post.mk>
6. slave ports may not include bsd.port(.pre).mk
* Check to make sure MACHINE_ARCH is not defined and make sure it is never
tested directly [2]
* Fix some grammar nits [3]
PR: 64420 [1]
Submitted by: eik [1]
krion [3]
Requested by: kris [2]
Since we are using the official VuXML database
the auditing should be pretty complete.
- mention web page
- add more mirrors, disabling .ru mirror (too much lag)
- allow combined options in portaudit shell script
- add sample configuration file
- use absolute paths for binaries, to ease use in crontab scripts [1]
- correct type in man page [2]
PR: 64005 [2]
Submitted by: Tomasz Pilat <poncki@axelspringer.com.pl> [1]
Nathan Dove <njdove@wafer.sandia.gov> [2]
* Add dirname and egrep direct command use checks
* Add a missing '?' in checking for text after bsd.port(.post)?.mk [1]
* Add a check to make sure OPTIONS is set before bsd.port.pre.mk
Submitted by: eik [1]
- new command line tool
- new man page
- reworked database update code, incorporating feedback from
Max Khon <fjoe>, Radim Kolar <hsn@netmag.cz> (PR 63066) and
Ion-Mihai Tetcu <itetcu@apropo.ro> (PR 62655)
two databases cause more confusion than it is worth.
portaudit uses ports/security/vuxml/vuln.xml in the meantime,
please commit your changes there and send feedback wich format
you prefer.
Currently we have to migrate gnats, mailman, monkey and some
apache versions.
- provide a dummy exclusion pattern if the exclude file exists but
doesn't contain any patterns (Yen-Ming Lee <leeym@FreeBSD.org>)
- progress status display for interactive phase, too
- minor code cleanups, improved comments/docs
PR: ports/62539
Submitted by: Stefan Walter <sw@gegenunendlich.de> (author)
This is a package to test FreeBSD port auditing systems, e.g. portaudit
and the upcoming VuXML based system. Even though it installs no files,
it is listed in the portaudit database as vulnerable.
Kind of a EICAR-STANDARD-ANTIVIRUS-TEST-FILE
of FreeBSD ports and tools to check if installed ports are listed.
Since this is a prerelease version, it is mostly usable for
committers that want to contribute to the project, and can currently
not be relied upon as an extensive security auditing tool.
* Fix some grammar nits in portlint.1
* Add some missing options to the summary in portlint.1
* Reorganize some option descriptions in portlint.1
* Add an ENVIRONMENT section describing PL_CVS_IGNORE and PORTSDIR in
portlint.1
* Don't check the MAINTAINER field for direct command use [1]
* Add a new PL_CVS_IGNORE environment variable that allows users to filter
out certain patterns from the CVS files check [2]
* Only warn about CATEGORY problems if the user is in PORTSDIR [3]
* Sync new command macros with recent bsd.port.mk changes
* Correct a regular expression problem when looking for direct command use [4]
PR: 61562 [1]
61449 [2] [3]
Submitted by: Sergey Matveychuk <sem@ciam.ru> [1]
sergei [3]
leeym [4]
portsdb(1)
- Follow ports intrastructure changes wrt build-time dependency --
now portsdb -U properly picks EXTRACT_DEPENDS so they appear build-time
dependency. (Thanks to schweikh)
misc.
- Fix typos in documentation. I seem to be unable to spell "pacakge"
correctly, being a portmgr. Or was it "pakcage" ? Anyway, it was
fortunate that I wasn't a packge manager.
* Check to make sure RCS tags begin with capital letters [1]
* Do not look direct command use in .for loops [2]
PR: 60947 [1]
Submitted by: leeym [1]
petef [2]
* Fix up the usage text
* Ignore arguments passed to REINPLACE_CMD so portlint will not complain on
things such as ${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},g' [1]
* Only match libraries installed into lib when looking for .so's [2]
* Try to make the PKGCATEGORY check a little more forgiving to committers
checking single ports [3]
PR: 60608 [1]
60803 [2]
Submitted by: leeym [1] [2] (based on)
dougb [3]
Cosmetic update, no functional changes:
- exit automatically when there aren't any more packages to process
- send error messages to stderr
- ignore whitespace in user input, don't blindly get the first character
PR: ports/60763
Submitted by: Stefan Walter <sw@gegenunendlich.de> (maintainer)
- check for empty +REQUIRED_BY files, too (Yen-Ming Lee <leeym@leeym.com>)
- optionally run 'pkgdb -F' after each run (new parameter '-F')
- add info messages for progress status when deinstalling packages
- minor code cleanups, improvement of messages/comments
- remove the 'usage' text from the pkg-descr file
PR: ports/60639
Submitted by: Stefan Walter <sw@gegenunendlich.de> (author)
* Correct a typo (-n should be -N) [1]
* Don't check comments for direct command use [2]
Submitted by: pav [1]
Sascha Holzleiter <sascha@root-login.org> [2]
analyzing the history of commits to the port and presenting the user the
list of changes. By selecting one, the port can be set back to a previous
version easily.
WWW: http://sourceforge.net/projects/portdowngrade/
PR: ports/48257
Submitted by: Heiner Eichmann <h.eichmann@gmx.de>
* Check to make sure new ports do not contain PORTEPOCH
* Throw a FATAL error if an additional file exists in the port directory but
not in CVS [2]
* Throw a FATAL error if a file is in CVS but not in the port's directory [2]
* Throw a FATAL error if a file was deleted from CVS but still in the port's
directory [2]
* Warn if a new file contains a non-empty RCS Id [2]
* Add a missing ``if ($verbose)'' [2]
Submitted by: arved [1]
eik [2]
* Add some linenumbers to the whole file search
* Hack the direct command use code some more
* Add a check for the deprecated USE_MESA
* Allow PKGCATEGORY not in CATEGORIES [1]
* Allow %B in pkg-plist, as it has a valid prefix [1]
* Allow simple rm -f, it needs no redirection [1]
* Add portlintgrep.pl, an example on how to use portlint to find certain
portlint problems in the ports tree [2]
Submitted by: dinoex [1]
eik [2]
* Add a check to make sure the last line of a slave port's Makefile contains
an appropriate MASTERDIR include directive [1]
* study() the $whole string to improve performance [1]
* Fix the search for direct command use
* Check for ports that may break INDEX [1]
* Check for GNOME ports that use pre-patch and gnomehack
Submitted by: eik [1]
* Check for variables that are used too late [1]
* Rename some of the language variables. Admittedly, this needs more work.
* Check for anything after bsd.port(.post).mk [1]
* Fix the language category search code
* Bump version to 2.4.7
Submitted by: Oliver Eikemeier <eikemeier@fillmore-labs.com> [1]
I found convinient some additional key to the pkg_tree utility,
and I propose to include them. The patches can be placed in
files directory.
PR: ports/46810
Submitted by: Vladimir I. Chukharev <chu@gpi.ru>
Approved by: moi
rest of the world.
* Fix the -V option in the manpage [1]
* Handle the case where parentheses may not exist around NOPORTDOCS [2]
* Bump version to 2.4.6
Submitted by: mat [1]
Reported by: kris [2]
* Check for the common typo, NOPORTSDOC [2]
* Make sure .CURDIR is the primary category [3]
* Check for USE_* macros that are user-settable [4]
* Try to be a little more intelligent when checking for macros that need to
appear earlier
* Ignore make directives when checking for extra items in certain sections
PR: 55921 [1]
57751 [2]
58292 [3]
58525 [4]
Submitted by: edwin [1]
Oliver Eikemeier <eikemeier@fillmore-labs.com> [2] [3] [4]
pkg_cutleaves finds installed 'leaf' packages, i.e. packages that
are not referenced by any other installed package, and lets you
decide for each one if you want to keep or deinstall it via pkg_deinstall(1).
PR: 54912
Submitted by: Stefan Walter <sw@gegenunendlich.de>
* Roll our own deinstall code since we get into a sticky situation when we
try to use the new code [1]
Reported by: Oliver Eikemeier <eikemeier@fillmore-labs.com>
port to be installed. Note, the port still uses USE_BZIP2, but as soon
as the local mirrors update, I will remove this as well.
This prevents infinite loops on systems <= 4.6.
Discussed with: Oliver Eikemeier <eikemeier@fillmore-labs.com>
* Add support for the Polish locale
* Try to add more intelligence to the direct command use code
* Fix up the wording about numbered info files [1]
Suggested by: gerald [1]
* Clean up some more Perl warnings
* Make sure all the MAN macros are printed in all uppercase
* Add perl, ruby, python, and the auto* tools to the list of direct
commands [1]
PR: 55529 [1]
Submitted by: Jens Rehsack <rehsack@liwing.de> [1]
- If pkg_* is found in $PREFIX/sbin, use them instead of ones in
/usr/sbin. (regardless of the value of PATH)
- pkg_fetch(1): Some servers like bento transfer packages files
uncompressed, so add a workaround for this. They are automatically
recompressed.
- Get -q to work properly again.
- As the MOVED file is getting bigger and bigger, do not cache all the
entries in memory but look it up every time needed.
- Show how to specify multiple arguments in one MAKE_ARG entry.
FreeBSD PR: ports/54631
Submitted by: Bruce M Simpson <bms@spc.org>
Use DOCSDIR in pkg-plist.
Distfile has been rerolled, no code changes - but archive type is now .zip,
and code rewritten with windows style /r/n - patch is fixing this issue.
Code tested with Python 2.2.x and 2.3 (Thanks marcus@)
Approved by: roberto (mentor)
* Document the -V option [1]
* Properly suggest ${STRIP_CMD} (not ${STRIP}) instead of strip [2]
* Correct the version string
PR: 54993 [1]
Submitted by: Mark Linimon <linimon@lonesome.com> [1]
gerald [2]
Pointy hat to: me [2] (I should have used Gerald's patch as-is)
* Document the -A option in the usage
* Add my name to the list of AUTHORS
* Clean up some warnings produced by perl -cwT
* Check for the existence of pkg-comment and flag it as FATAL [1]
* Add OMF checking support similar to the info checking code
* Add support for {DOCS,EXAMPLES}DIR macros [2]
* Don't check commented out URLs in MASTER_SITES [3]
* Add file, find, strip, and xargs to the list of direct command names [4]
* Don't search for command names in COMMENT [5]
* Add SITE_PERL support [6]
* Add DISTFILE/MASTER_SITE grouping support [7]
* Check to make sure the MAINTAINER field contains a valid email address
* Add support for {EXTRACT,PATCH}_DEPENDS
* Add USE_GETOPT_LONG support [8]
PR: 48199 [1]
53371 [2]
43537 [3]
54381 [6]
39487, 44099, 48221 [7]
54497 [8]
Submitted by: Sergei Kolobov <sergei@kolobov.com> [2] [8]
gerald [4] (file and strip)
Oliver Eikemeier <eikemeier@fillmore-labs.com> [6]
Reported by: kris and nork [5]
Ports manager is a ncurses based, graphical front-end to manage
the FreeBSD ports collection. It behaves like a package manager
and comes with many features.
PR: ports/47192
Submitted by: Anselm Garbe <anselmg@t-online.de>
portsdb(1):
- COMMENTFILE is deprecated. Weird. I thought I committed these
changes long long ago.
Submitted by: Jean-Yves Lefort <jylefort@brutele.be>.
portupgrade(1):
- -A/-B: Remove ;'s and spaces at the beginning of each command line
to stop sh(1) from issuing a syntax error.
- -A/-B: Omit running null commands.
- Run AFTERINSTALL commands after restoring a failed upgrade also.
- Fix a run time error caused by any?.
pkgtools.conf(5):
- Introduce BEFOREDEINSTALL.
- Deprecate rc_file() and rc_files(), and provide
enabled_rc_scripts() and disabled_rc_scripts() instead.
- Provide cmd_start_rc(), cmd_stop_rc(), and cmd_enable_rc() in
addition to cmd_restart_rc() and cmd_disable_rc().
- Update examples.
pkg_deinstall(1):
- Run BEFOREDEINSTALL commands before deinstalling a package.
- don't give a warning to use binary mode because of a possible RCS tag
if the tag is $FreeBSD$.
- bump PORTREVISION
Approved by: maintainer timeout, portmgr (kris)
pkgdb(1):
- Add a missing comma and unbreak the cyclic dependency
fixer.
Submitted by: ITO Tsuyoshi <tsuyoshi@is.s.u-tokyo.ac.jp>
portupgrade(1):
- Update man page. Running pkgdb -F is no longer mandatory unless so
directed by the pkgtools.
portupgrade(1):
- Improve the packages support: When installing a binary package,
automatically detect and install ports/packages it depends on.
portsdb(1):
- Replace COMMENT with COMMENTFILE.
Submitted by: Jean-Yves Lefort <jylefort@brutele.be>
pkgdb(1):
- Treat bsdpan-* packages specially; set their origins to those of
p5-* where possible.
Requested by: nik
- Fix a minor problem with modifying the origin information of a
package where it has no origin line.
pkgtools.conf(5):
- Make MAKE_ARGS more intelligent so installed pkgnames such as
'ruby18-*' => 'RUBY_VER=1.8' is understood.
- Chase the bento site hierarchy change.
- Update some of the examples.
portupgrade(1):
- Change the meaning of -D/--distclean. When specified once, delete
failed distfiles and retry when checksum fails. When specified
twice, do "make distclean" before each fetch or build (as -D meant
before).
- Make -F/--fetch-only call make checksum/checksum-recursive instead
of make fetch/fetch-recursive.
- Rename -l/--log-results to -l/--results-file.
- Rename -L/--log-prefix to -L/--log-file and make it accept a
printf(3) style format.
pkg_which(1)/pkgdb(3):
- Store and look for file names after resolving symlinks using
realpath(3).
miscellaneous:
- Fix some macro bugs in manpage.
- Fix a typo in the PORTUPGRADE example in pkgtools.conf.
pkgdb(1):
- Fix a problem in pkgdb's automatic dependency fixer that it only
fixes the first found problem and leaves the rest.
portsclean(1):
- Fix a problem that portsclean(1) does wrong if a library search path
has a trailing / or a double /. This could confuse users.
PR: ports/46162
Submitted by: Lev A. Serebryakov <lev@serebryakov.spb.ru>
Approved by; lioux (his first approval as a portmgr!) & knu ;)
For the record, the previous tarball (pkgtools-20021101.tar.bz2) was
downloaded approximately 10,000 times in one month, 32% from the
United States, 17% from Japan, 6% from Germany, and 4% from
Canada. (followed by AU, NL, FR, GB, RU, SE, PL, ...)
pkgtools.conf(5):
- Add new variables: USE_PKGS and USE_PKGS_ONLY.
Requested by: Jeff Penn <jeff@jrpenn.demon.co.uk>
overall:
- Recognize INDEXFILE defaulting to 'INDEX'.
- Introduce a "fixme" cookie file not to invoke pkgdb -aF unnecessarily.
- Recognize the Hungarian and Portuguese language prefixes.
Approved by: kris (implicitly)
overall:
- Use sudo in installing (copying) a file only if once it failed as
the current user.
- Speed up string substitution.
portupgrade(1):
- Use sudo as necessary in saving log files also.
pkgdb(1):
- Look up ports/MOVED to fix stale origins (both ORIGIN and
DEPORIGIN).
- Skip the check for origin duplicates when in automatic mode. (This
speeds up autofix)
- When pointing out a missing origin, show the name of the package in
question.
Suggested by: Genesys on EFnet
portupgrade(1):
- Check return status of hardly failing commands also.
pkgdb(1):
- Add -Q/--quiet and -QQ for internal use.
portsclean(1):
- Ditto.
overall:
- Reduce /bin/sh process calls by replacing shell redirection to
/dev/null with pkgdb -Q/portsclean -Q/fetch -q. (I know I can do
fork, dup and exec if necessary)
- Eliminate zombies during running. Formerly waitpid's against
terminated processes are delayed until Ruby gets short of resource
and thus runs a GC, but now portupgrade(1), pkgdb(1) and
portsclean(1) explicitly kick a waitpid immediately after each
popen() is done.
PR: ports/38075
Submitted by: Chris J. Mutter <cjm@s2.enemy.org>
Reported by: several others
overall:
- Allow a regular expression or glob pattern against origins as
pkgname glob pattern. For example, the following commands work as
expected now:
pkg_glob 'lang/*'
portupgrade lang/ruby
pkg_info ':(japanese|chinese|korean)/'
- Use install(1) instead of cp(1) and chmod(1) to install modified
data files such as +CONTENTS.
pkgdb(1):
- Add a new option --autofix, which is a shorthand of --auto --fix
(-aF).
portupgrade(1):
- Allow specifying a directory after -L.
- Auto-fix dependencies before creating a package.
PR: ports/41383
Submitted by: Vivek Khera <khera@kciLink.com>
pkgtools.conf(5):
- Add a new configuration variable ALT_PKGDEP, which defines
alternative dependencies, used by pkgdb -F/-aF. This makes yet
another step forward to eliminate the need for manual pkgdb -F's.
overall:
- Make these work with ruby 1.7.
portupgrade(1):
- Get portupgrade -s to work again.
- Synchronize the failure reason guesser with the latest "processlogs"
script.
- Rename -g/--go-on to -k/--keep-going, on the (vague) analogy of
make(1).
possibly be a couple of bugs. Make sure to do your backups as always,
and have fun. :)
overall, pkgdb(3):
- The DEPORIGIN information is fully supported. Most stale
dependencies are automatically fixed based on that.
Hinted by: sobomax
- Disregard a package if it has a file named "+IGNOREME" in the
package directory.
PR: ports/41237
Hinted by: Jerry Murdock <j@jerrymurdock.com>, and some others
pkgdb(1):
- Add a new option -a/auto, used with -F/--fix, which turns on
automatic mode, in which pkgdb(1) only fixes discrepancies that can
be fixed 100% obviously and securely, and leaves the others.
- Make pkgdb(1) less verbose when -v is not specified.
portupgrade(1):
- Time the whole session also.
Requested by: nork
- Fix a bug in shellwords() where it wrongly interprets \ in '...' as
meta-character. This bug or maybe feature was inherited from Perl's
shellwords.pl / Text::ParseWords.
Reported by: Gabriel Ambuehl <gabriel_ambuehl@buz.ch>
- The DEPORIGIN information is fully supported. It fixes DEPORIGIN
when a package is upgraded with a different port using -o/--origin,
and "pkgdb -aF" is automatically called at closing. This makes
portupgrade a tad slower but greatly reduces the "pkgdb -F"
annoyance.
- Fix a race where it rarely failed in updating the pkgdb after
installation and the user had to run "pkgdb -fu".
- Do not redirect stderr to /dev/null when calling portsclean -L. Now
the pkgdb updater's indicator is displayed properly.
- Synchronize the build failure checker with the latest version of
ports/Tools/portbuild/scripts/processlogs.
- Do not bother with +REQUIRED_BY files when they are mechanically
generated from @pkgdep information by pkgdb(1).
pkg_fetch(1):
- Try .tgz first on FreeBSD 4.x and prior. Although .tbz is smaller,
there are few sites that prepare .tbz packages for FreeBSD 4.x.
pkgtools.conf(5)
- Prepare a new constant OS_PKGBRANCH, which is set to a
release/branch name that is suitable for specifying a FTP packages
directory, and make pkg_site_mirror() use it.
PR: ports/43265
Submitted by: Andriy Gapon <avg@icyb.net.ua>
portsclean(1):
- Suggest using libchk(1) to help manually clean out lib/compat/pkg.
- Improve messages. Use the word "shadow" to say that a library hides
another one with the same name.
- Fix a bug where portupgrade creates packages in a wrong directory.
This was introduced in 20020921.
Submitted by: "Dmitry A. Panov" <redfox@Fluffy.Khv.RU>
- Make portcvsweb <pkgname> work when it is an obsoleted package.
- Update documents.
- Respect PKG_SUFX, which could be defined in /etc/make.conf or as an
environment variable.
- Drop the pkg_tarup(1) dependency in favor of pkg_create(1) -b, and
mark IGNORE for systems which pkg_create(1) does not support -b.
On those systems such as 4.4-STABLE and prior, users can either
a) update pkg_* tools or b) stick with portupgrade-20020920 +
pkg_tarup-1.2_3.
- Remove the workaround against somewhat old 5-CURRENT's buggy
bsd.*.mk.
- Improve zsh/bash/tcsh completion definitions. (not much for tcsh,
though..)
portupgrade(1):
- Time each build, install, upgrade, etc. and show times
when -v/--verbose is specified.
[Requested by: people on freenode:#freebsd]
pkgdb(1):
- Extend pkgdb(1)'s -o so it can also modify a port's origin.
[Requested by: dcs]
- Raise an error when an empty pkgname is given with -s.
pkgtools.conf(5):
- Make MAKE_ARGS accept a proc.
[Suggested by: alane]
miscellaneous:
- Now all the tools including portupgrade(1) should work on
lang/ruby_static as well as lang/ruby_static-devel again.
- Completion definitions for zsh and bash are even slightly
improved.
- Fix the regexp for uname output so it can parse such as
"5.0-CURRENT-YYYYMMDD-JPSNAP".
Spotted by: will@FreeBSD.org
- portupgrade(1): Add more command failure checks in case sudo fails.
- portsclean(1): Add a cross reference to libchk(1) to the manpage.
portupgrade(1):
- Add more command failure checks in case sudo fails.
- Always build backup packages as root.
Spotted by: Stijn Hoop <stijn@win.tue.nl>
- Let NO_IGNORE negate IGNORE.
FreeBSD PR: ports/41467
Suggested by: Alan Eldridge <ports@geeksrus.net>
portsclean(1):
- Do not mix stderr output from make(1) with stdout.
Submitted by: Jos Backus <jos@catnook.com>
pkgdb(1):
- Do not fail in error when a non-installed package is specified
with -o.
pkg_fetch(1):
- Support bzip2'd packages (*.tbz).
- Slightly fix messages.
- Introduce OS_PATCHLEVEL and exclude `-p#' from OS_RELEASE.
FreeBSD PR: ports/40375
Submitted by: Andriy Gapon <agapon@excite.com> (partly)
portsclean(1):
- -P/--pkgclean: Sweep away bzip2'd packages (*.tbz) too.
portupgrade(1):
- Support bzip2'd packages (*.tbz).
pkgtools.conf(5):
- Provide a couple of new utility functions, deorigin(origin) and
rc_file(origin_or_pkgname).
- Fix an example and provide some more examples.
- Introduce OS_PATCHLEVEL and exclude `-p#' from OS_RELEASE.
misc.:
- zsh compdefs: Look for *.tbz too.
- Avoid ruby 1.7 warnings.
- Show better error messages on command failure.
- pkg_deinstall(1): Unbreak -c by removing a leftover variable
reference.
Reported by: Tod McQuillin <devin@spamcop.net>
- pkg_deinstall(1): (manpage): Clarify that -c/--collate is disabled
by -f/--force.
Prompted by: parv <parv@pair.com>
- pkg_sort(1): Warn of each package entry that's not installed.
- pkg_sort(1): Do not print an empty line if no valid entry is given.
- pkgdb(1): (manpage) Fix typos, improve phrases and remove an
incomplete paragraph.
FreeBSD PR: ports/39183
Submitted by: Chris Pepper <pepper@rockefeller.edu>
- portsclean(1): (manpage) Fix a typo.
Submitted by: Martijn Koster <mak@greenhills.co.uk>
- Make portsdb -U respect PORTS_DBDIR even when it is different than
PORTS_DIR.
Reported by: Shigeto TAJIMA <tajima@ics.es.osaka-u.ac.jp>
- Do not override the user-defined value of PKG_PATH.
Reported by: The Anarcat <anarcat@anarcat.dyndns.org>
2002-04-05 21:08 knu
* lib/pkginfo.rb: Show the full pkgname as exception message when
the version part is invalid.
2002-04-05 21:06 knu
* bin/portupgrade: Fix a flaw where dependent ports' build/install
error was not properly detected when -s is specified.
Reported by: Stijn Hoop <stijn@win.tue.nl>
20020327 or later.
portsclean(1):
- Run mv(1) with -f unless -i is given.
This fixes:
PR: ports/36407
Submitted by: Albert Kinderman <albert.kinderman@csun.edu>
If you see portupgrade(1) stop at 'Cleaning out obsolete shared
libraries', hit Ctrl-C (just once) to abort portsclean(1).