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, 13 Jan 2022 17:11:52
Message-Id: 1642093840.09efbc7cf7ecf85e974891d0f7cae1b264c736da.conikost@gentoo
1 commit: 09efbc7cf7ecf85e974891d0f7cae1b264c736da
2 Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jan 13 17:10:35 2022 +0000
4 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 13 17:10:40 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09efbc7c
7
8 net-im/prosody: drop 0.11.10, 0.11.11
9
10 Bug: https://bugs.gentoo.org/803590
11 Bug: https://bugs.gentoo.org/831140
12 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
13
14 net-im/prosody/Manifest | 2 -
15 net-im/prosody/prosody-0.11.10.ebuild | 102 ----------------------------------
16 net-im/prosody/prosody-0.11.11.ebuild | 102 ----------------------------------
17 3 files changed, 206 deletions(-)
18
19 diff --git a/net-im/prosody/Manifest b/net-im/prosody/Manifest
20 index d04f6a5349f4..33a949249744 100644
21 --- a/net-im/prosody/Manifest
22 +++ b/net-im/prosody/Manifest
23 @@ -1,3 +1 @@
24 -DIST prosody-0.11.10.tar.gz 438888 BLAKE2B 590f97f4eb8a333701eca516de3c3bcee9cf093267d2000af03b48d32396a1be21a0cf2f8ff542e7fbcb8419138bab5cf411f71b17666593559004a8a9674367 SHA512 419d8f8465f1807015f0a52d8f35ee89892b0869084dae38b60fc833d63c3d70892d8e59ae00039cd15e0e25f46d042954896f51f8c0520650a877f5296707cb
25 -DIST prosody-0.11.11.tar.gz 439395 BLAKE2B d9662ff9e5a767aaee86c2b0762249c702e755191359ee276f37019ac98fab52d75a23590f0c3a14f3bfde356cc2bd9802e842e1f1a7ea5da8ec3d034fa028a0 SHA512 eb9851e1b279bef894d556ca6bc6210d1cd55e0c02a9d475f74e6e6b4a2dfef704fd3de77b71cff97909925c48c60940c34cfb541e6f3801e23e90ea21d119a9
26 DIST prosody-0.11.12.tar.gz 439656 BLAKE2B 593bb24d7e84ed337e8d8a11b387ac50abd27ea62be0fd18e8c8441472c09565a6603ccb070250b620b3f50f4d1e33fad579f988e68250c083b8a9aa25a8e03b SHA512 cd03ee8b02ffaa478b5329d9942d833cfed2d8bf720bf580a2082d681e7d333bc34f45041cea7234bee75f1a0e7c07983a685fe2ac9b31d51a0dbb36e87ba5d2
27
28 diff --git a/net-im/prosody/prosody-0.11.10.ebuild b/net-im/prosody/prosody-0.11.10.ebuild
29 deleted file mode 100644
30 index a89c56614eb0..000000000000
31 --- a/net-im/prosody/prosody-0.11.10.ebuild
32 +++ /dev/null
33 @@ -1,102 +0,0 @@
34 -# Copyright 1999-2021 Gentoo Authors
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=7
38 -
39 -LUA_COMPAT=( lua5-{1..3} luajit )
40 -LUA_REQ_USE="deprecated(+)"
41 -
42 -inherit lua-single systemd tmpfiles toolchain-funcs
43 -
44 -DESCRIPTION="Prosody is a modern XMPP communication server"
45 -HOMEPAGE="https://prosody.im/"
46 -SRC_URI="https://prosody.im/downloads/source/${P}.tar.gz"
47 -
48 -LICENSE="MIT"
49 -SLOT="0"
50 -KEYWORDS="amd64 arm arm64 x86"
51 -IUSE="icu +idn +libevent mysql postgres selinux +sqlite +ssl test +zlib"
52 -REQUIRED_USE="
53 - ^^ ( icu idn )
54 - ${LUA_REQUIRED_USE}
55 -"
56 -RESTRICT="!test? ( test )"
57 -
58 -DEPEND="
59 - $(lua_gen_cond_dep 'dev-lua/luaexpat[${LUA_USEDEP}]')
60 - $(lua_gen_cond_dep 'dev-lua/luafilesystem[${LUA_USEDEP}]')
61 - $(lua_gen_cond_dep 'dev-lua/luasocket[${LUA_USEDEP}]')
62 - net-im/jabber-base
63 - icu? ( dev-libs/icu:= )
64 - idn? ( net-dns/libidn:= )
65 - libevent? ( $(lua_gen_cond_dep 'dev-lua/luaevent[${LUA_USEDEP}]') )
66 - dev-libs/openssl:0=
67 - lua_single_target_lua5-1? ( $(lua_gen_cond_dep 'dev-lua/lua-bit32[lua_targets_lua5-1(-)]') )
68 - mysql? ( $(lua_gen_cond_dep 'dev-lua/luadbi[mysql,${LUA_USEDEP}]') )
69 - postgres? ( $(lua_gen_cond_dep 'dev-lua/luadbi[postgres,${LUA_USEDEP}]') )
70 - sqlite? ( $(lua_gen_cond_dep 'dev-lua/luadbi[sqlite,${LUA_USEDEP}]') )
71 - ssl? ( $(lua_gen_cond_dep 'dev-lua/luasec[${LUA_USEDEP}]') )
72 - zlib? ( $(lua_gen_cond_dep 'dev-lua/lua-zlib[${LUA_USEDEP}]') )
73 - ${LUA_DEPS}
74 -"
75 -
76 -RDEPEND="
77 - ${DEPEND}
78 - selinux? ( sec-policy/selinux-jabber )
79 -"
80 -
81 -BDEPEND="
82 - virtual/pkgconfig
83 - test? ( $(lua_gen_cond_dep 'dev-lua/busted[${LUA_USEDEP}]') )
84 -"
85 -
86 -PATCHES=( "${FILESDIR}/${PN}-0.11.7-gentoo.patch" )
87 -
88 -src_prepare() {
89 - default
90 -
91 - # Set correct plugin path for optional net-im/prosody-modules package
92 - sed -e "s/GENTOO_LIBDIR/$(get_libdir)/g" -i prosody.cfg.lua.dist || die
93 -}
94 -
95 -src_configure() {
96 - local myeconfargs=(
97 - --add-cflags="${CFLAGS}"
98 - --add-ldflags="${LDFLAGS}"
99 - --c-compiler="$(tc-getCC)"
100 - --datadir="${EPREFIX}/var/spool/jabber"
101 - --idn-library="$(usex idn 'idn' 'icu')"
102 - --libdir="${EPREFIX}/usr/$(get_libdir)"
103 - --linker="$(tc-getCC)"
104 - --lua-version="$(usex lua_single_target_luajit '5.1' $(ver_cut 1-2 $(lua_get_version)))"
105 - --no-example-certs
106 - --ostype="linux"
107 - --prefix="${EPREFIX}/usr"
108 - --runwith="${ELUA}"
109 - --sysconfdir="${EPREFIX}/etc/jabber"
110 - --with-lua-include="${EPREFIX}/$(lua_get_include_dir)"
111 - --with-lua-lib="${EPREFIX}/$(lua_get_cmod_dir)"
112 - )
113 -
114 - # Since the configure script is handcrafted,
115 - # and yells at unknown options, do not use 'econf'.
116 - ./configure "${myeconfargs[@]}" || die
117 -
118 - rm makefile || die
119 - mv GNUmakefile Makefile || die
120 -}
121 -
122 -src_install() {
123 - default
124 -
125 - keepdir /var/spool/jabber
126 -
127 - newinitd "${FILESDIR}"/prosody.initd-r5 prosody
128 - systemd_newunit "${FILESDIR}"/prosody.service-r2 prosody.service
129 -
130 - newtmpfiles "${FILESDIR}"/prosody.tmpfilesd-r1 prosody.conf
131 -}
132 -
133 -pkg_postinst() {
134 - tmpfiles_process prosody.conf
135 -}
136
137 diff --git a/net-im/prosody/prosody-0.11.11.ebuild b/net-im/prosody/prosody-0.11.11.ebuild
138 deleted file mode 100644
139 index c8a34767663f..000000000000
140 --- a/net-im/prosody/prosody-0.11.11.ebuild
141 +++ /dev/null
142 @@ -1,102 +0,0 @@
143 -# Copyright 1999-2021 Gentoo Authors
144 -# Distributed under the terms of the GNU General Public License v2
145 -
146 -EAPI=8
147 -
148 -LUA_COMPAT=( lua5-{1..3} luajit )
149 -LUA_REQ_USE="deprecated(+)"
150 -
151 -inherit lua-single systemd tmpfiles toolchain-funcs
152 -
153 -DESCRIPTION="Prosody is a modern XMPP communication server"
154 -HOMEPAGE="https://prosody.im/"
155 -SRC_URI="https://prosody.im/downloads/source/${P}.tar.gz"
156 -
157 -LICENSE="MIT"
158 -SLOT="0"
159 -KEYWORDS="~amd64 ~arm ~arm64 ~x86"
160 -IUSE="icu +idn +libevent mysql postgres selinux +sqlite +ssl test +zlib"
161 -REQUIRED_USE="
162 - ^^ ( icu idn )
163 - ${LUA_REQUIRED_USE}
164 -"
165 -RESTRICT="!test? ( test )"
166 -
167 -DEPEND="
168 - $(lua_gen_cond_dep 'dev-lua/luaexpat[${LUA_USEDEP}]')
169 - $(lua_gen_cond_dep 'dev-lua/luafilesystem[${LUA_USEDEP}]')
170 - $(lua_gen_cond_dep 'dev-lua/luasocket[${LUA_USEDEP}]')
171 - net-im/jabber-base
172 - icu? ( dev-libs/icu:= )
173 - idn? ( net-dns/libidn:= )
174 - libevent? ( $(lua_gen_cond_dep 'dev-lua/luaevent[${LUA_USEDEP}]') )
175 - dev-libs/openssl:0=
176 - lua_single_target_lua5-1? ( $(lua_gen_cond_dep 'dev-lua/lua-bit32[lua_targets_lua5-1(-)]') )
177 - mysql? ( $(lua_gen_cond_dep 'dev-lua/luadbi[mysql,${LUA_USEDEP}]') )
178 - postgres? ( $(lua_gen_cond_dep 'dev-lua/luadbi[postgres,${LUA_USEDEP}]') )
179 - sqlite? ( $(lua_gen_cond_dep 'dev-lua/luadbi[sqlite,${LUA_USEDEP}]') )
180 - ssl? ( $(lua_gen_cond_dep 'dev-lua/luasec[${LUA_USEDEP}]') )
181 - zlib? ( $(lua_gen_cond_dep 'dev-lua/lua-zlib[${LUA_USEDEP}]') )
182 - ${LUA_DEPS}
183 -"
184 -
185 -RDEPEND="
186 - ${DEPEND}
187 - selinux? ( sec-policy/selinux-jabber )
188 -"
189 -
190 -BDEPEND="
191 - virtual/pkgconfig
192 - test? ( $(lua_gen_cond_dep 'dev-lua/busted[${LUA_USEDEP}]') )
193 -"
194 -
195 -PATCHES=( "${FILESDIR}/${PN}-0.11.7-gentoo.patch" )
196 -
197 -src_prepare() {
198 - default
199 -
200 - # Set correct plugin path for optional net-im/prosody-modules package
201 - sed -e "s/GENTOO_LIBDIR/$(get_libdir)/g" -i prosody.cfg.lua.dist || die
202 -}
203 -
204 -src_configure() {
205 - local myeconfargs=(
206 - --add-cflags="${CFLAGS}"
207 - --add-ldflags="${LDFLAGS}"
208 - --c-compiler="$(tc-getCC)"
209 - --datadir="${EPREFIX}/var/spool/jabber"
210 - --idn-library="$(usex idn 'idn' 'icu')"
211 - --libdir="${EPREFIX}/usr/$(get_libdir)"
212 - --linker="$(tc-getCC)"
213 - --lua-version="$(usex lua_single_target_luajit '5.1' $(ver_cut 1-2 $(lua_get_version)))"
214 - --no-example-certs
215 - --ostype="linux"
216 - --prefix="${EPREFIX}/usr"
217 - --runwith="${ELUA}"
218 - --sysconfdir="${EPREFIX}/etc/jabber"
219 - --with-lua-include="${EPREFIX}/$(lua_get_include_dir)"
220 - --with-lua-lib="${EPREFIX}/$(lua_get_cmod_dir)"
221 - )
222 -
223 - # Since the configure script is handcrafted,
224 - # and yells at unknown options, do not use 'econf'.
225 - ./configure "${myeconfargs[@]}" || die
226 -
227 - rm makefile || die
228 - mv GNUmakefile Makefile || die
229 -}
230 -
231 -src_install() {
232 - default
233 -
234 - keepdir /var/spool/jabber
235 -
236 - newinitd "${FILESDIR}"/prosody.initd-r5 prosody
237 - systemd_newunit "${FILESDIR}"/prosody.service-r2 prosody.service
238 -
239 - newtmpfiles "${FILESDIR}"/prosody.tmpfilesd-r1 prosody.conf
240 -}
241 -
242 -pkg_postinst() {
243 - tmpfiles_process prosody.conf
244 -}