===> The following configuration options are available for daemontools-0.76_20:
MAN=on: Install Gerrit Pape's manual pages
SIGQ12=off: Add svc support for QUIT, USR1, and USR2 signals
TESTS=on: Run the test suite, fails on NFS-mounted workdir
====> Options available for the single SEQ: you have to select exactly one of them
S_EARLY=off: Start early, before the normal daemons
S_NORMAL=on: Start normally in the usual boot sequence
===> Use 'make config' to modify these settings
sysutils/daemontools: include errno.h for errno
errno must be accessed by a macro from errno.h.
PR: 281782
Approved by: portmgr (build fix blanket), mikael
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
Fix CONFLICTS entries of multiple ports
There have been lots of missing CONFLICTS_INSTALL entries, either
because conflicting ports were added without updating existing ports,
due to name changes of generated packages, due to mis-understanding
the format and semantics of the conflicts entries, or just due to
typoes in package names.
This patch is the result of a comparison of all files contained in
the official packages with each other. This comparison was based on
packages built with default options and may therefore have missed
further conflicts with optionally installed files.
Where possible, version numbers in conflicts entries have been
generalized, some times taking advantage of the fact that a port
(Only the first 15 lines of the commit message are shown above )
*/*: Remove redundant '-[0-9]*' from CONFLICTS
The conflict checks compare the patterns first against the package
names without version (as reported by "pkg query "%n"), then - if
there was no match - agsinst the full package names including the
version (as reported by "pkg query "%n-%v").
Many CONFLICTS definitions used patterns like "bash-[0-9]*" to filter
for the bash package in any version. But that pattern is functionally
identical with just "bash".
Approved by: portmgr (blanket)
rc.d/svscan: Use -f to daemon(8) again.
- This reverts the change from r247267 which removed it.
- The upstream svscanboot script closes stdout, stdin and stderr. Our
script should do the same. Doing this does not lose any output since the
output is all piped to the proper logger. This fixes hangs when combined
with Salt [1].
Reported by: C. R. Oldham <cro@ncbt.org> [1]
Add Public Domain support to ports license framework. You can now use
LICENSE= PD
Note that although Public Domain is not technically a license, it's
handled in the same way as licenses here, which is a common practice
(Arch, Gentoo, Fedora, Debian, even FOSSology do the same).
Convert all ports which redefine Public Domain LICENSE to LICENSE=PD.
Approved by: portmgr (bapt)
Differential Revision: D4149
MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.
While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.
Also, replace some EXTRACT_SUFX occurences with USES=tar:*.
Checked by: make fetch-urlall-list
With hat: portmgr
Sponsored by: Absolight
- Take maintainership
- Add mirrors
- Pet portlint
-- Move CONFLICTS
-- Replace space with tab in S_NORMAL_DESC
- Remove bsd.port.pre.mk
- Trim header
Approved by: jgh (maintainer)
In the rc.d scripts, change assignments to rcvar to use the
literal name_enable wherever possible, and ${name}_enable
when it's not, to prepare for the demise of set_rcvar().
In cases where I had to hand-edit unusual instances also
modify formatting slightly to be more uniform (and in
some cases, correct). This includes adding some $FreeBSD$
tags, and most importantly moving rcvar= to right after
name= so it's clear that one is derived from the other.
Add Gerritt Pape's patch to skip the timestamp when matching incoming
log messages against the specified patterns. Bump PORTREVISION.
While I'm here, do some more maintenance:
- regenerate the distinfo file to drop the MD5 checksums
- rephrase the IGNORE messages
- declare the port's license as public domain
Requested by: Matthias Teege <matthias@mteege.de> (the timestamp patch)
It seems that the thedjbway.org domain has expired, so the sigq12 patch
has lost its home. Host it on my FreeBSD local distfiles site for
the present until I find out who has a more permanent home for it.
Reported by: Valentin Zahariev <curly@e-card.bg>
Fix another instance of replacing %%DAEMON%% with /usr/sbin/daemon,
somehow missed by dougb - still, thanks for doing it :) However,
drop the -f option to daemon - with both readproctitle and
multilog, we definitely do *not* want to lose svscan's output.
While I'm here, restore the spirit of the STARTUP_SCRIPT functionality
removed in pgollucci's rc.subr change by introducing the S_NORMAL and
S_EARLY option knobs and modifying the startup script's REQUIRE and
BEFORE settings accordingly.
Add short descriptive headers to the patches and bump PORTREVISION
for the real changes.
Reported by: Valentin Zahariev <curly@e-card.bg> (the daemon part)
Add a knob to disable the run-time testsuite, e.g. when building with
a NFS-mounted work directory (prompted by PR 115100).
Add support for logging through multilog instead of readproctitle for
the main svscan process and document the startup script variables
(loosely based on PR 111749).
PR: 111749, 115100
Submitted by: Andrew Hammond<andrew.george.hammond@gmail.com>,
Charles Sprickman <spork@bway.net>
Add the sigq12 patch, which allows the svc utility to tell supervise to
send SIGQUIT, SIGUSR1, or SIGUSR2 to the daemon process.
OPTIONS'ify - all but the STARTUP_SCRIPT variable, which is a string,
not a flag.
Appease portlint partially - unquote the RESTRICTED message.
Bump PORTREVISION.
Requested by: "Brent B. Powers" <bbp2006@columbia.edu> (the sigq12 patch)
Remove the FreeBSD KEYWORD from all rc.d scripts where it appears.
We have not checked for this KEYWORD for a long time now, so this
is a complete noop, and thus no PORTREVISION bump. Removing it at
this point is mostly for pedantic reasons, and partly to avoid
perpetuating this anachronism by copy and paste to future scripts.
Skip directories with names starting with a dot. [1]
Wihle I'm here, add a STARTUP_SCRIPT knob to specify a different name for
the etc/rc.d/svscan.sh script, e.g. allowing a name like 000.svscan.sh.
PR: 81677 [1]
Submitted by: Renato Botelho <freebsd@galle.com.br> [1]
- make this script work with the New World Order in /etc/rc.d/localpkg,
where the config files may have been loaded already and our load_rc_config
invocation may do nothing: thus, we need to honor any previously set value
of svscan_enable;
- for some reason svscan_stop_post() does not like the IFS-like vars set by
rc.subr and localpkg; use find/xargs instead of having the shell parse its
own output;
- dequote COMMENT;
- fix the daemon(8)-ization by moving 2>&1 to its proper place, so that the
errors from svscan are actually picked up by readproctitle, as explained
in <20040630175050.GD979@straylight.m.ringlet.net>;
- move the 'Starting svscan' message to its proper place, so that the PATH
set by env(1) affects svscan, not the echo command :)
Install the sample startup script directly to etc/rc.d/, instead of
putting it into the examples directory, where next to nobody found it.
Requested by: Dan Langille <dan@langille.org>,
Antoine Beaupre <anarcat@anarcat.ath.cx> - both months ago
Tweak the startup script so that it is *really* a FreeBSD startup script; that
is, add 'start-stop' argument processing and the ability to actually stop the
script. Bump PORTREVISION to indicate a functionality change - or rather, to
indicate a change that actually makes this a FreeBSD port..
Almost revert a change made in daemontools-0.70's supervise, where the
one-second sleep between invocations was moved to after the actual invocation.
This sleep could be interrupted by a SIGCHLD in the case of a failing
service, and the service could be restarted way more than the documented
once-per-second. Move the sleep back before the fork(), just don't sleep
before the very first fork, so the service starts faster.