aboutsummaryrefslogtreecommitdiff
path: root/sysutils/daemontools
Commit message (Collapse)AuthorAgeFilesLines
* all: Remove all other $FreeBSD keywords.Mathieu Arnold2021-04-061-3/+0
|
* Remove # $FreeBSD$ from Makefiles.Mathieu Arnold2021-04-061-1/+0
|
* rc.d/svscan: Use -f to daemon(8) again.Bryan Drewery2016-05-032-4/+4
| | | | | | | | | | | | | - 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] Notes: svn path=/head/; revision=414546
* Add Public Domain support to ports license framework. You can now useDmitry Marakasov2016-01-121-3/+0
| | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=405874
* MASTER_SITES cleanup.Mathieu Arnold2015-05-141-2/+1
| | | | | | | | | | | | | | | | | | | | | | - 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 Notes: svn path=/head/; revision=386312
* - Add missing 'shutdown' keyword in rc.d/svscan script so that servicesBryan Drewery2014-07-252-1/+2
| | | | | | | | | can gracefully shutdown. Reported by: dvl Notes: svn path=/head/; revision=362918
* fix minor spelling errorMark Felder2014-03-031-1/+1
| | | | Notes: svn path=/head/; revision=346913
* - Convert to stagingBryan Drewery2013-10-202-20/+30
| | | | | | | - Cleanup master/patch sites (stop using people.freebsd.org) Notes: svn path=/head/; revision=330998
* - Add NO_STAGE until validated to be safe for upcoming staging supportBryan Drewery2013-09-201-0/+2
| | | | Notes: svn path=/head/; revision=327710
* - Take maintainershipBryan Drewery2013-07-121-13/+11
| | | | | | | | | | | | | | - 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) Notes: svn path=/head/; revision=322873
* - ftp has left the building...Jason Helfman2013-07-111-2/+1
| | | | Notes: svn path=/head/; revision=322756
* - add conflicts against freedt and serialmailJason Helfman2012-07-011-0/+2
| | | | | | | Reported by: madis555@hot.ee Notes: svn path=/head/; revision=300338
* - adopt optionsNGJason Helfman2012-06-251-19/+19
| | | | Notes: svn path=/head/; revision=299968
* - pet portlint on license orderingJason Helfman2012-04-132-6/+4
| | | | | | | | | - use man8prefix over prefix - move distfiles to my LOCAL (jgh) - drop non-standard email placement from pkg-descr Notes: svn path=/head/; revision=294783
* take maintainershipJason Helfman2012-02-281-1/+1
| | | | Notes: svn path=/head/; revision=292378
* - Reassign to the heapGreg Larkin2012-02-271-1/+1
| | | | | | | Requested by: roam (on ports-developers@) Notes: svn path=/head/; revision=292325
* In the rc.d scripts, change assignments to rcvar to use theDoug Barton2012-01-141-1/+1
| | | | | | | | | | | | | | 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. Notes: svn path=/head/; revision=289156
* Add Gerritt Pape's patch to skip the timestamp when matching incomingPeter Pentchev2010-11-123-6/+39
| | | | | | | | | | | | | | 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) Notes: svn path=/head/; revision=264455
* Begin the process of deprecating sysutils/rc_subr byDoug Barton2010-03-271-1/+1
| | | | | | | s#. %%RC_SUBR%%#. /etc/rc.subr# Notes: svn path=/head/; revision=251553
* Fix a bug in the supervise(8) tool if the fork(2) syscall should fail.Peter Pentchev2010-03-152-1/+22
| | | | Notes: svn path=/head/; revision=251069
* It seems that the thedjbway.org domain has expired, so the sigq12 patchPeter Pentchev2010-01-071-1/+3
| | | | | | | | | | 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> Notes: svn path=/head/; revision=247329
* Fix another instance of replacing %%DAEMON%% with /usr/sbin/daemon,Peter Pentchev2010-01-064-8/+39
| | | | | | | | | | | | | | | | | | | 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) Notes: svn path=/head/; revision=247267
* Restore the checksums for the sigq12 patch inadvertently lost inPeter Pentchev2010-01-061-0/+3
| | | | | | | pgollucci's RC_SUBR change. Notes: svn path=/head/; revision=247253
* Fix startup script by filling in /usr/sbin/daemon -f instead of theDoug Barton2010-01-051-1/+1
| | | | | | | | | pointlessly obscure %%DAEMON%%. Problem pointed out by: garga Notes: svn path=/head/; revision=247189
* - USE_RC_SUBR != yesPhilip M. Gollucci2010-01-044-18/+2
| | | | | | | | | PR: ports/136851 Approved by: maintainer timeout (roam; > 6 months) Submitted by: myself (pgollucci @) Notes: svn path=/head/; revision=247102
* - Remove conditional checks for FreeBSD 5.x and olderPav Lucistnik2009-01-061-7/+2
| | | | Notes: svn path=/head/; revision=225335
* As per http://cr.yp.to/distributors.html, effective 2008-08-05,Ade Lovett2008-08-051-1/+0
| | | | | | | remove RESTRICTED on these ports - they are free to roam wild. Notes: svn path=/head/; revision=218068
* Add a knob to disable the run-time testsuite, e.g. when building withPeter Pentchev2007-10-303-6/+50
| | | | | | | | | | | | | | 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> Notes: svn path=/head/; revision=202426
* Remove support for OSVERSION < 5Edwin Groothuis2007-10-041-1/+1
| | | | Notes: svn path=/head/; revision=200766
* Add the sigq12 patch, which allows the svc utility to tell supervise toPeter Pentchev2006-09-252-4/+16
| | | | | | | | | | | | | 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) Notes: svn path=/head/; revision=173794
* RESTRICTED is intended here instead of NO_PACKAGEKris Kennaway2006-09-031-1/+1
| | | | Notes: svn path=/head/; revision=172070
* Remove the FreeBSD KEYWORD from all rc.d scripts where it appears.Doug Barton2006-02-201-1/+0
| | | | | | | | | | 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. Notes: svn path=/head/; revision=156534
* SHA256ifyEdwin Groothuis2006-01-241-0/+4
| | | | | | | Approved by: krion@ Notes: svn path=/head/; revision=154303
* Skip directories with names starting with a dot. [1]Peter Pentchev2005-06-073-4/+6
| | | | | | | | | | | 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] Notes: svn path=/head/; revision=136985
* Remove the duplicate 'Stopping svscan' message on shutdown.Peter Pentchev2005-05-303-3/+2
| | | | | | | | | | | Fix the URL in pkg-descr. Bump PORTREVISION. PR: 81665 Submitted by: Renato Botelho <freebsd@galle.com.br> Notes: svn path=/head/; revision=136423
* Fix shutdown on older systems: avoid find's '-depth n' primary.Peter Pentchev2004-07-302-2/+2
| | | | | | | Reported by: Robin Breathe <robin@isometry.net> Notes: svn path=/head/; revision=115096
* Make the startup script also work on older versions of FreeBSD whichPeter Pentchev2004-07-272-3/+11
| | | | | | | lack the daemon(8) utility. Notes: svn path=/head/; revision=114845
* - make this script work with the New World Order in /etc/rc.d/localpkg,Peter Pentchev2004-07-262-7/+7
| | | | | | | | | | | | | | | | | | 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 :) Notes: svn path=/head/; revision=114770
* Oops, I forgot to add "print stop message".Norikatsu Shigemura2004-07-251-0/+1
| | | | Notes: svn path=/head/; revision=114628
* o portlint clean. [1]Norikatsu Shigemura2004-07-252-5/+6
| | | | | | | | | | | | | | | o print start message. [1] o daemon(8)'ify. [2] o bump PORTREVISION accordingly. PR: ports/68558 [1] Submitted by: Renato Botelho <renato@galle.com.br> [1] myself [2] Reviewed by: roam [2] Approved by: roam (blanket) Notes: svn path=/head/; revision=114627
* Switch from using /bin/csh to /bin/sh, as suggested on -ports.Peter Pentchev2004-06-282-2/+2
| | | | Notes: svn path=/head/; revision=112509
* USE_RC_SUBR.Peter Pentchev2004-06-283-45/+58
| | | | | | | Submitted by: nork Notes: svn path=/head/; revision=112506
* Remove pkg-comment files in my ports.Peter Pentchev2003-02-192-1/+1
| | | | Notes: svn path=/head/; revision=75894
* Install the sample startup script directly to etc/rc.d/, instead ofPeter Pentchev2003-01-172-7/+3
| | | | | | | | | | 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 Notes: svn path=/head/; revision=73356
* Install Gerritt Pape's manual pages unless WITHOUT_MAN is defined.Peter Pentchev2002-02-073-1/+20
| | | | | | | Properly remove the sample svscan.sh script at deinstall time. Notes: svn path=/head/; revision=54314
* Tweak the startup script so that it is *really* a FreeBSD startupPeter Pentchev2002-01-282-3/+31
| | | | | | | | | | | | | | | 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.. Final push by: Dan Langille <dan@langille.org> in a somewhat unrelated e-mail exchange Obtained from: a svscan SysV init script that I somehow managed to lose the source and URL for :( Notes: svn path=/head/; revision=53924
* Update to 0.76.Peter Pentchev2002-01-046-31/+45
| | | | | | | | | | Assume maintainership. Reviewed by: nbm Approved by: nbm Notes: svn path=/head/; revision=52566
* Almost revert a change made in daemontools-0.70's supervise, wherePeter Pentchev2001-05-102-0/+25
| | | | | | | | | | | | | | | | 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. Silence by: Daniel J. Bernstein (no telling if he'll fix this in later daemontools releases, so I guess we'll have to do it as part of our port..) Approved by: nbm (maintainer) Notes: svn path=/head/; revision=42485
* Put the NO_PACKAGE strings in double quotes to the escaped single quoteSteve Price2000-12-031-1/+1
| | | | | | | becomes just a single quote instead \'. Notes: svn path=/head/; revision=35620
* Add the ftp version of the MASTER_SITE, since it is available.Neil Blakey-Milner2000-07-291-1/+2
| | | | Notes: svn path=/head/; revision=31108