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: Sun, 16 May 2021 00:57:24
Message-Id: 1621126617.2992fce599930fda0a031eeab572bdcab1fcb7a1.conikost@gentoo
1 commit: 2992fce599930fda0a031eeab572bdcab1fcb7a1
2 Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
3 AuthorDate: Sun May 16 00:56:57 2021 +0000
4 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
5 CommitDate: Sun May 16 00:56:57 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2992fce5
7
8 net-im/prosody: drop old version
9
10 Bug: https://bugs.gentoo.org/789969
11 Package-Manager: Portage-3.0.18, Repoman-3.0.3
12 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
13
14 net-im/prosody/Manifest | 1 -
15 net-im/prosody/prosody-0.11.8.ebuild | 102 -----------------------------------
16 2 files changed, 103 deletions(-)
17
18 diff --git a/net-im/prosody/Manifest b/net-im/prosody/Manifest
19 index 06971cc7059..0df7e66655a 100644
20 --- a/net-im/prosody/Manifest
21 +++ b/net-im/prosody/Manifest
22 @@ -1,2 +1 @@
23 -DIST prosody-0.11.8.tar.gz 429762 BLAKE2B e7c945d0f99ed02cd54175f989241ee4731677600db39475365d3a4227afe2fa2b6f2075e3820fa9b7840d65014f43f786fa218a60765f7be319ddd7d30b67d4 SHA512 b0b7e1d3e41f47f0f88ad5b76444e4959b20f4c7a937f3cc605ba6ed5d92e713a3054dcb61ee6629063883a8f9ff1a03952893de4a0d840dcec4e5e42079eb57
24 DIST prosody-0.11.9.tar.gz 431647 BLAKE2B b6cf013a53c91675b50f601031b4843a826d011c4e06b06b27968413f4807a083811465b836531652fb47adc3bdb2ac82308a3c79953d80d6839ca23c669ab80 SHA512 fabbbbb1acb3de4ff01e3e8c6e9e4dc37cb161259f1649683a1f9d925ed9f1709e052bfc831cba3f1861a9cca599f2b725ee739bfcb57164d6f50ac07011b52a
25
26 diff --git a/net-im/prosody/prosody-0.11.8.ebuild b/net-im/prosody/prosody-0.11.8.ebuild
27 deleted file mode 100644
28 index a89c56614eb..00000000000
29 --- a/net-im/prosody/prosody-0.11.8.ebuild
30 +++ /dev/null
31 @@ -1,102 +0,0 @@
32 -# Copyright 1999-2021 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=7
36 -
37 -LUA_COMPAT=( lua5-{1..3} luajit )
38 -LUA_REQ_USE="deprecated(+)"
39 -
40 -inherit lua-single systemd tmpfiles toolchain-funcs
41 -
42 -DESCRIPTION="Prosody is a modern XMPP communication server"
43 -HOMEPAGE="https://prosody.im/"
44 -SRC_URI="https://prosody.im/downloads/source/${P}.tar.gz"
45 -
46 -LICENSE="MIT"
47 -SLOT="0"
48 -KEYWORDS="amd64 arm arm64 x86"
49 -IUSE="icu +idn +libevent mysql postgres selinux +sqlite +ssl test +zlib"
50 -REQUIRED_USE="
51 - ^^ ( icu idn )
52 - ${LUA_REQUIRED_USE}
53 -"
54 -RESTRICT="!test? ( test )"
55 -
56 -DEPEND="
57 - $(lua_gen_cond_dep 'dev-lua/luaexpat[${LUA_USEDEP}]')
58 - $(lua_gen_cond_dep 'dev-lua/luafilesystem[${LUA_USEDEP}]')
59 - $(lua_gen_cond_dep 'dev-lua/luasocket[${LUA_USEDEP}]')
60 - net-im/jabber-base
61 - icu? ( dev-libs/icu:= )
62 - idn? ( net-dns/libidn:= )
63 - libevent? ( $(lua_gen_cond_dep 'dev-lua/luaevent[${LUA_USEDEP}]') )
64 - dev-libs/openssl:0=
65 - lua_single_target_lua5-1? ( $(lua_gen_cond_dep 'dev-lua/lua-bit32[lua_targets_lua5-1(-)]') )
66 - mysql? ( $(lua_gen_cond_dep 'dev-lua/luadbi[mysql,${LUA_USEDEP}]') )
67 - postgres? ( $(lua_gen_cond_dep 'dev-lua/luadbi[postgres,${LUA_USEDEP}]') )
68 - sqlite? ( $(lua_gen_cond_dep 'dev-lua/luadbi[sqlite,${LUA_USEDEP}]') )
69 - ssl? ( $(lua_gen_cond_dep 'dev-lua/luasec[${LUA_USEDEP}]') )
70 - zlib? ( $(lua_gen_cond_dep 'dev-lua/lua-zlib[${LUA_USEDEP}]') )
71 - ${LUA_DEPS}
72 -"
73 -
74 -RDEPEND="
75 - ${DEPEND}
76 - selinux? ( sec-policy/selinux-jabber )
77 -"
78 -
79 -BDEPEND="
80 - virtual/pkgconfig
81 - test? ( $(lua_gen_cond_dep 'dev-lua/busted[${LUA_USEDEP}]') )
82 -"
83 -
84 -PATCHES=( "${FILESDIR}/${PN}-0.11.7-gentoo.patch" )
85 -
86 -src_prepare() {
87 - default
88 -
89 - # Set correct plugin path for optional net-im/prosody-modules package
90 - sed -e "s/GENTOO_LIBDIR/$(get_libdir)/g" -i prosody.cfg.lua.dist || die
91 -}
92 -
93 -src_configure() {
94 - local myeconfargs=(
95 - --add-cflags="${CFLAGS}"
96 - --add-ldflags="${LDFLAGS}"
97 - --c-compiler="$(tc-getCC)"
98 - --datadir="${EPREFIX}/var/spool/jabber"
99 - --idn-library="$(usex idn 'idn' 'icu')"
100 - --libdir="${EPREFIX}/usr/$(get_libdir)"
101 - --linker="$(tc-getCC)"
102 - --lua-version="$(usex lua_single_target_luajit '5.1' $(ver_cut 1-2 $(lua_get_version)))"
103 - --no-example-certs
104 - --ostype="linux"
105 - --prefix="${EPREFIX}/usr"
106 - --runwith="${ELUA}"
107 - --sysconfdir="${EPREFIX}/etc/jabber"
108 - --with-lua-include="${EPREFIX}/$(lua_get_include_dir)"
109 - --with-lua-lib="${EPREFIX}/$(lua_get_cmod_dir)"
110 - )
111 -
112 - # Since the configure script is handcrafted,
113 - # and yells at unknown options, do not use 'econf'.
114 - ./configure "${myeconfargs[@]}" || die
115 -
116 - rm makefile || die
117 - mv GNUmakefile Makefile || die
118 -}
119 -
120 -src_install() {
121 - default
122 -
123 - keepdir /var/spool/jabber
124 -
125 - newinitd "${FILESDIR}"/prosody.initd-r5 prosody
126 - systemd_newunit "${FILESDIR}"/prosody.service-r2 prosody.service
127 -
128 - newtmpfiles "${FILESDIR}"/prosody.tmpfilesd-r1 prosody.conf
129 -}
130 -
131 -pkg_postinst() {
132 - tmpfiles_process prosody.conf
133 -}