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