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