- Bugfix: sometimes the ports version was wrong;
- A default cvs server can be set;
- Port revision is added to port version number.
PR: 70162
Submitted by: maintainer.
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]