commit:     b157445544afceac7905ee55300b3b02735523e1
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 10 15:57:13 2020 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sat Oct 10 15:57:24 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1574455

net-im/prosody: drop old version

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 net-im/prosody/files/prosody.initd-r3 | 46 --------------------
 net-im/prosody/prosody-0.11.7.ebuild  | 79 -----------------------------------
 2 files changed, 125 deletions(-)

diff --git a/net-im/prosody/files/prosody.initd-r3 
b/net-im/prosody/files/prosody.initd-r3
deleted file mode 100644
index 3126cc8e1e2..00000000000
--- a/net-im/prosody/files/prosody.initd-r3
+++ /dev/null
@@ -1,46 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-description="Prosody is a server for Jabber/XMPP written in Lua."
-description_reload="Reload configuration and reopen log files."
-extra_started_commands="reload"
-pidfile="/var/run/jabber/prosody.pid"
-
-depend() {
-       need net
-       provide jabber-server
-       use dns postgresql
-}
-
-checkconfig() {
-       if [ ! -e /etc/jabber/prosody.cfg.lua ] ; then
-               eerror "You need a /etc/jabber/prosody.cfg.lua file to run 
prosody"
-               return 1
-       fi
-       luac -p /etc/jabber/prosody.cfg.lua
-       return $?
-}
-
-start() {
-       checkconfig || return 1
-       checkpath -q -d -m 0770 -o jabber:jabber "$(dirname ${pidfile})"
-       checkpath -q -f -m 0770 -o jabber:jabber "${pidfile}"
-       checkpath -q -d -m 0750 -o jabber:jabber /var/log/jabber
-       ebegin "Starting Prosody XMPP Server"
-       prosodyctl start
-       eend $?
-}
-
-stop() {
-       ebegin "Stopping Prosody XMPP Server"
-       prosodyctl stop
-       eend $?
-}
-
-reload() {
-       checkconfig || return 1
-       ebegin "Reloading configuration of Prosody XMPP Server"
-       prosodyctl reload
-       eend $?
-}

diff --git a/net-im/prosody/prosody-0.11.7.ebuild 
b/net-im/prosody/prosody-0.11.7.ebuild
deleted file mode 100644
index 041e5c27e52..00000000000
--- a/net-im/prosody/prosody-0.11.7.ebuild
+++ /dev/null
@@ -1,79 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit 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="libevent libressl luajit mysql postgres sqlite ssl test zlib"
-RESTRICT="!test? ( test )"
-
-COMMON_DEPEND="
-       dev-lua/LuaBitOp
-       net-dns/libidn
-       net-im/jabber-base
-       libressl? ( dev-libs/libressl:= )
-       !libressl? ( dev-libs/openssl:0= )
-       luajit? ( dev-lang/luajit:2 )
-       !luajit? ( dev-lang/lua:0 )
-"
-
-DEPEND="
-       ${COMMON_DEPEND}
-       test? ( dev-lua/busted )
-"
-
-RDEPEND="
-       ${COMMON_DEPEND}
-       ~dev-lua/luaexpat-1.3.0
-       dev-lua/luafilesystem
-       dev-lua/luasocket
-       libevent? ( dev-lua/luaevent )
-       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}/${PN}-0.11.2-r1-gentoo.patch" )
-
-src_configure() {
-       local myeconfargs=(
-               --c-compiler="$(tc-getCC)"
-               --datadir="${EPREFIX}/var/spool/jabber"
-               --libdir="${EPREFIX}/usr/$(get_libdir)"
-               --linker="$(tc-getCC)"
-               --ostype="linux"
-               --prefix="${EPREFIX}/usr"
-               --runwith="$(usex luajit luajit lua)"
-               --sysconfdir="${EPREFIX}/etc/jabber"
-               --with-lua-include="${EPREFIX}/usr/include"
-               --with-lua-lib="${EPREFIX}/usr/$(get_libdir)/lua"
-       )
-
-       # Since the configure script is handcrafted,
-       # and yells at unknown options, do not use 'econf'.
-       ./configure ${myeconfargs[@]} --cflags="${CFLAGS} -Wall -fPIC" 
--ldflags="${LDFLAGS} -shared" || die
-
-       rm makefile || die
-       mv GNUmakefile Makefile || die
-}
-
-src_install() {
-       emake DESTDIR="${D}" install
-
-       keepdir /var/spool/jabber
-
-       newinitd "${FILESDIR}"/prosody.initd-r3 prosody
-
-       systemd_dounit "${FILESDIR}"/prosody.service
-       systemd_newtmpfilesd "${FILESDIR}"/prosody.tmpfilesd prosody.conf
-}

Reply via email to