1 |
commit: 3405a35cb799d7c4b353bfd9d24b14c87986ee30 |
2 |
Author: Tobias Klausmann <klausman <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 5 14:40:32 2020 +0000 |
4 |
Commit: Tobias Klausmann <klausman <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 5 14:40:53 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3405a35c |
7 |
|
8 |
net-im/prosody: Clean up old versions |
9 |
|
10 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
11 |
Signed-off-by: Tobias Klausmann <klausman <AT> gentoo.org> |
12 |
|
13 |
net-im/prosody/Manifest | 2 - |
14 |
net-im/prosody/prosody-0.11.2-r1.ebuild | 88 --------------------------------- |
15 |
net-im/prosody/prosody-0.11.3.ebuild | 72 --------------------------- |
16 |
3 files changed, 162 deletions(-) |
17 |
|
18 |
diff --git a/net-im/prosody/Manifest b/net-im/prosody/Manifest |
19 |
index 529ff2ffbbe..a0adccc1337 100644 |
20 |
--- a/net-im/prosody/Manifest |
21 |
+++ b/net-im/prosody/Manifest |
22 |
@@ -1,3 +1 @@ |
23 |
-DIST prosody-0.11.2.tar.gz 420689 BLAKE2B 3abdab188f66d4eccb21d0981b57d5015605a1257074bbd67098a8624f40a11960fb65a7f56a7d1421a23bfffdb34635eeac5d013c4b7d7d957c51cdff2276c1 SHA512 22e55a551a40c92f38a1ed1de5fdcad574d699d58c2e27f93c3d465b55487b8e923c2ba088daf93c7140cbafb0d429687e0b662c8bb1c1aba4b79ac1ea271cd1 |
24 |
-DIST prosody-0.11.3.tar.gz 424098 BLAKE2B 58196234bced12ad84943763c48cdb6fa88b2bfd6390bf12d6bd0aec4f8905784ca5775d8fb55dc3ffe3bf22767742e2d62e859e3f2f9d08c65c9f8016036df0 SHA512 07239433c7c65184ca24d665c92b787ff9e4a5ee190ab90dede802ffd2cbd97855356d818858871e62284e9923f485b3468ab1baed5d3fb13aac0551a38967eb |
25 |
DIST prosody-0.11.5.tar.gz 425122 BLAKE2B d65720a0c9d533a4be70847b690ecf037ae4b2fcbd090c81e2346d515599f3f148061103df2ffe46122a55694a3d35d53ab2b379fb5fb317e3b84a0ff5e82c29 SHA512 43a9facee8d61b69e277e7e8a9091fbfa60be71d6141195dff991f6020c8afadacce26f356b869cb2d7edd9be285e9ce1bcd822f9628cc845d91757e818a0dff |
26 |
|
27 |
diff --git a/net-im/prosody/prosody-0.11.2-r1.ebuild b/net-im/prosody/prosody-0.11.2-r1.ebuild |
28 |
deleted file mode 100644 |
29 |
index 73982757b60..00000000000 |
30 |
--- a/net-im/prosody/prosody-0.11.2-r1.ebuild |
31 |
+++ /dev/null |
32 |
@@ -1,88 +0,0 @@ |
33 |
-# Copyright 1999-2020 Gentoo Authors |
34 |
-# Distributed under the terms of the GNU General Public License v2 |
35 |
- |
36 |
-EAPI=7 |
37 |
- |
38 |
-inherit flag-o-matic multilib systemd toolchain-funcs |
39 |
- |
40 |
-MY_PV=$(ver_rs 3 '') |
41 |
-MY_P="${PN}-${MY_PV}" |
42 |
-DESCRIPTION="Prosody is a flexible communications server for Jabber/XMPP written in Lua" |
43 |
-HOMEPAGE="https://prosody.im/" |
44 |
-SRC_URI="https://prosody.im/tmp/${MY_PV}/${MY_P}.tar.gz" |
45 |
- |
46 |
-LICENSE="MIT" |
47 |
-SLOT="0" |
48 |
-KEYWORDS="amd64 arm x86" |
49 |
-IUSE="ipv6 libevent mysql postgres sqlite ssl zlib jit libressl test" |
50 |
-RESTRICT="!test? ( test )" |
51 |
- |
52 |
-BASE_DEPEND="net-im/jabber-base |
53 |
- dev-lua/LuaBitOp |
54 |
- !jit? ( >=dev-lang/lua-5.1:0 ) |
55 |
- jit? ( dev-lang/luajit:2 ) |
56 |
- >=net-dns/libidn-1.1:= |
57 |
- !libressl? ( dev-libs/openssl:0 ) libressl? ( dev-libs/libressl:= )" |
58 |
- |
59 |
-DEPEND="${BASE_DEPEND} |
60 |
- test? ( dev-lua/busted )" |
61 |
- |
62 |
-RDEPEND="${BASE_DEPEND} |
63 |
- >=dev-lua/luaexpat-1.3.0 |
64 |
- dev-lua/luafilesystem |
65 |
- ipv6? ( >=dev-lua/luasocket-3 ) |
66 |
- !ipv6? ( dev-lua/luasocket ) |
67 |
- libevent? ( >=dev-lua/luaevent-0.4.3 ) |
68 |
- mysql? ( dev-lua/luadbi[mysql] ) |
69 |
- postgres? ( dev-lua/luadbi[postgres] ) |
70 |
- sqlite? ( dev-lua/luadbi[sqlite] ) |
71 |
- ssl? ( dev-lua/luasec ) |
72 |
- zlib? ( dev-lua/lua-zlib )" |
73 |
- |
74 |
-S=${WORKDIR}/${MY_P} |
75 |
- |
76 |
-JABBER_ETC="/etc/jabber" |
77 |
-JABBER_SPOOL="/var/spool/jabber" |
78 |
- |
79 |
-src_prepare() { |
80 |
- default |
81 |
- rm makefile && mv GNUmakefile Makefile || die |
82 |
- sed -i -e "s!MODULES = \$(DESTDIR)\$(PREFIX)/lib/!MODULES = \$(DESTDIR)\$(PREFIX)/$(get_libdir)/!"\ |
83 |
- -e "s!SOURCE = \$(DESTDIR)\$(PREFIX)/lib/!SOURCE = \$(DESTDIR)\$(PREFIX)/$(get_libdir)/!"\ |
84 |
- -e "s!INSTALLEDSOURCE = \$(PREFIX)/lib/!INSTALLEDSOURCE = \$(PREFIX)/$(get_libdir)/!"\ |
85 |
- -e "s!INSTALLEDMODULES = \$(PREFIX)/lib/!INSTALLEDMODULES = \$(PREFIX)/$(get_libdir)/!"\ |
86 |
- Makefile || die |
87 |
- eapply "${FILESDIR}/prosody_cfg-0.11.2-r1.patch" |
88 |
-} |
89 |
- |
90 |
-src_configure() { |
91 |
- # the configure script is handcrafted (and yells at unknown options) |
92 |
- # hence do not use 'econf' |
93 |
- append-cflags -D_GNU_SOURCE |
94 |
- ./configure \ |
95 |
- --ostype=linux \ |
96 |
- --prefix="${EPREFIX}/usr" \ |
97 |
- --libdir="${EPREFIX}/usr/$(get_libdir)" \ |
98 |
- --sysconfdir="${EPREFIX}/${JABBER_ETC}" \ |
99 |
- --datadir="${EPREFIX}/${JABBER_SPOOL}" \ |
100 |
- --with-lua-include="${EPREFIX}/usr/include" \ |
101 |
- --with-lua-lib="${EPREFIX}/usr/$(get_libdir)/lua" \ |
102 |
- --runwith=lua"$(usev jit)" \ |
103 |
- --cflags="${CFLAGS} -Wall -fPIC" \ |
104 |
- --ldflags="${LDFLAGS} -shared" \ |
105 |
- --c-compiler="$(tc-getCC)" \ |
106 |
- --linker="$(tc-getCC)" || die "configure failed" |
107 |
-} |
108 |
- |
109 |
-src_install() { |
110 |
- emake DESTDIR="${D}" install |
111 |
- systemd_dounit "${FILESDIR}/${PN}".service |
112 |
- systemd_newtmpfilesd "${FILESDIR}/${PN}".tmpfilesd "${PN}".conf |
113 |
- newinitd "${FILESDIR}/${PN}".initd-r2 ${PN} |
114 |
- keepdir "${JABBER_SPOOL}" |
115 |
-} |
116 |
- |
117 |
-pkg_postinst() { |
118 |
- elog "If you are using the MySQL backend, you need to update its schema:" |
119 |
- elog "https://prosody.im/doc/release/0.11.0#upgrade_notes" |
120 |
-} |
121 |
|
122 |
diff --git a/net-im/prosody/prosody-0.11.3.ebuild b/net-im/prosody/prosody-0.11.3.ebuild |
123 |
deleted file mode 100644 |
124 |
index 44d19c37079..00000000000 |
125 |
--- a/net-im/prosody/prosody-0.11.3.ebuild |
126 |
+++ /dev/null |
127 |
@@ -1,72 +0,0 @@ |
128 |
-# Copyright 1999-2020 Gentoo Authors |
129 |
-# Distributed under the terms of the GNU General Public License v2 |
130 |
- |
131 |
-EAPI=7 |
132 |
- |
133 |
-inherit multilib systemd toolchain-funcs |
134 |
- |
135 |
-DESCRIPTION="Prosody is a flexible communications server for Jabber/XMPP written in Lua" |
136 |
-HOMEPAGE="https://prosody.im/" |
137 |
-SRC_URI="https://prosody.im/downloads/source/${P}.tar.gz" |
138 |
- |
139 |
-LICENSE="MIT" |
140 |
-SLOT="0" |
141 |
-KEYWORDS="~amd64 ~arm ~x86" |
142 |
-IUSE="ipv6 jit libevent libressl mysql postgres sqlite ssl test zlib" |
143 |
-RESTRICT="!test? ( test )" |
144 |
- |
145 |
-BASE_DEPEND="net-im/jabber-base |
146 |
- dev-lua/LuaBitOp |
147 |
- !jit? ( >=dev-lang/lua-5.1:0 ) |
148 |
- jit? ( dev-lang/luajit:2 ) |
149 |
- !libressl? ( dev-libs/openssl:0 ) |
150 |
- libressl? ( dev-libs/libressl:= ) |
151 |
- >=net-dns/libidn-1.1:=" |
152 |
- |
153 |
-DEPEND="${BASE_DEPEND} |
154 |
- test? ( dev-lua/busted )" |
155 |
- |
156 |
-RDEPEND="${BASE_DEPEND} |
157 |
- >=dev-lua/luaexpat-1.3.0 |
158 |
- dev-lua/luafilesystem |
159 |
- !ipv6? ( dev-lua/luasocket ) |
160 |
- ipv6? ( >=dev-lua/luasocket-3 ) |
161 |
- libevent? ( >=dev-lua/luaevent-0.4.3 ) |
162 |
- mysql? ( dev-lua/luadbi[mysql] ) |
163 |
- postgres? ( dev-lua/luadbi[postgres] ) |
164 |
- sqlite? ( dev-lua/luadbi[sqlite] ) |
165 |
- ssl? ( dev-lua/luasec ) |
166 |
- zlib? ( dev-lua/lua-zlib )" |
167 |
- |
168 |
-PATCHES=("${FILESDIR}/prosody_cfg-0.11.2-r1.patch") |
169 |
- |
170 |
-JABBER_ETC="/etc/jabber" |
171 |
-JABBER_SPOOL="/var/spool/jabber" |
172 |
- |
173 |
-src_configure() { |
174 |
- # the configure script is handcrafted (and yells at unknown options) |
175 |
- # hence do not use 'econf' |
176 |
- ./configure \ |
177 |
- --ostype=linux \ |
178 |
- --prefix="${EPREFIX}/usr" \ |
179 |
- --libdir="${EPREFIX}/usr/$(get_libdir)" \ |
180 |
- --sysconfdir="${EPREFIX}${JABBER_ETC}" \ |
181 |
- --datadir="${EPREFIX}${JABBER_SPOOL}" \ |
182 |
- --with-lua-include="${EPREFIX}/usr/include" \ |
183 |
- --with-lua-lib="${EPREFIX}/usr/$(get_libdir)/lua" \ |
184 |
- --runwith=lua"$(usev jit)" \ |
185 |
- --cflags="${CFLAGS} -Wall -fPIC" \ |
186 |
- --ldflags="${LDFLAGS} -shared" \ |
187 |
- --c-compiler="$(tc-getCC)" \ |
188 |
- --linker="$(tc-getCC)" || die "configure failed" |
189 |
- |
190 |
- rm makefile && mv GNUmakefile Makefile || die |
191 |
-} |
192 |
- |
193 |
-src_install() { |
194 |
- emake DESTDIR="${D}" install |
195 |
- systemd_dounit "${FILESDIR}/${PN}".service |
196 |
- systemd_newtmpfilesd "${FILESDIR}/${PN}".tmpfilesd "${PN}".conf |
197 |
- newinitd "${FILESDIR}/${PN}".initd-r2 ${PN} |
198 |
- keepdir "${JABBER_SPOOL}" |
199 |
-} |