summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2010-10-29 03:28:45 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2010-10-29 03:28:45 +0000
commit68d6e7bbee31340985d846df76bce9b409161ef6 (patch)
treea655f6d6aeebe9fac4e3cedb5e0e99993ccb75ac /dev-perl/mogilefs-server
parentStable for HPPA (bug #339723). (diff)
downloadhistorical-68d6e7bbee31340985d846df76bce9b409161ef6.tar.gz
historical-68d6e7bbee31340985d846df76bce9b409161ef6.tar.bz2
historical-68d6e7bbee31340985d846df76bce9b409161ef6.zip
Trim old ebuilds and cleanup, also prepare for upstream distfile rename.
Package-Manager: portage-2.2.0_alpha1/cvs/Linux x86_64
Diffstat (limited to 'dev-perl/mogilefs-server')
-rw-r--r--dev-perl/mogilefs-server/ChangeLog11
-rw-r--r--dev-perl/mogilefs-server/Manifest28
-rw-r--r--dev-perl/mogilefs-server/files/mogilefs-server-2.30-pidfile-etc.patch183
-rw-r--r--dev-perl/mogilefs-server/mogilefs-server-2.30.ebuild78
-rw-r--r--dev-perl/mogilefs-server/mogilefs-server-2.32.ebuild88
-rw-r--r--dev-perl/mogilefs-server/mogilefs-server-2.33-r1.ebuild94
-rw-r--r--dev-perl/mogilefs-server/mogilefs-server-2.33.ebuild86
-rw-r--r--dev-perl/mogilefs-server/mogilefs-server-2.34.ebuild94
-rw-r--r--dev-perl/mogilefs-server/mogilefs-server-2.35.ebuild95
-rw-r--r--dev-perl/mogilefs-server/mogilefs-server-2.36.ebuild95
-rw-r--r--dev-perl/mogilefs-server/mogilefs-server-2.37.ebuild8
11 files changed, 18 insertions, 842 deletions
diff --git a/dev-perl/mogilefs-server/ChangeLog b/dev-perl/mogilefs-server/ChangeLog
index b65d3577451f..69468ea41912 100644
--- a/dev-perl/mogilefs-server/ChangeLog
+++ b/dev-perl/mogilefs-server/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for dev-perl/mogilefs-server
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/mogilefs-server/ChangeLog,v 1.16 2010/08/20 21:14:37 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/mogilefs-server/ChangeLog,v 1.17 2010/10/29 03:28:45 robbat2 Exp $
+
+ 29 Oct 2010; Robin H. Johnson <robbat2@gentoo.org>
+ -mogilefs-server-2.30.ebuild,
+ -files/mogilefs-server-2.30-pidfile-etc.patch,
+ -mogilefs-server-2.32.ebuild, -mogilefs-server-2.33.ebuild,
+ -mogilefs-server-2.33-r1.ebuild, -mogilefs-server-2.34.ebuild,
+ -mogilefs-server-2.35.ebuild, -mogilefs-server-2.36.ebuild,
+ mogilefs-server-2.37.ebuild:
+ Trim old ebuilds and cleanup, also prepare for upstream distfile rename.
*mogilefs-server-2.37 (20 Aug 2010)
diff --git a/dev-perl/mogilefs-server/Manifest b/dev-perl/mogilefs-server/Manifest
index 3726f29c5102..d57dfc322a29 100644
--- a/dev-perl/mogilefs-server/Manifest
+++ b/dev-perl/mogilefs-server/Manifest
@@ -1,34 +1,10 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-AUX mogilefs-server-2.30-pidfile-etc.patch 7123 RMD160 e0feb3e9bc4a9adbfa0a6dd1cdd282c0aacc163e SHA1 106c52eef7d95690ae662fec2783941ee2d9524e SHA256 6c14979fafe2218a45ae85dbe11410b7079e0da0c3186a1e60071e8716e66d16
AUX mogilefsd-conf.d-2.16 243 RMD160 16fbfb5cc01b66d5fccb6c6dde3a0fb44639d815 SHA1 4c64bb9436f0948bd91d874d97d598fd638dc217 SHA256 aa9346fa1945cf86a1a82a8e05f7f685b56cba4aa1803637e1df50efe23fc95d
AUX mogilefsd-init.d-2.16 602 RMD160 26beec8da787d4764f2275ce0d9300b59227f0bc SHA1 7b20c373a49981bec0beaa62daa1727fbc91d776 SHA256 2472391d9e20bf6d71c27071f087476365ec7902b4e3b00951e75af436faa75e
AUX mogilefsd.conf-2.30 754 RMD160 7354099a80998906b764f0f44a6939a7939d9337 SHA1 2248544a1c3135e5ef4ee0837679a5ee57faba55 SHA256 acf4df23ee4b958e879c1f77d59635c5c25e0c92c898e984ec60c785698c3e19
AUX mogstored-conf.d-2.30 222 RMD160 044a8b3b32a9fe565d40439cf535ba0c6e1bd97f SHA1 c58c8fa019f89898a56dc9e2e969b419295ef084 SHA256 5e2c0feab38ea178d065210478c76c82fa3e21e61dd69543acd529828fd945e0
AUX mogstored-init.d-2.30 511 RMD160 bb5d935656054795d502e92b3be3d547400e5e28 SHA1 f89a5d86057ff64150521f0c898b546a19c70d10 SHA256 258dabda95cdff8a96a096a60207a6ab18219d701c362a24c2c1a352f9ca98e1
AUX mogstored.conf-2.16 533 RMD160 cd71a9c0dff8603bdf7202fe7e99eda0d420382b SHA1 4d38d398a1bd32b610cf2b7f139d39dcc1f894a9 SHA256 dab55055cc503ce98baa456be94e71666e51a0aae2ee890a7681f28e46115ea1
-DIST mogilefs-server-2.30.tar.gz 272840 RMD160 971bfb7ade359750a66f74b5d5b5b0e69650eae3 SHA1 4bf6efb8e3484137417d60a99510285f8ac31f2c SHA256 0458706defcfccf1258dbcbff4fe14901ba53ea9404994da1dce0ce2d9bbfdea
-DIST mogilefs-server-2.32.tar.gz 295422 RMD160 eb0d44e9afcd25cb64b0388e39ae3e870b6c0e7f SHA1 1a9246d2d08fd6b0f751253f0618bd01043e5b66 SHA256 3dbc1812e765e9212c3887e6005c9e656c2cc2a04091b4e995ca2c47666ca879
-DIST mogilefs-server-2.33.tar.gz 268622 RMD160 9a27911e321dd43c4b367135d09e19b10531c600 SHA1 3112aca5a1e8111afe06eea2fe881515405e4342 SHA256 b51d54a2dd1338cc4feb2b9f412003d0bbaa30892b440fc17fcd30fb4b58ada5
-DIST mogilefs-server-2.34.tar.gz 268965 RMD160 73bc37fb9210807a866ab178253ab2d20bfaddd6 SHA1 2bdab75cfee3250bbadd5126570ae87d9bd07a51 SHA256 f20c9f5150e7788e32b48e54eeba6d3c49561a0cfbe1c63d0bc8f8f298c5d8d8
-DIST mogilefs-server-2.35.tar.gz 267341 RMD160 ca9e669f51ef336472f5f7ec02310fb0a1646329 SHA1 d06e6db8f39dd96476a65e89ac4b88b3cd5764a6 SHA256 e63196471e09da6e8bbe388911c81a6ebb749f126dc65f15d69b09c4af04f310
-DIST mogilefs-server-2.36.tar.gz 267542 RMD160 f5b3daf87ebf03130b4e01731e8d55fc6bf5554b SHA1 af1d267caa2c7cec009463c8a03a73ac87a05c6a SHA256 5ceda1624df4c3e7d022bddfeb708751b861582a13f661a396fe5d7dfbc2556d
DIST mogilefs-server-2.37.tar.gz 267909 RMD160 a6e25bb945770bb6a1d395620a277b7798c77b39 SHA1 d4b0f4177e6401bab6676725edaad66baea47d3a SHA256 1fcac070057c54599b99c2836b5ff157fd8433a1315363949b2f0d601c114ca6
-EBUILD mogilefs-server-2.30.ebuild 2231 RMD160 5747a845de2ce2646d9f0df49012156db0c1f814 SHA1 2aec6ff026641c89b5b6cbc56903fe968cd13c18 SHA256 01fc79adc33fa98d3884e393b6fc620f1526b08c27b7a86a2b0184ffdb483f6f
-EBUILD mogilefs-server-2.32.ebuild 2457 RMD160 f7d5c315727a7938f4e331df4e3baf274bec9df2 SHA1 e79196d72a3cbb8c35a634877babad71360b5313 SHA256 4c9104a5bcfc79492e4c711376f0413fa5069b22c793ed189a4c252b12ae1723
-EBUILD mogilefs-server-2.33-r1.ebuild 2587 RMD160 86217f1696a277d8ad85c81b249abdc9105aa306 SHA1 ab6d90c52bbef9bfb7e2b6367eab03da51d8a8a3 SHA256 b29643a5e3dbe3d53e892ca4c5d40af4e0ffd3219de7af04df7b48a4d3eb1831
-EBUILD mogilefs-server-2.33.ebuild 2392 RMD160 c91869406239f4ebd3e0d626aeb3de9f927e56bb SHA1 38a2d94b0efb9fceaac3f9a269e4cb39f19782c5 SHA256 4864de652ebc84192cac8370289d9523d6e5fd27e068e1a480f54fc8c6d7043c
-EBUILD mogilefs-server-2.34.ebuild 2584 RMD160 6c15d21e17eea1838b6a7b58959a7f59e55f6e76 SHA1 5436218b01669f716f2ecdbf092bb1221f7bccd8 SHA256 5589c6832ce825f0a9327c0f0c2ace92b0dc84de40650ad7346c25809d1d0ee8
-EBUILD mogilefs-server-2.35.ebuild 2617 RMD160 0e5a9260497980bd487e383b921fc449a88a5620 SHA1 8384e0bebae142557437a1d01d3dea78a90cff13 SHA256 785fa61653b7746fcd2dae8021bfa82810eff213f09dc96aedbe44f3a70586b2
-EBUILD mogilefs-server-2.36.ebuild 2617 RMD160 527f79fca22dbb74abfb4fc7ed9d3b27ab7a7605 SHA1 6da20fc188255e9a24c1dba5c07e0b4620e71790 SHA256 e62f9736860fbfd6cb7cf81ef1b3d6210227e09dec612758504b0ced5f5657f2
-EBUILD mogilefs-server-2.37.ebuild 2617 RMD160 8a647a47288a0e5ff633b27c67bf4800229ac5e6 SHA1 fb9f37e729111852c915b379811987dddb2f21b4 SHA256 eeb4261bc7606bcde65cd7f5535ab227f8bae21646823b8949b591f29193c433
-MISC ChangeLog 3497 RMD160 c6bf2951158ba3688e699fc195a62f15f83b8ed2 SHA1 af7c81a659ad37be15583032913157cec79ba9fd SHA256 8a289c817acbbbe3a16e7aff74db1f6e4f2ffe90e2a33ea8314ee668b14887d0
+EBUILD mogilefs-server-2.37.ebuild 2708 RMD160 25f689220426676e78c7ee9add40f02987bc24a2 SHA1 0be52bf9c5f8f51084b69d4a17e65ed5e585747c SHA256 d2db0335e9e82768268267b7d8f0189fb616c1b14da1a7fd2d2c1a075b1a1fd1
+MISC ChangeLog 3927 RMD160 4f0e64db8e562cc40dc79dcab45bc284bdb5b603 SHA1 215efe5a0e03487adc60aae625c20f303b76d399 SHA256 d1bfa04725289979afa64b34366956619116b64b88bef7e5308107ecf47ca764
MISC metadata.xml 360 RMD160 568953ab03aca03d45b075964d64bc3e7f84ce11 SHA1 594ff363b874c45ddfe14d7cf2622cd673542fbd SHA256 1432299bb530a599be0ba29834970720d0baec31e47b06a2ded155253f5f0603
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.16 (GNU/Linux)
-
-iEYEARECAAYFAkyPf0wACgkQV3J2n04EauyAAQCfTAH2aGo5IcJ2Fs4du470DzeU
-xacAn2PuvkEsTs5P9vsKiMPEjP/Jg+7/
-=zrSu
------END PGP SIGNATURE-----
diff --git a/dev-perl/mogilefs-server/files/mogilefs-server-2.30-pidfile-etc.patch b/dev-perl/mogilefs-server/files/mogilefs-server-2.30-pidfile-etc.patch
deleted file mode 100644
index 96b047486221..000000000000
--- a/dev-perl/mogilefs-server/files/mogilefs-server-2.30-pidfile-etc.patch
+++ /dev/null
@@ -1,183 +0,0 @@
-commit c938d5081c9b4028e45dfdcc25ae6188579bea0c
-Author: robbat2 <robbat2@f67b2e87-0811-0410-a7e0-dd94e48410d6>
-Date: Fri Jan 16 10:29:08 2009 +0000
-
- Update CHANGES for mogstored pidfile.
-
- git-svn-id: http://code.sixapart.com/svn/mogilefs/trunk@1285 f67b2e87-0811-0410-a7e0-dd94e48410d6
-
-commit b116bd5960baeee2aca7e762d08cf56eea0ae34a
-Author: robbat2 <robbat2@f67b2e87-0811-0410-a7e0-dd94e48410d6>
-Date: Fri Jan 16 10:28:14 2009 +0000
-
- Include a pidfile in mogstored finally, abusing the pidfile functionality of perlbal.
-
- git-svn-id: http://code.sixapart.com/svn/mogilefs/trunk@1284 f67b2e87-0811-0410-a7e0-dd94e48410d6
-
-commit 2a8dc9e352d49dc31860c783cf3c90d14cdbbb35
-Author: robbat2 <robbat2@f67b2e87-0811-0410-a7e0-dd94e48410d6>
-Date: Fri Jan 16 10:05:15 2009 +0000
-
- New FSCK work and error for BCNT for bad devcount values (they would not otherwise be caught unless the triggered another fix).
-
- git-svn-id: http://code.sixapart.com/svn/mogilefs/trunk@1283 f67b2e87-0811-0410-a7e0-dd94e48410d6
-
-commit 7117e2da2260834887a388bedd48a9b791c5c528
-Author: robbat2 <robbat2@f67b2e87-0811-0410-a7e0-dd94e48410d6>
-Date: Thu Jan 15 05:40:33 2009 +0000
-
- If the testcases were being run with default mysql (eg empty password for root), they tried to call mogdbsetup ... --dbpassword= ..., which mogdbsetup (Getopt::Long actually) promptly complained about. Make the password fields take an optional argument to prevent this.
-
- git-svn-id: http://code.sixapart.com/svn/mogilefs/trunk@1282 f67b2e87-0811-0410-a7e0-dd94e48410d6
-
-MERGED:
-
-diff --git a/server/CHANGES b/server/CHANGES
-index f164f61..3e84b91 100644
---- a/server/CHANGES
-+++ b/server/CHANGES
-@@ -1,3 +1,8 @@
-+ * mogstored: pidfile support
-+
-+ * New FSCK work and error for BCNT for bad devcount values (they would
-+ not otherwise be caught unless the triggered another fix).
-+
- 2009-01-12: Release version 2.30
-
- * fsck will now fix broken 'devcount' cols.
-diff --git a/server/TODO b/server/TODO
-index 9c64c6b..3a88c96 100644
---- a/server/TODO
-+++ b/server/TODO
-@@ -93,8 +93,5 @@
- :: [replicate(12648)] Copier failed replicating 15693848
- ......
-
---- fsck should catch weird state where file exists in 'file' table with
-- devcount>0 but does not exist in file_on. Or count does not match.
--
- -- fsck for case where row from file_to_replicate(fid,fromdevid) does not exist
- in file_on(fid,devid). This is a byproduct of a failed inject.
-diff --git a/server/lib/MogileFS/FID.pm b/server/lib/MogileFS/FID.pm
-index dc10ee4..1fdc9e9 100644
---- a/server/lib/MogileFS/FID.pm
-+++ b/server/lib/MogileFS/FID.pm
-@@ -14,6 +14,7 @@ sub new {
- dkey => undef,
- length => undef,
- classid => undef,
-+ devcount => undef,
- _loaded => 0,
- _devids => undef, # undef, or pre-loaded arrayref devid list
- }, $class;
-diff --git a/server/lib/MogileFS/Store.pm b/server/lib/MogileFS/Store.pm
-index 2a75bcb..bb8b27f 100644
---- a/server/lib/MogileFS/Store.pm
-+++ b/server/lib/MogileFS/Store.pm
-@@ -1237,7 +1237,7 @@ sub get_fids_above_id {
-
- my @ret;
- my $dbh = $self->dbh;
-- my $sth = $dbh->prepare("SELECT fid, dmid, dkey, length, classid ".
-+ my $sth = $dbh->prepare("SELECT fid, dmid, dkey, length, classid, devcount ".
- "FROM file ".
- "WHERE fid > ? ".
- "ORDER BY fid LIMIT $limit");
-diff --git a/server/lib/MogileFS/Worker/Fsck.pm b/server/lib/MogileFS/Worker/Fsck.pm
-index dcd4360..1735797 100644
---- a/server/lib/MogileFS/Worker/Fsck.pm
-+++ b/server/lib/MogileFS/Worker/Fsck.pm
-@@ -25,6 +25,7 @@ use constant EV_CANT_FIX => "GONE";
- use constant EV_START_SEARCH => "SRCH";
- use constant EV_FOUND_FID => "FOND";
- use constant EV_RE_REPLICATE => "REPL";
-+use constant EV_BAD_COUNT => "BCNT";
-
- use POSIX ();
-
-@@ -200,6 +201,16 @@ sub check_fid {
- return $fix->();
- }
-
-+ # This is a simple fixup case
-+ unless (scalar($fid->devids) == $fid->devcount) {
-+ # log a bad count
-+ $fid->fsck_log(EV_BAD_COUNT);
-+
-+ # TODO: We could fix this without a complete fix pass
-+ # $fid->update_devcount();
-+ return $fix->();
-+ }
-+
- # in the fast case, do nothing else (don't check if assumed file
- # locations are actually there). in the fast case, all we do is
- # check the replication policy, which is already done, so finish.
-@@ -342,6 +353,12 @@ sub fix_fid {
- return HANDLED;
- }
-
-+ # Clean up the device count if it's wrong
-+ unless(scalar($fid->devids) == $fid->devcount) {
-+ $fid->update_devcount();
-+ $fid->fsck_log(EV_BAD_COUNT);
-+ }
-+
- return HANDLED;
- }
-
-diff --git a/server/mogdbsetup b/server/mogdbsetup
-index de9b73c..fd1941a 100755
---- a/server/mogdbsetup
-+++ b/server/mogdbsetup
-@@ -30,9 +30,9 @@ usage()
- "dbport=s" => \$args{dbport},
- "dbname=s" => \$args{dbname},
- "dbrootuser=s" => \$args{dbrootuser},
-- "dbrootpassword=s" => \$args{dbrootpass},
-+ "dbrootpassword:s" => \$args{dbrootpass},
- "dbuser=s" => \$args{dbuser},
-- "dbpassword=s" => \$args{dbpass},
-+ "dbpassword:s" => \$args{dbpass},
- "help" => \$opt_help,
- "verbose" => \$opt_verbose,
- "yes" => \$opt_yes,
-diff --git a/server/mogstored b/server/mogstored
-index 1bb0184..de720d6 100755
---- a/server/mogstored
-+++ b/server/mogstored
-@@ -68,6 +68,7 @@ my $docroot = "/var/mogdata";
- my $default_config = "/etc/mogilefs/mogstored.conf";
- my $server = $ENV{MOGSTORED_SERVER_TYPE} || "perlbal";
- my $serverbin = "";
-+my $pidfile = undef;
-
- # Rename binary in process list to make init scripts saner
- $0 = "mogstored";
-@@ -82,6 +83,7 @@ my %config_opts = (
- 'maxconns=i' => \$max_conns,
- 'server=s' => \$server,
- 'serverbin=s' => \$serverbin,
-+ 'pidfile=s' => \$pidfile,
- );
- usage() unless Getopt::Long::GetOptions(%config_opts);
-
-@@ -92,7 +94,7 @@ $opt_config = $default_config if ! $opt_config && -e $default_config;
- load_config_file($opt_config => \%config_opts) if $opt_config;
-
- # initialize basic required Perlbal machinery, for any HTTP server
--Perlbal::run_manage_commands(qq{
-+my $perlbal_init = qq{
- CREATE SERVICE mogstored
- SET role = web_server
- SET docroot = $docroot
-@@ -101,7 +103,9 @@ Perlbal::run_manage_commands(qq{
- CREATE SERVICE mgmt
- SET role = management
- ENABLE mgmt
--}, sub { print STDERR "$_[0]\n"; });
-+};
-+$perlbal_init .= "\nSERVER pidfile = $pidfile" if defined($pidfile);
-+Perlbal::run_manage_commands($perlbal_init , sub { print STDERR "$_[0]\n"; });
-
- # start HTTP server
- my $httpsrv_class = "Mogstored::HTTPServer::" . ucfirst($server);
diff --git a/dev-perl/mogilefs-server/mogilefs-server-2.30.ebuild b/dev-perl/mogilefs-server/mogilefs-server-2.30.ebuild
deleted file mode 100644
index d278a32cb11c..000000000000
--- a/dev-perl/mogilefs-server/mogilefs-server-2.30.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/mogilefs-server/mogilefs-server-2.30.ebuild,v 1.2 2009/02/23 10:01:04 robbat2 Exp $
-
-MODULE_AUTHOR="DORMANDO"
-inherit perl-module
-
-DESCRIPTION="Server for the MogileFS distributed file system"
-HOMEPAGE="http://www.danga.com/mogilefs/"
-
-IUSE="mysql sqlite"
-
-SLOT="0"
-LICENSE="|| ( Artistic GPL-2 )"
-KEYWORDS="~amd64 ~ppc ~x86"
-
-# Upstream site recommends this,
-# but it breaks Perlbal
-# dev-perl/Perlbal-XS-HTTPHeaders
-DEPEND="dev-perl/Net-Netmask
- >=dev-perl/Danga-Socket-1.57
- >=dev-perl/Sys-Syscall-0.22
- >=dev-perl/Perlbal-1.60
- dev-perl/IO-AIO
- dev-perl/Gearman-Server
- dev-perl/Gearman-Client-Async
- dev-perl/libwww-perl
- dev-perl/Cache-Memcached
- mysql? ( dev-perl/DBD-mysql )
- sqlite? ( dev-perl/DBD-SQLite )
- dev-lang/perl"
-mydoc="CHANGES TODO"
-
-# You need a local MySQL or Postgresql server for this
-#SRC_TEST="do"
-
-# Missed the cut for 2.30, but will be in next release
-PATCHES=( "${FILESDIR}/${P}-pidfile-etc.patch" )
-
-MOGILE_USER="mogile"
-
-pkg_setup() {
- # Warning! It is important that the uid is constant over Gentoo machines
- # As mogilefs may be used with non-local block devices that move!
- enewuser ${MOGILE_USER} 460 -1 -1
-}
-src_compile() {
- export MOGILE_NO_BUILTIN_DEPS=1
- perl-module_src_compile || die "perl-module_src_compile failed"
-}
-
-src_install() {
- perl-module_src_install || die "perl-module_src_install failed"
- cd "${S}"
-
- newconfd "${FILESDIR}"/mogilefsd-conf.d-2.16 mogilefsd
- newinitd "${FILESDIR}"/mogilefsd-init.d-2.16 mogilefsd
-
- newconfd "${FILESDIR}"/mogstored-conf.d-2.30 mogstored
- newinitd "${FILESDIR}"/mogstored-init.d-2.30 mogstored
-
- diropts -m 700 -o ${MOGILE_USER}
- keepdir /var/run/mogile
- keepdir /var/mogdata
- keepdir /mnt/mogilefs
- diropts -m 755 -o root
-
- dodir /etc/mogilefs
- insinto /etc/mogilefs
- insopts -m 600 -o root -g ${MOGILE_USER}
- newins "${FILESDIR}"/mogilefsd.conf-2.30 mogilefsd.conf
- newins "${FILESDIR}"/mogstored.conf-2.16 mogstored.conf
-}
-
-pkg_postinst() {
- chmod 640 "${ROOT}"/etc/mogilefs/{mogilefsd,mogstored}.conf
- chown root:${MOGILE_USER} "${ROOT}"/etc/mogilefs/{mogilefsd,mogstored}.conf
-}
diff --git a/dev-perl/mogilefs-server/mogilefs-server-2.32.ebuild b/dev-perl/mogilefs-server/mogilefs-server-2.32.ebuild
deleted file mode 100644
index 6fc69363ec8d..000000000000
--- a/dev-perl/mogilefs-server/mogilefs-server-2.32.ebuild
+++ /dev/null
@@ -1,88 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/mogilefs-server/mogilefs-server-2.32.ebuild,v 1.1 2009/11/04 02:20:50 robbat2 Exp $
-
-EAPI=2
-MODULE_AUTHOR="DORMANDO"
-inherit perl-module
-
-DESCRIPTION="Server for the MogileFS distributed file system"
-HOMEPAGE="http://www.danga.com/mogilefs/"
-
-IUSE="mysql sqlite postgres"
-
-SLOT="0"
-LICENSE="|| ( Artistic GPL-2 )"
-KEYWORDS="~amd64 ~ppc ~x86"
-
-# Upstream site recommends this,
-# but it breaks Perlbal
-# dev-perl/Perlbal-XS-HTTPHeaders
-DEPEND="dev-perl/Net-Netmask
- >=dev-perl/Danga-Socket-1.61
- >=dev-perl/Sys-Syscall-0.22
- >=dev-perl/Perlbal-1.73
- dev-perl/IO-AIO
- >=dev-perl/Gearman-Server-1.09
- dev-perl/Gearman-Client-Async
- dev-perl/libwww-perl
- >=dev-perl/MogileFS-Client-1.09
- dev-perl/Cache-Memcached
- mysql? ( dev-perl/DBD-mysql )
- postgres? ( dev-perl/DBD-Pg )
- sqlite? ( dev-perl/DBD-SQLite )"
-mydoc="CHANGES TODO"
-
-# You need a local MySQL or Postgresql server for this
-#SRC_TEST="do"
-
-#PATCHES=( )
-
-MOGILE_USER="mogile"
-
-pkg_setup() {
- # Warning! It is important that the uid is constant over Gentoo machines
- # As mogilefs may be used with non-local block devices that move!
- enewuser ${MOGILE_USER} 460 -1 -1
-}
-
-src_prepare() {
- # If we are not in a cutting edge Git source, we would prefer to not install
- # duplicates of these.
- #sed -i -e '/directory.*mogdeps/d' "${S}"/Makefile.PL
- mv -f "${S}/lib/mogdeps" "${S}"
-}
-
-src_compile() {
- export MOGILE_NO_BUILTIN_DEPS=1
- perl-module_src_compile || die "perl-module_src_compile failed"
-}
-
-src_install() {
- export MOGILE_NO_BUILTIN_DEPS=1
- perl-module_src_install || die "perl-module_src_install failed"
- cd "${S}"
-
- newconfd "${FILESDIR}"/mogilefsd-conf.d-2.16 mogilefsd
- newinitd "${FILESDIR}"/mogilefsd-init.d-2.16 mogilefsd
-
- newconfd "${FILESDIR}"/mogstored-conf.d-2.30 mogstored
- newinitd "${FILESDIR}"/mogstored-init.d-2.30 mogstored
-
- diropts -m 700 -o ${MOGILE_USER}
- keepdir /var/run/mogile
- keepdir /var/mogdata
- keepdir /mnt/mogilefs
- diropts -m 755 -o root
-
- dodir /etc/mogilefs
- insinto /etc/mogilefs
- insopts -m 600 -o root -g ${MOGILE_USER}
- newins "${FILESDIR}"/mogilefsd.conf-2.30 mogilefsd.conf
- newins "${FILESDIR}"/mogstored.conf-2.16 mogstored.conf
-}
-
-pkg_postinst() {
- chmod 640 "${ROOT}"/etc/mogilefs/{mogilefsd,mogstored}.conf
- chown root:${MOGILE_USER} "${ROOT}"/etc/mogilefs/{mogilefsd,mogstored}.conf
-}
diff --git a/dev-perl/mogilefs-server/mogilefs-server-2.33-r1.ebuild b/dev-perl/mogilefs-server/mogilefs-server-2.33-r1.ebuild
deleted file mode 100644
index 2bfb163b764c..000000000000
--- a/dev-perl/mogilefs-server/mogilefs-server-2.33-r1.ebuild
+++ /dev/null
@@ -1,94 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/mogilefs-server/mogilefs-server-2.33-r1.ebuild,v 1.1 2009/11/29 01:01:09 robbat2 Exp $
-
-EAPI=2
-MODULE_AUTHOR="DORMANDO"
-inherit perl-module
-
-DESCRIPTION="Server for the MogileFS distributed file system"
-HOMEPAGE="http://www.danga.com/mogilefs/"
-
-IUSE="mysql sqlite postgres"
-
-SLOT="0"
-LICENSE="|| ( Artistic GPL-2 )"
-KEYWORDS="~amd64 ~ppc ~x86"
-
-# Upstream site recommends this,
-# but it breaks Perlbal
-# dev-perl/Perlbal-XS-HTTPHeaders
-DEPEND="dev-perl/Net-Netmask
- >=dev-perl/Danga-Socket-1.61
- >=dev-perl/Sys-Syscall-0.22
- >=dev-perl/Perlbal-1.73
- dev-perl/IO-AIO
- dev-perl/libwww-perl
- >=dev-perl/MogileFS-Client-1.09
- dev-perl/Cache-Memcached
- mysql? ( dev-perl/DBD-mysql )
- postgres? ( dev-perl/DBD-Pg )
- sqlite? ( dev-perl/DBD-SQLite )"
-mydoc="CHANGES TODO"
-
-# You need a local MySQL or Postgresql server for this
-#SRC_TEST="do"
-
-#PATCHES=( )
-
-MOGILE_USER="mogile"
-
-pkg_setup() {
- # Warning! It is important that the uid is constant over Gentoo machines
- # As mogilefs may be used with non-local block devices that move!
- enewuser ${MOGILE_USER} 460 -1 -1
-}
-
-src_prepare() {
- for f in Makefile.PL MANIFEST ; do
- if [ -f "${S}"/${f}.orig ]; then
- cp -f "${S}"/${f}{.orig,}
- else
- cp -f "${S}"/${f}{,.orig}
- fi
- done
- # If we are not in a cutting edge Git source, we would prefer to not install
- # duplicates of these.
- sed -i -e '/directory.*mogdeps/d' "${S}"/Makefile.PL
- sed -i -e '/^lib\/mogdeps/d' "${S}"/MANIFEST
- mv -f "${S}/lib/mogdeps" "${S}"
-}
-
-src_compile() {
- export MOGILE_NO_BUILTIN_DEPS=1
- perl-module_src_compile || die "perl-module_src_compile failed"
-}
-
-src_install() {
- export MOGILE_NO_BUILTIN_DEPS=1
- perl-module_src_install || die "perl-module_src_install failed"
- cd "${S}"
-
- newconfd "${FILESDIR}"/mogilefsd-conf.d-2.16 mogilefsd
- newinitd "${FILESDIR}"/mogilefsd-init.d-2.16 mogilefsd
-
- newconfd "${FILESDIR}"/mogstored-conf.d-2.30 mogstored
- newinitd "${FILESDIR}"/mogstored-init.d-2.30 mogstored
-
- diropts -m 700 -o ${MOGILE_USER}
- keepdir /var/run/mogile
- keepdir /var/mogdata
- keepdir /mnt/mogilefs
- diropts -m 755 -o root
-
- dodir /etc/mogilefs
- insinto /etc/mogilefs
- insopts -m 600 -o root -g ${MOGILE_USER}
- newins "${FILESDIR}"/mogilefsd.conf-2.30 mogilefsd.conf
- newins "${FILESDIR}"/mogstored.conf-2.16 mogstored.conf
-}
-
-pkg_postinst() {
- chmod 640 "${ROOT}"/etc/mogilefs/{mogilefsd,mogstored}.conf
- chown root:${MOGILE_USER} "${ROOT}"/etc/mogilefs/{mogilefsd,mogstored}.conf
-}
diff --git a/dev-perl/mogilefs-server/mogilefs-server-2.33.ebuild b/dev-perl/mogilefs-server/mogilefs-server-2.33.ebuild
deleted file mode 100644
index b01e1550861e..000000000000
--- a/dev-perl/mogilefs-server/mogilefs-server-2.33.ebuild
+++ /dev/null
@@ -1,86 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/mogilefs-server/mogilefs-server-2.33.ebuild,v 1.2 2009/11/28 23:11:46 robbat2 Exp $
-
-EAPI=2
-MODULE_AUTHOR="DORMANDO"
-inherit perl-module
-
-DESCRIPTION="Server for the MogileFS distributed file system"
-HOMEPAGE="http://www.danga.com/mogilefs/"
-
-IUSE="mysql sqlite postgres"
-
-SLOT="0"
-LICENSE="|| ( Artistic GPL-2 )"
-KEYWORDS="~amd64 ~ppc ~x86"
-
-# Upstream site recommends this,
-# but it breaks Perlbal
-# dev-perl/Perlbal-XS-HTTPHeaders
-DEPEND="dev-perl/Net-Netmask
- >=dev-perl/Danga-Socket-1.61
- >=dev-perl/Sys-Syscall-0.22
- >=dev-perl/Perlbal-1.73
- dev-perl/IO-AIO
- dev-perl/libwww-perl
- >=dev-perl/MogileFS-Client-1.09
- dev-perl/Cache-Memcached
- mysql? ( dev-perl/DBD-mysql )
- postgres? ( dev-perl/DBD-Pg )
- sqlite? ( dev-perl/DBD-SQLite )"
-mydoc="CHANGES TODO"
-
-# You need a local MySQL or Postgresql server for this
-#SRC_TEST="do"
-
-#PATCHES=( )
-
-MOGILE_USER="mogile"
-
-pkg_setup() {
- # Warning! It is important that the uid is constant over Gentoo machines
- # As mogilefs may be used with non-local block devices that move!
- enewuser ${MOGILE_USER} 460 -1 -1
-}
-
-src_prepare() {
- # If we are not in a cutting edge Git source, we would prefer to not install
- # duplicates of these.
- #sed -i -e '/directory.*mogdeps/d' "${S}"/Makefile.PL
- mv -f "${S}/lib/mogdeps" "${S}"
-}
-
-src_compile() {
- export MOGILE_NO_BUILTIN_DEPS=1
- perl-module_src_compile || die "perl-module_src_compile failed"
-}
-
-src_install() {
- export MOGILE_NO_BUILTIN_DEPS=1
- perl-module_src_install || die "perl-module_src_install failed"
- cd "${S}"
-
- newconfd "${FILESDIR}"/mogilefsd-conf.d-2.16 mogilefsd
- newinitd "${FILESDIR}"/mogilefsd-init.d-2.16 mogilefsd
-
- newconfd "${FILESDIR}"/mogstored-conf.d-2.30 mogstored
- newinitd "${FILESDIR}"/mogstored-init.d-2.30 mogstored
-
- diropts -m 700 -o ${MOGILE_USER}
- keepdir /var/run/mogile
- keepdir /var/mogdata
- keepdir /mnt/mogilefs
- diropts -m 755 -o root
-
- dodir /etc/mogilefs
- insinto /etc/mogilefs
- insopts -m 600 -o root -g ${MOGILE_USER}
- newins "${FILESDIR}"/mogilefsd.conf-2.30 mogilefsd.conf
- newins "${FILESDIR}"/mogstored.conf-2.16 mogstored.conf
-}
-
-pkg_postinst() {
- chmod 640 "${ROOT}"/etc/mogilefs/{mogilefsd,mogstored}.conf
- chown root:${MOGILE_USER} "${ROOT}"/etc/mogilefs/{mogilefsd,mogstored}.conf
-}
diff --git a/dev-perl/mogilefs-server/mogilefs-server-2.34.ebuild b/dev-perl/mogilefs-server/mogilefs-server-2.34.ebuild
deleted file mode 100644
index bb92c7155abc..000000000000
--- a/dev-perl/mogilefs-server/mogilefs-server-2.34.ebuild
+++ /dev/null
@@ -1,94 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/mogilefs-server/mogilefs-server-2.34.ebuild,v 1.1 2009/12/08 21:41:20 robbat2 Exp $
-
-EAPI=2
-MODULE_AUTHOR="DORMANDO"
-inherit perl-module
-
-DESCRIPTION="Server for the MogileFS distributed file system"
-HOMEPAGE="http://www.danga.com/mogilefs/"
-
-IUSE="mysql sqlite postgres"
-
-SLOT="0"
-LICENSE="|| ( Artistic GPL-2 )"
-KEYWORDS="~amd64 ~ppc ~x86"
-
-# Upstream site recommends this,
-# but it breaks Perlbal
-# dev-perl/Perlbal-XS-HTTPHeaders
-DEPEND="dev-perl/Net-Netmask
- >=dev-perl/Danga-Socket-1.61
- >=dev-perl/Sys-Syscall-0.22
- >=dev-perl/Perlbal-1.73
- dev-perl/IO-AIO
- dev-perl/libwww-perl
- >=dev-perl/MogileFS-Client-1.09
- dev-perl/Cache-Memcached
- mysql? ( dev-perl/DBD-mysql )
- postgres? ( dev-perl/DBD-Pg )
- sqlite? ( dev-perl/DBD-SQLite )"
-mydoc="CHANGES TODO"
-
-# You need a local MySQL or Postgresql server for this
-#SRC_TEST="do"
-
-#PATCHES=( )
-
-MOGILE_USER="mogile"
-
-pkg_setup() {
- # Warning! It is important that the uid is constant over Gentoo machines
- # As mogilefs may be used with non-local block devices that move!
- enewuser ${MOGILE_USER} 460 -1 -1
-}
-
-src_prepare() {
- for f in Makefile.PL MANIFEST ; do
- if [ -f "${S}"/${f}.orig ]; then
- cp -f "${S}"/${f}{.orig,}
- else
- cp -f "${S}"/${f}{,.orig}
- fi
- done
- # If we are not in a cutting edge Git source, we would prefer to not install
- # duplicates of these.
- sed -i -e '/directory.*mogdeps/d' "${S}"/Makefile.PL
- sed -i -e '/^lib\/mogdeps/d' "${S}"/MANIFEST
- mv -f "${S}/lib/mogdeps" "${S}"
-}
-
-src_compile() {
- export MOGILE_NO_BUILTIN_DEPS=1
- perl-module_src_compile || die "perl-module_src_compile failed"
-}
-
-src_install() {
- export MOGILE_NO_BUILTIN_DEPS=1
- perl-module_src_install || die "perl-module_src_install failed"
- cd "${S}"
-
- newconfd "${FILESDIR}"/mogilefsd-conf.d-2.16 mogilefsd
- newinitd "${FILESDIR}"/mogilefsd-init.d-2.16 mogilefsd
-
- newconfd "${FILESDIR}"/mogstored-conf.d-2.30 mogstored
- newinitd "${FILESDIR}"/mogstored-init.d-2.30 mogstored
-
- diropts -m 700 -o ${MOGILE_USER}
- keepdir /var/run/mogile
- keepdir /var/mogdata
- keepdir /mnt/mogilefs
- diropts -m 755 -o root
-
- dodir /etc/mogilefs
- insinto /etc/mogilefs
- insopts -m 600 -o root -g ${MOGILE_USER}
- newins "${FILESDIR}"/mogilefsd.conf-2.30 mogilefsd.conf
- newins "${FILESDIR}"/mogstored.conf-2.16 mogstored.conf
-}
-
-pkg_postinst() {
- chmod 640 "${ROOT}"/etc/mogilefs/{mogilefsd,mogstored}.conf
- chown root:${MOGILE_USER} "${ROOT}"/etc/mogilefs/{mogilefsd,mogstored}.conf
-}
diff --git a/dev-perl/mogilefs-server/mogilefs-server-2.35.ebuild b/dev-perl/mogilefs-server/mogilefs-server-2.35.ebuild
deleted file mode 100644
index eae46d052436..000000000000
--- a/dev-perl/mogilefs-server/mogilefs-server-2.35.ebuild
+++ /dev/null
@@ -1,95 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/mogilefs-server/mogilefs-server-2.35.ebuild,v 1.1 2010/04/03 00:00:29 robbat2 Exp $
-
-EAPI=2
-MODULE_AUTHOR="DORMANDO"
-inherit perl-module
-
-DESCRIPTION="Server for the MogileFS distributed file system"
-HOMEPAGE="http://www.danga.com/mogilefs/"
-
-IUSE="mysql sqlite postgres"
-
-SLOT="0"
-LICENSE="|| ( Artistic GPL-2 )"
-KEYWORDS="~amd64 ~ppc ~x86"
-
-# Upstream site recommends this,
-# but it breaks Perlbal
-# dev-perl/Perlbal-XS-HTTPHeaders
-DEPEND="dev-perl/Net-Netmask
- >=dev-perl/Danga-Socket-1.61
- >=dev-perl/Sys-Syscall-0.22
- >=dev-perl/Perlbal-1.74
- dev-perl/IO-AIO
- dev-perl/libwww-perl
- >=dev-perl/MogileFS-Client-1.11
- >=dev-perl/MogileFS-Utils-2.16
- dev-perl/Cache-Memcached
- mysql? ( dev-perl/DBD-mysql )
- postgres? ( dev-perl/DBD-Pg )
- sqlite? ( dev-perl/DBD-SQLite )"
-mydoc="CHANGES TODO"
-
-# You need a local MySQL or Postgresql server for this
-#SRC_TEST="do"
-
-#PATCHES=( )
-
-MOGILE_USER="mogile"
-
-pkg_setup() {
- # Warning! It is important that the uid is constant over Gentoo machines
- # As mogilefs may be used with non-local block devices that move!
- enewuser ${MOGILE_USER} 460 -1 -1
-}
-
-src_prepare() {
- for f in Makefile.PL MANIFEST ; do
- if [ -f "${S}"/${f}.orig ]; then
- cp -f "${S}"/${f}{.orig,}
- else
- cp -f "${S}"/${f}{,.orig}
- fi
- done
- # If we are not in a cutting edge Git source, we would prefer to not install
- # duplicates of these.
- sed -i -e '/directory.*mogdeps/d' "${S}"/Makefile.PL
- sed -i -e '/^lib\/mogdeps/d' "${S}"/MANIFEST
- mv -f "${S}/lib/mogdeps" "${S}"
-}
-
-src_compile() {
- export MOGILE_NO_BUILTIN_DEPS=1
- perl-module_src_compile || die "perl-module_src_compile failed"
-}
-
-src_install() {
- export MOGILE_NO_BUILTIN_DEPS=1
- perl-module_src_install || die "perl-module_src_install failed"
- cd "${S}"
-
- newconfd "${FILESDIR}"/mogilefsd-conf.d-2.16 mogilefsd
- newinitd "${FILESDIR}"/mogilefsd-init.d-2.16 mogilefsd
-
- newconfd "${FILESDIR}"/mogstored-conf.d-2.30 mogstored
- newinitd "${FILESDIR}"/mogstored-init.d-2.30 mogstored
-
- diropts -m 700 -o ${MOGILE_USER}
- keepdir /var/run/mogile
- keepdir /var/mogdata
- keepdir /mnt/mogilefs
- diropts -m 755 -o root
-
- dodir /etc/mogilefs
- insinto /etc/mogilefs
- insopts -m 600 -o root -g ${MOGILE_USER}
- newins "${FILESDIR}"/mogilefsd.conf-2.30 mogilefsd.conf
- newins "${FILESDIR}"/mogstored.conf-2.16 mogstored.conf
-}
-
-pkg_postinst() {
- chmod 640 "${ROOT}"/etc/mogilefs/{mogilefsd,mogstored}.conf
- chown root:${MOGILE_USER} "${ROOT}"/etc/mogilefs/{mogilefsd,mogstored}.conf
-}
diff --git a/dev-perl/mogilefs-server/mogilefs-server-2.36.ebuild b/dev-perl/mogilefs-server/mogilefs-server-2.36.ebuild
deleted file mode 100644
index c331f42b4485..000000000000
--- a/dev-perl/mogilefs-server/mogilefs-server-2.36.ebuild
+++ /dev/null
@@ -1,95 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/mogilefs-server/mogilefs-server-2.36.ebuild,v 1.1 2010/04/23 18:22:18 robbat2 Exp $
-
-EAPI=2
-MODULE_AUTHOR="DORMANDO"
-inherit perl-module
-
-DESCRIPTION="Server for the MogileFS distributed file system"
-HOMEPAGE="http://www.danga.com/mogilefs/"
-
-IUSE="mysql sqlite postgres"
-
-SLOT="0"
-LICENSE="|| ( Artistic GPL-2 )"
-KEYWORDS="~amd64 ~ppc ~x86"
-
-# Upstream site recommends this,
-# but it breaks Perlbal
-# dev-perl/Perlbal-XS-HTTPHeaders
-DEPEND="dev-perl/Net-Netmask
- >=dev-perl/Danga-Socket-1.61
- >=dev-perl/Sys-Syscall-0.22
- >=dev-perl/Perlbal-1.74
- dev-perl/IO-AIO
- dev-perl/libwww-perl
- >=dev-perl/MogileFS-Client-1.11
- >=dev-perl/MogileFS-Utils-2.16
- dev-perl/Cache-Memcached
- mysql? ( dev-perl/DBD-mysql )
- postgres? ( dev-perl/DBD-Pg )
- sqlite? ( dev-perl/DBD-SQLite )"
-mydoc="CHANGES TODO"
-
-# You need a local MySQL or Postgresql server for this
-#SRC_TEST="do"
-
-#PATCHES=( )
-
-MOGILE_USER="mogile"
-
-pkg_setup() {
- # Warning! It is important that the uid is constant over Gentoo machines
- # As mogilefs may be used with non-local block devices that move!
- enewuser ${MOGILE_USER} 460 -1 -1
-}
-
-src_prepare() {
- for f in Makefile.PL MANIFEST ; do
- if [ -f "${S}"/${f}.orig ]; then
- cp -f "${S}"/${f}{.orig,}
- else
- cp -f "${S}"/${f}{,.orig}
- fi
- done
- # If we are not in a cutting edge Git source, we would prefer to not install
- # duplicates of these.
- sed -i -e '/directory.*mogdeps/d' "${S}"/Makefile.PL
- sed -i -e '/^lib\/mogdeps/d' "${S}"/MANIFEST
- mv -f "${S}/lib/mogdeps" "${S}"
-}
-
-src_compile() {
- export MOGILE_NO_BUILTIN_DEPS=1
- perl-module_src_compile || die "perl-module_src_compile failed"
-}
-
-src_install() {
- export MOGILE_NO_BUILTIN_DEPS=1
- perl-module_src_install || die "perl-module_src_install failed"
- cd "${S}"
-
- newconfd "${FILESDIR}"/mogilefsd-conf.d-2.16 mogilefsd
- newinitd "${FILESDIR}"/mogilefsd-init.d-2.16 mogilefsd
-
- newconfd "${FILESDIR}"/mogstored-conf.d-2.30 mogstored
- newinitd "${FILESDIR}"/mogstored-init.d-2.30 mogstored
-
- diropts -m 700 -o ${MOGILE_USER}
- keepdir /var/run/mogile
- keepdir /var/mogdata
- keepdir /mnt/mogilefs
- diropts -m 755 -o root
-
- dodir /etc/mogilefs
- insinto /etc/mogilefs
- insopts -m 600 -o root -g ${MOGILE_USER}
- newins "${FILESDIR}"/mogilefsd.conf-2.30 mogilefsd.conf
- newins "${FILESDIR}"/mogstored.conf-2.16 mogstored.conf
-}
-
-pkg_postinst() {
- chmod 640 "${ROOT}"/etc/mogilefs/{mogilefsd,mogstored}.conf
- chown root:${MOGILE_USER} "${ROOT}"/etc/mogilefs/{mogilefsd,mogstored}.conf
-}
diff --git a/dev-perl/mogilefs-server/mogilefs-server-2.37.ebuild b/dev-perl/mogilefs-server/mogilefs-server-2.37.ebuild
index 2f7c1482d78d..e6925a081650 100644
--- a/dev-perl/mogilefs-server/mogilefs-server-2.37.ebuild
+++ b/dev-perl/mogilefs-server/mogilefs-server-2.37.ebuild
@@ -1,9 +1,12 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/mogilefs-server/mogilefs-server-2.37.ebuild,v 1.1 2010/08/20 21:14:37 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/mogilefs-server/mogilefs-server-2.37.ebuild,v 1.2 2010/10/29 03:28:45 robbat2 Exp $
EAPI=2
MODULE_AUTHOR="DORMANDO"
+MY_PN=mogilefs-server
+MY_P="${MY_PN}-${PV}"
+MODULE_A="${MY_P}.tar.gz"
inherit perl-module
DESCRIPTION="Server for the MogileFS distributed file system"
@@ -18,7 +21,7 @@ KEYWORDS="~amd64 ~ppc ~x86"
# Upstream site recommends this,
# but it breaks Perlbal
# dev-perl/Perlbal-XS-HTTPHeaders
-DEPEND="dev-perl/Net-Netmask
+RDEPEND="dev-perl/Net-Netmask
>=dev-perl/Danga-Socket-1.61
>=dev-perl/Sys-Syscall-0.22
>=dev-perl/Perlbal-1.74
@@ -30,6 +33,7 @@ DEPEND="dev-perl/Net-Netmask
mysql? ( dev-perl/DBD-mysql )
postgres? ( dev-perl/DBD-Pg )
sqlite? ( dev-perl/DBD-SQLite )"
+DEPEND="${RDEPEND}"
mydoc="CHANGES TODO"
# You need a local MySQL or Postgresql server for this