net-im/prosody: Clean up old versions
authorTobias Klausmann <klausman@gentoo.org>
Tue, 5 May 2020 14:40:32 +0000 (16:40 +0200)
committerTobias Klausmann <klausman@gentoo.org>
Tue, 5 May 2020 14:40:53 +0000 (16:40 +0200)
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Tobias Klausmann <klausman@gentoo.org>
net-im/prosody/Manifest
net-im/prosody/prosody-0.11.2-r1.ebuild [deleted file]
net-im/prosody/prosody-0.11.3.ebuild [deleted file]

index 529ff2ffbbeaf5f2c858c22e9d68d96adfa89979..a0adccc133766c752e93bf6afe4fe67900371e30 100644 (file)
@@ -1,3 +1 @@
-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.11.5.tar.gz 425122 BLAKE2B d65720a0c9d533a4be70847b690ecf037ae4b2fcbd090c81e2346d515599f3f148061103df2ffe46122a55694a3d35d53ab2b379fb5fb317e3b84a0ff5e82c29 SHA512 43a9facee8d61b69e277e7e8a9091fbfa60be71d6141195dff991f6020c8afadacce26f356b869cb2d7edd9be285e9ce1bcd822f9628cc845d91757e818a0dff
diff --git a/net-im/prosody/prosody-0.11.2-r1.ebuild b/net-im/prosody/prosody-0.11.2-r1.ebuild
deleted file mode 100644 (file)
index 7398275..0000000
+++ /dev/null
@@ -1,88 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit flag-o-matic multilib systemd toolchain-funcs
-
-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"
-RESTRICT="!test? ( 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
-       eapply "${FILESDIR}/prosody_cfg-0.11.2-r1.patch"
-}
-
-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.3.ebuild b/net-im/prosody/prosody-0.11.3.ebuild
deleted file mode 100644 (file)
index 44d19c3..0000000
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit multilib systemd toolchain-funcs
-
-DESCRIPTION="Prosody is a flexible communications server for Jabber/XMPP written in Lua"
-HOMEPAGE="https://prosody.im/"
-SRC_URI="https://prosody.im/downloads/source/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
-IUSE="ipv6 jit libevent libressl mysql postgres sqlite ssl test zlib"
-RESTRICT="!test? ( test )"
-
-BASE_DEPEND="net-im/jabber-base
-               dev-lua/LuaBitOp
-               !jit? ( >=dev-lang/lua-5.1:0 )
-               jit? ( dev-lang/luajit:2 )
-               !libressl? ( dev-libs/openssl:0 )
-               libressl? ( dev-libs/libressl:= )
-               >=net-dns/libidn-1.1:="
-
-DEPEND="${BASE_DEPEND}
-               test? ( dev-lua/busted )"
-
-RDEPEND="${BASE_DEPEND}
-               >=dev-lua/luaexpat-1.3.0
-               dev-lua/luafilesystem
-               !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] )
-               sqlite? ( dev-lua/luadbi[sqlite] )
-               ssl? ( dev-lua/luasec )
-               zlib? ( dev-lua/lua-zlib )"
-
-PATCHES=("${FILESDIR}/prosody_cfg-0.11.2-r1.patch")
-
-JABBER_ETC="/etc/jabber"
-JABBER_SPOOL="/var/spool/jabber"
-
-src_configure() {
-       # the configure script is handcrafted (and yells at unknown options)
-       # hence do not use 'econf'
-       ./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"
-
-       rm makefile && mv GNUmakefile Makefile || die
-}
-
-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}"
-}