From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2CB5B138334 for ; Fri, 1 Nov 2019 14:38:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 34880E089C; Fri, 1 Nov 2019 14:38:55 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F38D3E089C for ; Fri, 1 Nov 2019 14:38:54 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DC0E234C657 for ; Fri, 1 Nov 2019 14:38:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 42B38828 for ; Fri, 1 Nov 2019 14:38:50 +0000 (UTC) From: "Tobias Klausmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Tobias Klausmann" Message-ID: <1572619110.146f1b68442e05824d26cd47a9d06de9e43b2f64.klausman@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/prosody/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-im/prosody/Manifest net-im/prosody/prosody-0.11.1.ebuild net-im/prosody/prosody-0.11.2.ebuild net-im/prosody/prosody-0.11.3.ebuild X-VCS-Directories: net-im/prosody/ X-VCS-Committer: klausman X-VCS-Committer-Name: Tobias Klausmann X-VCS-Revision: 146f1b68442e05824d26cd47a9d06de9e43b2f64 X-VCS-Branch: master Date: Fri, 1 Nov 2019 14:38:50 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: a377ec0e-9a38-4238-9e23-2184a683760e X-Archives-Hash: 66a730404a1e71cab6c2bceb92cb2150 commit: 146f1b68442e05824d26cd47a9d06de9e43b2f64 Author: Tobias Klausmann gentoo org> AuthorDate: Fri Nov 1 12:37:45 2019 +0000 Commit: Tobias Klausmann gentoo org> CommitDate: Fri Nov 1 14:38:30 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=146f1b68 net-im/prosody: add v0.11.3 and clean up old versions New build provided by xdch47 in GH PR 13507 Closes: https://bugs.gentoo.org/699070 Package-Manager: Portage-2.3.78, Repoman-2.3.17 Signed-off-by: Tobias Klausmann gentoo.org> net-im/prosody/Manifest | 2 +- net-im/prosody/prosody-0.11.1.ebuild | 86 ---------------------- ...prosody-0.11.2.ebuild => prosody-0.11.3.ebuild} | 41 ++++------- 3 files changed, 14 insertions(+), 115 deletions(-) diff --git a/net-im/prosody/Manifest b/net-im/prosody/Manifest index 048bc0cc99b..6e4ead82155 100644 --- a/net-im/prosody/Manifest +++ b/net-im/prosody/Manifest @@ -1,3 +1,3 @@ -DIST prosody-0.11.1.tar.gz 418780 BLAKE2B 0fa45b71bb7eeaa60385683427c9547af3e014faa97dec409cc19e48bfd1b91fec7eb001fb14a86c9f3ce2c653ece2fdb113bba860cdc500cb164dd7749af6cc SHA512 6e25d2365d40582f57799bb08bf2673ba43270e8bcca5c5b785381380db55ec3ea6ab771fb9bd228bf265a564bb017dbfeae81713abd2de35a92704f8b8004ef DIST prosody-0.11.2.tar.gz 420689 BLAKE2B 3abdab188f66d4eccb21d0981b57d5015605a1257074bbd67098a8624f40a11960fb65a7f56a7d1421a23bfffdb34635eeac5d013c4b7d7d957c51cdff2276c1 SHA512 22e55a551a40c92f38a1ed1de5fdcad574d699d58c2e27f93c3d465b55487b8e923c2ba088daf93c7140cbafb0d429687e0b662c8bb1c1aba4b79ac1ea271cd1 +DIST prosody-0.11.3.tar.gz 424098 BLAKE2B 58196234bced12ad84943763c48cdb6fa88b2bfd6390bf12d6bd0aec4f8905784ca5775d8fb55dc3ffe3bf22767742e2d62e859e3f2f9d08c65c9f8016036df0 SHA512 07239433c7c65184ca24d665c92b787ff9e4a5ee190ab90dede802ffd2cbd97855356d818858871e62284e9923f485b3468ab1baed5d3fb13aac0551a38967eb DIST prosody-0.9.14.tar.gz 268253 BLAKE2B 0ae62ca3c8eb89feb34f1f67aa3d14aa1e6bf02cf10ff90a43fd7de8bd257d70508e36b10b3f159040c1fa5dcfb6ad8018e3411a5d6042992f71f643a13c11d4 SHA512 30116ebc20c719d88bae7f2f44c129604ec4477004581c3556ff548c75ee026a83dc519701a61a8c3f547776ba74c571e38c3e1e5240da9148dad35a5d1f67e3 diff --git a/net-im/prosody/prosody-0.11.1.ebuild b/net-im/prosody/prosody-0.11.1.ebuild deleted file mode 100644 index 8049f02ed56..00000000000 --- a/net-im/prosody/prosody-0.11.1.ebuild +++ /dev/null @@ -1,86 +0,0 @@ -# Copyright 1999-2018 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit flag-o-matic multilib systemd - -MY_PV=$(ver_rs 3 '') -MY_P="${PN}-${MY_PV}" -DESCRIPTION="Prosody is a flexible communications server for Jabber/XMPP written in Lua" -HOMEPAGE="https://prosody.im/" -SRC_URI="https://prosody.im/tmp/${MY_PV}/${MY_P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm x86" -IUSE="ipv6 libevent mysql postgres sqlite ssl zlib jit libressl test" - -BASE_DEPEND="net-im/jabber-base - dev-lua/LuaBitOp - !jit? ( >=dev-lang/lua-5.1:0 ) - jit? ( dev-lang/luajit:2 ) - >=net-dns/libidn-1.1:= - !libressl? ( dev-libs/openssl:0 ) libressl? ( dev-libs/libressl:= )" - -DEPEND="${BASE_DEPEND} - test? ( dev-lua/busted )" - -RDEPEND="${BASE_DEPEND} - >=dev-lua/luaexpat-1.3.0 - dev-lua/luafilesystem - ipv6? ( >=dev-lua/luasocket-3 ) - !ipv6? ( dev-lua/luasocket ) - libevent? ( >=dev-lua/luaevent-0.4.3 ) - mysql? ( dev-lua/luadbi[mysql] ) - postgres? ( dev-lua/luadbi[postgres] ) - sqlite? ( dev-lua/luadbi[sqlite] ) - ssl? ( dev-lua/luasec ) - zlib? ( dev-lua/lua-zlib )" - -S=${WORKDIR}/${MY_P} - -JABBER_ETC="/etc/jabber" -JABBER_SPOOL="/var/spool/jabber" - -src_prepare() { - default - rm makefile && mv GNUmakefile Makefile || die - sed -i -e "s!MODULES = \$(DESTDIR)\$(PREFIX)/lib/!MODULES = \$(DESTDIR)\$(PREFIX)/$(get_libdir)/!"\ - -e "s!SOURCE = \$(DESTDIR)\$(PREFIX)/lib/!SOURCE = \$(DESTDIR)\$(PREFIX)/$(get_libdir)/!"\ - -e "s!INSTALLEDSOURCE = \$(PREFIX)/lib/!INSTALLEDSOURCE = \$(PREFIX)/$(get_libdir)/!"\ - -e "s!INSTALLEDMODULES = \$(PREFIX)/lib/!INSTALLEDMODULES = \$(PREFIX)/$(get_libdir)/!"\ - Makefile || die -} - -src_configure() { - # the configure script is handcrafted (and yells at unknown options) - # hence do not use 'econf' - append-cflags -D_GNU_SOURCE - ./configure \ - --ostype=linux \ - --prefix="${EPREFIX}/usr" \ - --libdir="${EPREFIX}/usr/$(get_libdir)" \ - --sysconfdir="${EPREFIX}/${JABBER_ETC}" \ - --datadir="${EPREFIX}/${JABBER_SPOOL}" \ - --with-lua-include="${EPREFIX}/usr/include" \ - --with-lua-lib="${EPREFIX}/usr/$(get_libdir)/lua" \ - --runwith=lua"$(usev jit)" \ - --cflags="${CFLAGS} -Wall -fPIC" \ - --ldflags="${LDFLAGS} -shared" \ - --c-compiler="$(tc-getCC)" \ - --linker="$(tc-getCC)" || die "configure failed" -} - -src_install() { - emake DESTDIR="${D}" install - systemd_dounit "${FILESDIR}/${PN}".service - systemd_newtmpfilesd "${FILESDIR}/${PN}".tmpfilesd "${PN}".conf - newinitd "${FILESDIR}/${PN}".initd-r2 ${PN} - keepdir "${JABBER_SPOOL}" -} - -pkg_postinst() { - elog "If you are using the MySQL backend, you need to update its schema:" - elog "https://prosody.im/doc/release/0.11.0#upgrade_notes" -} diff --git a/net-im/prosody/prosody-0.11.2.ebuild b/net-im/prosody/prosody-0.11.3.ebuild similarity index 60% rename from net-im/prosody/prosody-0.11.2.ebuild rename to net-im/prosody/prosody-0.11.3.ebuild index d1be6afa1c0..253c10d7bfb 100644 --- a/net-im/prosody/prosody-0.11.2.ebuild +++ b/net-im/prosody/prosody-0.11.3.ebuild @@ -3,25 +3,24 @@ EAPI=7 -inherit flag-o-matic multilib systemd +inherit multilib systemd -MY_PV=$(ver_rs 3 '') -MY_P="${PN}-${MY_PV}" DESCRIPTION="Prosody is a flexible communications server for Jabber/XMPP written in Lua" HOMEPAGE="https://prosody.im/" -SRC_URI="https://prosody.im/tmp/${MY_PV}/${MY_P}.tar.gz" +SRC_URI="https://prosody.im/downloads/source/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm x86" -IUSE="ipv6 libevent mysql postgres sqlite ssl zlib jit libressl test" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="ipv6 jit libevent libressl mysql postgres sqlite ssl test zlib" BASE_DEPEND="net-im/jabber-base dev-lua/LuaBitOp !jit? ( >=dev-lang/lua-5.1:0 ) jit? ( dev-lang/luajit:2 ) - >=net-dns/libidn-1.1:= - !libressl? ( dev-libs/openssl:0 ) libressl? ( dev-libs/libressl:= )" + !libressl? ( dev-libs/openssl:0 ) + libressl? ( dev-libs/libressl:= ) + >=net-dns/libidn-1.1:=" DEPEND="${BASE_DEPEND} test? ( dev-lua/busted )" @@ -29,8 +28,8 @@ DEPEND="${BASE_DEPEND} RDEPEND="${BASE_DEPEND} >=dev-lua/luaexpat-1.3.0 dev-lua/luafilesystem - ipv6? ( >=dev-lua/luasocket-3 ) !ipv6? ( dev-lua/luasocket ) + ipv6? ( >=dev-lua/luasocket-3 ) libevent? ( >=dev-lua/luaevent-0.4.3 ) mysql? ( dev-lua/luadbi[mysql] ) postgres? ( dev-lua/luadbi[postgres] ) @@ -38,31 +37,20 @@ RDEPEND="${BASE_DEPEND} ssl? ( dev-lua/luasec ) zlib? ( dev-lua/lua-zlib )" -S=${WORKDIR}/${MY_P} +PATCHES=("${FILESDIR}/prosody_cfg-0.11.2-r1.patch") JABBER_ETC="/etc/jabber" JABBER_SPOOL="/var/spool/jabber" -src_prepare() { - default - rm makefile && mv GNUmakefile Makefile || die - sed -i -e "s!MODULES = \$(DESTDIR)\$(PREFIX)/lib/!MODULES = \$(DESTDIR)\$(PREFIX)/$(get_libdir)/!"\ - -e "s!SOURCE = \$(DESTDIR)\$(PREFIX)/lib/!SOURCE = \$(DESTDIR)\$(PREFIX)/$(get_libdir)/!"\ - -e "s!INSTALLEDSOURCE = \$(PREFIX)/lib/!INSTALLEDSOURCE = \$(PREFIX)/$(get_libdir)/!"\ - -e "s!INSTALLEDMODULES = \$(PREFIX)/lib/!INSTALLEDMODULES = \$(PREFIX)/$(get_libdir)/!"\ - Makefile || die -} - src_configure() { # the configure script is handcrafted (and yells at unknown options) # hence do not use 'econf' - append-cflags -D_GNU_SOURCE ./configure \ --ostype=linux \ --prefix="${EPREFIX}/usr" \ --libdir="${EPREFIX}/usr/$(get_libdir)" \ - --sysconfdir="${EPREFIX}/${JABBER_ETC}" \ - --datadir="${EPREFIX}/${JABBER_SPOOL}" \ + --sysconfdir="${EPREFIX}${JABBER_ETC}" \ + --datadir="${EPREFIX}${JABBER_SPOOL}" \ --with-lua-include="${EPREFIX}/usr/include" \ --with-lua-lib="${EPREFIX}/usr/$(get_libdir)/lua" \ --runwith=lua"$(usev jit)" \ @@ -70,6 +58,8 @@ src_configure() { --ldflags="${LDFLAGS} -shared" \ --c-compiler="$(tc-getCC)" \ --linker="$(tc-getCC)" || die "configure failed" + + rm makefile && mv GNUmakefile Makefile || die } src_install() { @@ -79,8 +69,3 @@ src_install() { newinitd "${FILESDIR}/${PN}".initd-r2 ${PN} keepdir "${JABBER_SPOOL}" } - -pkg_postinst() { - elog "If you are using the MySQL backend, you need to update its schema:" - elog "https://prosody.im/doc/release/0.11.0#upgrade_notes" -}