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)