Bug 183613 - databases/p5-Bucardo: set default bucardo_ctl_enable
Summary: databases/p5-Bucardo: set default bucardo_ctl_enable
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Mathieu Arnold
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-03 11:30 UTC by Jimmy Olgeni
Modified: 2013-11-14 10:40 UTC (History)
0 users

See Also:


Attachments
file.diff (1.03 KB, patch)
2013-11-03 11:30 UTC, Jimmy Olgeni
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jimmy Olgeni freebsd_committer freebsd_triage 2013-11-03 11:30:00 UTC
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.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-11-03 11:30:09 UTC
Responsible Changed
From-To: freebsd-ports-bugs->mat

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Mathieu Arnold freebsd_committer freebsd_triage 2013-11-14 10:33:14 UTC
State Changed
From-To: open->closed

Committed, thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2013-11-14 10:33:21 UTC
Author: mat
Date: Thu Nov 14 10:33:13 2013
New Revision: 333746
URL: http://svnweb.freebsd.org/changeset/ports/333746

Log:
  Set default bucardo_ctl_enable
  
  PR:		183613
  Submitted by:	olgeni

Added:
  head/databases/p5-Bucardo/files/
  head/databases/p5-Bucardo/files/patch-scripts_bucardo__ctl.rc   (contents, props changed)
Modified:
  head/databases/p5-Bucardo/Makefile

Modified: head/databases/p5-Bucardo/Makefile
==============================================================================
--- head/databases/p5-Bucardo/Makefile	Thu Nov 14 09:54:07 2013	(r333745)
+++ head/databases/p5-Bucardo/Makefile	Thu Nov 14 10:33:13 2013	(r333746)
@@ -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/

Added: head/databases/p5-Bucardo/files/patch-scripts_bucardo__ctl.rc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/p5-Bucardo/files/patch-scripts_bucardo__ctl.rc	Thu Nov 14 10:33:13 2013	(r333746)
@@ -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]"
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"