This is a collection of administration scripts. At the moment it
consists of a script to control rc.d scripts at runtime, a
script that runs common make targets on batches of ports, scripts to set
variables for make jobs (like portconf, but with more possibilities).
And scripts to check for broken packages and missing libraries.
WWW: https://sourceforge.net/projects/bsdadminscripts/
===> The following configuration options are available for bsdadminscripts-6.1.1_8:
DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
When there is a do-install target, do not use a post-install target, do
everything at once. Sometime, rename post-install into a options helper
target.
I did not fix ports that were such a mess that I could not figure out
what they really wanted to do. I also did not change ports that had
some version of an auto-plist code in post-install, for the same reason.
With hat: portmgr
Sponsored by: Absolight
sysutils/bsdadminscripts: fix distviper
Adds a -H to all uses of find(1) in distviper so symlinks are handled
correctly
By default find(1) will not follow symlinks given on the command-line.
There are several places in distviper where find is used without
allowing for this.
In particular in the default mode, if PORTSDIR is a link and DISTDIR
isn't, then no distinfo files are found and all the distfiles are
deleted.
This can be fixed by either making sure that find is given directory
names that end in a "/" or with the -H option.
PR: 194567
Submitted by: rwmaillists@googlemail.com
Approved by: Carlos Jacobo Puga Medina <cpm@fbsd.es> (maintainer)
According to the Porter's Handbook (5.12.2.3.) default options must be added to
OPTIONS_DEFINE. This policy has been implemented only recently that's why we
have many ports violating this policy.
This patch adds the default options specified in the Porter's Handbook to
OPTIONS_DEFINE where they are being used. Ports maintained by
gnome@FreeBSD.org, kde@FreeBSD.org and x11@FreeBSD.org have been excluded.
Approved by: portmgr (bapt)
Remove more tags from pkg-descr files fo the form:
- Name
em@i.l
or variations thereof. While I'm here also fix some whitespace and other
formatting errors, including moving WWW: to the last line in the file.
Allow pkg_libchk to work from non-CSH shells
/bin/sh does not set OSTYPE, so this variable is inherited from the
shell from which pkg_libchk is invoked. From all standard shells in
the base system, only csh and tcsh do set this variable, so when
pkg_libchk is invoked from sh (that is not invoked from csh-like
shell), this variable will be empty. Moreover, bash sets OSTYPE to
freebsdX.Y, so grepping on output of 'readelf -e' wont work either.
'uname -s' provides much more reliable way to get the name of the
operating system and all *BSD ELF ABI types inside readelf correspond
to the 'uname -s':
{{{
case ELFOSABI_NETBSD: return "UNIX - NetBSD";
case ELFOSABI_FREEBSD: return "UNIX - FreeBSD";
case ELFOSABI_OPENBSD: return "UNIX - OpenBSD";
}}}
PR: ports/158967
Approved-by: Dominic Fandrey <kamikaze@bsdforen.de> (maintainer), erwin (mentor)
Feature-safe: yes
- Update to 6.0
A new release featuring a binary only package updating tool, pkg_upgrade.
PR: 134131
Submitted by: Dominic Fandrey <kamikaze@bsdforen.de> (maintainer)