ports/171822: New port: sysutils/p5-MogileFS-Network: Network awareness and extensions for p5-MogileFS-Server
Mikolaj Golub
trociny at FreeBSD.org
Thu Sep 20 20:50:01 UTC 2012
>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: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu Sep 20 20:50:00 UTC 2012
>Closed-Date:
>Last-Modified:
>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 at 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 at 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 at dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/MogileFS/Network
X at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/MogileFS
X at dirrmtry %%SITE_PERL%%/MogileFS/Plugin
X at dirrmtry %%SITE_PERL%%/MogileFS/ReplicationPolicy
X at dirrmtry %%SITE_PERL%%/MogileFS
a3ae8561d88c51974748ffb8af6bc36c
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list