1 |
djc 11/05/02 16:55:02 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: prosody-0.8.0-r1.ebuild |
5 |
Log: |
6 |
Add optional zlib dep (bug 360683). |
7 |
|
8 |
(Portage version: 2.1.9.46/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.6 net-im/prosody/metadata.xml |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/prosody/metadata.xml?rev=1.6&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/prosody/metadata.xml?rev=1.6&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/prosody/metadata.xml?r1=1.5&r2=1.6 |
16 |
|
17 |
Index: metadata.xml |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-im/prosody/metadata.xml,v |
20 |
retrieving revision 1.5 |
21 |
retrieving revision 1.6 |
22 |
diff -u -r1.5 -r1.6 |
23 |
--- metadata.xml 8 Apr 2011 17:41:27 -0000 1.5 |
24 |
+++ metadata.xml 2 May 2011 16:55:02 -0000 1.6 |
25 |
@@ -11,5 +11,6 @@ |
26 |
<use> |
27 |
<flag name="libevent">Use libevent for event handling</flag> |
28 |
<flag name="sql">Require dev-lua/luadbi for SQL storage plugins</flag> |
29 |
+ <flag name="zlib">Support for compressing XMPP streams with mod_compression</flag> |
30 |
</use> |
31 |
</pkgmetadata> |
32 |
|
33 |
|
34 |
|
35 |
1.12 net-im/prosody/ChangeLog |
36 |
|
37 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/prosody/ChangeLog?rev=1.12&view=markup |
38 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/prosody/ChangeLog?rev=1.12&content-type=text/plain |
39 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/prosody/ChangeLog?r1=1.11&r2=1.12 |
40 |
|
41 |
Index: ChangeLog |
42 |
=================================================================== |
43 |
RCS file: /var/cvsroot/gentoo-x86/net-im/prosody/ChangeLog,v |
44 |
retrieving revision 1.11 |
45 |
retrieving revision 1.12 |
46 |
diff -u -r1.11 -r1.12 |
47 |
--- ChangeLog 8 Apr 2011 17:43:04 -0000 1.11 |
48 |
+++ ChangeLog 2 May 2011 16:55:02 -0000 1.12 |
49 |
@@ -1,6 +1,11 @@ |
50 |
# ChangeLog for net-im/prosody |
51 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
52 |
-# $Header: /var/cvsroot/gentoo-x86/net-im/prosody/ChangeLog,v 1.11 2011/04/08 17:43:04 djc Exp $ |
53 |
+# $Header: /var/cvsroot/gentoo-x86/net-im/prosody/ChangeLog,v 1.12 2011/05/02 16:55:02 djc Exp $ |
54 |
+ |
55 |
+*prosody-0.8.0-r1 (02 May 2011) |
56 |
+ |
57 |
+ 02 May 2011; Dirkjan Ochtman <djc@g.o> +prosody-0.8.0-r1.ebuild: |
58 |
+ Add optional dependency on lua-zlib, for XMPP compression (bug 360683). |
59 |
|
60 |
08 Apr 2011; Dirkjan Ochtman <djc@g.o> -prosody-0.6.2.ebuild, |
61 |
-files/prosody-0.6.2-cfg.lua.patch: |
62 |
|
63 |
|
64 |
|
65 |
1.1 net-im/prosody/prosody-0.8.0-r1.ebuild |
66 |
|
67 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/prosody/prosody-0.8.0-r1.ebuild?rev=1.1&view=markup |
68 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/prosody/prosody-0.8.0-r1.ebuild?rev=1.1&content-type=text/plain |
69 |
|
70 |
Index: prosody-0.8.0-r1.ebuild |
71 |
=================================================================== |
72 |
# Copyright 1999-2011 Gentoo Foundation |
73 |
# Distributed under the terms of the GNU General Public License v2 |
74 |
# $Header: /var/cvsroot/gentoo-x86/net-im/prosody/prosody-0.8.0-r1.ebuild,v 1.1 2011/05/02 16:55:02 djc Exp $ |
75 |
|
76 |
EAPI="2" |
77 |
|
78 |
inherit eutils multilib toolchain-funcs versionator |
79 |
|
80 |
MY_PV=$(replace_version_separator 3 '') |
81 |
DESCRIPTION="Prosody is a flexible communications server for Jabber/XMPP written in Lua." |
82 |
HOMEPAGE="http://prosody.im/" |
83 |
SRC_URI="http://prosody.im/downloads/source/${PN}-${MY_PV}.tar.gz" |
84 |
|
85 |
LICENSE="MIT" |
86 |
SLOT="0" |
87 |
KEYWORDS="~amd64 ~x86" |
88 |
IUSE="libevent ssl sql zlib" |
89 |
|
90 |
DEPEND="net-im/jabber-base |
91 |
>=dev-lang/lua-5.1 |
92 |
>=net-dns/libidn-1.1 |
93 |
>=dev-libs/openssl-0.9.8" |
94 |
RDEPEND="${DEPEND} |
95 |
dev-lua/luasocket |
96 |
ssl? ( dev-lua/luasec ) |
97 |
dev-lua/luaexpat |
98 |
dev-lua/luafilesystem |
99 |
sql? ( >=dev-lua/luadbi-0.5 ) |
100 |
libevent? ( dev-lua/luaevent ) |
101 |
zlib? ( dev-lua/lua-zlib )" |
102 |
|
103 |
S="${WORKDIR}/${PN}-${MY_PV}" |
104 |
|
105 |
JABBER_ETC="/etc/jabber" |
106 |
JABBER_SPOOL="/var/spool/jabber" |
107 |
|
108 |
src_prepare() { |
109 |
epatch "${FILESDIR}/${PN}-${PV}-cfg.lua.patch" |
110 |
sed -i "s!MODULES = \$(DESTDIR)\$(PREFIX)/lib/!MODULES = \$(DESTDIR)\$(PREFIX)/$(get_libdir)/!" Makefile |
111 |
sed -i "s!SOURCE = \$(DESTDIR)\$(PREFIX)/lib/!SOURCE = \$(DESTDIR)\$(PREFIX)/$(get_libdir)/!" Makefile |
112 |
sed -i "s!INSTALLEDSOURCE = \$(PREFIX)/lib/!INSTALLEDSOURCE = \$(PREFIX)/$(get_libdir)/!" Makefile |
113 |
sed -i "s!INSTALLEDMODULES = \$(PREFIX)/lib/!INSTALLEDMODULES = \$(PREFIX)/$(get_libdir)/!" Makefile |
114 |
} |
115 |
|
116 |
src_configure() { |
117 |
# the configure script is handcrafted (and yells at unknown options) |
118 |
# hence do not use 'econf' |
119 |
./configure --prefix="/usr" \ |
120 |
--sysconfdir="${JABBER_ETC}" \ |
121 |
--datadir="${JABBER_SPOOL}" \ |
122 |
--with-lua-lib=/usr/$(get_libdir)/lua \ |
123 |
--c-compiler="$(tc-getCC)" --linker="$(tc-getCC)" \ |
124 |
--cflags="${CFLAGS} -Wall -fPIC" \ |
125 |
--ldflags="${LDFLAGS} -shared" \ |
126 |
--require-config || die "configure failed" |
127 |
} |
128 |
|
129 |
src_install() { |
130 |
DESTDIR="${D}" emake install || die "make failed" |
131 |
newinitd "${FILESDIR}/${PN}".initd ${PN} |
132 |
} |
133 |
|
134 |
src_test() { |
135 |
cd tests |
136 |
./run_tests.sh |
137 |
} |
138 |
|
139 |
pkg_postinst() { |
140 |
elog "Please note that the module 'console' has been renamed to 'admin_telnet'." |
141 |
} |