create /var/run/ircd-ratbox at starting time, not as a @sample. while
i'm here indent and improve comment. maintainer timed out. martynas@ ok.
This commit is contained in:
parent
e3a2cdd0cf
commit
6e8e87eeb9
@ -1,9 +1,10 @@
|
||||
# $OpenBSD: Makefile,v 1.2 2009/06/23 14:02:03 simon Exp $
|
||||
# $OpenBSD: Makefile,v 1.3 2009/10/04 12:56:23 fgsch Exp $
|
||||
|
||||
SHARED_ONLY = Yes
|
||||
COMMENT = advanced, stable and fast ircd
|
||||
COMMENT = advanced, stable and fast irc server
|
||||
|
||||
DISTNAME = ircd-ratbox-3.0.4
|
||||
PKGNAME = ${DISTNAME}p0
|
||||
CATEGORIES = net
|
||||
EXTRACT_SUFX = .tar.bz2
|
||||
|
||||
@ -54,7 +55,8 @@ DOCS = README.cidr_bans challenge.txt modeg.txt \
|
||||
tgchange.txt
|
||||
|
||||
pre-configure:
|
||||
${SUBST_CMD} ${WRKSRC}/doc/example.conf ${WRKSRC}/doc/example.efnet.conf
|
||||
${SUBST_CMD} ${WRKSRC}/doc/example.conf \
|
||||
${WRKSRC}/doc/example.efnet.conf
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/ircd-ratbox
|
||||
|
@ -2,6 +2,6 @@ To start ircd-ratbox at boot time, edit ${SYSCONFDIR}/ircd-ratbox/ircd.conf
|
||||
as required and insert the following into /etc/rc.local:
|
||||
|
||||
if [ -x ${TRUEPREFIX}/bin/ircd ]; then
|
||||
echo -n ' ircd'
|
||||
${TRUEPREFIX}/bin/ircd
|
||||
install -d -o _ircd-ratbox /var/run/ircd-ratbox
|
||||
echo -n ' ircd'; ${TRUEPREFIX}/bin/ircd
|
||||
fi
|
||||
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.2 2009/06/23 14:02:03 simon Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.3 2009/10/04 12:56:23 fgsch Exp $
|
||||
@conflict irc-*
|
||||
@conflict ircd-hybrid-*
|
||||
@newgroup _ircd-ratbox:619
|
||||
@ -262,4 +262,3 @@ share/ircd-ratbox/help/users/whowas
|
||||
@owner _ircd-ratbox
|
||||
@group _ircd-ratbox
|
||||
@sample ${LOGDIR}/
|
||||
@sample /var/run/ircd-ratbox/
|
||||
|
Loading…
Reference in New Issue
Block a user