From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 6275558973 for ; Tue, 9 Feb 2016 07:07:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 01A72E08A0; Tue, 9 Feb 2016 07:07:26 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 881EDE08A0 for ; Tue, 9 Feb 2016 07:07:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4E0443408CF for ; Tue, 9 Feb 2016 07:07:24 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4D7C98DF for ; Tue, 9 Feb 2016 07:07:19 +0000 (UTC) From: "Ian Delaney" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ian Delaney" Message-ID: <1455001612.3d58677efdc3c1029216178e00b92d0a0631bf7d.idella4@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-mobilephone/kannel-sqlbox/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-mobilephone/kannel-sqlbox/kannel-sqlbox-1.5.0-r1.ebuild app-mobilephone/kannel-sqlbox/kannel-sqlbox-1.5.0.ebuild X-VCS-Directories: app-mobilephone/kannel-sqlbox/ X-VCS-Committer: idella4 X-VCS-Committer-Name: Ian Delaney X-VCS-Revision: 3d58677efdc3c1029216178e00b92d0a0631bf7d X-VCS-Branch: master Date: Tue, 9 Feb 2016 07:07:19 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: a157b634-47a0-41cc-94be-349eac17153f X-Archives-Hash: 033d16998bd88bb3a9a93c680d89a459 commit: 3d58677efdc3c1029216178e00b92d0a0631bf7d Author: Ian Delaney gentoo org> AuthorDate: Tue Feb 9 07:06:52 2016 +0000 Commit: Ian Delaney gentoo org> CommitDate: Tue Feb 9 07:06:52 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d58677e app-mobilephone/kannel-sqlbox: revbump to 1.5.0-r1 fixing issues from bump update EPI, drop unused autotools eclass and inherit readme.gentoo-r1, set slot operator to openssl, fixes the gentoo bug, remove defunct 1.5.0 Gentoo bug: #493712 Package-Manager: portage-2.2.26 ...-1.5.0.ebuild => kannel-sqlbox-1.5.0-r1.ebuild} | 44 +++++++++++++--------- 1 file changed, 26 insertions(+), 18 deletions(-) diff --git a/app-mobilephone/kannel-sqlbox/kannel-sqlbox-1.5.0.ebuild b/app-mobilephone/kannel-sqlbox/kannel-sqlbox-1.5.0-r1.ebuild similarity index 55% rename from app-mobilephone/kannel-sqlbox/kannel-sqlbox-1.5.0.ebuild rename to app-mobilephone/kannel-sqlbox/kannel-sqlbox-1.5.0-r1.ebuild index b97c4b8..022d828 100644 --- a/app-mobilephone/kannel-sqlbox/kannel-sqlbox-1.5.0.ebuild +++ b/app-mobilephone/kannel-sqlbox/kannel-sqlbox-1.5.0-r1.ebuild @@ -1,13 +1,13 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/kannel-sqlbox/kannel-sqlbox-0.7.2.ebuild,v 1.4 2013/07/25 01:53:56 creffett Exp $ +# $Id$ -EAPI="2" +EAPI="5" -inherit eutils autotools +inherit eutils flag-o-matic readme.gentoo-r1 DESCRIPTION="DB-Based Kannel Box for message queueing" -HOMEPAGE="http://www.kannel.org/~aguerrieri/SqlBox/" +HOMEPAGE="http://www.kannel.org/" SRC_URI="http://www.kannel.org/download/${PV}/gateway-${PV}.tar.gz" LICENSE="Apache-1.1 GPL-2" @@ -20,7 +20,7 @@ RDEPEND="|| ( ~app-mobilephone/kannel-${PV}[sqlite] ~app-mobilephone/kannel-${PV}[postgres] ) - ssl? ( dev-libs/openssl )" + ssl? ( dev-libs/openssl:0 )" DEPEND="${RDEPEND} doc? ( media-gfx/transfig app-text/jadetex @@ -29,8 +29,23 @@ DEPEND="${RDEPEND} S="${WORKDIR}/gateway-${PV}/addons/sqlbox/" +pkg_setup() { + append-ldflags $(no-as-needed) + DISABLE_AUTOFORMATTING="yes" + DOC_CONTENTS="Please view the following page for config information: +http://www.kannel.org/pipermail/users/2006-October/000859.html + +In essence you need to do 3 things: +1. Create the database (tables will be automatically created by kannel) +2. Point sqlbox to the smsbox-port in kannel [core] group +3. Point smsbox to smsbox-port in sqlbox [sqlbox] group + +This literally puts sqlbox in between the bearerbox and smsbox +for data storage into a database" +} + src_configure() { - LDFLAGS="" econf --docdir=/usr/share/doc/${PF} \ + econf --docdir=/usr/share/doc/${PF} \ --without-ctlib \ --without-mssql \ $(use_enable ssl) \ @@ -48,20 +63,13 @@ src_install() { newinitd "${FILESDIR}"/kannel-sqlbox.initd kannel-sqlbox - dodoc AUTHORS ChangeLog NEWS README + dodoc AUTHORS ChangeLog KannelLICENSE NEWS README insinto /etc/kannel newins example/sqlbox.conf.example sqlbox.conf.sample + + readme.gentoo_create_doc } pkg_postinst() { - elog "Please view the following page for config information:" - elog "http://www.kannel.org/pipermail/users/2006-October/000859.html" - elog "" - elog "In essence you need to do 3 things" - elog "1. Create the database (tables will be automatically created by kannel)" - elog "2. Point sqlbox to the smsbox-port in kannel [core] group" - elog "3. Point smsbox to smsbox-port in sqlbox [sqlbox] group" - elog "" - elog "This literally puts sqlbox in between the bearerbox and smsbox" - elog "for data storage into a database" + readme.gentoo_print_elog }