aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2014-06-25 00:28:45 +0800
committermat <mat@FreeBSD.org>2014-06-25 00:28:45 +0800
commit01e8c329f82aec3c9705249e6c70c1dc16a1f196 (patch)
treee60c97283760d41d8994cf7971772e853525a332 /databases
parentd4b6d7d4413015d30e1fd9ebe3943d308c676cc3 (diff)
downloadfreebsd-ports-gnome-01e8c329f82aec3c9705249e6c70c1dc16a1f196.tar.gz
freebsd-ports-gnome-01e8c329f82aec3c9705249e6c70c1dc16a1f196.tar.zst
freebsd-ports-gnome-01e8c329f82aec3c9705249e6c70c1dc16a1f196.zip
Update to 5.0.0.
Sponsored by: Absolight
Diffstat (limited to 'databases')
-rw-r--r--databases/p5-Bucardo/Makefile9
-rw-r--r--databases/p5-Bucardo/distinfo4
-rw-r--r--databases/p5-Bucardo/files/patch-dist__bucardo.rc15
-rw-r--r--databases/p5-Bucardo/files/patch-scripts_bucardo__ctl.rc18
-rw-r--r--databases/p5-Bucardo/pkg-plist4
5 files changed, 24 insertions, 26 deletions
diff --git a/databases/p5-Bucardo/Makefile b/databases/p5-Bucardo/Makefile
index 1c7f5ee312f2..b387e5cf3d24 100644
--- a/databases/p5-Bucardo/Makefile
+++ b/databases/p5-Bucardo/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= Bucardo
-PORTVERSION= 4.5.0
-PORTREVISION= 2
+PORTVERSION= 5.0.0
CATEGORIES= databases perl5
MASTER_SITES= http://bucardo.org/downloads/ ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= mat/
@@ -29,9 +28,11 @@ post-patch:
@${REINPLACE_CMD} 's/INSTALL_BASE/DESTDIR/;s/bucardo_ctl.1pm/bucardo_ctl.1/' \
${WRKSRC}/Makefile.PL
@${REINPLACE_CMD} 's=/usr/local=${PREFIX}=' ${WRKSRC}/Makefile.PL \
- ${WRKSRC}/bucardo_ctl ${WRKSRC}/scripts/bucardo_ctl.rc
+ ${WRKSRC}/bucardo ${WRKSRC}/dist/bucardo.rc
post-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/scripts/bucardo_ctl.rc ${STAGEDIR}${PREFIX}/etc/rc.d/bucardo
+ ${INSTALL_SCRIPT} ${WRKSRC}/dist/bucardo.rc ${STAGEDIR}${PREFIX}/etc/rc.d/bucardo
+ ${RM} ${STAGEDIR}${SITE_PERL}/${PERL_ARCH}/auto/Bucardo/.packlist
+ ${RMDIR} ${STAGEDIR}${SITE_PERL}/${PERL_ARCH}/auto/Bucardo
.include <bsd.port.mk>
diff --git a/databases/p5-Bucardo/distinfo b/databases/p5-Bucardo/distinfo
index 77eeaa7a0b41..c09f2a79e20b 100644
--- a/databases/p5-Bucardo/distinfo
+++ b/databases/p5-Bucardo/distinfo
@@ -1,2 +1,2 @@
-SHA256 (Bucardo-4.5.0.tar.gz) = 15272b196f3c84c99a4662ca440e8a3b8299b8333e92cb43d1edcb14cac6a091
-SIZE (Bucardo-4.5.0.tar.gz) = 192027
+SHA256 (Bucardo-5.0.0.tar.gz) = 44d43354d0861f90ec8ef930fe083cd17124dffbbff53e125414cdaaafa7a061
+SIZE (Bucardo-5.0.0.tar.gz) = 313904
diff --git a/databases/p5-Bucardo/files/patch-dist__bucardo.rc b/databases/p5-Bucardo/files/patch-dist__bucardo.rc
new file mode 100644
index 000000000000..5d44fe28ac10
--- /dev/null
+++ b/databases/p5-Bucardo/files/patch-dist__bucardo.rc
@@ -0,0 +1,15 @@
+--- ./dist/bucardo.rc.orig 2014-03-16 16:30:40.000000000 +0100
++++ ./dist/bucardo.rc 2014-06-24 17:39:05.000000000 +0200
+@@ -11,10 +11,11 @@
+ . /etc/rc.subr
+
+ name="bucardo"
+-rcvar=`set_rcvar`
++rcvar="bucardo_enable"
+ command="/usr/local/bin/${name}"
+
+ load_rc_config $name
++bucardo_enable=${bucardo_enable:-"NO"}
+ bucardo_flags=${bucardo_flags:-"--dbuser bucardo --dbname bucardo"}
+
+ rc_usage="start|stop|reload|restart|status|kick [sync_name]"
diff --git a/databases/p5-Bucardo/files/patch-scripts_bucardo__ctl.rc b/databases/p5-Bucardo/files/patch-scripts_bucardo__ctl.rc
deleted file mode 100644
index 5ffcdfbe3410..000000000000
--- a/databases/p5-Bucardo/files/patch-scripts_bucardo__ctl.rc
+++ /dev/null
@@ -1,18 +0,0 @@
-
-$FreeBSD$
-
---- scripts/bucardo_ctl.rc.orig
-+++ scripts/bucardo_ctl.rc
-@@ -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]"
diff --git a/databases/p5-Bucardo/pkg-plist b/databases/p5-Bucardo/pkg-plist
index f539a23982e5..5058db5cf590 100644
--- a/databases/p5-Bucardo/pkg-plist
+++ b/databases/p5-Bucardo/pkg-plist
@@ -1,7 +1,7 @@
-bin/bucardo_ctl
+bin/bucardo
etc/rc.d/bucardo
%%PERL5_MAN3%%/Bucardo.3.gz
%%SITE_PERL%%/Bucardo.pm
-man/man1/bucardo_ctl.1.gz
+man/man1/bucardo.1pm.gz
share/bucardo/bucardo.schema
@dirrm share/bucardo