1 |
klausman 15/03/30 13:10:32 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: prosody-0.9.8.ebuild |
5 |
Log: |
6 |
Add v0.9.8 for bug 545048 |
7 |
|
8 |
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key CE5D54E8) |
9 |
|
10 |
Revision Changes Path |
11 |
1.49 net-im/prosody/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/prosody/ChangeLog?rev=1.49&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/prosody/ChangeLog?rev=1.49&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/prosody/ChangeLog?r1=1.48&r2=1.49 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-im/prosody/ChangeLog,v |
20 |
retrieving revision 1.48 |
21 |
retrieving revision 1.49 |
22 |
diff -u -r1.48 -r1.49 |
23 |
--- ChangeLog 2 Mar 2015 18:26:39 -0000 1.48 |
24 |
+++ ChangeLog 30 Mar 2015 13:10:32 -0000 1.49 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for net-im/prosody |
27 |
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-im/prosody/ChangeLog,v 1.48 2015/03/02 18:26:39 mrueg Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-im/prosody/ChangeLog,v 1.49 2015/03/30 13:10:32 klausman Exp $ |
30 |
+ |
31 |
+*prosody-0.9.8 (30 Mar 2015) |
32 |
+ |
33 |
+ 30 Mar 2015; Tobias Klausmann <klausman@g.o> +prosody-0.9.8.ebuild: |
34 |
+ Add v0.9.8 for bug 545048 |
35 |
|
36 |
02 Mar 2015; Manuel RĂ¼ger <mrueg@g.o> |
37 |
-files/prosody-0.8.0-cfg.lua.patch, -files/prosody.initd, |
38 |
|
39 |
|
40 |
|
41 |
1.1 net-im/prosody/prosody-0.9.8.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/prosody/prosody-0.9.8.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/prosody/prosody-0.9.8.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: prosody-0.9.8.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2015 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/net-im/prosody/prosody-0.9.8.ebuild,v 1.1 2015/03/30 13:10:32 klausman Exp $ |
51 |
|
52 |
EAPI=5 |
53 |
|
54 |
inherit flag-o-matic multilib systemd versionator |
55 |
|
56 |
MY_PV=$(replace_version_separator 3 '') |
57 |
MY_P="${PN}-${MY_PV}" |
58 |
DESCRIPTION="Prosody is a flexible communications server for Jabber/XMPP written in Lua" |
59 |
HOMEPAGE="http://prosody.im/" |
60 |
SRC_URI="http://prosody.im/tmp/${MY_PV}/${MY_P}.tar.gz" |
61 |
|
62 |
LICENSE="MIT" |
63 |
SLOT="0" |
64 |
KEYWORDS="~amd64 ~arm ~x86" |
65 |
IUSE="ipv6 libevent mysql postgres sqlite ssl zlib jit" |
66 |
|
67 |
DEPEND="net-im/jabber-base |
68 |
!jit? ( >=dev-lang/lua-5.1:0 ) |
69 |
jit? ( dev-lang/luajit:2 ) |
70 |
>=net-dns/libidn-1.1 |
71 |
dev-libs/openssl:0.9.8" |
72 |
RDEPEND="${DEPEND} |
73 |
>=dev-lua/luaexpat-1.3.0 |
74 |
dev-lua/luafilesystem |
75 |
ipv6? ( >=dev-lua/luasocket-3 ) |
76 |
!ipv6? ( dev-lua/luasocket ) |
77 |
libevent? ( >=dev-lua/luaevent-0.4.3 ) |
78 |
mysql? ( dev-lua/luadbi[mysql] ) |
79 |
postgres? ( dev-lua/luadbi[postgres] ) |
80 |
sqlite? ( dev-lua/luadbi[sqlite] ) |
81 |
ssl? ( dev-lua/luasec ) |
82 |
zlib? ( dev-lua/lua-zlib )" |
83 |
|
84 |
S=${WORKDIR}/${MY_P} |
85 |
|
86 |
JABBER_ETC="/etc/jabber" |
87 |
JABBER_SPOOL="/var/spool/jabber" |
88 |
|
89 |
src_prepare() { |
90 |
epatch "${FILESDIR}/${PN}-0.9.2-cfg.lua.patch" |
91 |
sed -i -e "s!MODULES = \$(DESTDIR)\$(PREFIX)/lib/!MODULES = \$(DESTDIR)\$(PREFIX)/$(get_libdir)/!"\ |
92 |
-e "s!SOURCE = \$(DESTDIR)\$(PREFIX)/lib/!SOURCE = \$(DESTDIR)\$(PREFIX)/$(get_libdir)/!"\ |
93 |
-e "s!INSTALLEDSOURCE = \$(PREFIX)/lib/!INSTALLEDSOURCE = \$(PREFIX)/$(get_libdir)/!"\ |
94 |
-e "s!INSTALLEDMODULES = \$(PREFIX)/lib/!INSTALLEDMODULES = \$(PREFIX)/$(get_libdir)/!"\ |
95 |
Makefile || die |
96 |
} |
97 |
|
98 |
src_configure() { |
99 |
# the configure script is handcrafted (and yells at unknown options) |
100 |
# hence do not use 'econf' |
101 |
append-cflags -D_GNU_SOURCE |
102 |
luajit="" |
103 |
if use jit; then |
104 |
luajit="--runwith=luajit" |
105 |
fi |
106 |
./configure \ |
107 |
--ostype=linux $luajit \ |
108 |
--prefix="/usr" \ |
109 |
--sysconfdir="${JABBER_ETC}" \ |
110 |
--datadir="${JABBER_SPOOL}" \ |
111 |
--with-lua-include=/usr/include \ |
112 |
--with-lua-lib=/usr/$(get_libdir)/lua \ |
113 |
--cflags="${CFLAGS} -Wall -fPIC" \ |
114 |
--ldflags="${LDFLAGS} -shared" \ |
115 |
--c-compiler="$(tc-getCC)" \ |
116 |
--linker="$(tc-getCC)" \ |
117 |
--require-config || die "configure failed" |
118 |
} |
119 |
|
120 |
src_install() { |
121 |
emake DESTDIR="${D}" install |
122 |
systemd_dounit "${FILESDIR}/${PN}".service |
123 |
systemd_newtmpfilesd "${FILESDIR}/${PN}".tmpfilesd "${PN}".conf |
124 |
newinitd "${FILESDIR}/${PN}".initd-r2 ${PN} |
125 |
} |
126 |
|
127 |
src_test() { |
128 |
cd tests || die |
129 |
./run_tests.sh || die |
130 |
} |