Gentoo Archives: gentoo-commits

From: Aaron Bauman <bman@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-servers/gatling/
Date: Thu, 14 Nov 2019 00:47:42
Message-Id: 1573692382.bf8dfe3607a467ed58dcd60e710d1bc9d26bc0d1.bman@gentoo
1 commit: bf8dfe3607a467ed58dcd60e710d1bc9d26bc0d1
2 Author: Aaron Bauman <bman <AT> gentoo <DOT> org>
3 AuthorDate: Thu Nov 14 00:46:22 2019 +0000
4 Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
5 CommitDate: Thu Nov 14 00:46:22 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf8dfe36
7
8 www-servers/gatling: drop old EAPI
9
10 Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>
11
12 www-servers/gatling/Manifest | 1 -
13 www-servers/gatling/gatling-0.12-r2.ebuild | 60 ------------------------------
14 www-servers/gatling/gatling-0.13.ebuild | 60 ------------------------------
15 3 files changed, 121 deletions(-)
16
17 diff --git a/www-servers/gatling/Manifest b/www-servers/gatling/Manifest
18 index c78dda5671e..288ce4137c2 100644
19 --- a/www-servers/gatling/Manifest
20 +++ b/www-servers/gatling/Manifest
21 @@ -1,3 +1,2 @@
22 -DIST gatling-0.12.tar.bz2 99540 BLAKE2B 5711c1960d62979397919cceaee1331b71ea516ab0a4e877244c83e24ab8b6aa3978f7646dbf4f54b71e41eb32f7739800748e6a49c80adcaaa1491dd5158cd4 SHA512 50330e92576ce8002acaba9692cb9270ed2d794b1118e697193bd47beadac8ae75a8e2e0b802923172961d74e50cbe114b5e39c083b79a975c0a1bf4c86cab0a
23 DIST gatling-0.13.tar.bz2 108128 BLAKE2B a8226bb9c608dd77491e4a922a79c310a40e155afcb28602a0cf279e45919bd86a0e93e58d7f33a3551820de20ae219e7af75bc0402eab27c95ba0530575f4c0 SHA512 b9fa604aa8bb8c5d40d9c3eaaa536ed5e73d0ed93eccb41ca4744316ad893dc6fe92fe2c1f0247de82d4eda63b0ab7ab338355d9963fb58f23d39a2c678a1db8
24 DIST gatling-0.15.tar.xz 121804 BLAKE2B 7df5f6d4fc823e8a1252bacca2b57d0848dd3a920216d1d3185d5f471f786eee1eb36396114b367660ead816bd4ee6c734099bbb9bdb5ffbd5b70a59e0fb0667 SHA512 b76d220a0644f1e6e7ea966a4eff409964c564fc4a31c4efdb764e5f7b5857bc58c26bc31e860fe35df932cbd60fb2b0f4f21c75cb5aa56427e8a2a453684716
25
26 diff --git a/www-servers/gatling/gatling-0.12-r2.ebuild b/www-servers/gatling/gatling-0.12-r2.ebuild
27 deleted file mode 100644
28 index ffa25cc9ce3..00000000000
29 --- a/www-servers/gatling/gatling-0.12-r2.ebuild
30 +++ /dev/null
31 @@ -1,60 +0,0 @@
32 -# Copyright 1999-2014 Gentoo Foundation
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI="4"
36 -
37 -inherit eutils toolchain-funcs user
38 -
39 -DESCRIPTION="High performance web server"
40 -HOMEPAGE="http://www.fefe.de/gatling/"
41 -SRC_URI="http://dl.fefe.de/${P}.tar.bz2"
42 -
43 -LICENSE="GPL-2"
44 -SLOT="0"
45 -KEYWORDS="~amd64 ~x86"
46 -
47 -IUSE="ssl diet"
48 -REQUIRED_USE="ssl? ( !diet )"
49 -
50 -DEPEND=">=dev-libs/libowfat-0.25[diet=]
51 - diet? ( dev-libs/dietlibc )
52 - ssl? ( dev-libs/openssl )"
53 -RDEPEND="${DEPEND}"
54 -
55 -src_prepare() {
56 - rm Makefile # leaves us with GNUmakefile
57 - epatch "${FILESDIR}/${P}-compile.patch"
58 -}
59 -
60 -src_compile() {
61 - local DIET=
62 - use diet && DIET='/usr/bin/diet'
63 -
64 - local targets='gatling'
65 - use ssl && targets+=' tlsgatling'
66 -
67 - emake DIET="${DIET}" CC="$(tc-getCC)" \
68 - CFLAGS="${CFLAGS} -I/usr/include/libowfat" \
69 - LDFLAGS="${LDFLAGS}" prefix=/usr ${targets} \
70 - || die "emake ${targets} failed"
71 -}
72 -
73 -src_install() {
74 - doman gatling.1 || die "installing manpage failed"
75 -
76 - newconfd "${FILESDIR}/gatling.confd" gatling || die
77 - newinitd "${FILESDIR}/gatling.initd-2" gatling || die
78 - dodoc README.{ftp,http} || die "installing docs failed"
79 -
80 - dobin gatling || die "installing gatling binary failed"
81 - use ssl && {
82 - dodoc README.tls || die "installing docs failed"
83 - dobin tlsgatling || die "installing tlsgatling binary failed"
84 - }
85 -}
86 -
87 -pkg_setup() {
88 - ebegin "Creating gatling user and group"
89 - enewgroup gatling
90 - enewuser ${PN} -1 -1 /var/www/localhost ${PN}
91 -}
92
93 diff --git a/www-servers/gatling/gatling-0.13.ebuild b/www-servers/gatling/gatling-0.13.ebuild
94 deleted file mode 100644
95 index a3f6ea2f13d..00000000000
96 --- a/www-servers/gatling/gatling-0.13.ebuild
97 +++ /dev/null
98 @@ -1,60 +0,0 @@
99 -# Copyright 1999-2014 Gentoo Foundation
100 -# Distributed under the terms of the GNU General Public License v2
101 -
102 -EAPI="4"
103 -
104 -inherit eutils toolchain-funcs user
105 -
106 -DESCRIPTION="High performance web server"
107 -HOMEPAGE="http://www.fefe.de/gatling/"
108 -SRC_URI="http://dl.fefe.de/${P}.tar.bz2"
109 -
110 -LICENSE="GPL-2"
111 -SLOT="0"
112 -KEYWORDS="~amd64 ~x86"
113 -
114 -IUSE="ssl diet"
115 -REQUIRED_USE="ssl? ( !diet )"
116 -
117 -DEPEND=">=dev-libs/libowfat-0.25[diet=]
118 - diet? ( dev-libs/dietlibc )
119 - ssl? ( dev-libs/openssl )"
120 -RDEPEND="${DEPEND}"
121 -
122 -src_prepare() {
123 - rm Makefile # leaves us with GNUmakefile
124 - epatch "${FILESDIR}/${P}-compile.patch"
125 -}
126 -
127 -src_compile() {
128 - local DIET=
129 - use diet && DIET='/usr/bin/diet'
130 -
131 - local targets='gatling'
132 - use ssl && targets+=' tlsgatling'
133 -
134 - emake DIET="${DIET}" CC="$(tc-getCC)" \
135 - CFLAGS="${CFLAGS} -I${ROOT}usr/include/libowfat" \
136 - LDFLAGS="${LDFLAGS}" prefix=/usr ${targets} \
137 - || die "emake ${targets} failed"
138 -}
139 -
140 -src_install() {
141 - doman gatling.1 || die "installing manpage failed"
142 -
143 - newconfd "${FILESDIR}/gatling.confd" gatling || die
144 - newinitd "${FILESDIR}/gatling.initd-2" gatling || die
145 - dodoc README.{ftp,http} || die "installing docs failed"
146 -
147 - dobin gatling || die "installing gatling binary failed"
148 - use ssl && {
149 - dodoc README.tls || die "installing docs failed"
150 - dobin tlsgatling || die "installing tlsgatling binary failed"
151 - }
152 -}
153 -
154 -pkg_setup() {
155 - ebegin "Creating gatling user and group"
156 - enewgroup gatling
157 - enewuser ${PN} -1 -1 /var/www/localhost ${PN}
158 -}