1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

- Set license to BSD2CLAUSE.

- Set rcvar to bucardo_ctl_enable; do not call set_rcvar.

PR:		190124
Submitted by:	olgeni@
Sponsored by:	Absolight
This commit is contained in:
Mathieu Arnold 2014-06-09 12:31:17 +00:00
parent 02cc5f0f02
commit 8255ae7160
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=357143
2 changed files with 10 additions and 5 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= Bucardo
PORTVERSION= 4.5.0
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= databases perl5
MASTER_SITES= http://bucardo.org/downloads/ ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= mat/
@ -12,7 +12,7 @@ PKGNAMEPREFIX= p5-
MAINTAINER= mat@FreeBSD.org
COMMENT= Asynchronous PostgreSQL replication system
LICENSE= BSD
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= p5-DBI>=1.51:${PORTSDIR}/databases/p5-DBI \

View File

@ -3,11 +3,16 @@ $FreeBSD$
--- scripts/bucardo_ctl.rc.orig
+++ scripts/bucardo_ctl.rc
@@ -15,6 +15,7 @@
@@ -11,10 +11,11 @@
. /etc/rc.subr
name="bucardo_ctl"
-rcvar=`set_rcvar`
+rcvar="bucardo_ctl_enable"
command="/usr/local/bin/${name}"
load_rc_config $name
+bucardo_ctl_enable=${bucardo_ctl_enable:-"NO"}
bucardo_ctl_flags=${bucardo_ctl_flags:-"--dbuser bucardo --dbname bucardo"}
rc_usage="start|stop|reload|restart|status|kick [sync_name]"