Gentoo Archives: gentoo-commits

From: "Andreas K. Hüttel" <dilfridge@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/MogileFS-Server/
Date: Thu, 08 Jul 2021 19:33:34
Message-Id: 1625772772.f7e4e6e098e0540c941e18bb3a4c69d151ff8a9f.dilfridge@gentoo
1 commit: f7e4e6e098e0540c941e18bb3a4c69d151ff8a9f
2 Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jul 8 18:59:27 2021 +0000
4 Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
5 CommitDate: Thu Jul 8 19:32:52 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7e4e6e0
7
8 dev-perl/MogileFS-Server: Remove old
9
10 Package-Manager: Portage-3.0.20, Repoman-3.0.3
11 Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>
12
13 dev-perl/MogileFS-Server/Manifest | 1 -
14 .../MogileFS-Server-2.720.0-r1.ebuild | 86 ----------------------
15 .../MogileFS-Server/MogileFS-Server-2.730.0.ebuild | 86 ----------------------
16 3 files changed, 173 deletions(-)
17
18 diff --git a/dev-perl/MogileFS-Server/Manifest b/dev-perl/MogileFS-Server/Manifest
19 index 4f4b83aa5f4..78c3a5309ed 100644
20 --- a/dev-perl/MogileFS-Server/Manifest
21 +++ b/dev-perl/MogileFS-Server/Manifest
22 @@ -1,2 +1 @@
23 -DIST MogileFS-Server-2.72.tar.gz 200057 BLAKE2B 835a7799389e536b42ed000b8ce07225609501ee6a4c002253a0018d0b17c815e8825a56f78ee0c0604d57cafea45ac044fda4e6e6bc33e0b60b8ed5b51a7e10 SHA512 4076ba33123c984f9d7c56db7d308b4d857e852caa8d811d86ed551b9ab74a6dfc93b034d034ec2802376035799860c613aef2bdd3898c1225e37727fda34ade
24 DIST MogileFS-Server-2.73.tar.gz 202285 BLAKE2B bd7032a507df8eba7e8c48205a8d76e66a85e28a2223bce47a1753c38d700a5e8b3ab72e5bffd592d1aec4918374e57d3bf882b911f3d5fb6d1f403a4d32275f SHA512 9d5f67334d1877e9a6e63abb728a9d00b93f35579057102b9601a9c65bd3ff8438090e560ddefaec04ce24d4d2c9a7554d7ea2595b5e4ba6f4f2c4554ccac268
25
26 diff --git a/dev-perl/MogileFS-Server/MogileFS-Server-2.720.0-r1.ebuild b/dev-perl/MogileFS-Server/MogileFS-Server-2.720.0-r1.ebuild
27 deleted file mode 100644
28 index ee20ce439a7..00000000000
29 --- a/dev-perl/MogileFS-Server/MogileFS-Server-2.720.0-r1.ebuild
30 +++ /dev/null
31 @@ -1,86 +0,0 @@
32 -# Copyright 1999-2020 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=6
36 -
37 -DIST_AUTHOR=DORMANDO
38 -DIST_VERSION=${PV%0.0}
39 -inherit user perl-module
40 -
41 -DESCRIPTION="Server for the MogileFS distributed file system"
42 -HOMEPAGE="http://www.danga.com/mogilefs/ https://metacpan.org/release/MogileFS-Server"
43 -
44 -IUSE="mysql +sqlite test postgres"
45 -RESTRICT="!test? ( test )"
46 -REQUIRED_USE="test? ( sqlite ) || ( mysql sqlite postgres )"
47 -
48 -SLOT="0"
49 -LICENSE="|| ( Artistic GPL-2 )"
50 -KEYWORDS="~amd64 ~ppc ~x86"
51 -
52 -# Upstream site recommends this,
53 -# but it breaks Perlbal
54 -# dev-perl/Perlbal-XS-HTTPHeaders
55 -RDEPEND="dev-perl/Net-Netmask
56 - >=dev-perl/Danga-Socket-1.610.0
57 - >=dev-perl/Sys-Syscall-0.220.0
58 - >=dev-perl/Perlbal-1.790
59 - >=dev-perl/IO-AIO-4
60 - dev-perl/libwww-perl
61 - >=dev-perl/MogileFS-Client-1.170.0
62 - >=dev-perl/MogileFS-Utils-2.280.0
63 - dev-perl/Cache-Memcached
64 - dev-perl/DBI
65 - mysql? ( dev-perl/DBD-mysql )
66 - postgres? ( dev-perl/DBD-Pg )
67 - sqlite? ( dev-perl/DBD-SQLite )"
68 -DEPEND="${RDEPEND}"
69 -
70 -PATCHES=(
71 - "${FILESDIR}/${PN}-2.720.0-gentoo-init-conf.patch"
72 -)
73 -DIST_TEST="never verbose"
74 -
75 -MOGILE_USER="mogile"
76 -
77 -pkg_setup() {
78 - # Warning! It is important that the uid is constant over Gentoo machines
79 - # As mogilefs may be used with non-local block devices that move!
80 - enewuser ${MOGILE_USER} 460 -1 -1
81 -}
82 -
83 -src_install() {
84 - perl-module_src_install || die "perl-module_src_install failed"
85 - cd "${S}"
86 -
87 - newconfd "${S}"/gentoo/conf.d/mogilefsd mogilefsd
88 - newinitd "${S}"/gentoo/init.d/mogilefsd mogilefsd
89 -
90 - newconfd "${S}"/gentoo/conf.d/mogstored mogstored
91 - newinitd "${S}"/gentoo/init.d/mogstored mogstored
92 -
93 - newinitd "${S}"/gentoo/init.d/mogautomount mogautomount
94 -
95 - diropts -m 700 -o ${MOGILE_USER}
96 - keepdir /var/mogdata
97 -
98 - diropts -m 755 -o root
99 - dodir /etc/mogilefs
100 -
101 - insinto /etc/mogilefs
102 - insopts -m 600 -o root -g ${MOGILE_USER}
103 - newins "${S}"/gentoo/conf/mogilefsd.conf mogilefsd.conf
104 - newins "${S}"/gentoo/conf/mogstored.conf mogstored.conf
105 -}
106 -
107 -pkg_postinst() {
108 - chmod 640 "${ROOT}"/etc/mogilefs/{mogilefsd,mogstored}.conf
109 - chown root:${MOGILE_USER} "${ROOT}"/etc/mogilefs/{mogilefsd,mogstored}.conf
110 -}
111 -
112 -src_test() {
113 - # these need to be in the env and the makeopts
114 - export MOGTEST_DBUSER=mogile MOGTEST_DBNAME=tmp_mogiletest MOGTEST_DBTYPE=SQLite TMPDIR="${T}/mogile"
115 - #perl-module_src_test
116 - make -j1 test TEST_VERBOSE=1 MOGTEST_DBUSER=${MOGTEST_DBUSER} MOGTEST_DBNAME=${MOGTEST_DBNAME} MOGTEST_DBTYPE=${MOGTEST_DBTYPE} TMPDIR="${TMPDIR}"
117 -}
118
119 diff --git a/dev-perl/MogileFS-Server/MogileFS-Server-2.730.0.ebuild b/dev-perl/MogileFS-Server/MogileFS-Server-2.730.0.ebuild
120 deleted file mode 100644
121 index ee20ce439a7..00000000000
122 --- a/dev-perl/MogileFS-Server/MogileFS-Server-2.730.0.ebuild
123 +++ /dev/null
124 @@ -1,86 +0,0 @@
125 -# Copyright 1999-2020 Gentoo Authors
126 -# Distributed under the terms of the GNU General Public License v2
127 -
128 -EAPI=6
129 -
130 -DIST_AUTHOR=DORMANDO
131 -DIST_VERSION=${PV%0.0}
132 -inherit user perl-module
133 -
134 -DESCRIPTION="Server for the MogileFS distributed file system"
135 -HOMEPAGE="http://www.danga.com/mogilefs/ https://metacpan.org/release/MogileFS-Server"
136 -
137 -IUSE="mysql +sqlite test postgres"
138 -RESTRICT="!test? ( test )"
139 -REQUIRED_USE="test? ( sqlite ) || ( mysql sqlite postgres )"
140 -
141 -SLOT="0"
142 -LICENSE="|| ( Artistic GPL-2 )"
143 -KEYWORDS="~amd64 ~ppc ~x86"
144 -
145 -# Upstream site recommends this,
146 -# but it breaks Perlbal
147 -# dev-perl/Perlbal-XS-HTTPHeaders
148 -RDEPEND="dev-perl/Net-Netmask
149 - >=dev-perl/Danga-Socket-1.610.0
150 - >=dev-perl/Sys-Syscall-0.220.0
151 - >=dev-perl/Perlbal-1.790
152 - >=dev-perl/IO-AIO-4
153 - dev-perl/libwww-perl
154 - >=dev-perl/MogileFS-Client-1.170.0
155 - >=dev-perl/MogileFS-Utils-2.280.0
156 - dev-perl/Cache-Memcached
157 - dev-perl/DBI
158 - mysql? ( dev-perl/DBD-mysql )
159 - postgres? ( dev-perl/DBD-Pg )
160 - sqlite? ( dev-perl/DBD-SQLite )"
161 -DEPEND="${RDEPEND}"
162 -
163 -PATCHES=(
164 - "${FILESDIR}/${PN}-2.720.0-gentoo-init-conf.patch"
165 -)
166 -DIST_TEST="never verbose"
167 -
168 -MOGILE_USER="mogile"
169 -
170 -pkg_setup() {
171 - # Warning! It is important that the uid is constant over Gentoo machines
172 - # As mogilefs may be used with non-local block devices that move!
173 - enewuser ${MOGILE_USER} 460 -1 -1
174 -}
175 -
176 -src_install() {
177 - perl-module_src_install || die "perl-module_src_install failed"
178 - cd "${S}"
179 -
180 - newconfd "${S}"/gentoo/conf.d/mogilefsd mogilefsd
181 - newinitd "${S}"/gentoo/init.d/mogilefsd mogilefsd
182 -
183 - newconfd "${S}"/gentoo/conf.d/mogstored mogstored
184 - newinitd "${S}"/gentoo/init.d/mogstored mogstored
185 -
186 - newinitd "${S}"/gentoo/init.d/mogautomount mogautomount
187 -
188 - diropts -m 700 -o ${MOGILE_USER}
189 - keepdir /var/mogdata
190 -
191 - diropts -m 755 -o root
192 - dodir /etc/mogilefs
193 -
194 - insinto /etc/mogilefs
195 - insopts -m 600 -o root -g ${MOGILE_USER}
196 - newins "${S}"/gentoo/conf/mogilefsd.conf mogilefsd.conf
197 - newins "${S}"/gentoo/conf/mogstored.conf mogstored.conf
198 -}
199 -
200 -pkg_postinst() {
201 - chmod 640 "${ROOT}"/etc/mogilefs/{mogilefsd,mogstored}.conf
202 - chown root:${MOGILE_USER} "${ROOT}"/etc/mogilefs/{mogilefsd,mogstored}.conf
203 -}
204 -
205 -src_test() {
206 - # these need to be in the env and the makeopts
207 - export MOGTEST_DBUSER=mogile MOGTEST_DBNAME=tmp_mogiletest MOGTEST_DBTYPE=SQLite TMPDIR="${T}/mogile"
208 - #perl-module_src_test
209 - make -j1 test TEST_VERBOSE=1 MOGTEST_DBUSER=${MOGTEST_DBUSER} MOGTEST_DBNAME=${MOGTEST_DBNAME} MOGTEST_DBTYPE=${MOGTEST_DBTYPE} TMPDIR="${TMPDIR}"
210 -}