Date: Sun, 3 Nov 2013 12:26:47 +0100 (CET) From: Jimmy Olgeni <olgeni@FreeBSD.org> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/183613: databases/p5-Bucardo: set default bucardo_ctl_enable Message-ID: <201311031126.rA3BQlos073817@olgeni.olgeni> Resent-Message-ID: <201311031130.rA3BU0w6011250@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 183613 >Category: ports >Synopsis: databases/p5-Bucardo: set default bucardo_ctl_enable >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Nov 03 11:30:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Jimmy Olgeni >Release: FreeBSD 9.2-STABLE amd64 >Organization: >Environment: System: FreeBSD olgeni 9.2-STABLE FreeBSD 9.2-STABLE #0 r256529: Tue Oct 15 18:29:59 CEST 2013 root@olgeni:/usr/obj/usr/src/sys/KERNEL amd64 >Description: The bucardo startup script does not define a default value for bucardo_ctl_enable, so the following warning is printed at startup: /usr/local/etc/rc.d/bucardo: WARNING: $bucardo_ctl_enable is not set properly - see rc.conf(5). >How-To-Repeat: Run "/usr/local/etc/rc.d/bucardo start" with bucardo_ctl_enable undefined. >Fix: Index: Makefile =================================================================== --- Makefile (revision 332601) +++ Makefile (working copy) @@ -3,6 +3,7 @@ PORTNAME= Bucardo PORTVERSION= 4.5.0 +PORTREVISION= 1 CATEGORIES= databases perl5 MASTER_SITES= http://bucardo.org/downloads/ ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= mat/ Index: files/patch-scripts_bucardo__ctl.rc =================================================================== --- files/patch-scripts_bucardo__ctl.rc (revision 0) +++ files/patch-scripts_bucardo__ctl.rc (working copy) @@ -0,0 +1,13 @@ + +$FreeBSD$ + +--- scripts/bucardo_ctl.rc.orig ++++ scripts/bucardo_ctl.rc +@@ -15,6 +15,7 @@ + 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]" Property changes on: files/patch-scripts_bucardo__ctl.rc ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311031126.rA3BQlos073817>