mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
- Rename rc.d scripts, removing "z-". It's not more needed since we are using
correct REQUIRE: tag Approved by: maintainer
This commit is contained in:
parent
cd4eed0fcd
commit
4d8ddd36e4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=158607
@ -15,6 +15,6 @@ COMMENT= The network backup solution (client) - DEVELOPMENT Version
|
||||
PLIST= ${PKGDIR}/pkg-plist.client
|
||||
|
||||
WITH_CLIENT_ONLY= yes
|
||||
USE_RC_SUBR= z-bacula-fd.sh
|
||||
USE_RC_SUBR= bacula-fd.sh
|
||||
|
||||
.include "${MASTERDIR}/Makefile"
|
||||
|
@ -19,7 +19,7 @@ CONFLICTS= bacula-server-[0-9]* bacula-client-[0-9]*
|
||||
|
||||
UNIQUENAME?=${PORTNAME}${PKGNAMESUFFIX}
|
||||
|
||||
USE_RC_SUBR?= z-bacula-dir.sh z-bacula-sd.sh
|
||||
USE_RC_SUBR?= bacula-dir.sh bacula-sd.sh
|
||||
|
||||
# The user/group IDs below are registered, see
|
||||
# http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/book.html#DADS-UID
|
||||
@ -133,10 +133,12 @@ CONFFILES= sd dir
|
||||
CONFIGURE_ARGS+= --with-mysql=yes
|
||||
USE_MYSQL= yes
|
||||
DBTYPE= mysql
|
||||
SUB_LIST+= REQ_MYSQL=mysql REQ_PGSQL=""
|
||||
.elif defined(WITH_POSTGRESQL)
|
||||
USE_PGSQL= yes
|
||||
CONFIGURE_ARGS+= --with-postgresql=yes
|
||||
DBTYPE= postgresql
|
||||
SUB_LIST+= REQ_MYSQL="" REQ_PGSQL=postgresql
|
||||
.elif defined(WITH_SQLITE3)
|
||||
CONFIGURE_ARGS+= --with-sqlite3=yes
|
||||
LIB_DEPENDS+= sqlite3:${PORTSDIR}/databases/sqlite3
|
||||
|
@ -1,9 +1,9 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: /tmp/pcvs/ports/sysutils/bacula-server-devel/files/Attic/bacula-dir.sh.in,v 1.1 2006-04-01 23:06:24 garga Exp $
|
||||
#
|
||||
# PROVIDE: utility
|
||||
# REQUIRE: DAEMON
|
||||
# REQUIRE: DAEMON %%REQ_MYSQL%% %%REQ_PGSQL%%
|
||||
# KEYWORD: shutdown
|
||||
#
|
||||
# Add the following lines to /etc/rc.conf.local or /etc/rc.conf
|
||||
@ -24,7 +24,7 @@ pidfile="${bacula_dir_pidfile}"
|
||||
load_rc_config $name
|
||||
|
||||
: ${bacula_dir_enable="NO"}
|
||||
: ${bacula_dir_flags=" -u bacula -g bacula -v -c %%PREFIX%%/etc/bacula-dir.conf"}
|
||||
: ${bacula_dir_flags=" -u bacula -g operator -v -c %%PREFIX%%/etc/bacula-dir.conf"}
|
||||
: ${bacula_dir_pidfile="/var/run/bacula-dir.9101.pid"}
|
||||
|
||||
run_rc_command "$1"
|
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: /tmp/pcvs/ports/sysutils/bacula-server-devel/files/Attic/bacula-fd.sh.in,v 1.1 2006-04-01 23:06:24 garga Exp $
|
||||
#
|
||||
# PROVIDE: utility
|
||||
# REQUIRE: DAEMON
|
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $FreeBSD$
|
||||
# $FreeBSD: /tmp/pcvs/ports/sysutils/bacula-server-devel/files/Attic/bacula-sd.sh.in,v 1.1 2006-04-01 23:06:24 garga Exp $
|
||||
#
|
||||
# PROVIDE: utility
|
||||
# REQUIRE: DAEMON
|
Loading…
Reference in New Issue
Block a user