svn commit: r310494 - in head/sysutils: p5-MogileFS-Client p5-MogileFS-Server p5-MogileFS-Server/files p5-MogileFS-Utils

Anton Berezin tobez at FreeBSD.org
Wed Jan 16 15:08:01 UTC 2013


Author: tobez
Date: Wed Jan 16 15:07:59 2013
New Revision: 310494
URL: http://svnweb.freebsd.org/changeset/ports/310494

Log:
  sysutils/p5-MogileFS-Server: fix issues with with daemon startup.
  
  Assign maintainership of this and related ports to the submitter -
  he can take better care of these ports than perl at .
  
  PR:		171691
  Submitted by:	trociny

Added:
  head/sysutils/p5-MogileFS-Server/files/patch-mogstored   (contents, props changed)
Modified:
  head/sysutils/p5-MogileFS-Client/Makefile
  head/sysutils/p5-MogileFS-Server/Makefile
  head/sysutils/p5-MogileFS-Server/files/mogilefsd.in
  head/sysutils/p5-MogileFS-Server/files/mogstored.in
  head/sysutils/p5-MogileFS-Utils/Makefile

Modified: head/sysutils/p5-MogileFS-Client/Makefile
==============================================================================
--- head/sysutils/p5-MogileFS-Client/Makefile	Wed Jan 16 14:43:37 2013	(r310493)
+++ head/sysutils/p5-MogileFS-Client/Makefile	Wed Jan 16 15:07:59 2013	(r310494)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	p5-MogileFS-Client
-# Date created:		2007-04-22
-# Whom:			Gea-Suan Lin <gslin at gslin.org>
-#
+# Created by: Gea-Suan Lin <gslin at 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 at FreeBSD.org
+MAINTAINER=	trociny at FreeBSD.org
 COMMENT=	Client library for the MogileFS distributed file system
 
 BUILD_DEPENDS=	p5-IO-stringy>=2.102:${PORTSDIR}/devel/p5-IO-stringy \

Modified: head/sysutils/p5-MogileFS-Server/Makefile
==============================================================================
--- head/sysutils/p5-MogileFS-Server/Makefile	Wed Jan 16 14:43:37 2013	(r310493)
+++ head/sysutils/p5-MogileFS-Server/Makefile	Wed Jan 16 15:07:59 2013	(r310494)
@@ -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 at FreeBSD.org
+MAINTAINER=	trociny at FreeBSD.org
 COMMENT=	MogileFS (distributed filesystem) server
 
 BUILD_DEPENDS=	p5-Danga-Socket>=1.56:${PORTSDIR}/devel/p5-Danga-Socket \

Modified: head/sysutils/p5-MogileFS-Server/files/mogilefsd.in
==============================================================================
--- head/sysutils/p5-MogileFS-Server/files/mogilefsd.in	Wed Jan 16 14:43:37 2013	(r310493)
+++ head/sysutils/p5-MogileFS-Server/files/mogilefsd.in	Wed Jan 16 15:07:59 2013	(r310494)
@@ -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"

Modified: head/sysutils/p5-MogileFS-Server/files/mogstored.in
==============================================================================
--- head/sysutils/p5-MogileFS-Server/files/mogstored.in	Wed Jan 16 14:43:37 2013	(r310493)
+++ head/sysutils/p5-MogileFS-Server/files/mogstored.in	Wed Jan 16 15:07:59 2013	(r310494)
@@ -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"

Added: head/sysutils/p5-MogileFS-Server/files/patch-mogstored
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/p5-MogileFS-Server/files/patch-mogstored	Wed Jan 16 15:07:59 2013	(r310494)
@@ -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:

Modified: head/sysutils/p5-MogileFS-Utils/Makefile
==============================================================================
--- head/sysutils/p5-MogileFS-Utils/Makefile	Wed Jan 16 14:43:37 2013	(r310493)
+++ head/sysutils/p5-MogileFS-Utils/Makefile	Wed Jan 16 15:07:59 2013	(r310494)
@@ -8,7 +8,7 @@ MASTER_SITES=	CPAN
 MASTER_SITE_SUBDIR=	CPAN:DORMANDO
 PKGNAMEPREFIX=	p5-
 
-MAINTAINER=	perl at FreeBSD.org
+MAINTAINER=	trociny at FreeBSD.org
 COMMENT=	MogileFS tools
 
 BUILD_DEPENDS=	p5-MogileFS-Client>=1.16:${PORTSDIR}/sysutils/p5-MogileFS-Client \


More information about the svn-ports-head mailing list