Cope with recent rc.subr changes.

This commit is contained in:
ajacoutot 2010-12-24 10:40:04 +00:00
parent f0e0a9480c
commit b28452a489
96 changed files with 300 additions and 156 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.34 2010/12/13 18:34:05 jasper Exp $
# $OpenBSD: Makefile,v 1.35 2010/12/24 10:40:04 ajacoutot Exp $
COMMENT = Music Player Daemon
DISTNAME = mpd-0.15.12
REVISION = 3
REVISION = 4
CATEGORIES = audio
HOMEPAGE = http://www.musicpd.org/
MAINTAINER = Tobias Ulmer <tobiasu@tmux.org>

View File

@ -1,9 +1,11 @@
#!/bin/sh
#
# $OpenBSD: mpd.rc,v 1.2 2010/10/29 12:54:43 ajacoutot Exp $
# $OpenBSD: mpd.rc,v 1.3 2010/12/24 10:40:04 ajacoutot Exp $
. /etc/rc.d/rc.subr
daemon="${TRUEPREFIX}/sbin/mpd"
rc_conf
rc_cmd $1

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.38 2010/12/11 08:05:38 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.39 2010/12/24 10:40:04 ajacoutot Exp $
COMMENT= manage remote serial consoles via TCP/IP
DISTNAME= conserver-8.1.16
REVISION= 3
REVISION= 4
CATEGORIES= comms
MAINTAINER= Peter Valchev <pvalchev@openbsd.org>

View File

@ -1,10 +1,12 @@
#!/bin/sh
#
# $OpenBSD: conserver.rc,v 1.2 2010/12/11 08:05:38 ajacoutot Exp $
# $OpenBSD: conserver.rc,v 1.3 2010/12/24 10:40:04 ajacoutot Exp $
. /etc/rc.d/rc.subr
daemon="${TRUEPREFIX}/sbin/conserver"
daemon_flags="-d -n"
rc_conf
rc_cmd $1

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.181 2010/12/13 16:13:04 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.182 2010/12/24 10:40:04 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=4
REVISION-server=5
VERSION= 5.1.53
DISTNAME= mysql-${VERSION}

View File

@ -1,10 +1,13 @@
#!/bin/sh
#
# $OpenBSD: mysqld.rc,v 1.7 2010/12/13 16:13:04 ajacoutot Exp $
# $OpenBSD: mysqld.rc,v 1.8 2010/12/24 10:40:05 ajacoutot Exp $
. /etc/rc.d/rc.subr
daemon="${TRUEPREFIX}/bin/mysqld_safe"
rc_conf
rc_reload=NO
rc_check() {
@ -12,8 +15,8 @@ rc_check() {
}
rc_start() {
su -l -c ${daemon_class:-daemon} -s ${daemon_shell:-/bin/sh} \
${daemon_user:-root} -c "${daemon} ${daemon_flags}" >/dev/null 2>&1 &
su -l -c ${daemon_class} -s ${daemon_shell} ${daemon_user} \
-c "${daemon} ${daemon_flags}" >/dev/null 2>&1 &
}
rc_stop() {

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.139 2010/12/24 09:07:38 jasper Exp $
# $OpenBSD: Makefile,v 1.140 2010/12/24 10:40:05 ajacoutot Exp $
COMMENT-main= PostgreSQL RDBMS (client)
COMMENT-server= PostgreSQL RDBMS (server)
@ -12,6 +12,7 @@ PKGNAME-server= postgresql-server-${VERSION}
PKGNAME-docs= postgresql-docs-${VERSION}
PKGNAME-contrib=postgresql-contrib-${VERSION}
REVISION-server=0
REVISION-contrib=0
CATEGORIES= databases

View File

@ -1,27 +1,26 @@
#!/bin/sh
#
# $OpenBSD: postgresql.rc,v 1.3 2010/12/15 11:32:26 ajacoutot Exp $
# $OpenBSD: postgresql.rc,v 1.4 2010/12/24 10:40:05 ajacoutot Exp $
. /etc/rc.d/rc.subr
daemon="${TRUEPREFIX}/bin/postgres"
daemon_user="_postgresql"
rc_conf
bin="${TRUEPREFIX}/bin/pg_ctl"
datadir="/var/postgresql/data"
rc_start() {
rm -f ${datadir}/postmaster.pid
su -l -c ${daemon_class:-daemon} -s ${daemon_shell:-/bin/sh} \
${daemon_user:-root} -c \
"${bin} -D ${datadir} start -l /var/postgresql/logfile" \
>/dev/null
su -l -c ${daemon_class} -s ${daemon_shell} ${daemon_user} \
-c "${bin} -D ${datadir} start -l /var/postgresql/logfile" >/dev/null
}
rc_stop() {
su -l -c ${daemon_class:-daemon} -s ${daemon_shell:-/bin/sh} \
${daemon_user:-root} -c \
"${bin} -D ${datadir} stop -m fast" >/dev/null
su -l -c ${daemon_class} -s ${daemon_shell} ${daemon_user} \
-c "${bin} -D ${datadir} stop -m fast" >/dev/null
}
rc_cmd $1

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.35 2010/12/20 11:40:39 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.36 2010/12/24 10:40:05 ajacoutot Exp $
COMMENT= API for accessing scanners, backends
DISTNAME= sane-backends-1.0.21
REVISION= 9
REVISION= 10
PATCHFILES= sane-backends-1.0.21-i18n.patch
PATCH_DIST_STRIP= -p1

View File

@ -1,11 +1,14 @@
#!/bin/sh
#
# $OpenBSD: saned.rc,v 1.5 2010/12/20 11:40:39 ajacoutot Exp $
# $OpenBSD: saned.rc,v 1.6 2010/12/24 10:40:05 ajacoutot Exp $
. /etc/rc.d/rc.subr
daemon="${TRUEPREFIX}/libexec/saned"
daemon_flags="-a _saned"
rc_conf
rc_reload=NO
rc_cmd $1

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.16 2010/11/23 18:15:18 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.17 2010/12/24 10:40:05 ajacoutot Exp $
COMMENT= interface between mailer MTA and content checkers
DISTNAME= amavisd-new-2.6.4
REVISION= 3
REVISION= 4
CATEGORIES= mail security
HOMEPAGE= http://www.ijs.si/software/amavisd/

View File

@ -1,10 +1,13 @@
#!/bin/sh
#
# $OpenBSD: amavisd.rc,v 1.2 2010/11/23 18:15:18 ajacoutot Exp $
# $OpenBSD: amavisd.rc,v 1.3 2010/12/24 10:40:05 ajacoutot Exp $
. /etc/rc.d/rc.subr
daemon="${TRUEPREFIX}/sbin/amavisd"
rc_conf
pexp="perl: amavisd"
rc_stop() {

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.18 2010/12/16 17:52:12 giovanni Exp $
# $OpenBSD: Makefile,v 1.19 2010/12/24 10:40:05 ajacoutot Exp $
COMMENT-main= authentication library for courier
COMMENT-ldap= ldap authentication module for courier-authLib
@ -13,11 +13,11 @@ PKGNAME-mysql= ${DISTNAME:S/lib-/lib-mysql-/}
PKGNAME-pgsql= ${DISTNAME:S/lib-/lib-pgsql-/}
PKGNAME-userdb= ${DISTNAME:S/lib-/lib-userdb-/}
REVISION-main= 1
REVISION-ldap= 0
REVISION-mysql= 0
REVISION-pgsql= 0
REVISION-userdb= 0
REVISION-main= 2
REVISION-ldap= 1
REVISION-mysql= 1
REVISION-pgsql= 1
REVISION-userdb= 1
SHARED_LIBS += courierauth 1.0 # .0.0
SHARED_LIBS += courierauthsasl 1.0 # .0.0

View File

@ -1,10 +1,13 @@
#!/bin/sh
#
# $OpenBSD: courier_authdaemond.rc,v 1.1 2010/12/16 17:52:12 giovanni Exp $
# $OpenBSD: courier_authdaemond.rc,v 1.2 2010/12/24 10:40:05 ajacoutot Exp $
. /etc/rc.d/rc.subr
daemon="${TRUEPREFIX}/sbin/authdaemond"
rc_conf
pexp=".*courierlogger.*-start ${TRUEPREFIX}/libexec/courier-authlib/authdaemond"
rc_start() {

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.66 2010/12/16 17:55:10 giovanni Exp $
# $OpenBSD: Makefile,v 1.67 2010/12/24 10:40:05 ajacoutot Exp $
COMMENT-main= imap server for maildir format mailboxes
COMMENT-pop3= pop3 server for maildir format mailboxes
@ -6,9 +6,9 @@ COMMENT-pop3= pop3 server for maildir format mailboxes
V= 4.8.0
DISTNAME= courier-imap-${V}
PKGNAME-main= ${DISTNAME}
REVISION-main= 2
REVISION-main= 3
FULLPKGNAME-pop3= courier-pop3-${V}
REVISION-pop3= 2
REVISION-pop3= 3
FULLPKGPATH-pop3= mail/courier-imap,-pop3
CATEGORIES= mail

View File

@ -1,10 +1,13 @@
#!/bin/sh
#
# $OpenBSD: courier_imap-ssl.rc,v 1.1 2010/12/16 17:55:10 giovanni Exp $
# $OpenBSD: courier_imap-ssl.rc,v 1.2 2010/12/24 10:40:05 ajacoutot Exp $
. /etc/rc.d/rc.subr
daemon="${TRUEPREFIX}/libexec/imapd-ssl.rc"
rc_conf
pexp=".*courierlogger.*imapd-ssl.pid"
rc_start() {

View File

@ -1,10 +1,13 @@
#!/bin/sh
#
# $OpenBSD: courier_imap.rc,v 1.1 2010/12/16 17:55:10 giovanni Exp $
# $OpenBSD: courier_imap.rc,v 1.2 2010/12/24 10:40:05 ajacoutot Exp $
. /etc/rc.d/rc.subr
daemon="${TRUEPREFIX}/libexec/imapd.rc"
rc_conf
pexp=".*courierlogger.*imapd.pid"
rc_start() {

View File

@ -1,10 +1,13 @@
#!/bin/sh
#
# $OpenBSD: courier_pop3-ssl.rc,v 1.1 2010/12/16 17:55:10 giovanni Exp $
# $OpenBSD: courier_pop3-ssl.rc,v 1.2 2010/12/24 10:40:05 ajacoutot Exp $
. /etc/rc.d/rc.subr
daemon="${TRUEPREFIX}/libexec/pop3d-ssl.rc"
rc_conf
pexp=".*courierlogger.*pop3d-ssl.pid"
rc_start() {

View File

@ -1,10 +1,13 @@
#!/bin/sh
#
# $OpenBSD: courier_pop3.rc,v 1.1 2010/12/16 17:55:10 giovanni Exp $
# $OpenBSD: courier_pop3.rc,v 1.2 2010/12/24 10:40:05 ajacoutot Exp $
. /etc/rc.d/rc.subr
daemon="${TRUEPREFIX}/libexec/pop3d.rc"
rc_conf
pexp=".*courierlogger.*pop3d.pid"
rc_start() {

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.52 2010/12/20 14:39:31 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.53 2010/12/24 10:40:06 ajacoutot Exp $
COMMENT-main= Cyrus IMAP server
COMMENT-perl= perl utils for the Cyrus IMAP server
@ -9,6 +9,8 @@ PKGNAME-main= ${DISTNAME}
FULLPKGNAME-perl=cyrus-imapd-perl-${V}
FULLPKGPATH-perl=mail/cyrus-imapd,-perl
REVISION-main= 0
CATEGORIES= mail
HOMEPAGE= http://www.cyrusimap.org/

View File

@ -1,12 +1,14 @@
#!/bin/sh
#
# $OpenBSD: cyrus_imapd.rc,v 1.5 2010/12/14 18:45:54 ajacoutot Exp $
# $OpenBSD: cyrus_imapd.rc,v 1.6 2010/12/24 10:40:06 ajacoutot Exp $
. /etc/rc.d/rc.subr
daemon="${TRUEPREFIX}/libexec/cyrus-imapd/master"
daemon_flags="-d"
rc_conf
# chdir needed when using the BerkeleyDB backend to prevent:
# DBERROR db4: no absolute path for the current directory: No such file or directory
rc_pre() {

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.62 2010/12/13 16:13:04 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.63 2010/12/24 10:40:05 ajacoutot Exp $
COMMENT= mailing list manager with web interface
DISTNAME= mailman-2.1.14
REVISION= 5
REVISION= 6
CATEGORIES= mail www
HOMEPAGE= http://www.gnu.org/software/mailman/

View File

@ -1,16 +1,19 @@
#!/bin/sh
#
# $OpenBSD: mailman.rc,v 1.5 2010/12/13 16:13:04 ajacoutot Exp $
# $OpenBSD: mailman.rc,v 1.6 2010/12/24 10:40:05 ajacoutot Exp $
. /etc/rc.d/rc.subr
daemon="${TRUEPREFIX}/lib/mailman/bin/mailmanctl"
daemon_flags="-s -q"
rc_conf
rc_reload=NO
rc_start() {
su -l -c ${daemon_class:-daemon} -s ${daemon_shell:-/bin/sh} \
${daemon_user:-root} -c "${daemon} ${daemon_flags} start"
su -l -c ${daemon_class} -s ${daemon_shell} ${daemon_user} \
-c "${daemon} ${daemon_flags} start"
}
rc_stop() {

View File

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

View File

@ -1,10 +1,13 @@
#!/bin/sh
#
# $OpenBSD: milter_regex.rc,v 1.2 2010/12/11 12:57:37 ajacoutot Exp $
# $OpenBSD: milter_regex.rc,v 1.3 2010/12/24 10:40:05 ajacoutot Exp $
. /etc/rc.d/rc.subr
daemon="${TRUEPREFIX}/libexec/milter-regex"
rc_conf
rc_reload=NO
rc_cmd $1

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.13 2010/12/11 12:57:37 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.14 2010/12/24 10:40:06 ajacoutot Exp $
COMMENT= sendmail milter plugin for SpamAssassin spamd
DISTNAME= milter-spamd-0.5
REVISION = 2
REVISION = 3
CATEGORIES= mail
MASTER_SITES= http://www.benzedrine.cx/

View File

@ -1,10 +1,13 @@
#!/bin/sh
#
# $OpenBSD: milter_spamd.rc,v 1.2 2010/12/11 12:57:37 ajacoutot Exp $
# $OpenBSD: milter_spamd.rc,v 1.3 2010/12/24 10:40:06 ajacoutot Exp $
. /etc/rc.d/rc.subr
daemon="${TRUEPREFIX}/libexec/milter-spamd"
rc_conf
rc_reload=NO
rc_cmd $1

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.17 2010/12/11 12:57:37 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.18 2010/12/24 10:40:05 ajacoutot Exp $
COMMENT= mailfilter to identify and mark spam
DISTNAME= mimedefang-2.71
REVISION= 1
REVISION= 2
CATEGORIES= mail
HOMEPAGE= http://www.mimedefang.org/

View File

@ -1,11 +1,14 @@
#!/bin/sh
#
# $OpenBSD: mimedefang_daemon.rc,v 1.3 2010/12/11 12:57:37 ajacoutot Exp $
# $OpenBSD: mimedefang_daemon.rc,v 1.4 2010/12/24 10:40:05 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_conf
rc_reload=NO
rc_pre() {

View File

@ -1,12 +1,14 @@
#!/bin/sh
#
# $OpenBSD: mimedefang_multiplexor.rc,v 1.2 2010/12/09 01:44:15 okan Exp $
# $OpenBSD: mimedefang_multiplexor.rc,v 1.3 2010/12/24 10:40:05 ajacoutot Exp $
. /etc/rc.d/rc.subr
daemon="${TRUEPREFIX}/bin/mimedefang-multiplexor"
daemon_flags="-U _mdefang -l -p /var/run/mdefang/multiplexor.pid -s /var/run/mdefang/multiplexor.socket"
rc_conf
rc_pre() {
install -d -o _mdefang -g _mdefang /var/run/mdefang
}

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.68 2010/11/30 08:34:27 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.69 2010/12/24 10:40:06 ajacoutot Exp $
COMMENT= mailfilter to identify and mark spam
VER= 3.3.1
DISTNAME= Mail-SpamAssassin-${VER}
PKGNAME= p5-${DISTNAME:S/-rc/rc/}
REVISION= 4
REVISION= 5
RULESNAME= Mail-SpamAssassin-rules-${VER}.r923114
CATEGORIES= mail perl5

View File

@ -1,11 +1,14 @@
#!/bin/sh
#
# $OpenBSD: spamassassin.rc,v 1.1 2010/11/04 12:07:09 sthen Exp $
# $OpenBSD: spamassassin.rc,v 1.2 2010/12/24 10:40:06 ajacoutot Exp $
. /etc/rc.d/rc.subr
daemon="${TRUEPREFIX}/bin/spamd"
daemon_flags="-d -u _spamdaemon -P"
rc_conf
pexp="perl: ${daemon} ${daemon_flags}"
rc_cmd $1

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.43 2010/11/19 07:23:09 espie Exp $
# $OpenBSD: Makefile,v 1.44 2010/12/24 10:40:06 ajacoutot Exp $
COMMENT= sendmail milter to scan messages for viruses and spam
DISTNAME= smtp-vilter-1.3.6
REVISION= 8
REVISION= 9
CATEGORIES= mail

View File

@ -1,10 +1,13 @@
#!/bin/sh
#
# $OpenBSD: smtp_vilter.rc,v 1.3 2010/11/04 12:01:42 sthen Exp $
# $OpenBSD: smtp_vilter.rc,v 1.4 2010/12/24 10:40:06 ajacoutot Exp $
. /etc/rc.d/rc.subr
daemon="${TRUEPREFIX}/sbin/smtp-vilter"
rc_conf
pexp="smtp-vilter:"
rc_cmd $1

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.57 2010/12/24 09:07:38 jasper Exp $
# $OpenBSD: Makefile,v 1.58 2010/12/24 10:40:06 ajacoutot Exp $
COMMENT-main= MS Exchange groupware suite replacement
COMMENT-web= zarafa webaccess frontend and MAPI extensions for PHP
@ -7,7 +7,7 @@ PKGNAME= zarafa-${V}
PKGNAME-main= zarafa-${V}
PKGNAME-web= zarafa-webaccess-${V}
REVISION-main= 0
REVISION-main= 1
CATEGORIES= mail www productivity

View File

@ -1,10 +1,13 @@
#!/bin/sh
#
# $OpenBSD: zarafa.rc,v 1.4 2010/11/17 14:00:04 ajacoutot Exp $
# $OpenBSD: zarafa.rc,v 1.5 2010/12/24 10:40:06 ajacoutot Exp $
. /etc/rc.d/rc.subr
daemon="/bin/true"
rc_conf
_zarafa_daemons="server spooler monitor gateway ical"
rc_start() {

View File

@ -1,9 +1,11 @@
#!/bin/sh
#
# $OpenBSD: zarafa_gateway.rc,v 1.2 2010/10/29 12:54:44 ajacoutot Exp $
# $OpenBSD: zarafa_gateway.rc,v 1.3 2010/12/24 10:40:06 ajacoutot Exp $
. /etc/rc.d/rc.subr
daemon="${TRUEPREFIX}/bin/zarafa-gateway"
rc_conf
rc_cmd $1

View File

@ -1,9 +1,11 @@
#!/bin/sh
#
# $OpenBSD: zarafa_ical.rc,v 1.2 2010/10/29 12:54:44 ajacoutot Exp $
# $OpenBSD: zarafa_ical.rc,v 1.3 2010/12/24 10:40:06 ajacoutot Exp $
. /etc/rc.d/rc.subr
daemon="${TRUEPREFIX}/bin/zarafa-ical"
rc_conf
rc_cmd $1

View File

@ -1,9 +1,11 @@
#!/bin/sh
#
# $OpenBSD: zarafa_monitor.rc,v 1.2 2010/10/29 12:54:44 ajacoutot Exp $
# $OpenBSD: zarafa_monitor.rc,v 1.3 2010/12/24 10:40:06 ajacoutot Exp $
. /etc/rc.d/rc.subr
daemon="${TRUEPREFIX}/bin/zarafa-monitor"
rc_conf
rc_cmd $1

View File

@ -1,11 +1,13 @@
#!/bin/sh
#
# $OpenBSD: zarafa_server.rc,v 1.2 2010/10/29 12:54:44 ajacoutot Exp $
# $OpenBSD: zarafa_server.rc,v 1.3 2010/12/24 10:40:06 ajacoutot Exp $
. /etc/rc.d/rc.subr
daemon="${TRUEPREFIX}/bin/zarafa-server"
rc_conf
rc_pre() {
i=1
while [ $i -lt 10 ]; do

View File

@ -1,9 +1,11 @@
#!/bin/sh
#
# $OpenBSD: zarafa_spooler.rc,v 1.2 2010/10/29 12:54:44 ajacoutot Exp $
# $OpenBSD: zarafa_spooler.rc,v 1.3 2010/12/24 10:40:06 ajacoutot Exp $
. /etc/rc.d/rc.subr
daemon="${TRUEPREFIX}/bin/zarafa-spooler"
rc_conf
rc_cmd $1

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.2 2010/12/13 15:47:48 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.3 2010/12/24 10:40:06 ajacoutot Exp $
COMMENT = daemon to control digital model railroad systems
DISTNAME = srcpd-2.1.1
CATEGORIES = misc net
REVISION = 0
REVISION = 1
HOMEPAGE = http://srcpd.sourceforge.net/
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=srcpd/}

View File

@ -1,11 +1,13 @@
#!/bin/sh
#
# $OpenBSD: srcpd.rc,v 1.2 2010/12/13 15:47:48 ajacoutot Exp $
# $OpenBSD: srcpd.rc,v 1.3 2010/12/24 10:40:06 ajacoutot Exp $
. /etc/rc.d/rc.subr
daemon="${TRUEPREFIX}/sbin/srcpd"
rc_conf
rc_stop() {
pkill -9 -f "^${pexp}"
}

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.9 2010/12/11 12:57:37 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.10 2010/12/24 10:40:05 ajacoutot Exp $
COMMENT = Audit Record Generation and Utilization System
DISTNAME = argus-3.0.2
REVISION = 2
REVISION = 3
CATEGORIES = net
HOMEPAGE = http://qosient.com/argus/

View File

@ -1,10 +1,13 @@
#!/bin/sh
#
# $OpenBSD: argus.rc,v 1.3 2010/12/11 12:57:37 ajacoutot Exp $
# $OpenBSD: argus.rc,v 1.4 2010/12/24 10:40:05 ajacoutot Exp $
. /etc/rc.d/rc.subr
daemon="${TRUEPREFIX}/sbin/argus"
rc_conf
rc_reload=NO
rc_cmd $1

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.45 2010/12/14 14:55:02 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.46 2010/12/24 10:40:05 ajacoutot Exp $
COMMENT-main= framework for Multicast DNS Service Discovery
COMMENT-gtk= GUI client utilities for avahi
@ -16,6 +16,8 @@ PKGNAME-mono= mono-avahi-${V}
PKGNAME-qt3= avahi-qt3-${V}
PKGNAME-qt4= avahi-qt4-${V}
REVISION-main= 0
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
SHARED_LIBS += avahi-common 0.0 # .8.0

View File

@ -1,12 +1,14 @@
#!/bin/sh
#
# $OpenBSD: avahi_daemon.rc,v 1.3 2010/11/30 16:37:21 ajacoutot Exp $
# $OpenBSD: avahi_daemon.rc,v 1.4 2010/12/24 10:40:05 ajacoutot Exp $
. /etc/rc.d/rc.subr
daemon="${TRUEPREFIX}/sbin/avahi-daemon"
daemon_flags="-D"
rc_conf
rc_check() {
${daemon} --check
}

View File

@ -1,12 +1,14 @@
#!/bin/sh
#
# $OpenBSD: avahi_dnsconfd.rc,v 1.3 2010/11/30 16:37:21 ajacoutot Exp $
# $OpenBSD: avahi_dnsconfd.rc,v 1.4 2010/12/24 10:40:05 ajacoutot Exp $
. /etc/rc.d/rc.subr
daemon="${TRUEPREFIX}/sbin/avahi-dnsconfd"
daemon_flags="-D"
rc_conf
rc_check() {
${daemon} --check
}

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.12 2010/12/01 09:58:43 dcoppa Exp $
# $OpenBSD: Makefile,v 1.13 2010/12/24 10:40:05 ajacoutot Exp $
COMMENT= Dynamic DNS service update client
REVISION= 1
REVISION= 2
DISTNAME= ddclient-3.8.0
CATEGORIES= net

View File

@ -1,10 +1,13 @@
#!/bin/sh
#
# $OpenBSD: ddclient.rc,v 1.1 2010/12/01 09:58:43 dcoppa Exp $
# $OpenBSD: ddclient.rc,v 1.2 2010/12/24 10:40:05 ajacoutot Exp $
. /etc/rc.d/rc.subr
daemon="${TRUEPREFIX}/sbin/ddclient"
rc_conf
pexp="perl: ddclient"
rc_cmd $1

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.41 2010/11/19 22:31:33 espie Exp $
# $OpenBSD: Makefile,v 1.42 2010/12/24 10:40:05 ajacoutot Exp $
COMMENT= server for streaming various media formats
DISTNAME= icecast-2.3.2
REVISION = 2
REVISION = 3
CATEGORIES= net audio
HOMEPAGE= http://www.icecast.org/

View File

@ -1,10 +1,12 @@
#!/bin/sh
#
# $OpenBSD: icecast.rc,v 1.2 2010/11/11 10:38:47 ajacoutot Exp $
# $OpenBSD: icecast.rc,v 1.3 2010/12/24 10:40:05 ajacoutot Exp $
. /etc/rc.d/rc.subr
daemon="${TRUEPREFIX}/bin/icecast"
daemon_flags="-b -c /var/icecast/icecast.xml"
rc_conf
rc_cmd $1

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.14 2010/11/19 22:31:33 espie Exp $
# $OpenBSD: Makefile,v 1.15 2010/12/24 10:40:05 ajacoutot Exp $
SHARED_ONLY = Yes
COMMENT = Internet Relay Chat server
DISTNAME = ircd-hybrid-7.2.3
REVISION = 8
REVISION = 9
CATEGORIES = net
HOMEPAGE = http://ircd-hybrid.com/

View File

@ -1,11 +1,13 @@
#!/bin/sh
#
# $OpenBSD: ircd_hybrid.rc,v 1.1 2010/11/13 06:52:41 ajacoutot Exp $
# $OpenBSD: ircd_hybrid.rc,v 1.2 2010/12/24 10:40:05 ajacoutot Exp $
. /etc/rc.d/rc.subr
daemon="${TRUEPREFIX}/bin/ircd"
rc_conf
rc_pre() {
install -d -o _ircd-hybrid -g _ircd-hybrid /var/run/ircd
}

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.10 2010/11/19 22:31:33 espie Exp $
# $OpenBSD: Makefile,v 1.11 2010/12/24 10:40:05 ajacoutot Exp $
SHARED_ONLY = Yes
COMMENT = advanced, stable and fast irc server
DISTNAME = ircd-ratbox-3.0.6
CATEGORIES = net
REVISION = 2
REVISION = 3
EXTRACT_SUFX = .tar.bz2

View File

@ -1,11 +1,13 @@
#!/bin/sh
#
# $OpenBSD: ircd_ratbox.rc,v 1.1 2010/11/09 11:56:17 jasper Exp $
# $OpenBSD: ircd_ratbox.rc,v 1.2 2010/12/24 10:40:05 ajacoutot Exp $
. /etc/rc.d/rc.subr
daemon="${TRUEPREFIX}/bin/ircd"
rc_conf
rc_pre() {
install -d -o _ircd-ratbox -g _ircd-ratbox /var/run/ircd-ratbox
}

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.8 2010/12/13 16:13:04 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.9 2010/12/24 10:40:05 ajacoutot Exp $
COMMENT = service monitoring daemon
DISTNAME = mon-${V}
REVISION = 3
REVISION = 4
WANTLIB = c

View File

@ -1,13 +1,16 @@
#!/bin/sh
#
# $OpenBSD: mon.rc,v 1.3 2010/12/13 16:13:04 ajacoutot Exp $
# $OpenBSD: mon.rc,v 1.4 2010/12/24 10:40:05 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"
daemon_user="_mon"
pexp="/usr/bin/perl ${daemon}${daemon_flags:+ ${daemon_flags}}"
rc_conf
pexp="/usr/bin/perl ${daemon}${daemon_flags}"
rc_reload=NO
rc_pre() {

View File

@ -1,10 +1,12 @@
# $OpenBSD: Makefile,v 1.72 2010/12/21 12:57:09 sthen Exp $
# $OpenBSD: Makefile,v 1.73 2010/12/24 10:40:05 ajacoutot Exp $
COMMENT= multi-router traffic grapher
DISTNAME= mrtg-2.17.0
CATEGORIES= net
REVISION= 0
HOMEPAGE= http://oss.oetiker.ch/mrtg/
MAINTAINER= Stuart Henderson <sthen@openbsd.org>

View File

@ -1,11 +1,14 @@
#!/bin/sh
#
# $OpenBSD: mrtg.rc,v 1.1 2010/12/03 00:10:09 ian Exp $
# $OpenBSD: mrtg.rc,v 1.2 2010/12/24 10:40:05 ajacoutot Exp $
. /etc/rc.d/rc.subr
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"
rc_conf
pexp="/usr/bin/perl -w ${daemon} ${daemon_flags}"
rc_cmd $1

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.15 2010/11/19 22:31:34 espie Exp $
# $OpenBSD: Makefile,v 1.16 2010/12/24 10:40:05 ajacoutot Exp $
COMMENT-main = flexible network host monitoring, client
COMMENT-server =flexible network host monitoring, server
@ -7,7 +7,8 @@ V = 1.4.5
DISTNAME = munin-$V
PKGNAME-main = munin-node-$V
PKGNAME-server =munin-server-$V
REVISION-main = 2
REVISION-main = 3
REVISION-server = 0
CATEGORIES = net
HOMEPAGE = http://munin-monitoring.org/

View File

@ -1,10 +1,13 @@
#!/bin/sh
#
# $OpenBSD: munin_node.rc,v 1.2 2010/10/29 12:54:43 ajacoutot Exp $
# $OpenBSD: munin_node.rc,v 1.3 2010/12/24 10:40:05 ajacoutot Exp $
. /etc/rc.d/rc.subr
daemon="${TRUEPREFIX}/sbin/munin-node"
rc_conf
pexp="perl: ${daemon}"
rc_pre() {

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.48 2010/12/11 12:57:37 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.49 2010/12/24 10:40:05 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= 2
REVISION= 3
CATEGORIES= net
MASTER_SITES= http://archive.ntp.org/ntp4/ntp-4.2/

View File

@ -1,10 +1,13 @@
#!/bin/sh
#
# $OpenBSD: ntpd.rc,v 1.3 2010/12/11 12:57:37 ajacoutot Exp $
# $OpenBSD: ntpd.rc,v 1.4 2010/12/24 10:40:05 ajacoutot Exp $
. /etc/rc.d/rc.subr
daemon="${TRUEPREFIX}/sbin/ntpd"
rc_conf
rc_reload=NO
rc_cmd $1

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.6 2010/11/19 22:31:39 espie Exp $
# $OpenBSD: Makefile,v 1.7 2010/12/24 10:40:05 ajacoutot Exp $
COMMENT= UPnP A/V media server
DISTNAME= ushare-1.1a
REVISION= 1
REVISION= 2
EXTRACT_SUFX= .tar.bz2
CATEGORIES= net multimedia

View File

@ -1,10 +1,12 @@
#!/bin/sh
#
# $OpenBSD: ushare.rc,v 1.2 2010/11/03 10:55:30 ajacoutot Exp $
# $OpenBSD: ushare.rc,v 1.3 2010/12/24 10:40:05 ajacoutot Exp $
. /etc/rc.d/rc.subr
daemon="${TRUEPREFIX}/bin/ushare"
daemon_flags="-D"
rc_conf
rc_cmd $1

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.4 2010/12/13 16:14:38 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.5 2010/12/24 10:40:05 ajacoutot Exp $
COMMENT = network traffic monitor
DISTNAME = vnstat-1.10
CATEGORIES = net sysutils
REVISION = 1
REVISION = 2
HOMEPAGE = http://humdi.net/vnstat/

View File

@ -1,6 +1,6 @@
#!/bin/sh
#
# $OpenBSD: vnstatd.rc,v 1.2 2010/12/13 16:14:38 ajacoutot Exp $
# $OpenBSD: vnstatd.rc,v 1.3 2010/12/24 10:40:05 ajacoutot Exp $
. /etc/rc.d/rc.subr
@ -8,6 +8,8 @@ daemon="${TRUEPREFIX}/sbin/vnstatd"
daemon_flags="-d"
daemon_user="_vnstat"
rc_conf
rc_pre() {
/usr/bin/install -d -o _vnstat /var/run/vnstat
}

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.42 2010/12/13 10:40:52 robert Exp $
# $OpenBSD: Makefile,v 1.43 2010/12/24 10:40:05 ajacoutot Exp $
COMMENT-main = network and application monitoring - agent
COMMENT-server = network and application monitoring - server
@ -13,9 +13,9 @@ FULLPKGNAME-web = zabbix-web-${VERSION}
FULLPKGPATH-web = net/zabbix,-web
CATEGORIES = net
REVISION-main = 8
REVISION-server = 7
REVISION-web = 2
REVISION-main = 9
REVISION-server = 8
REVISION-web = 3
MAJV = ${VERSION:C/^([0-9]+\.[0-9]+).*/\1/}

View File

@ -1,10 +1,13 @@
#!/bin/sh
#
# $OpenBSD: zabbix_agentd.rc,v 1.2 2010/12/11 12:57:37 ajacoutot Exp $
# $OpenBSD: zabbix_agentd.rc,v 1.3 2010/12/24 10:40:05 ajacoutot Exp $
. /etc/rc.d/rc.subr
daemon="${TRUEPREFIX}/sbin/zabbix_agentd"
rc_conf
pexp="zabbix_agentd: main process"
rc_reload=NO

View File

@ -1,10 +1,13 @@
#!/bin/sh
#
# $OpenBSD: zabbix_proxy.rc,v 1.3 2010/12/11 12:57:37 ajacoutot Exp $
# $OpenBSD: zabbix_proxy.rc,v 1.4 2010/12/24 10:40:05 ajacoutot Exp $
. /etc/rc.d/rc.subr
daemon="${TRUEPREFIX}/sbin/zabbix_proxy"
rc_conf
pexp="zabbix_proxy: heartbeat sender"
rc_reload=NO

View File

@ -1,10 +1,13 @@
#!/bin/sh
#
# $OpenBSD: zabbix_server.rc,v 1.3 2010/12/11 12:57:37 ajacoutot Exp $
# $OpenBSD: zabbix_server.rc,v 1.4 2010/12/24 10:40:05 ajacoutot Exp $
. /etc/rc.d/rc.subr
daemon="${TRUEPREFIX}/sbin/zabbix_server"
rc_conf
pexp="zabbix_server: main process"
rc_reload=NO

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.90 2010/12/20 14:43:42 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.91 2010/12/24 10:40:06 ajacoutot Exp $
COMMENT= Common Unix Printing System
@ -6,7 +6,7 @@ VERSION= 1.4.5
DISTNAME= cups-${VERSION}-source
PKGNAME= cups-${VERSION}
REVISION= 2
REVISION= 3
# Allow both ulpt(4) and libusb based backends to work together.
# See http://www.cups.org/str.php?L3357

View File

@ -1,10 +1,13 @@
#!/bin/sh
#
# $OpenBSD: cupsd.rc,v 1.4 2010/11/30 08:09:09 ajacoutot Exp $
# $OpenBSD: cupsd.rc,v 1.5 2010/12/24 10:40:06 ajacoutot Exp $
. /etc/rc.d/rc.subr
daemon="${TRUEPREFIX}/sbin/cupsd"
rc_conf
pexp="${daemon} -C ${SYSCONFDIR}/cups/cupsd.conf"
_lpfiles="/usr/bin/lpq /usr/bin/lpr /usr/bin/lprm /usr/sbin/lpc \

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.62 2010/12/11 12:57:37 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.63 2010/12/24 10:40:06 ajacoutot Exp $
COMMENT= virus scanner
DISTNAME= clamav-0.96.5
REVISION= 0
REVISION= 1
CATEGORIES= security
SHARED_LIBS= clamav 17.0 \

View File

@ -1,10 +1,13 @@
#!/bin/sh
#
# $OpenBSD: clamav_daemon.rc,v 1.2 2010/12/11 12:57:37 ajacoutot Exp $
# $OpenBSD: clamav_daemon.rc,v 1.3 2010/12/24 10:40:06 ajacoutot Exp $
. /etc/rc.d/rc.subr
daemon="${TRUEPREFIX}/sbin/clamd"
rc_conf
rc_reload=NO
rc_cmd $1

View File

@ -1,11 +1,14 @@
#!/bin/sh
#
# $OpenBSD: clamav_freshclam.rc,v 1.2 2010/12/11 12:57:37 ajacoutot Exp $
# $OpenBSD: clamav_freshclam.rc,v 1.3 2010/12/24 10:40:06 ajacoutot Exp $
. /etc/rc.d/rc.subr
daemon="${TRUEPREFIX}/bin/freshclam"
daemon_flags="-d"
rc_conf
rc_reload=NO
rc_cmd $1

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.55 2010/11/26 14:50:10 espie Exp $
# $OpenBSD: Makefile,v 1.56 2010/12/24 10:40:06 ajacoutot Exp $
COMMENT= RFC 2222 SASL (Simple Authentication and Security Layer)
DISTNAME= cyrus-sasl-2.1.23
REVISION= 3
REVISION= 4
SHARED_LIBS= anonymous 2.22 \
crammd5 2.22 \

View File

@ -1,10 +1,12 @@
#!/bin/sh
#
# $OpenBSD: saslauthd.rc,v 1.2 2010/10/29 12:54:44 ajacoutot Exp $
# $OpenBSD: saslauthd.rc,v 1.3 2010/12/24 10:40:06 ajacoutot Exp $
. /etc/rc.d/rc.subr
daemon="${TRUEPREFIX}/sbin/saslauthd"
daemon_flags="-a getpwent"
rc_conf
rc_cmd $1

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.13 2010/11/23 18:53:46 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.14 2010/12/24 10:40:06 ajacoutot Exp $
ONLY_FOR_ARCHS= amd64 i386 powerpc
@ -7,7 +7,7 @@ COMMENT= control and monitor storage systems using SMART
DISTNAME= smartmontools-5.40
CATEGORIES= sysutils
REVISION= 0
REVISION= 1
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=smartmontools/}
HOMEPAGE= http://smartmontools.sourceforge.net/

View File

@ -1,9 +1,11 @@
#!/bin/sh
#
# $OpenBSD: smartd.rc,v 1.2 2010/11/23 18:53:46 ajacoutot Exp $
# $OpenBSD: smartd.rc,v 1.3 2010/12/24 10:40:06 ajacoutot Exp $
. /etc/rc.d/rc.subr
daemon="${TRUEPREFIX}/sbin/smartd"
rc_conf
rc_cmd $1

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.20 2010/12/22 07:28:04 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.21 2010/12/24 10:40:06 ajacoutot 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= 0
REVISION-main= 1
SHARED_LIBS = cherokee-base 0.0 \
cherokee-client 0.0 \

View File

@ -1,11 +1,14 @@
#!/bin/sh
#
# $OpenBSD: cherokee.rc,v 1.1 2010/12/20 07:51:58 ajacoutot Exp $
# $OpenBSD: cherokee.rc,v 1.2 2010/12/24 10:40:06 ajacoutot Exp $
. /etc/rc.d/rc.subr
daemon="${TRUEPREFIX}/sbin/cherokee"
daemon_flags="-d"
rc_conf
pexp="${daemon}[^-]"
rc_cmd $1

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.35 2010/12/11 08:05:38 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.36 2010/12/24 10:40:06 ajacoutot Exp $
COMMENT= robust and small HTTP server and mail proxy server
DISTNAME= nginx-0.8.53
CATEGORIES= www
REVISION= 3
REVISION= 4
HOMEPAGE= http://nginx.net/

View File

@ -1,10 +1,13 @@
#!/bin/sh
#
# $OpenBSD: nginx.rc,v 1.3 2010/12/11 08:05:38 ajacoutot Exp $
# $OpenBSD: nginx.rc,v 1.4 2010/12/24 10:40:06 ajacoutot Exp $
. /etc/rc.d/rc.subr
daemon="${TRUEPREFIX}/sbin/nginx"
rc_conf
pexp="nginx:.*master.*process"
rc_reload() {

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.13 2010/12/11 12:57:37 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.14 2010/12/24 10:40:06 ajacoutot Exp $
COMMENT= HTTP caching proxy
DISTNAME= polipo-1.0.4.1
CATEGORIES= www
REVISION= 3
REVISION= 4
HOMEPAGE= http://www.pps.jussieu.fr/~jch/software/polipo/

View File

@ -1,11 +1,14 @@
#!/bin/sh
#
# $OpenBSD: polipo.rc,v 1.3 2010/12/11 12:57:37 ajacoutot Exp $
# $OpenBSD: polipo.rc,v 1.4 2010/12/24 10:40:06 ajacoutot Exp $
. /etc/rc.d/rc.subr
daemon="${TRUEPREFIX}/bin/polipo"
daemon_flags="daemonise=yes"
rc_conf
rc_reload=NO
rc_cmd $1

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.5 2010/12/22 09:23:01 sebastia Exp $
# $OpenBSD: Makefile,v 1.6 2010/12/24 10:40:06 ajacoutot Exp $
COMMENT = web based groupware server
REVISION = 1
REVISION = 2
VERSION = 1.3.4
DISTNAME = SOGo-${VERSION}
PKGNAME = sogo-${VERSION}

View File

@ -1,10 +1,12 @@
#!/bin/sh
#
# $OpenBSD: sogod.rc,v 1.2 2010/12/11 14:21:08 sebastia Exp $
# $OpenBSD: sogod.rc,v 1.3 2010/12/24 10:40:06 ajacoutot Exp $
. /etc/rc.d/rc.subr
daemon="${TRUEPREFIX}/sbin/sogod"
daemon_user="_sogo"
rc_conf
rc_cmd $1

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.112 2010/12/12 18:58:32 jasper Exp $
# $OpenBSD: Makefile,v 1.113 2010/12/24 10:40:06 ajacoutot Exp $
COMMENT= WWW and FTP proxy cache and accelerator
DISTNAME= squid-2.7.STABLE9
REVISION= 3
REVISION= 4
CATEGORIES= www
MASTER_SITES= ${HOMEPAGE}/Versions/v2/2.7/
DIST_SUBDIR= squid

View File

@ -1,11 +1,13 @@
#!/bin/sh
#
# $OpenBSD: squid.rc,v 1.2 2010/11/26 15:44:33 dcoppa Exp $
# $OpenBSD: squid.rc,v 1.3 2010/12/24 10:40:06 ajacoutot Exp $
. /etc/rc.d/rc.subr
daemon="${TRUEPREFIX}/sbin/squid"
rc_conf
rc_stop() {
${daemon} -k shutdown
}

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.55 2010/12/21 14:59:49 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.56 2010/12/24 10:40:06 ajacoutot Exp $
# XXX patches/patch-configure_in disables PIE on arm/hppa. This is just a
# temporary workaround until PIE works.
@ -8,6 +8,8 @@ COMMENT= message bus system
DISTNAME= dbus-1.4.1
EPOCH= 0
REVISION= 0
SHARED_LIBS += dbus-1 9.0 # .8.2
CATEGORIES= x11

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.95 2010/12/13 16:13:04 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.96 2010/12/24 10:40:06 ajacoutot Exp $
SHARED_ONLY= Yes
@ -7,7 +7,7 @@ COMMENT= GNOME display manager
GNOME_PROJECT= gdm
GNOME_VERSION= 2.20.11
REVISION= 15
REVISION= 16
HOMEPAGE= http://projects.gnome.org/gdm/

View File

@ -1,6 +1,6 @@
#!/bin/sh
#
# $OpenBSD: gdm.rc,v 1.7 2010/12/13 16:13:04 ajacoutot Exp $
# $OpenBSD: gdm.rc,v 1.8 2010/12/24 10:40:06 ajacoutot Exp $
. /etc/rc.d/rc.subr
@ -9,8 +9,8 @@ pexp="${TRUEPREFIX}/sbin/gdm-binary"
rc_reload=NO
rc_start() {
(sleep 5; su -l -c ${daemon_class:-daemon} -s ${daemon_shell:-/bin/sh} \
${daemon_user:-root} -c "${daemon} ${daemon_flags}" >/dev/null)&
(sleep 5; su -l -c ${daemon_class} -s ${daemon_shell} ${daemon_user} \
-c "${daemon} ${daemon_flags}" >/dev/null)&
}
rc_cmd $1

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.26 2010/12/13 16:13:04 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.27 2010/12/24 10:40:06 ajacoutot Exp $
COMMENT = VNC server for real X displays
DISTNAME = x11vnc-0.9.12
REVISION = 2
REVISION = 3
CATEGORIES = x11
HOMEPAGE = http://www.karlrunge.com/x11vnc/

View File

@ -1,17 +1,20 @@
#!/bin/sh
#
# $OpenBSD: x11vnc.rc,v 1.3 2010/12/13 16:13:04 ajacoutot Exp $
# $OpenBSD: x11vnc.rc,v 1.4 2010/12/24 10:40:06 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_conf
rc_reload=NO
rc_start() {
type rc_pre >/dev/null && rc_pre
su -l -c ${_rcclass:-daemon} -s ${_rcshell:-/bin/sh} \
${_rcuser:-root} -c "${daemon} ${daemon_flags}" >/dev/null 2>&1 &
su -l -c ${daemon_class} -s ${daemon_shell} ${daemon_user} \
-c "${daemon} ${daemon_flags}" >/dev/null 2>&1 &
}
rc_cmd $1