Gentoo Archives: gentoo-commits

From: Conrad Kostecki <conikost@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/prosody/
Date: Sat, 03 Oct 2020 14:45:18
Message-Id: 1601736305.7edb860d7caae88a78232f5e4a143b40cfc49384.conikost@gentoo
1 commit: 7edb860d7caae88a78232f5e4a143b40cfc49384
2 Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 3 14:45:05 2020 +0000
4 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 3 14:45:05 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7edb860d
7
8 net-im/prosody: drop old version
9
10 Package-Manager: Portage-3.0.8, Repoman-3.0.1
11 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
12
13 net-im/prosody/prosody-0.11.5.ebuild | 72 ------------------------------------
14 1 file changed, 72 deletions(-)
15
16 diff --git a/net-im/prosody/prosody-0.11.5.ebuild b/net-im/prosody/prosody-0.11.5.ebuild
17 deleted file mode 100644
18 index bf394ef3fa2..00000000000
19 --- a/net-im/prosody/prosody-0.11.5.ebuild
20 +++ /dev/null
21 @@ -1,72 +0,0 @@
22 -# Copyright 1999-2020 Gentoo Authors
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI=7
26 -
27 -inherit multilib systemd toolchain-funcs
28 -
29 -DESCRIPTION="Prosody is a flexible communications server for Jabber/XMPP written in Lua"
30 -HOMEPAGE="https://prosody.im/"
31 -SRC_URI="https://prosody.im/downloads/source/${P}.tar.gz"
32 -
33 -LICENSE="MIT"
34 -SLOT="0"
35 -KEYWORDS="amd64 arm x86"
36 -IUSE="ipv6 jit libevent libressl mysql postgres sqlite ssl test zlib"
37 -RESTRICT="!test? ( test )"
38 -
39 -BASE_DEPEND="net-im/jabber-base
40 - dev-lua/LuaBitOp
41 - !jit? ( >=dev-lang/lua-5.1:0 )
42 - jit? ( dev-lang/luajit:2 )
43 - !libressl? ( dev-libs/openssl:0 )
44 - libressl? ( dev-libs/libressl:= )
45 - >=net-dns/libidn-1.1:="
46 -
47 -DEPEND="${BASE_DEPEND}
48 - test? ( dev-lua/busted )"
49 -
50 -RDEPEND="${BASE_DEPEND}
51 - >=dev-lua/luaexpat-1.3.0
52 - dev-lua/luafilesystem
53 - !ipv6? ( dev-lua/luasocket )
54 - ipv6? ( >=dev-lua/luasocket-3 )
55 - libevent? ( >=dev-lua/luaevent-0.4.3 )
56 - mysql? ( dev-lua/luadbi[mysql] )
57 - postgres? ( dev-lua/luadbi[postgres] )
58 - sqlite? ( dev-lua/luadbi[sqlite] )
59 - ssl? ( dev-lua/luasec )
60 - zlib? ( dev-lua/lua-zlib )"
61 -
62 -PATCHES=( "${FILESDIR}/${PN}-0.11.2-r1-gentoo.patch" )
63 -
64 -JABBER_ETC="/etc/jabber"
65 -JABBER_SPOOL="/var/spool/jabber"
66 -
67 -src_configure() {
68 - # the configure script is handcrafted (and yells at unknown options)
69 - # hence do not use 'econf'
70 - ./configure \
71 - --ostype=linux \
72 - --prefix="${EPREFIX}/usr" \
73 - --libdir="${EPREFIX}/usr/$(get_libdir)" \
74 - --sysconfdir="${EPREFIX}${JABBER_ETC}" \
75 - --datadir="${EPREFIX}${JABBER_SPOOL}" \
76 - --with-lua-include="${EPREFIX}/usr/include" \
77 - --with-lua-lib="${EPREFIX}/usr/$(get_libdir)/lua" \
78 - --runwith=lua"$(usev jit)" \
79 - --cflags="${CFLAGS} -Wall -fPIC" \
80 - --ldflags="${LDFLAGS} -shared" \
81 - --c-compiler="$(tc-getCC)" \
82 - --linker="$(tc-getCC)" || die "configure failed"
83 -
84 - rm makefile && mv GNUmakefile Makefile || die
85 -}
86 -
87 -src_install() {
88 - emake DESTDIR="${D}" install
89 - systemd_dounit "${FILESDIR}/${PN}".service
90 - systemd_newtmpfilesd "${FILESDIR}/${PN}".tmpfilesd "${PN}".conf
91 - newinitd "${FILESDIR}/${PN}".initd-r2 ${PN}
92 - keepdir "${JABBER_SPOOL}"
93 -}