Date: Thu, 22 May 2014 23:11:47 +0200 (CEST) From: Jimmy Olgeni <olgeni@FreeBSD.org> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/190124: misc. fixes for databases/p5-Bucardo Message-ID: <201405222111.s4MLBl7N069874@olgeni.olgeni> Resent-Message-ID: <201405222120.s4MLK2Xx067595@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 190124 >Category: ports >Synopsis: misc. fixes for databases/p5-Bucardo >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu May 22 21:20:02 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Jimmy Olgeni >Release: FreeBSD 10.0-STABLE amd64 >Organization: >Environment: >Description: The databases/p5-Bucardo port needs a few minor fixes: - Set license to BSD2CLAUSE. - Set rcvar to bucardo_ctl_enable; do not call set_rcvar. - Add missing items to pkg-plist. >How-To-Repeat: >Fix: Index: Makefile =================================================================== --- Makefile (revision 354599) +++ Makefile (working copy) @@ -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 @@ 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 \ Index: files/patch-scripts_bucardo__ctl.rc =================================================================== --- files/patch-scripts_bucardo__ctl.rc (revision 354599) +++ files/patch-scripts_bucardo__ctl.rc (working copy) @@ -3,11 +3,16 @@ --- 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]" Index: pkg-plist =================================================================== --- pkg-plist (revision 354599) +++ pkg-plist (working copy) @@ -2,6 +2,8 @@ etc/rc.d/bucardo %%PERL5_MAN3%%/Bucardo.3.gz %%SITE_PERL%%/Bucardo.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Bucardo/.packlist man/man1/bucardo_ctl.1.gz share/bucardo/bucardo.schema +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Bucardo @dirrm share/bucardo >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405222111.s4MLBl7N069874>