Where a program with an rc script _requires_ a certain command line

parameter to daemonize, move the parameter from daemon to daemon_flags,
so that the user cannot inadvertently prevent it from daemonizing by
adjusting the flags.

Discussed with ajacoutot and schwarze, this method was suggested
by schwarze@ as a simpler alternative to my diff. ok aja@
This commit is contained in:
sthen 2011-12-17 22:01:12 +00:00
parent 642d6dba42
commit 91faa22c52
51 changed files with 126 additions and 133 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.40 2010/12/27 14:50:22 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.41 2011/12/17 22:01:12 sthen Exp $
COMMENT= manage remote serial consoles via TCP/IP
DISTNAME= conserver-8.1.16
REVISION= 5
REVISION= 6
CATEGORIES= comms
MAINTAINER= Peter Valchev <pvalchev@openbsd.org>
@ -22,8 +22,8 @@ MASTER_SITES= ftp://ftp.conserver.com/conserver/
AUTOCONF_VERSION= 2.59
CONFIGURE_STYLE= autoconf
CONFIGURE_ARGS= --with-64bit \
--with-openssl \
CONFIGURE_ARGS= --with-64bit \
--with-openssl \
--with-master=localhost
USE_GROFF = Yes

View File

@ -1,9 +1,9 @@
#!/bin/sh
#
# $OpenBSD: conserver.rc,v 1.4 2010/12/27 14:50:22 ajacoutot Exp $
# $OpenBSD: conserver.rc,v 1.5 2011/12/17 22:01:12 sthen Exp $
daemon="${TRUEPREFIX}/sbin/conserver"
daemon_flags="-d -n"
daemon="${TRUEPREFIX}/sbin/conserver -d"
daemon_flags="-n"
. /etc/rc.d/rc.subr

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.13 2011/07/01 08:37:21 pea Exp $
# $OpenBSD: Makefile,v 1.14 2011/12/17 22:01:12 sthen Exp $
COMMENT = lightweight connection pooler for PostgreSQL
DISTNAME = pgbouncer-1.4.2
REVISION = 0
CATEGORIES = databases

View File

@ -1,9 +1,9 @@
#!/bin/sh
#
# $OpenBSD: pgbouncer.rc,v 1.2 2011/01/13 16:31:45 ajacoutot Exp $
# $OpenBSD: pgbouncer.rc,v 1.3 2011/12/17 22:01:12 sthen Exp $
daemon="${TRUEPREFIX}/bin/pgbouncer"
daemon_flags="-q -d -u _pgbouncer ${SYSCONFDIR}/pgbouncer/pgbouncer.ini"
daemon="${TRUEPREFIX}/bin/pgbouncer -d"
daemon_flags="-q -u _pgbouncer ${SYSCONFDIR}/pgbouncer/pgbouncer.ini"
. /etc/rc.d/rc.subr

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.67 2011/12/02 14:36:15 espie Exp $
# $OpenBSD: Makefile,v 1.68 2011/12/17 22:01:13 sthen Exp $
COMMENT-main= Cyrus IMAP server
COMMENT-perl= perl utils for the Cyrus IMAP server
@ -9,7 +9,7 @@ PKGNAME-main= ${DISTNAME}
FULLPKGNAME-perl=cyrus-imapd-perl-${V}
FULLPKGPATH-perl=mail/cyrus-imapd,-perl
REVISION-main= 0
REVISION-main= 1
CATEGORIES= mail

View File

@ -1,9 +1,8 @@
#!/bin/sh
#
# $OpenBSD: cyrus_imapd.rc,v 1.8 2011/07/22 05:58:40 ajacoutot Exp $
# $OpenBSD: cyrus_imapd.rc,v 1.9 2011/12/17 22:01:13 sthen Exp $
daemon="${TRUEPREFIX}/libexec/cyrus-imapd/master"
daemon_flags="-d"
daemon="${TRUEPREFIX}/libexec/cyrus-imapd/master -d"
. /etc/rc.d/rc.subr

View File

@ -1,9 +1,10 @@
# $OpenBSD: Makefile,v 1.86 2011/11/18 13:29:29 espie Exp $
# $OpenBSD: Makefile,v 1.87 2011/12/17 22:01:13 sthen Exp $
CATEGORIES = mail
COMMENT-main = flexible mail transfer agent
COMMENT-eximon = X11 monitor tool for Exim MTA
VERSION = 4.77
REVISION = 0
DISTNAME = exim-${VERSION}
PKGNAME-main = exim-${VERSION}
FULLPKGNAME-eximon = exim-eximon-${VERSION}

View File

@ -1,9 +1,9 @@
#!/bin/sh
#
# $OpenBSD: exim.rc,v 1.1 2011/07/17 20:15:59 sthen Exp $
# $OpenBSD: exim.rc,v 1.2 2011/12/17 22:01:13 sthen Exp $
daemon="${TRUEPREFIX}/bin/exim"
daemon_flags="-bd -q30m"
daemon="${TRUEPREFIX}/bin/exim -bd"
daemon_flags="-q30m"
. /etc/rc.d/rc.subr

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.75 2011/09/21 08:02:07 sthen Exp $
# $OpenBSD: Makefile,v 1.76 2011/12/17 22:01:13 sthen Exp $
COMMENT= mailfilter to identify and mark spam
VER= 3.3.2
DISTNAME= Mail-SpamAssassin-${VER}
PKGNAME= p5-${DISTNAME:S/-rc/rc/}
REVISION= 1
REVISION= 2
RULESNAME= Mail-SpamAssassin-rules-${VER}-r1104058.tar.gz
CATEGORIES= mail perl5

View File

@ -1,9 +1,9 @@
#!/bin/sh
#
# $OpenBSD: spamassassin.rc,v 1.4 2011/03/20 06:46:50 ajacoutot Exp $
# $OpenBSD: spamassassin.rc,v 1.5 2011/12/17 22:01:13 sthen Exp $
daemon="${TRUEPREFIX}/bin/spamd"
daemon_flags="-d -u _spamdaemon -P"
daemon="${TRUEPREFIX}/bin/spamd -d"
daemon_flags="-u _spamdaemon -P"
. /etc/rc.d/rc.subr

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.16 2011/05/06 08:40:06 sthen Exp $
# $OpenBSD: Makefile,v 1.17 2011/12/17 22:01:13 sthen Exp $
COMMENT= postfix greylist daemon
DISTNAME= postgrey-1.34
REVISION= 0
CATEGORIES= mail
HOMEPAGE= http://postgrey.schweikert.ch/

View File

@ -1,9 +1,9 @@
#!/bin/sh
#
# $OpenBSD: postgrey.rc,v 1.1 2011/05/06 08:40:06 sthen Exp $
# $OpenBSD: postgrey.rc,v 1.2 2011/12/17 22:01:13 sthen Exp $
daemon="${TRUEPREFIX}/libexec/postgrey"
daemon_flags="--inet=10023 -d"
daemon="${TRUEPREFIX}/libexec/postgrey -d"
daemon_flags="--inet=10023"
. /etc/rc.d/rc.subr

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.73 2011/11/11 11:39:52 espie Exp $
# $OpenBSD: Makefile,v 1.74 2011/12/17 22:01:13 sthen Exp $
ONLY_FOR_ARCHS-mono= ${MONO_ARCHS}
@ -24,7 +24,7 @@ PKGNAME-qt3= avahi-qt3-${V}
PKGNAME-qt4= avahi-qt4-${V}
PKGNAME-ui= avahi-ui-${V}
REVISION-main= 5
REVISION-main= 6
REVISION-gtk= 4
REVISION-gtk3= 2
REVISION-gui= 2

View File

@ -1,9 +1,8 @@
#!/bin/sh
#
# $OpenBSD: avahi_daemon.rc,v 1.6 2011/03/17 16:49:27 ajacoutot Exp $
# $OpenBSD: avahi_daemon.rc,v 1.7 2011/12/17 22:01:13 sthen Exp $
daemon="${TRUEPREFIX}/sbin/avahi-daemon"
daemon_flags="-D"
daemon="${TRUEPREFIX}/sbin/avahi-daemon -D"
. /etc/rc.d/rc.subr

View File

@ -1,9 +1,8 @@
#!/bin/sh
#
# $OpenBSD: avahi_dnsconfd.rc,v 1.6 2011/03/17 16:49:27 ajacoutot Exp $
# $OpenBSD: avahi_dnsconfd.rc,v 1.7 2011/12/17 22:01:13 sthen Exp $
daemon="${TRUEPREFIX}/sbin/avahi-dnsconfd"
daemon_flags="-D"
daemon="${TRUEPREFIX}/sbin/avahi-dnsconfd -D"
. /etc/rc.d/rc.subr

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.18 2011/12/03 15:01:38 sthen Exp $
# $OpenBSD: Makefile,v 1.19 2011/12/17 22:01:13 sthen Exp $
COMMENT-main = network monitoring system (improved fork of Nagios)
COMMENT-cgi = cgi scripts for Icinga (classic Nagios-style UI)
@ -6,6 +6,7 @@ COMMENT-ido = store Icinga configuration and events in a database
DISTNAME = icinga-$V
PKGNAME-main = icinga-$V
REVISION-main = 0
PKGNAME-cgi = icinga-cgi-$V
PKGNAME-ido = icinga-idoutils-$V

View File

@ -1,9 +1,9 @@
#!/bin/sh
#
# $OpenBSD: icinga.rc,v 1.1.1.1 2011/03/28 14:06:08 sthen Exp $
# $OpenBSD: icinga.rc,v 1.2 2011/12/17 22:01:13 sthen Exp $
daemon="${TRUEPREFIX}/bin/icinga"
daemon_flags="-d ${SYSCONFDIR}/icinga/icinga.cfg"
daemon="${TRUEPREFIX}/bin/icinga -d"
daemon_flags="${SYSCONFDIR}/icinga/icinga.cfg"
. /etc/rc.d/rc.subr

View File

@ -1,9 +1,10 @@
# $OpenBSD: Makefile,v 1.18 2011/06/06 08:34:57 sthen Exp $
# $OpenBSD: Makefile,v 1.19 2011/12/17 22:01:13 sthen Exp $
# $RuOBSD: Makefile,v 1.1.1.1 2002/04/08 02:46:36 form Exp $
COMMENT= IP accounting daemon simulating Cisco ip accounting
DISTNAME= ipcad-3.7.3
REVISION= 0
CATEGORIES= net
HOMEPAGE= http://sourceforge.net/projects/ipcad/
@ -17,7 +18,7 @@ WANTLIB= c pcap pthread
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ipcad/}
CONFIGURE_STYLE= gnu
USE_GROFF = Yes
USE_GROFF= Yes
NO_REGRESS= Yes

View File

@ -1,9 +1,8 @@
#!/bin/sh
#
# $OpenBSD: ipcad.rc,v 1.1 2011/06/06 08:34:57 sthen Exp $
# $OpenBSD: ipcad.rc,v 1.2 2011/12/17 22:01:13 sthen Exp $
daemon="${TRUEPREFIX}/sbin/ipcad"
daemon_flags="-d"
daemon="${TRUEPREFIX}/sbin/ipcad -d"
. /etc/rc.d/rc.subr

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.79 2011/12/02 11:23:37 sthen Exp $
# $OpenBSD: Makefile,v 1.80 2011/12/17 22:01:13 sthen Exp $
COMMENT= multi-router traffic grapher
DISTNAME= mrtg-2.17.3
REVISION= 0
CATEGORIES= net
HOMEPAGE= http://oss.oetiker.ch/mrtg/

View File

@ -1,9 +1,9 @@
#!/bin/sh
#
# $OpenBSD: mrtg.rc,v 1.4 2011/03/20 06:43:47 ajacoutot Exp $
# $OpenBSD: mrtg.rc,v 1.5 2011/12/17 22:01:13 sthen Exp $
daemon="${TRUEPREFIX}/bin/mrtg"
daemon_flags="--daemon --user _mrtg --group _mrtg --confcache-file /tmp/mrtg.ok --lock-file /tmp/mrtg_lock --pid-file /var/run/mrtg.pid"
daemon="${TRUEPREFIX}/bin/mrtg --daemon"
daemon_flags="--user _mrtg --group _mrtg --confcache-file /tmp/mrtg.ok --lock-file /tmp/mrtg_lock --pid-file /var/run/mrtg.pid"
. /etc/rc.d/rc.subr

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.50 2011/11/16 15:56:37 robert Exp $
# $OpenBSD: Makefile,v 1.51 2011/12/17 22:01:13 sthen Exp $
COMMENT-main= host and service monitor
COMMENT-web= cgis and webpages for nagios
@ -7,7 +7,7 @@ V= 3.3.1
DISTNAME= nagios-$V
PKGNAME-main= nagios-$V
PKGNAME-web= nagios-web-$V
REVISION = 1
REVISION= 2
WRKDIST= ${WRKDIR}/nagios
CATEGORIES= net

View File

@ -1,9 +1,9 @@
#!/bin/sh
#
# $OpenBSD: nagios.rc,v 1.1 2011/01/20 14:04:33 sthen Exp $
# $OpenBSD: nagios.rc,v 1.2 2011/12/17 22:01:13 sthen Exp $
daemon="${TRUEPREFIX}/sbin/nagios"
daemon_flags="-d ${SYSCONFDIR}/nagios/nagios.cfg"
daemon="${TRUEPREFIX}/sbin/nagios -d"
daemon_flags="${SYSCONFDIR}/nagios/nagios.cfg"
. /etc/rc.d/rc.subr

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.15 2011/09/16 11:13:38 espie Exp $
# $OpenBSD: Makefile,v 1.16 2011/12/17 22:01:13 sthen Exp $
COMMENT= Nagios Remote Plugin Executor
# packaged from Icinga git repo.
DISTNAME= icinga-nrpe-2.12.20100914
REVISION= 0
REVISION= 1
PKGNAME= ${DISTNAME:S/icinga-//}
WRKDIST= ${WRKDIR}/icinga-nrpe
CATEGORIES= net

View File

@ -1,9 +1,8 @@
#!/bin/sh
#
# $OpenBSD: nrpe.rc,v 1.1 2011/01/20 14:04:42 sthen Exp $
# $OpenBSD: nrpe.rc,v 1.2 2011/12/17 22:01:13 sthen Exp $
daemon="${TRUEPREFIX}/sbin/nrpe"
daemon_flags="-d"
daemon="${TRUEPREFIX}/sbin/nrpe -d"
. /etc/rc.d/rc.subr

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.21 2011/11/16 00:20:09 sthen Exp $
# $OpenBSD: Makefile,v 1.22 2011/12/17 22:01:13 sthen Exp $
COMMENT= threaded DNS daemon, optimized for caching
DISTNAME= pdnsd-1.2.8-par
PKGNAME= ${DISTNAME:S/-par//}
REVISION= 2
CATEGORIES= net
REVISION= 3
CATEGORIES= net
MASTER_SITES= ${HOMEPAGE}/releases/
HOMEPAGE= http://www.phys.uu.nl/~rombouts/pdnsd/

View File

@ -1,9 +1,8 @@
#!/bin/sh
#
# $OpenBSD: pdnsd.rc,v 1.1 2011/10/14 07:00:51 ajacoutot Exp $
# $OpenBSD: pdnsd.rc,v 1.2 2011/12/17 22:01:13 sthen Exp $
daemon="${TRUEPREFIX}/sbin/pdnsd"
daemon_flags="-d"
daemon="${TRUEPREFIX}/sbin/pdnsd -d"
. /etc/rc.d/rc.subr

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.16 2011/10/28 07:23:39 jasper Exp $
# $OpenBSD: Makefile,v 1.17 2011/12/17 22:01:13 sthen Exp $
SHARED_ONLY= Yes
@ -15,18 +15,18 @@ PKGNAME= powerdns-${V}
PKGNAME-main= powerdns-${V}
PKGNAME-mysql= powerdns-mysql-${V}
PKGNAME-pgsql= powerdns-pgsql-${V}
PKGNAME-sqlite= powerdns-sqlite-${V}
PKGNAME-sqlite= powerdns-sqlite-${V}
PKGNAME-sqlite3= powerdns-sqlite3-${V}
PKGNAME-ldap= powerdns-ldap-${V}
CATEGORIES= net
HOMEPAGE= http://www.powerdns.com/
REVISION-main= 1
REVISION-mysql = 0
REVISION-pgsql = 0
REVISION-sqlite = 0
REVISION-sqlite3 = 0
REVISION-ldap = 0
REVISION-main= 2
REVISION-mysql= 0
REVISION-pgsql= 0
REVISION-sqlite= 0
REVISION-sqlite3= 0
REVISION-ldap= 0
MULTI_PACKAGES= -main

View File

@ -1,9 +1,9 @@
#!/bin/sh
#
# $OpenBSD: pdns_server.rc,v 1.1 2011/10/24 19:47:55 sthen Exp $
# $OpenBSD: pdns_server.rc,v 1.2 2011/12/17 22:01:13 sthen Exp $
daemon="${TRUEPREFIX}/sbin/pdns_server"
daemon_flags="--daemon=yes --guardian=no --control-console --loglevel=9"
daemon="${TRUEPREFIX}/sbin/pdns_server --daemon=yes"
daemon_flags="--guardian=no --control-console --loglevel=9"
. /etc/rc.d/rc.subr

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.12 2011/10/01 08:30:37 jasper Exp $
# $OpenBSD: Makefile,v 1.13 2011/12/17 22:01:13 sthen Exp $
COMMENT = highly reliable Enterprise Messaging System
V = 2.6.1
REVISION = 0
DISTNAME = rabbitmq-server-$V
PKGNAME = rabbitmq-$V
CATEGORIES = net

View File

@ -1,9 +1,8 @@
#!/bin/sh
#
# $OpenBSD: rabbitmq.rc,v 1.3 2011/07/08 04:31:57 ajacoutot Exp $
# $OpenBSD: rabbitmq.rc,v 1.4 2011/12/17 22:01:13 sthen Exp $
daemon="${TRUEPREFIX}/sbin/rabbitmq-server"
daemon_flags="-detached"
daemon="${TRUEPREFIX}/sbin/rabbitmq-server -detached"
daemon_user="_rabbitmq"
. /etc/rc.d/rc.subr

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.152 2011/10/21 20:10:51 sthen Exp $
# $OpenBSD: Makefile,v 1.153 2011/12/17 22:01:13 sthen Exp $
SHARED_ONLY= Yes
@ -6,6 +6,7 @@ COMMENT-main= SMB and CIFS client and server for UNIX
COMMENT-docs= additional documentation and examples for Samba
DISTNAME= samba-3.6.1
REVISION-main= 0
PKGNAME-main= ${DISTNAME}
FULLPKGNAME-docs= ${DISTNAME:S/-/-docs-/}
FULLPKGPATH-docs= net/samba,-docs

View File

@ -1,9 +1,8 @@
#!/bin/sh
#
# $OpenBSD: nmbd.rc,v 1.4 2011/05/19 20:44:51 gsoares Exp $
# $OpenBSD: nmbd.rc,v 1.5 2011/12/17 22:01:13 sthen Exp $
daemon="${TRUEPREFIX}/libexec/nmbd"
daemon_flags="-D"
daemon="${TRUEPREFIX}/libexec/nmbd -D"
. /etc/rc.d/rc.subr

View File

@ -1,9 +1,8 @@
#!/bin/sh
#
# $OpenBSD: smbd.rc,v 1.4 2011/05/19 20:44:51 gsoares Exp $
# $OpenBSD: smbd.rc,v 1.5 2011/12/17 22:01:13 sthen Exp $
daemon="${TRUEPREFIX}/libexec/smbd"
daemon_flags="-D"
daemon="${TRUEPREFIX}/libexec/smbd -D"
. /etc/rc.d/rc.subr

View File

@ -1,9 +1,8 @@
#!/bin/sh
#
# $OpenBSD: winbindd.rc,v 1.4 2011/05/19 20:44:51 gsoares Exp $
# $OpenBSD: winbindd.rc,v 1.5 2011/12/17 22:01:13 sthen Exp $
daemon="${TRUEPREFIX}/libexec/winbindd"
daemon_flags="-D"
daemon="${TRUEPREFIX}/libexec/winbindd -D"
. /etc/rc.d/rc.subr

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.9 2011/12/03 13:59:37 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.10 2011/12/17 22:01:13 sthen Exp $
COMMENT= UPnP A/V media server
DISTNAME= ushare-1.1a
REVISION= 4
REVISION= 5
EXTRACT_SUFX= .tar.bz2
CATEGORIES= net multimedia

View File

@ -1,9 +1,8 @@
#!/bin/sh
#
# $OpenBSD: ushare.rc,v 1.4 2010/12/27 14:50:23 ajacoutot Exp $
# $OpenBSD: ushare.rc,v 1.5 2011/12/17 22:01:13 sthen Exp $
daemon="${TRUEPREFIX}/bin/ushare"
daemon_flags="-D"
daemon="${TRUEPREFIX}/bin/ushare -D"
. /etc/rc.d/rc.subr

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.8 2011/11/16 00:20:09 sthen Exp $
# $OpenBSD: Makefile,v 1.9 2011/12/17 22:01:13 sthen Exp $
COMMENT = network traffic monitor
DISTNAME = vnstat-1.10
CATEGORIES = net sysutils
REVISION = 5
REVISION = 6
HOMEPAGE = http://humdi.net/vnstat/

View File

@ -1,9 +1,8 @@
#!/bin/sh
#
# $OpenBSD: vnstatd.rc,v 1.4 2010/12/27 14:50:23 ajacoutot Exp $
# $OpenBSD: vnstatd.rc,v 1.5 2011/12/17 22:01:13 sthen Exp $
daemon="${TRUEPREFIX}/sbin/vnstatd"
daemon_flags="-d"
daemon="${TRUEPREFIX}/sbin/vnstatd -d"
daemon_user="_vnstat"
. /etc/rc.d/rc.subr

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.72 2011/12/07 09:29:02 jasper Exp $
# $OpenBSD: Makefile,v 1.73 2011/12/17 22:01:13 sthen Exp $
COMMENT= virus scanner
DISTNAME= clamav-0.97.3
REVISION= 0
REVISION= 1
CATEGORIES= security
SHARED_LIBS= clamav 18.1 \

View File

@ -1,9 +1,8 @@
#!/bin/sh
#
# $OpenBSD: freshclam.rc,v 1.1 2011/01/05 06:06:49 ajacoutot Exp $
# $OpenBSD: freshclam.rc,v 1.2 2011/12/17 22:01:13 sthen Exp $
daemon="${TRUEPREFIX}/bin/freshclam"
daemon_flags="-d"
daemon="${TRUEPREFIX}/bin/freshclam -d"
. /etc/rc.d/rc.subr

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.3 2011/11/16 17:42:26 naddy Exp $
# $OpenBSD: Makefile,v 1.4 2011/12/17 22:01:13 sthen Exp $
COMMENT = remote backup software system
DISTNAME = BackupPC-3.2.1
PKGNAME = ${DISTNAME:L}
REVISION = 0
REVISION = 1
CATEGORIES = sysutils

View File

@ -1,9 +1,8 @@
#!/bin/sh
#
# $OpenBSD: backuppc.rc,v 1.1.1.1 2011/09/20 11:36:55 landry Exp $
# $OpenBSD: backuppc.rc,v 1.2 2011/12/17 22:01:13 sthen Exp $
daemon="${TRUEPREFIX}/bin/BackupPC"
daemon_flags="-d"
daemon="${TRUEPREFIX}/bin/BackupPC -d"
daemon_user="_backuppc"
. /etc/rc.d/rc.subr

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.32 2011/12/15 15:04:32 nigel Exp $
# $OpenBSD: Makefile,v 1.33 2011/12/17 22:01:13 sthen Exp $
SHARED_ONLY= Yes
@ -18,7 +18,7 @@ PKGNAME-mysql = cherokee-mysql-${VERSION}
PKGNAME-geoip = cherokee-geoip-${VERSION}
PKGNAME-streaming = cherokee-streaming-${VERSION}
REVISION-main = 7
REVISION-main = 8
REVISION-geoip = 3
REVISION-ldap = 4
REVISION-mysql = 3

View File

@ -1,9 +1,8 @@
#!/bin/sh
#
# $OpenBSD: cherokee.rc,v 1.3 2010/12/27 14:50:24 ajacoutot Exp $
# $OpenBSD: cherokee.rc,v 1.4 2011/12/17 22:01:13 sthen Exp $
daemon="${TRUEPREFIX}/sbin/cherokee"
daemon_flags="-d"
daemon="${TRUEPREFIX}/sbin/cherokee -d"
. /etc/rc.d/rc.subr

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.15 2010/12/27 14:50:24 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.16 2011/12/17 22:01:13 sthen Exp $
COMMENT= HTTP caching proxy
DISTNAME= polipo-1.0.4.1
CATEGORIES= www
REVISION= 5
REVISION= 6
HOMEPAGE= http://www.pps.jussieu.fr/~jch/software/polipo/
@ -17,8 +17,10 @@ PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c
USE_GROFF = Yes
WANTLIB += c
USE_GROFF= Yes
post-extract:
@perl -pi -e "s,/usr/local/share/polipo/,${LOCALBASE}/share/polipo/," \

View File

@ -1,9 +1,8 @@
#!/bin/sh
#
# $OpenBSD: polipo.rc,v 1.5 2010/12/27 14:50:24 ajacoutot Exp $
# $OpenBSD: polipo.rc,v 1.6 2011/12/17 22:01:13 sthen Exp $
daemon="${TRUEPREFIX}/bin/polipo"
daemon_flags="daemonise=yes"
daemon="${TRUEPREFIX}/bin/polipo daemonise=yes"
. /etc/rc.d/rc.subr

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.14 2011/06/02 13:41:42 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.15 2011/12/17 22:01:13 sthen Exp $
COMMENT-main= high performance webserver written in Erlang, libraries
COMMENT-web= high performance webserver written in Erlang, docroot
@ -6,7 +6,7 @@ COMMENT-web= high performance webserver written in Erlang, docroot
VERSION= 1.90
DISTNAME= yaws-${VERSION}
PKGNAME-main= yaws-${VERSION}
REVISION-main= 1
REVISION-main= 2
PKGNAME-web= yaws-web-${VERSION}
CATEGORIES= www

View File

@ -1,9 +1,9 @@
#!/bin/sh
#
# $OpenBSD: yaws.rc,v 1.5 2011/03/09 19:37:47 ajacoutot Exp $
# $OpenBSD: yaws.rc,v 1.6 2011/12/17 22:01:13 sthen Exp $
daemon="${TRUEPREFIX}/bin/yaws"
daemon_flags="--daemon --conf ${SYSCONFDIR}/yaws/yaws.conf"
daemon="${TRUEPREFIX}/bin/yaws --daemon"
daemon_flags="--conf ${SYSCONFDIR}/yaws/yaws.conf"
. /etc/rc.d/rc.subr

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.19 2011/06/02 13:41:42 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.20 2011/12/17 22:01:13 sthen Exp $
COMMENT= simple login manager
DISTNAME= slim-1.3.2
REVISION= 4
REVISION= 5
CATEGORIES= x11
HOMEPAGE= http://slim.berlios.de/

View File

@ -1,9 +1,8 @@
#!/bin/sh
#
# $OpenBSD: slim.rc,v 1.2 2011/03/09 18:51:49 ajacoutot Exp $
# $OpenBSD: slim.rc,v 1.3 2011/12/17 22:01:14 sthen Exp $
daemon="${TRUEPREFIX}/bin/slim"
daemon_flags="-d"
daemon="${TRUEPREFIX}/bin/slim -d"
. /etc/rc.d/rc.subr