summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2012-03-19 09:56:59 +0000
committerPacho Ramos <pacho@gentoo.org>2012-03-19 09:56:59 +0000
commitda11091b6bf16de3b9beda58a1da09ad9984b6e0 (patch)
tree6a70730c90b88c1ae9fe882cbb0a0854a67b8e52 /app-mobilephone/kannel
parentMove from sqlite3 USE flag to sqlite, bug #251394 (fixed with Patrick permiss... (diff)
downloadgentoo-2-da11091b6bf16de3b9beda58a1da09ad9984b6e0.tar.gz
gentoo-2-da11091b6bf16de3b9beda58a1da09ad9984b6e0.tar.bz2
gentoo-2-da11091b6bf16de3b9beda58a1da09ad9984b6e0.zip
Drop old version still relying on sqlite2.
(Portage version: 2.1.10.49/cvs/Linux x86_64)
Diffstat (limited to 'app-mobilephone/kannel')
-rw-r--r--app-mobilephone/kannel/ChangeLog7
-rw-r--r--app-mobilephone/kannel/kannel-1.4.1.ebuild97
2 files changed, 5 insertions, 99 deletions
diff --git a/app-mobilephone/kannel/ChangeLog b/app-mobilephone/kannel/ChangeLog
index f3f40aaf4b17..f079eee83470 100644
--- a/app-mobilephone/kannel/ChangeLog
+++ b/app-mobilephone/kannel/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-mobilephone/kannel
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/kannel/ChangeLog,v 1.23 2010/06/17 21:26:13 patrick Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/kannel/ChangeLog,v 1.24 2012/03/19 09:56:58 pacho Exp $
+
+ 19 Mar 2012; Pacho Ramos <pacho@gentoo.org> -kannel-1.4.1.ebuild:
+ Drop old version still relying on sqlite2.
17 Jun 2010; Patrick Lauer <patrick@gentoo.org> kannel-1.4.1.ebuild,
kannel-1.4.3-r1.ebuild:
diff --git a/app-mobilephone/kannel/kannel-1.4.1.ebuild b/app-mobilephone/kannel/kannel-1.4.1.ebuild
deleted file mode 100644
index cfac94c3a305..000000000000
--- a/app-mobilephone/kannel/kannel-1.4.1.ebuild
+++ /dev/null
@@ -1,97 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/kannel/kannel-1.4.1.ebuild,v 1.11 2010/06/17 21:26:13 patrick Exp $
-
-WANT_AUTOMAKE=none
-
-inherit eutils autotools flag-o-matic
-
-DESCRIPTION="Powerful SMS and WAP gateway"
-HOMEPAGE="http://www.kannel.org/"
-SRC_URI="http://www.kannel.org/download/${PV}/gateway-${PV}.tar.gz"
-
-LICENSE="Kannel"
-SLOT="0"
-KEYWORDS="~amd64 x86"
-IUSE="ssl mysql sqlite sqlite3 postgres pcre doc debug pam"
-
-RDEPEND=">=dev-libs/libxml2-2.6.26
- >=dev-lang/perl-5.8.8
- >=sys-libs/zlib-1.2.3
- ssl? ( >=dev-libs/openssl-0.9.8d )
- mysql? ( virtual/mysql )
- sqlite? ( =dev-db/sqlite-2* )
- sqlite3? ( >=dev-db/sqlite-3.2.1 )
- postgres? ( dev-db/postgresql-server )
- pcre? ( dev-libs/libpcre )
- doc? ( media-gfx/transfig
- app-text/jadetex
- app-text/docbook-dsssl-stylesheets )
- pam? ( virtual/pam )"
-DEPEND="${RDEPEND}
- >=sys-devel/bison-2.2"
-
-S="${WORKDIR}/gateway-${PV}"
-
-pkg_setup() {
- enewgroup kannel
- enewuser kannel -1 -1 /var/log/kannel kannel
-}
-
-src_unpack() {
- unpack ${A}
-
- cd "${S}"
- epatch "${FILESDIR}/${P}-custom-wap-ports.patch"
- epatch "${FILESDIR}/${P}-nolex.patch" # flex is not used
-
- #by default, use current directory for logging
- sed -i -e 's:/tmp/::' doc/examples/kannel.conf
-
- eautoconf
-}
-
-src_compile() {
- append-flags -fno-strict-aliasing # some code breaks strict aliasing
- econf --docdir=/usr/share/doc/${P} \
- --enable-localtime \
- --disable-start-stop-daemon \
- $(use_enable pam) \
- $(use_enable debug debug) \
- $(use_enable pcre) \
- $(use_enable doc docs) \
- $(use_enable ssl) \
- $(use_with mysql) \
- $(use_with sqlite) \
- $(use_with sqlite3) \
- $(use_with postgres pgsql) \
- || die "econf failed"
-
- emake || die "emake failed"
-}
-
-src_test() {
- emake check || die "make 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
- newins doc/examples/modems.conf modems.conf.sample
- use mysql && newins doc/examples/dlr-mysql.conf dlr-mysql.conf.sample
-
- diropts -g kannel -m0770
- keepdir /var/log/kannel
-
- newinitd "${FILESDIR}/kannel-initd" kannel
- newconfd "${FILESDIR}/kannel-confd" kannel
-}