Move these to rc_reload=NO.

This commit is contained in:
ajacoutot 2010-12-11 12:57:37 +00:00
parent a1926124f6
commit 8a39ef78ea
31 changed files with 64 additions and 112 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.178 2010/12/11 09:59:25 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.179 2010/12/11 12:57:37 ajacoutot Exp $
SHARED_ONLY= Yes
@ -6,7 +6,7 @@ COMMENT-main= multithreaded SQL database (client)
COMMENT-server= multithreaded SQL database (server)
COMMENT-tests= multithreaded SQL database (regression test suite/benchmark)
REVISION-server=1
REVISION-server=2
VERSION= 5.1.53
DISTNAME= mysql-${VERSION}

View File

@ -1,19 +1,16 @@
#!/bin/sh
#
# $OpenBSD: mysqld.rc,v 1.4 2010/12/11 09:59:25 ajacoutot Exp $
# $OpenBSD: mysqld.rc,v 1.5 2010/12/11 12:57:37 ajacoutot Exp $
. /etc/rc.d/rc.subr
daemon="${TRUEPREFIX}/bin/mysqld_safe"
rc_reload=NO
rc_check() {
${TRUEPREFIX}/bin/mysqladmin -s ping >/dev/null
}
rc_reload() {
rc_err "$0: reload is not supported."
}
rc_start() {
su -c ${daemon_class:-daemon} -s ${daemon_shell:-/bin/sh} \
${daemon_user:-root} -c "${daemon} ${daemon_flags}" >/dev/null 2>&1 &

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.33 2010/12/06 18:51:09 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.34 2010/12/11 12:57:37 ajacoutot Exp $
COMMENT= API for accessing scanners, backends
DISTNAME= sane-backends-1.0.21
REVISION= 7
REVISION= 8
PATCHFILES= sane-backends-1.0.21-i18n.patch
PATCH_DIST_STRIP= -p1

View File

@ -1,20 +1,17 @@
#!/bin/sh
#
# $OpenBSD: saned.rc,v 1.3 2010/11/30 08:14:05 ajacoutot Exp $
# $OpenBSD: saned.rc,v 1.4 2010/12/11 12:57:37 ajacoutot Exp $
. /etc/rc.d/rc.subr
daemon="${TRUEPREFIX}/libexec/saned"
daemon_flags="-a _saned"
rc_reload=NO
rc_pre() {
[ -e /dev/uscanner0 ] && chgrp _saned /dev/uscanner0
}
rc_reload() {
rc_err "$0: reload is not supported"
}
rc_post() {
[ -e /dev/uscanner0 ] && chgrp wheel /dev/uscanner0
}

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.60 2010/12/11 09:59:25 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.61 2010/12/11 12:57:37 ajacoutot Exp $
COMMENT= mailing list manager with web interface
DISTNAME= mailman-2.1.14
REVISION= 3
REVISION= 4
CATEGORIES= mail www
HOMEPAGE= http://www.gnu.org/software/mailman/

View File

@ -1,11 +1,12 @@
#!/bin/sh
#
# $OpenBSD: mailman.rc,v 1.3 2010/12/11 09:59:25 ajacoutot Exp $
# $OpenBSD: mailman.rc,v 1.4 2010/12/11 12:57:37 ajacoutot Exp $
. /etc/rc.d/rc.subr
daemon="${TRUEPREFIX}/lib/mailman/bin/mailmanctl"
daemon_flags="-s -q"
rc_reload=NO
rc_start() {
su -c ${daemon_class:-daemon} -s ${daemon_shell:-/bin/sh} \
@ -16,8 +17,4 @@ rc_stop() {
${daemon} ${daemon_flags} stop
}
rc_reload() {
rc_err "$0: reload is not supported"
}
rc_cmd $1

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.20 2010/12/09 01:46:05 okan Exp $
# $OpenBSD: Makefile,v 1.21 2010/12/11 12:57:37 ajacoutot Exp $
COMMENT= sendmail milter plugin for regular expression filtering
DISTNAME= milter-regex-1.8
REVISION= 0
CATEGORIES= mail
MASTER_SITES= http://www.benzedrine.cx/

View File

@ -1,13 +1,10 @@
#!/bin/sh
#
# $OpenBSD: milter_regex.rc,v 1.1 2010/12/09 01:46:05 okan Exp $
# $OpenBSD: milter_regex.rc,v 1.2 2010/12/11 12:57:37 ajacoutot Exp $
. /etc/rc.d/rc.subr
daemon="${TRUEPREFIX}/libexec/milter-regex"
rc_reload() {
rc_err "$0: reload is not supported"
}
rc_reload=NO
rc_cmd $1

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.12 2010/12/09 01:47:31 okan Exp $
# $OpenBSD: Makefile,v 1.13 2010/12/11 12:57:37 ajacoutot Exp $
COMMENT= sendmail milter plugin for SpamAssassin spamd
DISTNAME= milter-spamd-0.5
REVISION = 1
REVISION = 2
CATEGORIES= mail
MASTER_SITES= http://www.benzedrine.cx/

View File

@ -1,13 +1,10 @@
#!/bin/sh
#
# $OpenBSD: milter_spamd.rc,v 1.1 2010/12/09 01:47:31 okan Exp $
# $OpenBSD: milter_spamd.rc,v 1.2 2010/12/11 12:57:37 ajacoutot Exp $
. /etc/rc.d/rc.subr
daemon="${TRUEPREFIX}/libexec/milter-spamd"
rc_reload() {
rc_err "$0: reload is not supported"
}
rc_reload=NO
rc_cmd $1

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.16 2010/12/09 01:44:15 okan Exp $
# $OpenBSD: Makefile,v 1.17 2010/12/11 12:57:37 ajacoutot Exp $
COMMENT= mailfilter to identify and mark spam
DISTNAME= mimedefang-2.71
REVISION= 0
REVISION= 1
CATEGORIES= mail
HOMEPAGE= http://www.mimedefang.org/

View File

@ -1,18 +1,15 @@
#!/bin/sh
#
# $OpenBSD: mimedefang_daemon.rc,v 1.2 2010/12/09 01:44:15 okan Exp $
# $OpenBSD: mimedefang_daemon.rc,v 1.3 2010/12/11 12:57:37 ajacoutot Exp $
. /etc/rc.d/rc.subr
daemon="${TRUEPREFIX}/bin/mimedefang"
daemon_flags="-U _mdefang -p /var/run/mdefang/mimedefang.socket -m /var/run/mdefang/multiplexor.socket"
rc_reload=NO
rc_pre() {
install -d -o _mdefang -g _mdefang /var/run/mdefang
}
rc_reload() {
rc_err "$0: reload is not supported"
}
rc_cmd $1

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.8 2010/11/19 22:31:32 espie Exp $
# $OpenBSD: Makefile,v 1.9 2010/12/11 12:57:37 ajacoutot Exp $
COMMENT = Audit Record Generation and Utilization System
DISTNAME = argus-3.0.2
REVISION = 1
REVISION = 2
CATEGORIES = net
HOMEPAGE = http://qosient.com/argus/

View File

@ -1,13 +1,10 @@
#!/bin/sh
#
# $OpenBSD: argus.rc,v 1.2 2010/11/12 21:03:46 steven Exp $
# $OpenBSD: argus.rc,v 1.3 2010/12/11 12:57:37 ajacoutot Exp $
. /etc/rc.d/rc.subr
daemon="${TRUEPREFIX}/sbin/argus"
rc_reload() {
rc_err "$0: reload is not supported."
}
rc_reload=NO
rc_cmd $1

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.6 2010/11/19 22:31:34 espie Exp $
# $OpenBSD: Makefile,v 1.7 2010/12/11 12:57:37 ajacoutot Exp $
COMMENT = service monitoring daemon
DISTNAME = mon-${V}
REVISION = 1
REVISION = 2
WANTLIB = c

View File

@ -1,12 +1,13 @@
#!/bin/sh
#
# $OpenBSD: mon.rc,v 1.1 2010/11/10 13:54:56 pea Exp $
# $OpenBSD: mon.rc,v 1.2 2010/12/11 12:57:37 ajacoutot Exp $
. /etc/rc.d/rc.subr
daemon="${TRUEPREFIX}/bin/mon"
daemon_flags="-c ${SYSCONFDIR}/mon/mon.cf -f -P /var/run/mon/mon.pid"
pexp="/usr/bin/perl ${daemon}${daemon_flags:+ ${daemon_flags}}"
rc_reload=NO
rc_pre() {
/usr/bin/install -d -o _mon /var/run/mon
@ -16,8 +17,4 @@ rc_start() {
/usr/bin/su -l _mon -c "${daemon} ${daemon_flags}" > /dev/null
}
rc_reload() {
rc_err "$0: reload is not supported"
}
rc_cmd $1

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.47 2010/11/10 23:37:32 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.48 2010/12/11 12:57:37 ajacoutot Exp $
COMMENT= Network Time Protocol reference implementation
@ -9,7 +9,7 @@ COMMENT= Network Time Protocol reference implementation
VERSION= 4.2.6p2
DISTNAME= ntp-${VERSION}
PKGNAME= ntp-${VERSION:S/p/pl/}
REVISION= 1
REVISION= 2
CATEGORIES= net
MASTER_SITES= http://archive.ntp.org/ntp4/ntp-4.2/

View File

@ -1,13 +1,10 @@
#!/bin/sh
#
# $OpenBSD: ntpd.rc,v 1.2 2010/11/10 23:37:32 ajacoutot Exp $
# $OpenBSD: ntpd.rc,v 1.3 2010/12/11 12:57:37 ajacoutot Exp $
. /etc/rc.d/rc.subr
daemon="${TRUEPREFIX}/sbin/ntpd"
rc_reload() {
rc_err "$0: reload is not supported"
}
rc_reload=NO
rc_cmd $1

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.40 2010/12/11 10:24:21 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.41 2010/12/11 12:57:37 ajacoutot Exp $
COMMENT-main = network and application monitoring - agent
COMMENT-server = network and application monitoring - server
@ -13,8 +13,8 @@ FULLPKGNAME-web = zabbix-web-${VERSION}
FULLPKGPATH-web = net/zabbix,-web
CATEGORIES = net
REVISION-main = 6
REVISION-server = 6
REVISION-main = 7
REVISION-server = 7
REVISION-web = 2
MAJV = ${VERSION:C/^([0-9]+\.[0-9]+).*/\1/}

View File

@ -1,18 +1,15 @@
#!/bin/sh
#
# $OpenBSD: zabbix_agentd.rc,v 1.1 2010/11/22 15:39:21 ajacoutot Exp $
# $OpenBSD: zabbix_agentd.rc,v 1.2 2010/12/11 12:57:37 ajacoutot Exp $
. /etc/rc.d/rc.subr
daemon="${TRUEPREFIX}/sbin/zabbix_agentd"
pexp="zabbix_agentd: main process"
rc_reload=NO
rc_pre() {
install -d -o _zabbix -g _zabbix /var/run/zabbix
}
rc_reload() {
rc_err "$0: reload is not supported"
}
rc_cmd $1

View File

@ -1,18 +1,15 @@
#!/bin/sh
#
# $OpenBSD: zabbix_proxy.rc,v 1.2 2010/12/11 10:24:21 ajacoutot Exp $
# $OpenBSD: zabbix_proxy.rc,v 1.3 2010/12/11 12:57:37 ajacoutot Exp $
. /etc/rc.d/rc.subr
daemon="${TRUEPREFIX}/sbin/zabbix_proxy"
pexp="zabbix_proxy: heartbeat sender"
rc_reload=NO
rc_pre() {
install -d -o _zabbix -g _zabbix /var/run/zabbix
}
rc_reload() {
rc_err "$0: reload is not supported"
}
rc_cmd $1

View File

@ -1,18 +1,15 @@
#!/bin/sh
#
# $OpenBSD: zabbix_server.rc,v 1.2 2010/12/11 10:24:21 ajacoutot Exp $
# $OpenBSD: zabbix_server.rc,v 1.3 2010/12/11 12:57:37 ajacoutot Exp $
. /etc/rc.d/rc.subr
daemon="${TRUEPREFIX}/sbin/zabbix_server"
pexp="zabbix_server: main process"
rc_reload=NO
rc_pre() {
install -d -o _zabbix -g _zabbix /var/run/zabbix
}
rc_reload() {
rc_err "$0: reload is not supported"
}
rc_cmd $1

View File

@ -1,8 +1,10 @@
# $OpenBSD: Makefile,v 1.61 2010/12/01 22:59:35 sthen Exp $
# $OpenBSD: Makefile,v 1.62 2010/12/11 12:57:37 ajacoutot Exp $
COMMENT= virus scanner
DISTNAME= clamav-0.96.5
REVISION= 0
CATEGORIES= security
SHARED_LIBS= clamav 17.0 \
clamunrar 2.0 \

View File

@ -1,13 +1,10 @@
#!/bin/sh
#
# $OpenBSD: clamav_daemon.rc,v 1.1 2010/11/04 11:18:12 sthen Exp $
# $OpenBSD: clamav_daemon.rc,v 1.2 2010/12/11 12:57:37 ajacoutot Exp $
. /etc/rc.d/rc.subr
daemon="${TRUEPREFIX}/sbin/clamd"
rc_reload() {
rc_err "$0: reload is not supported"
}
rc_reload=NO
rc_cmd $1

View File

@ -1,14 +1,11 @@
#!/bin/sh
#
# $OpenBSD: clamav_freshclam.rc,v 1.1 2010/11/04 11:18:12 sthen Exp $
# $OpenBSD: clamav_freshclam.rc,v 1.2 2010/12/11 12:57:37 ajacoutot Exp $
. /etc/rc.d/rc.subr
daemon="${TRUEPREFIX}/bin/freshclam"
daemon_flags="-d"
rc_reload() {
rc_err "$0: reload is not supported"
}
rc_reload=NO
rc_cmd $1

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.12 2010/11/22 08:36:53 espie Exp $
# $OpenBSD: Makefile,v 1.13 2010/12/11 12:57:37 ajacoutot Exp $
COMMENT= HTTP caching proxy
DISTNAME= polipo-1.0.4.1
CATEGORIES= www
REVISION= 2
REVISION= 3
HOMEPAGE= http://www.pps.jussieu.fr/~jch/software/polipo/

View File

@ -1,14 +1,11 @@
#!/bin/sh
#
# $OpenBSD: polipo.rc,v 1.2 2010/11/11 20:54:41 ajacoutot Exp $
# $OpenBSD: polipo.rc,v 1.3 2010/12/11 12:57:37 ajacoutot Exp $
. /etc/rc.d/rc.subr
daemon="${TRUEPREFIX}/bin/polipo"
daemon_flags="daemonise=yes"
rc_reload() {
rc_err "$0: reload is not supported"
}
rc_reload=NO
rc_cmd $1

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.93 2010/12/11 09:59:25 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.94 2010/12/11 12:57:37 ajacoutot Exp $
SHARED_ONLY= Yes
@ -7,7 +7,7 @@ COMMENT= GNOME display manager
GNOME_PROJECT= gdm
GNOME_VERSION= 2.20.11
REVISION= 13
REVISION= 14
HOMEPAGE= http://projects.gnome.org/gdm/

View File

@ -1,19 +1,16 @@
#!/bin/sh
#
# $OpenBSD: gdm.rc,v 1.5 2010/12/11 09:59:25 ajacoutot Exp $
# $OpenBSD: gdm.rc,v 1.6 2010/12/11 12:57:37 ajacoutot Exp $
. /etc/rc.d/rc.subr
daemon="${TRUEPREFIX}/sbin/gdm"
pexp="${TRUEPREFIX}/sbin/gdm-binary"
rc_reload=NO
rc_start() {
(sleep 5; su -c ${daemon_class:-daemon} -s ${daemon_shell:-/bin/sh} \
${daemon_user:-root} -c "${daemon} ${daemon_flags}" >/dev/null)&
}
rc_reload() {
rc_err "$0: reload is not supported."
}
rc_cmd $1

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.24 2010/11/22 08:37:05 espie Exp $
# $OpenBSD: Makefile,v 1.25 2010/12/11 12:57:37 ajacoutot Exp $
COMMENT = VNC server for real X displays
DISTNAME = x11vnc-0.9.12
REVISION = 0
REVISION = 1
CATEGORIES = x11
HOMEPAGE = http://www.karlrunge.com/x11vnc/

View File

@ -1,19 +1,16 @@
#!/bin/sh
#
# $OpenBSD: x11vnc.rc,v 1.1 2010/11/09 10:52:22 ajacoutot Exp $
# $OpenBSD: x11vnc.rc,v 1.2 2010/12/11 12:57:37 ajacoutot Exp $
. /etc/rc.d/rc.subr
daemon="${TRUEPREFIX}/bin/x11vnc"
daemon_flags="-localhost -logfile /var/log/x11vnc -ncache 0 -display :0 -forever -loop100 -auth /etc/X11/xdm/authdir/authfiles/A:0-*"
rc_reload=NO
rc_start() {
type rc_pre >/dev/null && rc_pre
${daemon} ${daemon_flags} >/dev/null 2>&1 &
}
rc_reload() {
rc_err "$0: reload is not supported"
}
rc_cmd $1