From nobody@FreeBSD.org  Thu Sep 20 20:49:54 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 1B745106566B
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 20 Sep 2012 20:49:54 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id F40A98FC16
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 20 Sep 2012 20:49:53 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.5/8.14.5) with ESMTP id q8KKnrLd085713
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 20 Sep 2012 20:49:53 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.5/8.14.5/Submit) id q8KKnrre085712;
	Thu, 20 Sep 2012 20:49:53 GMT
	(envelope-from nobody)
Message-Id: <201209202049.q8KKnrre085712@red.freebsd.org>
Date: Thu, 20 Sep 2012 20:49:53 GMT
From: Mikolaj Golub <trociny@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: New port: sysutils/p5-MogileFS-Network: Network awareness and extensions for p5-MogileFS-Server
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         171822
>Category:       ports
>Synopsis:       New port: sysutils/p5-MogileFS-Network: Network awareness and extensions for p5-MogileFS-Server
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    culot
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 20 20:50:00 UTC 2012
>Closed-Date:    Sun Sep 23 08:30:15 UTC 2012
>Last-Modified:  Sun Sep 23 08:40:08 UTC 2012
>Originator:     Mikolaj Golub
>Release:        
>Organization:
>Environment:
>Description:
This collection of modules adds multiple network awareness to the MogileFS
server. It provides two replication policies, 'MultipleNetworks' and
'HostsPerNetwork', and also provides a plugin 'ZoneLocal' that causes
get_paths queries to be returned in a prioritized order based on locality of
storage.

WWW:    http://search.cpan.org/dist/MogileFS-Network/

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	p5-MogileFS-Network
#	p5-MogileFS-Network/pkg-descr
#	p5-MogileFS-Network/Makefile
#	p5-MogileFS-Network/distinfo
#	p5-MogileFS-Network/pkg-plist
#
echo c - p5-MogileFS-Network
mkdir -p p5-MogileFS-Network > /dev/null 2>&1
echo x - p5-MogileFS-Network/pkg-descr
sed 's/^X//' >p5-MogileFS-Network/pkg-descr << '9b69f9af0e3c64b4c3f8c7a5379f53a0'
XThis collection of modules adds multiple network awareness to the MogileFS
Xserver. It provides two replication policies, 'MultipleNetworks' and
X'HostsPerNetwork', and also provides a plugin 'ZoneLocal' that causes
Xget_paths queries to be returned in a prioritized order based on locality of
Xstorage.
X
XWWW:	http://search.cpan.org/dist/MogileFS-Network/
9b69f9af0e3c64b4c3f8c7a5379f53a0
echo x - p5-MogileFS-Network/Makefile
sed 's/^X//' >p5-MogileFS-Network/Makefile << 'd61a2c750e63b81f0205c5754451f6e3'
X# New ports collection makefile for:	p5-MogileFS-Network
X# Date created:		2012-09-19
X# Whom:			Mikolaj Golub <trociny@FreeBSD.org>
X#
X# $FreeBSD: trociny/sysutils/p5-MogileFS-Network/Makefile 7332 2012-09-19 19:22:18Z trociny $
X#
X
XPORTNAME=	MogileFS-Network
XPORTVERSION=	0.06
XCATEGORIES=	sysutils net perl5
XMASTER_SITES=	CPAN
XMASTER_SITE_SUBDIR=	CPAN:HACHI
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	trociny@FreeBSD.org
XCOMMENT=	Network awareness and extensions for p5-MogileFS-Server
X
XBUILD_DEPENDS=	p5-Net-Netmask>=0:${PORTSDIR}/net-mgmt/p5-Net-Netmask \
X		p5-Net-Patricia>=0:${PORTSDIR}/net/p5-Net-Patricia \
X		p5-MogileFS-Server>=2.50:${PORTSDIR}/sysutils/p5-MogileFS-Server
X
XRUN_DEPENDS:=	${BUILD_DEPENDS}
X
XPERL_CONFIGURE=	yes
X
XMAN3=		MogileFS::Network.3 \
X		MogileFS::ReplicationPolicy::MultipleNetworks.3
X
X.include <bsd.port.pre.mk>
X
Xpost-patch:
X	@${REINPLACE_CMD} -e '/NAME/ s|MogileFS-Network|MogileFS::Network|' \
X	    ${WRKSRC}/Makefile.PL
X
X.include <bsd.port.post.mk>
d61a2c750e63b81f0205c5754451f6e3
echo x - p5-MogileFS-Network/distinfo
sed 's/^X//' >p5-MogileFS-Network/distinfo << 'a8a36361c58580b53d8c4e661196900e'
XSHA256 (MogileFS-Network-0.06.tar.gz) = 4adb668b89166a11371b747af7d9f1a46958f7039efb0566aa6bf79994c8fffa
XSIZE (MogileFS-Network-0.06.tar.gz) = 9981
a8a36361c58580b53d8c4e661196900e
echo x - p5-MogileFS-Network/pkg-plist
sed 's/^X//' >p5-MogileFS-Network/pkg-plist << 'a3ae8561d88c51974748ffb8af6bc36c'
X%%SITE_PERL%%/MogileFS/Network.pm
X%%SITE_PERL%%/MogileFS/Plugin/ZoneLocal.pm
X%%SITE_PERL%%/MogileFS/ReplicationPolicy/HostsPerNetwork.pm
X%%SITE_PERL%%/MogileFS/ReplicationPolicy/MultipleNetworks.pm
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/MogileFS/Network/.packlist
X@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/MogileFS/Network
X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/MogileFS
X@dirrmtry %%SITE_PERL%%/MogileFS/Plugin
X@dirrmtry %%SITE_PERL%%/MogileFS/ReplicationPolicy
X@dirrmtry %%SITE_PERL%%/MogileFS
a3ae8561d88c51974748ffb8af6bc36c
exit



>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->perl 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Thu Sep 20 20:50:11 UTC 2012 
Responsible-Changed-Why:  
perl@ wants this port PRs (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=171822 
Responsible-Changed-From-To: perl->culot 
Responsible-Changed-By: culot 
Responsible-Changed-When: Sat Sep 22 08:33:54 UTC 2012 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=171822 
State-Changed-From-To: open->closed 
State-Changed-By: culot 
State-Changed-When: Sun Sep 23 08:30:11 UTC 2012 
State-Changed-Why:  
New port added, with minor changes. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=171822 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/171822: commit references a PR
Date: Sun, 23 Sep 2012 08:26:17 +0000 (UTC)

 Author: culot
 Date: Sun Sep 23 08:26:03 2012
 New Revision: 304731
 URL: http://svn.freebsd.org/changeset/ports/304731
 
 Log:
   MogileFS::Network is a collection of modules adding multiple network
   awareness to the MogileFS server. It provides two replication policies,
   'MultipleNetworks' and 'HostsPerNetwork', and also provides a plugin
   'ZoneLocal' that causes get_paths queries to be returned in a
   prioritized order based on locality of storage.
   
   WWW: http://search.cpan.org/dist/MogileFS-Network/
   
   PR:		ports/171822
   Submitted by:	Mikolaj Golub <trociny@FreeBSD.org>
 
 Added:
   head/sysutils/p5-MogileFS-Network/
   head/sysutils/p5-MogileFS-Network/Makefile   (contents, props changed)
   head/sysutils/p5-MogileFS-Network/distinfo   (contents, props changed)
   head/sysutils/p5-MogileFS-Network/pkg-descr   (contents, props changed)
   head/sysutils/p5-MogileFS-Network/pkg-plist   (contents, props changed)
 Modified:
   head/sysutils/Makefile
 
 Modified: head/sysutils/Makefile
 ==============================================================================
 --- head/sysutils/Makefile	Sun Sep 23 08:02:06 2012	(r304730)
 +++ head/sysutils/Makefile	Sun Sep 23 08:26:03 2012	(r304731)
 @@ -606,6 +606,7 @@
      SUBDIR += p5-Iterator-File
      SUBDIR += p5-Lchown
      SUBDIR += p5-MogileFS-Client
 +    SUBDIR += p5-MogileFS-Network
      SUBDIR += p5-MogileFS-Server
      SUBDIR += p5-MogileFS-Utils
      SUBDIR += p5-Monitor-Simple
 
 Added: head/sysutils/p5-MogileFS-Network/Makefile
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/sysutils/p5-MogileFS-Network/Makefile	Sun Sep 23 08:26:03 2012	(r304731)
 @@ -0,0 +1,33 @@
 +# Created by: Mikolaj Golub <trociny@FreeBSD.org>
 +# $FreeBSD$
 +
 +PORTNAME=	MogileFS-Network
 +PORTVERSION=	0.06
 +CATEGORIES=	sysutils net perl5
 +MASTER_SITES=	CPAN
 +MASTER_SITE_SUBDIR=	CPAN:HACHI
 +PKGNAMEPREFIX=	p5-
 +
 +MAINTAINER=	trociny@FreeBSD.org
 +COMMENT=	Network awareness and extensions for p5-MogileFS-Server
 +
 +LICENSE=	ART10 GPLv1
 +LICENSE_COMB=	dual
 +
 +BUILD_DEPENDS=	p5-Net-Netmask>=0:${PORTSDIR}/net-mgmt/p5-Net-Netmask \
 +		p5-Net-Patricia>=0:${PORTSDIR}/net/p5-Net-Patricia \
 +		p5-MogileFS-Server>=2.50:${PORTSDIR}/sysutils/p5-MogileFS-Server
 +RUN_DEPENDS:=	${BUILD_DEPENDS}
 +
 +PERL_CONFIGURE=	yes
 +
 +MAN3=		MogileFS::Network.3 \
 +		MogileFS::ReplicationPolicy::MultipleNetworks.3
 +
 +.include <bsd.port.pre.mk>
 +
 +post-patch:
 +	@${REINPLACE_CMD} -e '/NAME/ s|MogileFS-Network|MogileFS::Network|' \
 +	    ${WRKSRC}/Makefile.PL
 +
 +.include <bsd.port.post.mk>
 
 Added: head/sysutils/p5-MogileFS-Network/distinfo
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/sysutils/p5-MogileFS-Network/distinfo	Sun Sep 23 08:26:03 2012	(r304731)
 @@ -0,0 +1,2 @@
 +SHA256 (MogileFS-Network-0.06.tar.gz) = 4adb668b89166a11371b747af7d9f1a46958f7039efb0566aa6bf79994c8fffa
 +SIZE (MogileFS-Network-0.06.tar.gz) = 9981
 
 Added: head/sysutils/p5-MogileFS-Network/pkg-descr
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/sysutils/p5-MogileFS-Network/pkg-descr	Sun Sep 23 08:26:03 2012	(r304731)
 @@ -0,0 +1,7 @@
 +This collection of modules adds multiple network awareness to the MogileFS
 +server. It provides two replication policies, 'MultipleNetworks' and
 +'HostsPerNetwork', and also provides a plugin 'ZoneLocal' that causes
 +get_paths queries to be returned in a prioritized order based on locality of
 +storage.
 +
 +WWW: http://search.cpan.org/dist/MogileFS-Network/
 
 Added: head/sysutils/p5-MogileFS-Network/pkg-plist
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/sysutils/p5-MogileFS-Network/pkg-plist	Sun Sep 23 08:26:03 2012	(r304731)
 @@ -0,0 +1,10 @@
 +%%SITE_PERL%%/MogileFS/Network.pm
 +%%SITE_PERL%%/MogileFS/Plugin/ZoneLocal.pm
 +%%SITE_PERL%%/MogileFS/ReplicationPolicy/HostsPerNetwork.pm
 +%%SITE_PERL%%/MogileFS/ReplicationPolicy/MultipleNetworks.pm
 +%%SITE_PERL%%/%%PERL_ARCH%%/auto/MogileFS/Network/.packlist
 +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/MogileFS/Network
 +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/MogileFS
 +@dirrmtry %%SITE_PERL%%/MogileFS/Plugin
 +@dirrmtry %%SITE_PERL%%/MogileFS/ReplicationPolicy
 +@dirrmtry %%SITE_PERL%%/MogileFS
 _______________________________________________
 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"
 
>Unformatted:
