Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-servers/nginx-unit/
Date: Sun, 17 Nov 2019 07:46:12
Message-Id: 1573976747.f4ebc1fab685b476e62c614e3ee6be000831d6c8.juippis@gentoo
1 commit: f4ebc1fab685b476e62c614e3ee6be000831d6c8
2 Author: Ralph Seichter <github <AT> seichter <DOT> de>
3 AuthorDate: Thu Nov 14 20:53:47 2019 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Sun Nov 17 07:45:47 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4ebc1fa
7
8 www-servers/nginx-unit: Removed obsolete ebuilds
9
10 Package-Manager: Portage-2.3.76, Repoman-2.3.16
11 Signed-off-by: Ralph Seichter <gentoo <AT> seichter.de>
12 Closes: https://github.com/gentoo/gentoo/pull/13654
13 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
14
15 www-servers/nginx-unit/nginx-unit-1.12.0-r1.ebuild | 72 --------------------
16 www-servers/nginx-unit/nginx-unit-1.12.0-r2.ebuild | 78 ----------------------
17 www-servers/nginx-unit/nginx-unit-1.12.0.ebuild | 68 -------------------
18 3 files changed, 218 deletions(-)
19
20 diff --git a/www-servers/nginx-unit/nginx-unit-1.12.0-r1.ebuild b/www-servers/nginx-unit/nginx-unit-1.12.0-r1.ebuild
21 deleted file mode 100644
22 index 9554af89ad6..00000000000
23 --- a/www-servers/nginx-unit/nginx-unit-1.12.0-r1.ebuild
24 +++ /dev/null
25 @@ -1,72 +0,0 @@
26 -# Copyright 1999-2019 Gentoo Authors
27 -# Distributed under the terms of the GNU General Public License v2
28 -
29 -EAPI=7
30 -
31 -PYTHON_COMPAT=(python2_7 python3_{5,6,7})
32 -
33 -inherit python-single-r1
34 -
35 -MY_P="unit-${PV}"
36 -DESCRIPTION="Dynamic web and application server"
37 -HOMEPAGE="https://unit.nginx.org"
38 -SRC_URI="https://unit.nginx.org/download/${MY_P}.tar.gz -> ${P}.tar.gz"
39 -
40 -LICENSE="Apache-2.0"
41 -SLOT="0"
42 -KEYWORDS="~amd64"
43 -MY_USE="perl python ruby"
44 -MY_USE_PHP="php5-6 php7-1 php7-2 php7-3"
45 -IUSE="${MY_USE} ${MY_USE_PHP} ssl"
46 -REQUIRED_USE="|| ( ${IUSE} )
47 - python? ( ${PYTHON_REQUIRED_USE} )"
48 -
49 -DEPEND="perl? ( dev-lang/perl:= )
50 - php5-6? ( dev-lang/php:5.6[embed] )
51 - php7-1? ( dev-lang/php:7.1[embed] )
52 - php7-2? ( dev-lang/php:7.2[embed] )
53 - php7-3? ( dev-lang/php:7.3[embed] )
54 - python? ( ${PYTHON_DEPS} )
55 - ruby? ( dev-lang/ruby:= )
56 - ssl? ( dev-libs/openssl:= )"
57 -RDEPEND="${DEPEND}"
58 -S="${WORKDIR}/${MY_P}"
59 -
60 -pkg_setup() {
61 - use python && python-single-r1_pkg_setup
62 -}
63 -
64 -src_configure() {
65 - local opt=(
66 - --control=unix:/run/${PN}.sock
67 - --log=/var/log/${PN}
68 - --modules=$(get_libdir)/${PN}
69 - --pid=/run/${PN}.pid
70 - --prefix=/usr
71 - --state=/var/lib/${PN}
72 - )
73 - use ssl && opt+=( --openssl )
74 -
75 - ./configure ${opt[@]} --cc-opt="${CFLAGS}" --ld-opt="${LDFLAGS}" || die "Core configuration failed"
76 - for flag in ${MY_USE} ; do
77 - if use ${flag} ; then
78 - ./configure ${flag} || die "Module configuration failed: ${flag}"
79 - fi
80 - done
81 - for flag in ${MY_USE_PHP} ; do
82 - if use ${flag} ; then
83 - local php_slot="/usr/$(get_libdir)/${flag/-/.}"
84 - ./configure php \
85 - --module=${flag} \
86 - --config=${php_slot}/bin/php-config \
87 - --lib-path=${php_slot}/$(get_libdir) || die "Module configuration failed: ${flag}"
88 - fi
89 - done
90 -}
91 -
92 -src_install() {
93 - default
94 - diropts -m 0770
95 - keepdir /var/lib/${PN}
96 - newinitd "${FILESDIR}/${PN}.initd" ${PN}
97 -}
98
99 diff --git a/www-servers/nginx-unit/nginx-unit-1.12.0-r2.ebuild b/www-servers/nginx-unit/nginx-unit-1.12.0-r2.ebuild
100 deleted file mode 100644
101 index 3627ea90fa4..00000000000
102 --- a/www-servers/nginx-unit/nginx-unit-1.12.0-r2.ebuild
103 +++ /dev/null
104 @@ -1,78 +0,0 @@
105 -# Copyright 1999-2019 Gentoo Authors
106 -# Distributed under the terms of the GNU General Public License v2
107 -
108 -EAPI=7
109 -
110 -PYTHON_COMPAT=(python2_7 python3_{5,6,7})
111 -
112 -inherit flag-o-matic python-single-r1
113 -
114 -MY_P="unit-${PV}"
115 -DESCRIPTION="Dynamic web and application server"
116 -HOMEPAGE="https://unit.nginx.org"
117 -SRC_URI="https://unit.nginx.org/download/${MY_P}.tar.gz -> ${P}.tar.gz"
118 -
119 -LICENSE="Apache-2.0"
120 -SLOT="0"
121 -KEYWORDS="~amd64"
122 -MY_USE="perl python ruby"
123 -MY_USE_PHP="php5-6 php7-1 php7-2 php7-3"
124 -IUSE="${MY_USE} ${MY_USE_PHP} ssl"
125 -REQUIRED_USE="|| ( ${IUSE} )
126 - python? ( ${PYTHON_REQUIRED_USE} )"
127 -
128 -DEPEND="perl? ( dev-lang/perl:= )
129 - php5-6? ( dev-lang/php:5.6[embed] )
130 - php7-1? ( dev-lang/php:7.1[embed] )
131 - php7-2? ( dev-lang/php:7.2[embed] )
132 - php7-3? ( dev-lang/php:7.3[embed] )
133 - python? ( ${PYTHON_DEPS} )
134 - ruby? ( dev-lang/ruby:* )
135 - ssl? ( dev-libs/openssl:0 )"
136 -RDEPEND="${DEPEND}"
137 -S="${WORKDIR}/${MY_P}"
138 -
139 -pkg_setup() {
140 - use python && python-single-r1_pkg_setup
141 -}
142 -
143 -src_prepare() {
144 - eapply_user
145 - sed -i '/^CFLAGS/d' auto/make || die
146 -}
147 -
148 -src_configure() {
149 - local opt=(
150 - --control=unix:/run/${PN}.sock
151 - --log=/var/log/${PN}
152 - --modules=$(get_libdir)/${PN}
153 - --pid=/run/${PN}.pid
154 - --prefix=/usr
155 - --state=/var/lib/${PN}
156 - )
157 - use ssl && opt+=( --openssl )
158 - ./configure ${opt[@]} --ld-opt="${LDFLAGS}" || die "Core configuration failed"
159 - # Modules require position-independent code
160 - append-cflags $(test-flags-CC -fPIC)
161 - for flag in ${MY_USE} ; do
162 - if use ${flag} ; then
163 - ./configure ${flag} || die "Module configuration failed: ${flag}"
164 - fi
165 - done
166 - for flag in ${MY_USE_PHP} ; do
167 - if use ${flag} ; then
168 - local php_slot="/usr/$(get_libdir)/${flag/-/.}"
169 - ./configure php \
170 - --module=${flag} \
171 - --config=${php_slot}/bin/php-config \
172 - --lib-path=${php_slot}/$(get_libdir) || die "Module configuration failed: ${flag}"
173 - fi
174 - done
175 -}
176 -
177 -src_install() {
178 - default
179 - diropts -m 0770
180 - keepdir /var/lib/${PN}
181 - newinitd "${FILESDIR}/${PN}.initd" ${PN}
182 -}
183
184 diff --git a/www-servers/nginx-unit/nginx-unit-1.12.0.ebuild b/www-servers/nginx-unit/nginx-unit-1.12.0.ebuild
185 deleted file mode 100644
186 index 72e543d8953..00000000000
187 --- a/www-servers/nginx-unit/nginx-unit-1.12.0.ebuild
188 +++ /dev/null
189 @@ -1,68 +0,0 @@
190 -# Copyright 1999-2019 Gentoo Authors
191 -# Distributed under the terms of the GNU General Public License v2
192 -
193 -EAPI=7
194 -
195 -PYTHON_COMPAT=(python2_7 python3_{5,6,7})
196 -
197 -inherit python-single-r1
198 -
199 -MY_P="unit-${PV}"
200 -DESCRIPTION="A dynamic web and application server"
201 -HOMEPAGE="https://unit.nginx.org"
202 -SRC_URI="https://unit.nginx.org/download/${MY_P}.tar.gz -> ${P}.tar.gz"
203 -
204 -LICENSE="Apache-2.0"
205 -SLOT="0"
206 -KEYWORDS="~amd64"
207 -MY_USE="perl python ruby"
208 -MY_USE_PHP="php5-6 php7-1 php7-2 php7-3"
209 -IUSE="${MY_USE} ${MY_USE_PHP}"
210 -REQUIRED_USE="|| ( ${IUSE} )
211 - python? ( ${PYTHON_REQUIRED_USE} )"
212 -
213 -DEPEND="perl? ( dev-lang/perl:= )
214 - php5-6? ( dev-lang/php:5.6[embed] )
215 - php7-1? ( dev-lang/php:7.1[embed] )
216 - php7-2? ( dev-lang/php:7.2[embed] )
217 - php7-3? ( dev-lang/php:7.3[embed] )
218 - python? ( ${PYTHON_DEPS} )
219 - ruby? ( dev-lang/ruby:= )"
220 -RDEPEND="${DEPEND}"
221 -S="${WORKDIR}/${MY_P}"
222 -
223 -pkg_setup() {
224 - use python && python-single-r1_pkg_setup
225 -}
226 -
227 -src_configure() {
228 - ./configure \
229 - --control=unix:/run/${PN}.sock \
230 - --ld-opt="${LDFLAGS}" \
231 - --log=/var/log/${PN} \
232 - --modules=$(get_libdir)/${PN} \
233 - --pid=/run/${PN}.pid \
234 - --prefix=/usr \
235 - --state=/var/lib/${PN} || die "Core configuration failed"
236 - for flag in ${MY_USE} ; do
237 - if use ${flag} ; then
238 - ./configure ${flag} || die "Module configuration failed: ${flag}"
239 - fi
240 - done
241 - for flag in ${MY_USE_PHP} ; do
242 - if use ${flag} ; then
243 - local php_slot="/usr/$(get_libdir)/${flag/-/.}"
244 - ./configure php \
245 - --module=${flag} \
246 - --config=${php_slot}/bin/php-config \
247 - --lib-path=${php_slot}/$(get_libdir) || die "Module configuration failed: ${flag}"
248 - fi
249 - done
250 -}
251 -
252 -src_install() {
253 - default
254 - diropts -m 0770
255 - keepdir /var/lib/${PN}
256 - newinitd "${FILESDIR}/${PN}.initd" ${PN}
257 -}