app-mobilephone/kannel: Drop old
authorMikle Kolyada <zlogene@gentoo.org>
Fri, 10 Aug 2018 22:06:48 +0000 (01:06 +0300)
committerMikle Kolyada <zlogene@gentoo.org>
Fri, 10 Aug 2018 22:06:48 +0000 (01:06 +0300)
Package-Manager: Portage-2.3.40, Repoman-2.3.9

app-mobilephone/kannel/Manifest
app-mobilephone/kannel/kannel-1.4.3-r2.ebuild [deleted file]

index f866b7a965a2ab8ec9b1cab5ff52d3d7fbd4196a..f64b56d2119fb256199957c31d5018f23aea603d 100644 (file)
@@ -1,2 +1 @@
-DIST gateway-1.4.3.tar.gz 2654925 BLAKE2B 822aac6148d088a1808c3e3ca6004ab97055d6d754cf7b2bbf5069a4d11daf95e61f1011574a5443d248f44d13adc80311b1183fae5de2b67f8698f2880cfd47 SHA512 2e727cd3f57ba5af815f1c029dd9125db17b4f980bb555c20cde693e03226f52e1d2969a3d262e0dda1198cbddd3cc1d2f708aaa623f656d91aef686f4925dae
 DIST gateway-1.5.0.tar.gz 3469476 BLAKE2B c77c43ec782884f8404e70dbe8fb76cb66526ba7f313db7b7ee83073aae71fb2a1661b58be297f0dc2e6bffbccc862d5e7f1239bd4431bbfa4f009848d57face SHA512 5bd35ff40e0f5882367f717e67104a0dc8703b5d6d95654e1268ded15cf6fac6366968b10adbe2eec22b3ac17fe3ae33b4142cd38f51fd3d75a56c8fe7653652
diff --git a/app-mobilephone/kannel/kannel-1.4.3-r2.ebuild b/app-mobilephone/kannel/kannel-1.4.3-r2.ebuild
deleted file mode 100644 (file)
index a61e50f..0000000
+++ /dev/null
@@ -1,119 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="2"
-WANT_AUTOMAKE=none
-
-inherit eutils autotools flag-o-matic ssl-cert user
-
-DESCRIPTION="Powerful SMS and WAP gateway"
-HOMEPAGE="http://www.kannel.org/"
-SRC_URI="http://www.kannel.org/download/${PV}/gateway-${PV}.tar.gz"
-
-LICENSE="Apache-1.1"
-SLOT="0"
-KEYWORDS="~amd64 x86"
-IUSE="ssl mysql sqlite postgres pcre doc debug pam"
-
-RESTRICT="test" # some tests fail with "address already in use"
-
-RDEPEND="sys-libs/e2fsprogs-libs
-       dev-libs/libxml2
-       dev-lang/perl
-       sys-libs/zlib
-       ssl? ( dev-libs/openssl )
-       mysql? ( virtual/mysql )
-       sqlite? ( dev-db/sqlite:3 )
-       postgres? ( dev-db/postgresql[server] )
-       pcre? ( dev-libs/libpcre )
-       pam? ( virtual/pam )"
-DEPEND="${RDEPEND}
-       >=sys-devel/bison-2.2
-       doc? ( media-gfx/transfig
-               app-text/jadetex
-               app-text/docbook-dsssl-stylesheets
-               app-text/docbook-sgml-dtd:3.1 )"
-
-S="${WORKDIR}/gateway-${PV}"
-
-pkg_setup() {
-       enewgroup kannel
-       enewuser kannel -1 -1 /var/log/kannel kannel
-}
-
-src_prepare() {
-       epatch "${FILESDIR}/${P}-custom-wap-ports.patch"
-       epatch "${FILESDIR}/${P}-autotools.patch"
-       epatch "${FILESDIR}/${P}-external-libuuid.patch"
-
-       #by default, use current directory for logging
-       sed -i -e 's:/tmp/::' doc/examples/kannel.conf
-
-       eautoconf
-}
-
-src_configure() {
-       append-flags -fno-strict-aliasing # some code breaks strict aliasing
-       econf --docdir=/usr/share/doc/${PF} \
-               --enable-localtime \
-               --disable-start-stop-daemon \
-               --without-sqlite2 \
-               $(use_enable pam) \
-               $(use_enable debug debug) \
-               $(use_enable pcre) \
-               $(use_enable doc docs) \
-               $(use_enable ssl) \
-               $(use_with mysql) \
-               $(use_with sqlite sqlite3) \
-               $(use_with postgres pgsql) \
-               || die "econf failed"
-}
-
-# phase disabled by RESTRICT
-# src_test() {
-#      emake check || die "emake check failed"
-# }
-
-src_install() {
-       emake DESTDIR="${D}" install || die "emake install failed"
-
-       if use doc; then
-               emake DESTDIR="${D}" install-docs || die "emake install-docs failed"
-       fi
-       dodoc README
-
-       diropts -g kannel -m0750
-       dodir /etc/kannel
-       insinto /etc/kannel
-       newins doc/examples/kannel.conf kannel.conf.sample
-
-       local f
-       for f in bearerbox smsbox wapbox; do
-               newinitd "${FILESDIR}/kannel-$f.initd" kannel-$f
-       done
-
-       diropts -g kannel -m0770
-       keepdir /var/log/kannel /var/run/kannel
-}
-
-pkg_postinst() {
-       if use ssl; then
-               elog "SSL certificate can be created by running"
-               elog "   emerge --config =${CATEGORY}/${PF}"
-       fi
-}
-
-pkg_config() {
-       if use ssl; then
-               if install_cert /etc/ssl/kannel; then
-                       chown kannel "${ROOT}"etc/ssl/kannel.{pem,key}
-                       einfo "For using this certificate, you have to add following line to your kannel.conf:"
-                       einfo '   ssl-client-certkey-file = "/etc/ssl/kannel.pem"'
-                       einfo '   ssl-server-cert-file = "/etc/ssl/kannel.crt"'
-                       einfo '   ssl-server-key-file = "/etc/ssl/kannel.key"'
-               fi
-       else
-               eerror "This phase exists only for creating kannel SSL certificate"
-               eerror "and ssl USE flag is disabled for this package!"
-       fi
-}