* The check for quoted COMMENTs had a typo. However, this check has been
consolidated for other macros that should not be quoted. Merge the COMMENT
check into the BROKEN, et al check. [1]
* Properly pluralize the message which counts the number of fatal errors
and warnings. [2]
* Add distinfo checking support. [3]
* Huge refactoring of the error handling code. If the -g argument is specified,
errors will be grouped together to avoid spamming the console with
repeated lines.
* Add a check for icon installation, and recommend INSTALLS_ICONS.
PR: 97207 [1]
96089 [2]
96923 [3]
Submitted by: lawrance [1]
ehaupt [2]
sem [3]
Tested by: mezz
1. Update DEPORIGIN in addition to @pkgdep entries in +CONTENTS
2. Give more details about why a port moved
3. grep for the old port name in existing +CONTENTS files, since the
new name will not appear at all
Also, stretch the window to wait for a background 'make checksum' to
complete to 5 seconds instead of 3
easier to leave it running unattended for large updates. (This can be
toggled off.)
2. Implemented a completely unattended mode which accepts the defaults for
all portmaster dialogues. (Note, this does not help with ports that have
interaction other than 'make config', such as ghostscript, etc.)
3. Added -u to sort(1) calls to try and address a bug report about duplicate
lines in +REQUIRED_BY files. I was not able to reproduce this bug, but
better safe than sorry.
4. Verbose mode is now slightly more informative about what's happening.
5. More common code factored out into functions.
6. The -n flag now cancels the build of the port called on the command line too.
7. Improved (?) the stale distfile deletion routine to better handle ports
that have multiple distfiles.
8. We now launch 'make checksum' (which performs a fetch if needed) in the
background while recursing through dependencies.
9. Various code cleanups, such as adding -t to a mktemp invocation that was
missing it, more local variables in functions, more consistent flag variable
values, etc.
Don't restrict Apache version to 1.3
The csup change won't work now, and the port should be updated - as promised by
the maintainer 3 weeks ago.
PR: ports/94288
Submitted by: itetcu (me), maintainer
Reviewed by: maintianer, jmelo, sem
Approved by: maintaner, lawrance (mentor)
* bugfix: do not ignore option for case-insensitivity when searching
for packing list files
* added "-b something" option to simulate -f '/something$', since I got
tired of typing the later
There are two patches in the PR mentioned bye pkg-message, but
this tool depends on the first one and doesn't work with the
second one. This should be clearly mentioned.
PR: ports/96100
Submitted by: Gabor Kovesdan <gabor.kovesdan@t-hosting.hu>
package is installed or not using a precalculated regex.
This speeds up "portaudit -a" with around a factor of 10.
The change is slightly modified from the one from the PR by using
pkg_info -aE instead of ls /var/db/pkg for determining installed
packages.
Submitted by: Kuang-che Wu <kcwu@csie.org>
PR: ports/92942
A bug in psearch 1.0 leads to the --or switch being completely broken.
psearch 1.1 fixes that. There are no other changes.
PR: ports/93946
Submitted by: maintainer
Approved by: portmgr (linimon)
psearch is an utility for searching the FreeBSD Ports Collection.
It allows you to use regular expressions, and has support for searching
the long description (pkg-descr files), as well as inverse matches that
allow filtering of ports.
WWW: http://www.maxlor.com/freebsd-scripts.shtml
PR: ports/93490
Submitted by: Benjamin Lutz <benlutz@datacomm.ch>
* Add a check for .mo (translation) files, and warn if USE_GETTEXT is not
set. [1]
* Make sure USE_RC_SUBR checking does macro expansion to catch cases were
USE_RC_SUBR=${PORTNAME} (for example). [2]
PR: 93273 [2]
Requested by: kris [1]
* Add a check to see if PORTREVISION=0 in master ports. [1]
* Add checks for direct use of the pkg_* commands. [2]
* Add a check that if a port is new, it is not maintained by
ports@FreeBSD.org. [3]
* Do not warn about .la files if USE_KDELIBS_VER is set. [4]
* Add a check for deprecated use of USE_RC_SUBR along with checks for its
proper use. [5]
PR: 91324 [1]
92888 [2]
92665 [3]
92586 [4]
Submitted by: lofi [4]
dougb [5]
* update from 2.2.1 to 2.3.0
* fix options parsing so `make' in a pristine directory works
as expected [1]
* sort the new plist
PR: ports/92881
Submitted by: Vasil Dimov <vd@FreeBSD.org>
Portsearch allows searching for ports that install some file, like
``find /usr/ports -name pkg-plist |xargs grep pattern''
but honoring PLIST_(FILES|DIRS) and %%FOOBAR%% variables.
Approved by: garga (mentor)
src tree.
This only affects users of FreeBSD 5.4 and earlier, since the port is
IGNOREd for recent versions of the FreeBSD base system.
PR: ports/92563
Approved by: linimon
This version contains fix to prevent cache-init crashing when it tries
to process the currently empty net-p2p port category.
PR: ports/92503
Submitted by: Matthew Seaman (maintainer)
* Update quoting requirements for new bsd.port.mk
* Warn on use of USE_REINPLACE [1]
* Recommend @dirrmtry instead of @unexec rmdir [1]
Requested by: pav [1]
misc/tinderbox does not install the php extension for the
selected database, because the extension is added to USE_PHP
after bsd.port.pre.mk inclusion.
PR: ports/92065
Submitted by: Vasil Dimov <vd@FreeBSD.bg>
* portversion(1) also reads MOVED and trace origin change,
and, when invoked with "-v", displays the new origin.
Example:
% portversion -v screen
screen-4.0.2_2 < needs updating (port has 4.0.2_3) (=> 'sysutils/screen')
* Add "--ignore-moved" to portupgrade(1) and portversion(1).
When invoked with this option, both programs totally ignore MOVED.
If you encounter strange behaviour of these programs, try this out.
* Add IGNORE_MOVED option to pkgtools.conf.
This can be used to selectively ignore MOVED by pkgs.
See pkgtools.conf.sample for details.
* Keep the order of MOVED entries, and do not trace back to old entries.
Previously, when encounters the following entries,
editors/emacs|editors/emacs19|2004-03-20|emacs 19.x moved to a non-default port location
editors/emacs21|editors/emacs|2004-03-20|emacs 21.x moved to default port location
portupgrade traces as "editors/emacs21" -> "editors/emacs" -> "editors/emacs19".
I thought this behavior should not be what we want to, so added this change.
PR: ports/91272
Submitted by: KOMATSU Shinichiro <koma2@lovepeers.org> (maintainer)
Thank you for reporting. I also discovered this problem a few hours ago.
The source of this trouble is that the following line exists in MOVED,
lang/php4|lang/php4|2003-05-22|re-separated from www/mod_php4
where "moved from" and "moved to" is the same, but portupgrade
does not check this case and infinite loop occurs.
Fix to this problem will be in the next portupgrade release,
but in the meanwhile, whould you commit the following patch,
please?
PR: ports/91209
Submitted by: KOMATSU Shinichiro <koma2@lovepeers.org>
(1) Change the versioning scheme of portupgrade.
portupgrade now becomes 2.0.0!
(2) Add FreshPorts support to portcvsweb(1).
You can view CVS history via FreshPorts instead of CVSweb
by using "portcvsweb -F". See the man page of portcvsweb(1) for details.
(3) If the change of the origin is written in MOVED,
portupgrade reads and chases it.
You no longer need to supply the origin of the new pkg by "-o" option.
Example:
When ftp/wget-devel is moved to ftp/wget, previously you had to run,
% portupgrade -o ftp/wget wget
Now, just run
% portupgrade wget
and portupgrade will do what you want to do.
(4) Try to guess the pkg to be upgraded, when no pkgname is supplied
as a command line argument.
This can be done only when the current directory is under $PORTSDIR.
Example:
Running
% cd /usr/ports/ftp/wget
% portupgrade
will upgrade ftp/wget.
(5) The frequency of INDEX generation on official site is now sufficient,
recommend to run "portsdb -F" (fetch INDEX from official site)
instead of "portsdb -U" (make INDEX by yourself) in portsdb(1). [1]
PR: ports/91164
Submitted by: KOMATSU Shinichiro <koma2@lovepeers.org> (maintainer)
Pointed out by: Enrique Matias <cronopios at gmail dot com> [1]
- add switch ('-g') to automatically generate the exclude file from kept or
installed packges
- improve command line processing
- improve recursive cutting of leaves
PR: ports/91021
Submitted by: Stefan Walter <sw@gegenunendlich.de> (maintainer)
if portmanager has been installed for the first time it can't copy
pm-020.conf-SAMPLE to pm-020.conf.
PR: ports/90957
Submitted by: Michael C. Shultz <ringworm01@gmail.com> (maintainer)
here is the tinderbox port which should give you a tinderbox system
to test your ports before submitting it. It's unnmissable for
everybody making ports, and belongs to the range of tools like
portlint and porttools.
make config have their video scrambled. Fixed by adding TERM= back to environment
during make.
PR: ports/90633
Submitted by: Michael C. Shultz <ringworm01@gmail.com> (maintainer)
* Warn on use of .tar.bz2 as an EXTRACT_SUFX [1]
* Throw a fatal error if INFO is defined, and install-info is called
directly [2]
* Throw a warning if install-info is called directly and INFO is not
defined [2]
PR: 89952 [2]
Requested by: Kövesdán Gábor <gabor.kovesdan@t-hosting.hu> [1]
be included if they exist in devel/portmk/Mk; otherwise, the fallback file
from ports/Mk will be used. This will allow us to remove local copies of
files once their changes are merged back into ports/Mk, so that not every
single change in ports/Mk needs to have a tracking commit made back into
devel/portmk/Mk. In theory this should allow us to integrate changes a
little more quickly.
framework is designed so that such things as FreshPorts, portsmon, and
the distfile survey can more easily maintain local changes without having
to re-merge them into their copies of bsd.port.mk all the time.
(1) For years, I have experienced that portupgrade sometimes
runs very slow. After some investigation, I found that
"pkgdb -aF" is invoked from portupgrade or other programs
(such as portversion) without having sufficient privilege
to modify /var/db/pkg/, and that error is not caught by the
caller program, and "pkgdb -aF" is invoked repeatedlly.
So, I fixed the following things:
- When pkgdb internally invoked from other program exits
with error, make the caller program also exit with error.
- Display the error messages of pkgdb that run internally
from other program.
When portupgrade or other programs die with the following error,
** You do not own /var/db/pkg. (use -f to force or run as root)
Command failed [exit code 1]: /usr/local/sbin/pkgdb -aFQ
please run "pkgdb -aF" as the user that owns /var/db/pkg (usually root).
(2) Make new tarball that contains the above fix and all
patches in files/. Bump PORTVERSION to 20051204 and change
MASTER_SITES.
PR: ports/89917
Submitted by: KOMATSU Shinichiro <koma2@lovepeers.org>
update sysutils/portmanager to 0.3.9_7
1. Fixes portmanager not honoring STOP/START statements
from its own config file, reported by Gerard Seibert
<gerard@seibercom.net>, Thanks!
PR: ports/89913
Submitted by: Michael C. Shultz <ringworm01@gmail.com>
1, Fixes corruption of +CONTENTS files when portmanager is compiled in
BUILD_DEPENDS_ARE_LEAVES mode Bug identified by Jiawei Ye
<leafy7382@gmail.com>
2. Fixes parsing pkgtools.conf when arrays are used, patch
provided by dan@slightlystrange.org, thank you!
PR: ports/89903
Submitted by: Michael C. Shultz <ringworm01 -at- gmail.com> (maintainer)
pkg-orphan is a console utility for managing orphan, i.e.
unreferenced FreeBSD packages. It finds all or selected
orphans and lets the user choose which ones to remove and
which ones to keep. It maintains a keep-list file, so
previously kept packages will be skipped automatically. In
batch mode, all packages, not present in the keep-list are
either deleted or kept in the list.
Since orphan packages are usually much fewer than non-orphan
ones, it can be useful for quickly finding and deleting
unused packages, even on a system with hundreds of them
installed.
Features:
- interactive and batch modes
- maintains a kept package list, to avoid asking for the same package again
- can delete packages recursively, but without deleting shared dependencies or
previously kept packages
- the keep-list file does not contain package versions, so upgrades generally
don't require editing of the file
WWW: http://sourceforge.net/projects/pkg-orphan/
- Victor Semionov
semionov@mail.b
PR: ports/89730
Submitted by: Victor Semionov <semionov@mail.bg>
- Fixes when adding a new port with portmanager, +CONTENTS files being
corrupted.
- Improved logging of conflicting ports
Submitted by: "Michael C. Shultz" <ringworm01@gmail.com> (maintainer)
PR: ports/89716
It creates a whole lot of often used ports, so that after a cvsup
on a tinderbox build system, you can just tinderbuild this port and
all primary dependencies are updated.
If you think a port is missing, let me know!
Author: Edwin Groothuis <edwin@mavetju.org>
- Fixes bug where if run with -f switch when portmanager updates itsself goes into endless loop.
Thanks to Gerard Seibert for helping to track this one down!
PR: 89609
Submitted by: Michael C. Shultz <ringworm01@gmail.com> (maintainer)
- Using ruby script provided by Jan Grant <Jan.Grant@bristol.ac.uk> if portupgrade is installed
portmanager also uses settings from pkgtools.conf in addition to those from its own conf file.
- Wild cards "*" may now be used in pm-020.conf, see man portmanager for details
- Automatic timeouts are re-enabled, stdin problem is solved.
- Fix build on 4.x (0.3.9)
PR: 89533
Submitted by: Michael C. Shultz <ringworm01@gmail.com> (maintainer)
This port contains a script for generating portaudit reports
for jails running on a FreeBSD system.
Jailaudit runs in the Host-system and uses portaudit to
create reports for every jail currently running.
It can also be used to send specific report-mails to the
owner of a jail by running it as a cronjob.
/etc/crontab example:
0 4 * * * * root /usr/local/bin/jailaudit mail admin@foo.bar "foo.example.com bar.example.com"
Sends reports-mails of the jails with the hostnames
foo.example.com and bar.example.com to the mailaddr.
admin@example.com.
WWW: http://outpost.h3q.org/software/jailaudit/
PR: ports/87581
Submitted by: Philipp Wuensche <cryx-ports@h3q.com>
* Had to disable automatic timeouts until I learn how to properly close then open stdin.
0.3.8_1 will seg fault upon a second timeout and 0.3.8 leaves these random errors:
awk: i/o error occurred while closing /dev/stdin input record number
PR: 89424
Submitted by: Michael C. Shultz <ringworm01@gmail.com> (maintainer)
* Added --pristine mode that guarentees no inconsistancies in +CONTENTS files
* Fixed (I hope) stdin not being reopened properly after a [Y/N/A] timeout
* Fixed a segfault when portmanager reads a very old pre 4.11 +CONTENTS file,
identified by Andrew Gordon <arg@arg.me.uk>
PR: 89397
Submitted by: Michael C. Shultz <ringworm01@gmail.com> (maintainer)
* USE_PYTHON still cannot be included after bsd.port.pre.mk
* USE_APACHE can now be included after bsd.port.pre.mk [1]
* Handle the new autotools world order
* Check that IGNORE is properly capitalized and terminated [2]
PR: 88546 [2]
Reported by: pav [1]
Submitted by: lawrance [2]
* Craig Boston <craig@yekse.gank.org> brought to my attention a problem
with how dependency information is gathered in +CONTENT files.
portmanager -s (status report) uses port +CONTENT files to generate its
report and now that is proven as not 100% accurate. This patch modifies
the data source for status reports from +CONTENT files to the results
obtained when running make -V *_DEPENDS in each port directory.
PR: 89084
Submitted by: Michael C. Shultz <ringworm01@gmail.com> (maintainer)
* Fixes bug where on initial installation if portmanager is run in single port update
mode first it is missing a database
* Added WITH_BUILD_DEPENDS_ARE_LEAVES information to man page
PR: 88953
Submitted by: Michael C. Shultz <ringworm01@gmail.com> (maintainer)
* Fixed seg fault in -slid on 6.0 machines
* Fixed segfault when cvsup not set to delete and an installed port
is removed from the ports tree
PR: 88888
Submitted by: Michael C. Shultz <ringworm01@gmail.com> (maintainer)
* Adds ability to stop programs like postfix
from running during upgrade then restarts them
afterwards. See pm-020.conf-example or man page
for instructions
* Fixes reported bug where -slid option removes
the wrong port
* May fix a reported segfault at:
MGPMrCreateAllUpdateStatusDb.c:162
since user didn't include portmanager version or
uname -a output can't be certain fix is good
PR: 88800
Submitted by: Michael C. Shultz <ringworm01@gmail.com> (maintainer)
* At user's request portmanager now respects a defined BATCH
* -sl works again, -sl and -slid options no longer consider
build dependencies as "leaves"
PR: 88744
Submitted by: Michael C. Shultz <ringworm01@gmail.com> (maintainer)