1 |
commit: 2ba6fa209d05f5abc3c18017654e295e8a05fdf0 |
2 |
Author: Tobias Klausmann <klausman <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jan 17 14:18:50 2019 +0000 |
4 |
Commit: Tobias Klausmann <klausman <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jan 17 14:18:50 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ba6fa20 |
7 |
|
8 |
net-im/prosody: Add v0.11.2 and clean up older versions |
9 |
|
10 |
Note that 0.9 will stay around for a while, due to Lua compatibility. |
11 |
|
12 |
Package-Manager: Portage-2.3.56, Repoman-2.3.12 |
13 |
Signed-off-by: Tobias Klausmann <klausman <AT> gentoo.org> |
14 |
|
15 |
net-im/prosody/Manifest | 3 +- |
16 |
net-im/prosody/prosody-0.10.2.ebuild | 83 ---------------------- |
17 |
...sody-0.11.0-r1.ebuild => prosody-0.11.2.ebuild} | 12 ++-- |
18 |
3 files changed, 9 insertions(+), 89 deletions(-) |
19 |
|
20 |
diff --git a/net-im/prosody/Manifest b/net-im/prosody/Manifest |
21 |
index 98b2a1896d0..048bc0cc99b 100644 |
22 |
--- a/net-im/prosody/Manifest |
23 |
+++ b/net-im/prosody/Manifest |
24 |
@@ -1,4 +1,3 @@ |
25 |
-DIST prosody-0.10.2.tar.gz 331874 BLAKE2B 0e0af95a9168810263e6f60b825393d1088f69dba1faabf6c0c9dda3ef6b039a92f7edb9643cb9a60a3131a64038de5c3598f7076837b58ad196ac03fa98bfc4 SHA512 9fc05e34b45b0c16835ba94a73532fb3b4ee335f27d56bb9260e1b3e22614f89f44eb5d04b4e90d016db0b5bee6f5c7e7d099e1defb027e6823ee7667c1fe28f |
26 |
-DIST prosody-0.11.0.tar.gz 418710 BLAKE2B 2a9af1edbd77d3ef8f629ed5855a6638929bd0476d5245c0ef3ec6e2d840fda3a8b733bcfe35b7603057caa23576e0ec344d244d0c1678e28aa41badb75b6170 SHA512 292f555a25108716cd3ceb8ab39210bcb7f2fd113bd844092a51f68127e59b64ec76045740fd93edca8be2c1711a5fbab0f51a285f3ab78d36423a897ea667bf |
27 |
DIST prosody-0.11.1.tar.gz 418780 BLAKE2B 0fa45b71bb7eeaa60385683427c9547af3e014faa97dec409cc19e48bfd1b91fec7eb001fb14a86c9f3ce2c653ece2fdb113bba860cdc500cb164dd7749af6cc SHA512 6e25d2365d40582f57799bb08bf2673ba43270e8bcca5c5b785381380db55ec3ea6ab771fb9bd228bf265a564bb017dbfeae81713abd2de35a92704f8b8004ef |
28 |
+DIST prosody-0.11.2.tar.gz 420689 BLAKE2B 3abdab188f66d4eccb21d0981b57d5015605a1257074bbd67098a8624f40a11960fb65a7f56a7d1421a23bfffdb34635eeac5d013c4b7d7d957c51cdff2276c1 SHA512 22e55a551a40c92f38a1ed1de5fdcad574d699d58c2e27f93c3d465b55487b8e923c2ba088daf93c7140cbafb0d429687e0b662c8bb1c1aba4b79ac1ea271cd1 |
29 |
DIST prosody-0.9.14.tar.gz 268253 BLAKE2B 0ae62ca3c8eb89feb34f1f67aa3d14aa1e6bf02cf10ff90a43fd7de8bd257d70508e36b10b3f159040c1fa5dcfb6ad8018e3411a5d6042992f71f643a13c11d4 SHA512 30116ebc20c719d88bae7f2f44c129604ec4477004581c3556ff548c75ee026a83dc519701a61a8c3f547776ba74c571e38c3e1e5240da9148dad35a5d1f67e3 |
30 |
|
31 |
diff --git a/net-im/prosody/prosody-0.10.2.ebuild b/net-im/prosody/prosody-0.10.2.ebuild |
32 |
deleted file mode 100644 |
33 |
index de5ae8dcbe8..00000000000 |
34 |
--- a/net-im/prosody/prosody-0.10.2.ebuild |
35 |
+++ /dev/null |
36 |
@@ -1,83 +0,0 @@ |
37 |
-# Copyright 1999-2018 Gentoo Foundation |
38 |
-# Distributed under the terms of the GNU General Public License v2 |
39 |
- |
40 |
-EAPI=5 |
41 |
- |
42 |
-inherit flag-o-matic multilib systemd versionator |
43 |
- |
44 |
-MY_PV=$(replace_version_separator 3 '') |
45 |
-MY_P="${PN}-${MY_PV}" |
46 |
-DESCRIPTION="Prosody is a flexible communications server for Jabber/XMPP written in Lua" |
47 |
-HOMEPAGE="http://prosody.im/" |
48 |
-SRC_URI="http://prosody.im/tmp/${MY_PV}/${MY_P}.tar.gz" |
49 |
- |
50 |
-LICENSE="MIT" |
51 |
-SLOT="0" |
52 |
-KEYWORDS="~amd64 ~arm ~x86" |
53 |
-IUSE="ipv6 libevent mysql postgres sqlite ssl zlib jit libressl" |
54 |
- |
55 |
-DEPEND="net-im/jabber-base |
56 |
- dev-lua/LuaBitOp |
57 |
- !jit? ( >=dev-lang/lua-5.1:0 ) |
58 |
- jit? ( dev-lang/luajit:2 ) |
59 |
- >=net-dns/libidn-1.1 |
60 |
- !libressl? ( dev-libs/openssl:0 ) libressl? ( dev-libs/libressl:= )" |
61 |
-RDEPEND="${DEPEND} |
62 |
- >=dev-lua/luaexpat-1.3.0 |
63 |
- dev-lua/luafilesystem |
64 |
- ipv6? ( >=dev-lua/luasocket-3 ) |
65 |
- !ipv6? ( dev-lua/luasocket ) |
66 |
- libevent? ( >=dev-lua/luaevent-0.4.3 ) |
67 |
- mysql? ( dev-lua/luadbi[mysql] ) |
68 |
- postgres? ( dev-lua/luadbi[postgres] ) |
69 |
- sqlite? ( dev-lua/luadbi[sqlite] ) |
70 |
- ssl? ( dev-lua/luasec ) |
71 |
- zlib? ( dev-lua/lua-zlib )" |
72 |
- |
73 |
-S=${WORKDIR}/${MY_P} |
74 |
- |
75 |
-JABBER_ETC="/etc/jabber" |
76 |
-JABBER_SPOOL="/var/spool/jabber" |
77 |
- |
78 |
-src_prepare() { |
79 |
- epatch "${FILESDIR}/${PN}-0.10.0-cfg.lua.patch" |
80 |
- sed -i -e "s!MODULES = \$(DESTDIR)\$(PREFIX)/lib/!MODULES = \$(DESTDIR)\$(PREFIX)/$(get_libdir)/!"\ |
81 |
- -e "s!SOURCE = \$(DESTDIR)\$(PREFIX)/lib/!SOURCE = \$(DESTDIR)\$(PREFIX)/$(get_libdir)/!"\ |
82 |
- -e "s!INSTALLEDSOURCE = \$(PREFIX)/lib/!INSTALLEDSOURCE = \$(PREFIX)/$(get_libdir)/!"\ |
83 |
- -e "s!INSTALLEDMODULES = \$(PREFIX)/lib/!INSTALLEDMODULES = \$(PREFIX)/$(get_libdir)/!"\ |
84 |
- Makefile || die |
85 |
-} |
86 |
- |
87 |
-src_configure() { |
88 |
- # the configure script is handcrafted (and yells at unknown options) |
89 |
- # hence do not use 'econf' |
90 |
- append-cflags -D_GNU_SOURCE |
91 |
- luajit="" |
92 |
- if use jit; then |
93 |
- luajit="--runwith=luajit" |
94 |
- fi |
95 |
- ./configure \ |
96 |
- --ostype=linux $luajit \ |
97 |
- --prefix="${EPREFIX}/usr" \ |
98 |
- --libdir="${EPREFIX}/usr/lib64" \ |
99 |
- --sysconfdir="${JABBER_ETC}" \ |
100 |
- --datadir="${JABBER_SPOOL}" \ |
101 |
- --with-lua-include=/usr/include \ |
102 |
- --with-lua-lib=/usr/$(get_libdir)/lua \ |
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 |
-} |
115 |
- |
116 |
-src_test() { |
117 |
- cd tests || die |
118 |
- ./run_tests.sh || die |
119 |
-} |
120 |
|
121 |
diff --git a/net-im/prosody/prosody-0.11.0-r1.ebuild b/net-im/prosody/prosody-0.11.2.ebuild |
122 |
similarity index 91% |
123 |
rename from net-im/prosody/prosody-0.11.0-r1.ebuild |
124 |
rename to net-im/prosody/prosody-0.11.2.ebuild |
125 |
index eccd2e1da7b..00c0da2b978 100644 |
126 |
--- a/net-im/prosody/prosody-0.11.0-r1.ebuild |
127 |
+++ b/net-im/prosody/prosody-0.11.2.ebuild |
128 |
@@ -1,4 +1,4 @@ |
129 |
-# Copyright 1999-2018 Gentoo Authors |
130 |
+# Copyright 1999-2019 Gentoo Authors |
131 |
# Distributed under the terms of the GNU General Public License v2 |
132 |
|
133 |
EAPI=7 |
134 |
@@ -14,15 +14,19 @@ SRC_URI="https://prosody.im/tmp/${MY_PV}/${MY_P}.tar.gz" |
135 |
LICENSE="MIT" |
136 |
SLOT="0" |
137 |
KEYWORDS="~amd64 ~arm ~x86" |
138 |
-IUSE="ipv6 libevent mysql postgres sqlite ssl zlib jit libressl" |
139 |
+IUSE="ipv6 libevent mysql postgres sqlite ssl zlib jit libressl test" |
140 |
|
141 |
-DEPEND="net-im/jabber-base |
142 |
+BASE_DEPEND="net-im/jabber-base |
143 |
dev-lua/LuaBitOp |
144 |
!jit? ( >=dev-lang/lua-5.1:0 ) |
145 |
jit? ( dev-lang/luajit:2 ) |
146 |
>=net-dns/libidn-1.1:= |
147 |
!libressl? ( dev-libs/openssl:0 ) libressl? ( dev-libs/libressl:= )" |
148 |
-RDEPEND="${DEPEND} |
149 |
+ |
150 |
+DEPEND="${BASE_DEPEND} |
151 |
+ test? ( dev-lua/busted )" |
152 |
+ |
153 |
+RDEPEND="${BASE_DEPEND} |
154 |
>=dev-lua/luaexpat-1.3.0 |
155 |
dev-lua/luafilesystem |
156 |
ipv6? ( >=dev-lua/luasocket-3 ) |