OOPS! Fix wrongs PATHS and add PKG_SYSCONFSUBDIR, I think that jabberd
works properly.
This commit is contained in:
parent
c3725dd091
commit
57bd244866
2 changed files with 10 additions and 11 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.3 2003/06/12 05:15:34 xtraeme Exp $
|
||||
# $NetBSD: Makefile,v 1.4 2003/06/12 05:29:03 xtraeme Exp $
|
||||
#
|
||||
|
||||
DISTNAME= jabberd-2.0.0-a4
|
||||
|
@ -17,19 +17,18 @@ USE_PKGINSTALL= yes
|
|||
|
||||
LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
|
||||
|
||||
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
|
||||
|
||||
RCD_SCRIPTS= jabberd
|
||||
PKG_SYSCONFSUBDIR= jabberd
|
||||
|
||||
EGDIR= ${PREFIX}/share/examples/jabberd
|
||||
|
||||
CONF_FILES= ${EGDIR}/c2s.xml ${PKG_SYSCONFDIR}/jabberd/c2s.xml
|
||||
CONF_FILES+= ${EGDIR}/resolver.xml ${PKG_SYSCONFDIR}/jabberd/resolver.xml
|
||||
CONF_FILES+= ${EGDIR}/router.xml ${PKG_SYSCONFDIR}/jabberd/router.xml
|
||||
CONF_FILES+= ${EGDIR}/s2s.xml ${PKG_SYSCONFDIR}/jabberd/s2s.xml
|
||||
CONF_FILES+= ${EGDIR}/sm.xml ${PKG_SYSCONFDIR}/jabberd/sm.xml
|
||||
CONF_FILES= ${EGDIR}/c2s.xml ${PKG_SYSCONFDIR}/c2s.xml
|
||||
CONF_FILES+= ${EGDIR}/resolver.xml ${PKG_SYSCONFDIR}/resolver.xml
|
||||
CONF_FILES+= ${EGDIR}/router.xml ${PKG_SYSCONFDIR}/router.xml
|
||||
CONF_FILES+= ${EGDIR}/s2s.xml ${PKG_SYSCONFDIR}/s2s.xml
|
||||
CONF_FILES+= ${EGDIR}/sm.xml ${PKG_SYSCONFDIR}/sm.xml
|
||||
|
||||
SUPPORT_FILES+= ${EGDIR}/jabberd.cfg ${PKG_SYSCONFDIR}/jabberd/jabberd.cfg
|
||||
SUPPORT_FILES+= ${EGDIR}/jabberd.cfg ${PKG_SYSCONFDIR}/jabberd.cfg
|
||||
|
||||
OWN_DIRS= /var/log/jabberd
|
||||
OWN_DIRS+= /var/db/jabberd
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!@RCD_SCRIPTS_SHELL@
|
||||
#
|
||||
# $NetBSD: jabberd.sh,v 1.1.1.1 2003/06/12 04:01:38 xtraeme Exp $
|
||||
# $NetBSD: jabberd.sh,v 1.2 2003/06/12 05:29:03 xtraeme Exp $
|
||||
#
|
||||
|
||||
# PROVIDE: jabberd
|
||||
|
@ -12,7 +12,7 @@ name="jabberd"
|
|||
rcvar=$name
|
||||
command="@PREFIX@/bin/${name}"
|
||||
pidfile="/var/run/${help_name}.pid"
|
||||
required_files="@PKG_SYSCONFDIR@/jabber.cfg"
|
||||
required_files="@PKG_SYSCONFDIR@/jabberd.cfg"
|
||||
|
||||
load_rc_config $name
|
||||
run_rc_command "$1"
|
||||
|
|
Loading…
Reference in a new issue