1 |
robbat2 08/09/30 06:21:51 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: mogilefs-server-2.20.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
(Portage version: 2.2_rc11/cvs/Linux 2.6.27-rc1-10246-gca5de40 x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.5 dev-perl/mogilefs-server/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-perl/mogilefs-server/ChangeLog?rev=1.5&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-perl/mogilefs-server/ChangeLog?rev=1.5&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-perl/mogilefs-server/ChangeLog?r1=1.4&r2=1.5 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-perl/mogilefs-server/ChangeLog,v |
19 |
retrieving revision 1.4 |
20 |
retrieving revision 1.5 |
21 |
diff -p -w -b -B -u -u -r1.4 -r1.5 |
22 |
--- ChangeLog 27 Oct 2007 01:16:02 -0000 1.4 |
23 |
+++ ChangeLog 30 Sep 2008 06:21:51 -0000 1.5 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for dev-perl/mogilefs-server |
26 |
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/mogilefs-server/ChangeLog,v 1.4 2007/10/27 01:16:02 robbat2 Exp $ |
28 |
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/mogilefs-server/ChangeLog,v 1.5 2008/09/30 06:21:51 robbat2 Exp $ |
30 |
+ |
31 |
+*mogilefs-server-2.20 (30 Sep 2008) |
32 |
+ |
33 |
+ 30 Sep 2008; Robin H. Johnson <robbat2@g.o> |
34 |
+ +mogilefs-server-2.20.ebuild: |
35 |
+ Version bump. |
36 |
|
37 |
*mogilefs-server-2.17 (27 Oct 2007) |
38 |
|
39 |
|
40 |
|
41 |
|
42 |
1.1 dev-perl/mogilefs-server/mogilefs-server-2.20.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-perl/mogilefs-server/mogilefs-server-2.20.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-perl/mogilefs-server/mogilefs-server-2.20.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: mogilefs-server-2.20.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2008 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/dev-perl/mogilefs-server/mogilefs-server-2.20.ebuild,v 1.1 2008/09/30 06:21:51 robbat2 Exp $ |
52 |
|
53 |
MODULE_AUTHOR="DORMANDO" |
54 |
inherit perl-module |
55 |
|
56 |
DESCRIPTION="Server for the MogileFS distributed file system" |
57 |
HOMEPAGE="http://www.danga.com/mogilefs/" |
58 |
|
59 |
IUSE="mysql sqlite" |
60 |
|
61 |
SLOT="0" |
62 |
LICENSE="|| ( Artistic GPL-2 )" |
63 |
KEYWORDS="~amd64 ~ppc ~x86" |
64 |
|
65 |
# Upstream site recommends this, |
66 |
# but it breaks Perlbal |
67 |
# dev-perl/Perlbal-XS-HTTPHeaders |
68 |
DEPEND="dev-perl/Net-Netmask |
69 |
>=dev-perl/Danga-Socket-1.57 |
70 |
>=dev-perl/Sys-Syscall-0.22 |
71 |
>=dev-perl/Perlbal-1.57 |
72 |
dev-perl/IO-AIO |
73 |
dev-perl/Gearman-Server |
74 |
dev-perl/Gearman-Client-Async |
75 |
dev-perl/libwww-perl |
76 |
dev-perl/Cache-Memcached |
77 |
mysql? ( dev-perl/DBD-mysql ) |
78 |
sqlite? ( dev-perl/DBD-SQLite ) |
79 |
dev-lang/perl" |
80 |
mydoc="CHANGES TODO" |
81 |
|
82 |
# You need a local MySQL server for this |
83 |
#SRC_TEST="do" |
84 |
|
85 |
# Merged upstream |
86 |
#PATCHES="${FILESDIR}/${PN}-2.16-Use-saner-name-in-process-listing.patch" |
87 |
|
88 |
MOGILE_USER="mogile" |
89 |
|
90 |
pkg_setup() { |
91 |
# Warning! It is important that the uid is constant over Gentoo machines |
92 |
# As mogilefs may be used with non-local block devices that move! |
93 |
enewuser ${MOGILE_USER} 460 -1 -1 |
94 |
} |
95 |
src_compile() { |
96 |
export MOGILE_NO_BUILTIN_DEPS=1 |
97 |
perl-module_src_compile || die "perl-module_src_compile failed" |
98 |
} |
99 |
|
100 |
src_install() { |
101 |
perl-module_src_install || die "perl-module_src_install failed" |
102 |
cd ${S} |
103 |
|
104 |
newconfd ${FILESDIR}/mogilefsd-conf.d-2.16 mogilefsd |
105 |
newinitd ${FILESDIR}/mogilefsd-init.d-2.16 mogilefsd |
106 |
|
107 |
newconfd ${FILESDIR}/mogstored-conf.d-2.16 mogstored |
108 |
newinitd ${FILESDIR}/mogstored-init.d-2.16 mogstored |
109 |
|
110 |
diropts -m 700 -o ${MOGILE_USER} |
111 |
keepdir /var/run/mogile |
112 |
keepdir /var/mogdata |
113 |
keepdir /mnt/mogilefs |
114 |
diropts -m 755 -o root |
115 |
|
116 |
dodir /etc/mogilefs |
117 |
insinto /etc/mogilefs |
118 |
insopts -m 600 -o root -g ${MOGILE_USER} |
119 |
newins ${FILESDIR}/mogilefsd.conf-2.16 mogilefsd.conf |
120 |
newins ${FILESDIR}/mogstored.conf-2.16 mogstored.conf |
121 |
} |
122 |
|
123 |
pkg_postinst() { |
124 |
chmod 640 ${ROOT}/etc/mogilefs/{mogilefsd,mogstored}.conf |
125 |
chown root:${MOGILE_USER} ${ROOT}/etc/mogilefs/{mogilefsd,mogstored}.conf |
126 |
} |