1 |
commit: e44a177e84bbca9e97a6d7477ce2c366f4c6e66d |
2 |
Author: Austin English <wizardedit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Apr 26 20:28:07 2016 +0000 |
4 |
Commit: Austin English <wizardedit <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Apr 26 22:26:32 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e44a177e |
7 |
|
8 |
app-mobilephone/kannel: remove kannel-1.4.3-r1 / kannel-1.5.0 |
9 |
|
10 |
Package-Manager: portage-2.2.26 |
11 |
|
12 |
app-mobilephone/kannel/kannel-1.4.3-r1.ebuild | 120 ------------------------- |
13 |
app-mobilephone/kannel/kannel-1.5.0.ebuild | 122 -------------------------- |
14 |
2 files changed, 242 deletions(-) |
15 |
|
16 |
diff --git a/app-mobilephone/kannel/kannel-1.4.3-r1.ebuild b/app-mobilephone/kannel/kannel-1.4.3-r1.ebuild |
17 |
deleted file mode 100644 |
18 |
index f833802..0000000 |
19 |
--- a/app-mobilephone/kannel/kannel-1.4.3-r1.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,120 +0,0 @@ |
22 |
-# Copyright 1999-2014 Gentoo Foundation |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
-# $Id$ |
25 |
- |
26 |
-EAPI="2" |
27 |
-WANT_AUTOMAKE=none |
28 |
- |
29 |
-inherit eutils autotools flag-o-matic ssl-cert user |
30 |
- |
31 |
-DESCRIPTION="Powerful SMS and WAP gateway" |
32 |
-HOMEPAGE="http://www.kannel.org/" |
33 |
-SRC_URI="http://www.kannel.org/download/${PV}/gateway-${PV}.tar.gz" |
34 |
- |
35 |
-LICENSE="Apache-1.1" |
36 |
-SLOT="0" |
37 |
-KEYWORDS="~amd64 x86" |
38 |
-IUSE="ssl mysql sqlite postgres pcre doc debug pam" |
39 |
- |
40 |
-RESTRICT="test" # some tests fail with "address already in use" |
41 |
- |
42 |
-RDEPEND="sys-libs/e2fsprogs-libs |
43 |
- dev-libs/libxml2 |
44 |
- dev-lang/perl |
45 |
- sys-libs/zlib |
46 |
- ssl? ( dev-libs/openssl ) |
47 |
- mysql? ( virtual/mysql ) |
48 |
- sqlite? ( dev-db/sqlite:3 ) |
49 |
- postgres? ( dev-db/postgresql[server] ) |
50 |
- pcre? ( dev-libs/libpcre ) |
51 |
- pam? ( virtual/pam )" |
52 |
-DEPEND="${RDEPEND} |
53 |
- >=sys-devel/bison-2.2 |
54 |
- doc? ( media-gfx/transfig |
55 |
- app-text/jadetex |
56 |
- app-text/docbook-dsssl-stylesheets |
57 |
- app-text/docbook-sgml-dtd:3.1 )" |
58 |
- |
59 |
-S="${WORKDIR}/gateway-${PV}" |
60 |
- |
61 |
-pkg_setup() { |
62 |
- enewgroup kannel |
63 |
- enewuser kannel -1 -1 /var/log/kannel kannel |
64 |
-} |
65 |
- |
66 |
-src_prepare() { |
67 |
- epatch "${FILESDIR}/${P}-custom-wap-ports.patch" |
68 |
- epatch "${FILESDIR}/${P}-autotools.patch" |
69 |
- epatch "${FILESDIR}/${P}-external-libuuid.patch" |
70 |
- |
71 |
- #by default, use current directory for logging |
72 |
- sed -i -e 's:/tmp/::' doc/examples/kannel.conf |
73 |
- |
74 |
- eautoconf |
75 |
-} |
76 |
- |
77 |
-src_configure() { |
78 |
- append-flags -fno-strict-aliasing # some code breaks strict aliasing |
79 |
- econf --docdir=/usr/share/doc/${PF} \ |
80 |
- --enable-localtime \ |
81 |
- --disable-start-stop-daemon \ |
82 |
- --without-sqlite2 \ |
83 |
- $(use_enable pam) \ |
84 |
- $(use_enable debug debug) \ |
85 |
- $(use_enable pcre) \ |
86 |
- $(use_enable doc docs) \ |
87 |
- $(use_enable ssl) \ |
88 |
- $(use_with mysql) \ |
89 |
- $(use_with sqlite sqlite3) \ |
90 |
- $(use_with postgres pgsql) \ |
91 |
- || die "econf failed" |
92 |
-} |
93 |
- |
94 |
-# phase disabled by RESTRICT |
95 |
-# src_test() { |
96 |
-# emake check || die "emake check failed" |
97 |
-# } |
98 |
- |
99 |
-src_install() { |
100 |
- emake DESTDIR="${D}" install || die "emake install failed" |
101 |
- |
102 |
- if use doc; then |
103 |
- emake DESTDIR="${D}" install-docs || die "emake install-docs failed" |
104 |
- fi |
105 |
- dodoc README |
106 |
- |
107 |
- diropts -g kannel -m0750 |
108 |
- dodir /etc/kannel |
109 |
- insinto /etc/kannel |
110 |
- newins doc/examples/kannel.conf kannel.conf.sample |
111 |
- |
112 |
- local f |
113 |
- for f in bearerbox smsbox wapbox; do |
114 |
- newinitd "${FILESDIR}/kannel-$f.initd" kannel-$f |
115 |
- done |
116 |
- |
117 |
- diropts -g kannel -m0770 |
118 |
- keepdir /var/log/kannel /var/run/kannel |
119 |
-} |
120 |
- |
121 |
-pkg_postinst() { |
122 |
- if use ssl; then |
123 |
- elog "SSL certificate can be created by running" |
124 |
- elog " emerge --config =${CATEGORY}/${PF}" |
125 |
- fi |
126 |
-} |
127 |
- |
128 |
-pkg_config() { |
129 |
- if use ssl; then |
130 |
- if install_cert /etc/ssl/kannel; then |
131 |
- chown kannel "${ROOT}"etc/ssl/kannel.{pem,key} |
132 |
- einfo "For using this certificate, you have to add following line to your kannel.conf:" |
133 |
- einfo ' ssl-client-certkey-file = "/etc/ssl/kannel.pem"' |
134 |
- einfo ' ssl-server-cert-file = "/etc/ssl/kannel.crt"' |
135 |
- einfo ' ssl-server-key-file = "/etc/ssl/kannel.key"' |
136 |
- fi |
137 |
- else |
138 |
- eerror "This phase exists only for creating kannel SSL certificate" |
139 |
- eerror "and ssl USE flag is disabled for this package!" |
140 |
- fi |
141 |
-} |
142 |
|
143 |
diff --git a/app-mobilephone/kannel/kannel-1.5.0.ebuild b/app-mobilephone/kannel/kannel-1.5.0.ebuild |
144 |
deleted file mode 100644 |
145 |
index 5a4647a..0000000 |
146 |
--- a/app-mobilephone/kannel/kannel-1.5.0.ebuild |
147 |
+++ /dev/null |
148 |
@@ -1,122 +0,0 @@ |
149 |
-# Copyright 1999-2014 Gentoo Foundation |
150 |
-# Distributed under the terms of the GNU General Public License v2 |
151 |
-# $Id$ |
152 |
- |
153 |
-EAPI=5 |
154 |
-WANT_AUTOMAKE=none |
155 |
- |
156 |
-inherit eutils autotools flag-o-matic ssl-cert user |
157 |
- |
158 |
-DESCRIPTION="Powerful SMS and WAP gateway" |
159 |
-HOMEPAGE="http://www.kannel.org/" |
160 |
-SRC_URI="http://www.kannel.org/download/${PV}/gateway-${PV}.tar.gz" |
161 |
- |
162 |
-LICENSE="Apache-1.1" |
163 |
-SLOT="0" |
164 |
-KEYWORDS="~amd64 ~x86" |
165 |
-IUSE="debug doc mysql pam pcre postgres sqlite ssl" |
166 |
- |
167 |
-RESTRICT="test" # some tests fail with "address already in use" |
168 |
- |
169 |
-RDEPEND="sys-libs/e2fsprogs-libs |
170 |
- dev-libs/libxml2 |
171 |
- dev-lang/perl |
172 |
- sys-libs/zlib |
173 |
- ssl? ( dev-libs/openssl ) |
174 |
- mysql? ( virtual/mysql ) |
175 |
- sqlite? ( dev-db/sqlite:3 ) |
176 |
- postgres? ( dev-db/postgresql[server] ) |
177 |
- pcre? ( dev-libs/libpcre ) |
178 |
- pam? ( virtual/pam ) |
179 |
-" |
180 |
-DEPEND="${RDEPEND} |
181 |
- >=sys-devel/bison-2.2 |
182 |
- doc? ( media-gfx/transfig |
183 |
- app-text/jadetex |
184 |
- app-text/docbook-dsssl-stylesheets |
185 |
- app-text/docbook-sgml-dtd:3.1 ) |
186 |
-" |
187 |
- |
188 |
-S="${WORKDIR}/gateway-${PV}" |
189 |
- |
190 |
-pkg_setup() { |
191 |
- enewgroup kannel |
192 |
- enewuser kannel -1 -1 /var/log/kannel kannel |
193 |
-} |
194 |
- |
195 |
-src_prepare() { |
196 |
- epatch "${FILESDIR}/${PN}-1.5.0-custom-wap-ports.patch" |
197 |
- epatch "${FILESDIR}/${PN}-1.4.3-autotools.patch" |
198 |
- epatch "${FILESDIR}/${PN}-1.4.3-external-libuuid.patch" |
199 |
- |
200 |
- #by default, use current directory for logging |
201 |
- sed -i -e 's:/tmp/::' doc/examples/kannel.conf |
202 |
- |
203 |
- eautoconf |
204 |
-} |
205 |
- |
206 |
-src_configure() { |
207 |
- append-flags -fno-strict-aliasing # some code breaks strict aliasing |
208 |
- econf --docdir=/usr/share/doc/${PF} \ |
209 |
- --enable-localtime \ |
210 |
- --disable-start-stop-daemon \ |
211 |
- --without-sqlite2 \ |
212 |
- $(use_enable pam) \ |
213 |
- $(use_enable debug debug) \ |
214 |
- $(use_enable pcre) \ |
215 |
- $(use_enable doc docs) \ |
216 |
- $(use_enable ssl) \ |
217 |
- $(use_with mysql) \ |
218 |
- $(use_with sqlite sqlite3) \ |
219 |
- $(use_with postgres pgsql) \ |
220 |
- || die "econf failed" |
221 |
-} |
222 |
- |
223 |
-# phase disabled by RESTRICT |
224 |
-# src_test() { |
225 |
-# emake check || die "emake check failed" |
226 |
-# } |
227 |
- |
228 |
-src_install() { |
229 |
- emake DESTDIR="${D}" install || die "emake install failed" |
230 |
- |
231 |
- if use doc; then |
232 |
- emake -j1 DESTDIR="${D}" install-docs || die "emake install-docs failed" |
233 |
- fi |
234 |
- dodoc README |
235 |
- |
236 |
- diropts -g kannel -m0750 |
237 |
- dodir /etc/kannel |
238 |
- insinto /etc/kannel |
239 |
- newins doc/examples/kannel.conf kannel.conf.sample |
240 |
- |
241 |
- local f |
242 |
- for f in bearerbox smsbox wapbox; do |
243 |
- newinitd "${FILESDIR}/kannel-$f.initd" kannel-$f |
244 |
- done |
245 |
- |
246 |
- diropts -g kannel -m0770 |
247 |
- keepdir /var/log/kannel /var/run/kannel |
248 |
-} |
249 |
- |
250 |
-pkg_postinst() { |
251 |
- if use ssl; then |
252 |
- elog "SSL certificate can be created by running" |
253 |
- elog " emerge --config =${CATEGORY}/${PF}" |
254 |
- fi |
255 |
-} |
256 |
- |
257 |
-pkg_config() { |
258 |
- if use ssl; then |
259 |
- if install_cert /etc/ssl/kannel; then |
260 |
- chown kannel "${ROOT}"etc/ssl/kannel.{pem,key} |
261 |
- einfo "For using this certificate, you have to add following line to your kannel.conf:" |
262 |
- einfo ' ssl-client-certkey-file = "/etc/ssl/kannel.pem"' |
263 |
- einfo ' ssl-server-cert-file = "/etc/ssl/kannel.crt"' |
264 |
- einfo ' ssl-server-key-file = "/etc/ssl/kannel.key"' |
265 |
- fi |
266 |
- else |
267 |
- eerror "This phase exists only for creating kannel SSL certificate" |
268 |
- eerror "and ssl USE flag is disabled for this package!" |
269 |
- fi |
270 |
-} |