aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sysutils/p5-MogileFS-Client/Makefile8
-rw-r--r--sysutils/p5-MogileFS-Server/Makefile3
-rw-r--r--sysutils/p5-MogileFS-Server/files/mogilefsd.in1
-rw-r--r--sysutils/p5-MogileFS-Server/files/mogstored.in1
-rw-r--r--sysutils/p5-MogileFS-Server/files/patch-mogstored20
-rw-r--r--sysutils/p5-MogileFS-Utils/Makefile2
6 files changed, 27 insertions, 8 deletions
diff --git a/sysutils/p5-MogileFS-Client/Makefile b/sysutils/p5-MogileFS-Client/Makefile
index f80d76e8f097..a3177af1d1ad 100644
--- a/sysutils/p5-MogileFS-Client/Makefile
+++ b/sysutils/p5-MogileFS-Client/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: p5-MogileFS-Client
-# Date created: 2007-04-22
-# Whom: Gea-Suan Lin <gslin@gslin.org>
-#
+# Created by: Gea-Suan Lin <gslin@gslin.org>
# $FreeBSD$
-#
PORTNAME= MogileFS-Client
PORTVERSION= 1.16
@@ -12,7 +8,7 @@ MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:DORMANDO
PKGNAMEPREFIX= p5-
-MAINTAINER= perl@FreeBSD.org
+MAINTAINER= trociny@FreeBSD.org
COMMENT= Client library for the MogileFS distributed file system
BUILD_DEPENDS= p5-IO-stringy>=2.102:${PORTSDIR}/devel/p5-IO-stringy \
diff --git a/sysutils/p5-MogileFS-Server/Makefile b/sysutils/p5-MogileFS-Server/Makefile
index 2c01bc18b566..acf87a01d533 100644
--- a/sysutils/p5-MogileFS-Server/Makefile
+++ b/sysutils/p5-MogileFS-Server/Makefile
@@ -3,12 +3,13 @@
PORTNAME= MogileFS-Server
PORTVERSION= 2.66
+PORTREVISION= 1
CATEGORIES= sysutils perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:DORMANDO
PKGNAMEPREFIX= p5-
-MAINTAINER= perl@FreeBSD.org
+MAINTAINER= trociny@FreeBSD.org
COMMENT= MogileFS (distributed filesystem) server
BUILD_DEPENDS= p5-Danga-Socket>=1.56:${PORTSDIR}/devel/p5-Danga-Socket \
diff --git a/sysutils/p5-MogileFS-Server/files/mogilefsd.in b/sysutils/p5-MogileFS-Server/files/mogilefsd.in
index bf10253e8c73..9fed1bc64bbd 100644
--- a/sysutils/p5-MogileFS-Server/files/mogilefsd.in
+++ b/sysutils/p5-MogileFS-Server/files/mogilefsd.in
@@ -17,6 +17,7 @@ load_rc_config mogilefsd
required_files=%%PREFIX%%/etc/mogtracker.conf
+command="%%PREFIX%%/bin/${name}"
command_args="--config=%%PREFIX%%/etc/mogtracker.conf"
run_rc_command "$1"
diff --git a/sysutils/p5-MogileFS-Server/files/mogstored.in b/sysutils/p5-MogileFS-Server/files/mogstored.in
index b8002eb7e85c..6125d6be10aa 100644
--- a/sysutils/p5-MogileFS-Server/files/mogstored.in
+++ b/sysutils/p5-MogileFS-Server/files/mogstored.in
@@ -17,6 +17,7 @@ load_rc_config mogstored
required_files=%%PREFIX%%/etc/mogstored.conf
+command="%%PREFIX%%/bin/${name}"
command_args="--config=%%PREFIX%%/etc/mogstored.conf -d"
run_rc_command "$1"
diff --git a/sysutils/p5-MogileFS-Server/files/patch-mogstored b/sysutils/p5-MogileFS-Server/files/patch-mogstored
new file mode 100644
index 000000000000..d60c47691095
--- /dev/null
+++ b/sysutils/p5-MogileFS-Server/files/patch-mogstored
@@ -0,0 +1,20 @@
+--- mogstored.ORIG 2012-09-16 12:38:08.000000000 +0300
++++ mogstored 2012-09-16 18:48:02.000000000 +0300
+@@ -99,8 +99,6 @@ my $httpsrv = $httpsrv_class->new(
+ maxconns => $max_conns,
+ bin => $serverbin,
+ );
+-$httpsrv->start;
+-
+ if ($opt_daemonize) {
+ $httpsrv->pre_daemonize;
+ Perlbal::daemonize();
+@@ -108,6 +106,8 @@ if ($opt_daemonize) {
+ print "Running.\n";
+ }
+
++$httpsrv->start;
++
+ $httpsrv->post_daemonize;
+
+ # kill our children processes on exit:
diff --git a/sysutils/p5-MogileFS-Utils/Makefile b/sysutils/p5-MogileFS-Utils/Makefile
index 56156d87696d..f1a360185060 100644
--- a/sysutils/p5-MogileFS-Utils/Makefile
+++ b/sysutils/p5-MogileFS-Utils/Makefile
@@ -8,7 +8,7 @@ MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:DORMANDO
PKGNAMEPREFIX= p5-
-MAINTAINER= perl@FreeBSD.org
+MAINTAINER= trociny@FreeBSD.org
COMMENT= MogileFS tools
BUILD_DEPENDS= p5-MogileFS-Client>=1.16:${PORTSDIR}/sysutils/p5-MogileFS-Client \