summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorDirkjan Ochtman <djc@gentoo.org>2011-07-04 08:32:05 +0000
committerDirkjan Ochtman <djc@gentoo.org>2011-07-04 08:32:05 +0000
commitb1035cba71b22c9086e1c3e5380d5059cba15da4 (patch)
treec5ab2e24c0af10c1952de1085c0c0e2700099390 /net-im
parentVersion bump. Add static-libs USE flag. (diff)
downloadhistorical-b1035cba71b22c9086e1c3e5380d5059cba15da4.tar.gz
historical-b1035cba71b22c9086e1c3e5380d5059cba15da4.tar.bz2
historical-b1035cba71b22c9086e1c3e5380d5059cba15da4.zip
Version bump prosody to 0.8.2 (bug 373869).
Package-Manager: portage-2.1.10.4/cvs/Linux x86_64
Diffstat (limited to 'net-im')
-rw-r--r--net-im/prosody/ChangeLog7
-rw-r--r--net-im/prosody/Manifest12
-rw-r--r--net-im/prosody/prosody-0.8.2.ebuild72
3 files changed, 85 insertions, 6 deletions
diff --git a/net-im/prosody/ChangeLog b/net-im/prosody/ChangeLog
index df64dc2b008d..cad765bbf908 100644
--- a/net-im/prosody/ChangeLog
+++ b/net-im/prosody/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-im/prosody
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/prosody/ChangeLog,v 1.14 2011/06/06 11:44:26 djc Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/prosody/ChangeLog,v 1.15 2011/07/04 08:32:03 djc Exp $
+
+*prosody-0.8.2 (04 Jul 2011)
+
+ 04 Jul 2011; Dirkjan Ochtman <djc@gentoo.org> +prosody-0.8.2.ebuild:
+ Version bump to 0.8.2 (bug 373869).
06 Jun 2011; Dirkjan Ochtman <djc@gentoo.org> -prosody-0.7.0.ebuild,
-files/prosody-0.7.0-cfg.lua.patch, -prosody-0.8.0.ebuild:
diff --git a/net-im/prosody/Manifest b/net-im/prosody/Manifest
index 6d9e647c9eeb..4c0907826c19 100644
--- a/net-im/prosody/Manifest
+++ b/net-im/prosody/Manifest
@@ -1,18 +1,20 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
+Hash: SHA512
AUX prosody-0.8.0-cfg.lua.patch 1478 RMD160 afc3b4dcf038dc305d8e194d14cb3ce3e3384081 SHA1 aff62afc9ffdcc24d1319a96df59ffde3b214b4c SHA256 a09043584dbbe69812716204c83d4f901a25b5c51835b04f014386c8e8febb87
AUX prosody.initd 1148 RMD160 54de6d4b97600024cfd8624fa10240a1e0a430e8 SHA1 c75e361c36e27adc880517d02a0e3089f200fd97 SHA256 e520a55d4a10fc7fce24ce7b57e722846d2814e6726407acba606af519de19e8
DIST prosody-0.8.0.tar.gz 210945 RMD160 98817b1f40c6fd9ab402b70f73dae308e5990cdc SHA1 f20baab36bd2570825a24f49e0643cb9c2a65541 SHA256 0b9e39a6b555b4c848af288f27107e99b1480d9733556a2c9b3a9f249eba602d
DIST prosody-0.8.1.tar.gz 211970 RMD160 d0b357fb0a9e8ba77b0f45f6342172e262ec018b SHA1 7de714c019eca35346300c61d609ad2ce999b692 SHA256 6d6db07975f82adece05fb01fc6f448230d6b9c871d6f6d8259d68d4f2d72886
+DIST prosody-0.8.2.tar.gz 212170 RMD160 908a04f5daa7733c66ab4f09fd54fb52175cb70c SHA1 a029c4e69f6daaf3320061e69c9f86390d7e845a SHA256 d0315150f8487fc960adf56ce057985428679975f9c6f3fcf424832d24eaae60
EBUILD prosody-0.8.0-r1.ebuild 2140 RMD160 f54b4f389c80b5a2dd011d65efca27ac6a09556e SHA1 95d5bbdcd7c681f77812d05f5028eaf0489df551 SHA256 20416c80dd14398f39f099bbb3f8326e6b460954dea3bc57ac50c810d1062cb6
EBUILD prosody-0.8.1.ebuild 2254 RMD160 9ba2a070cbf9a5f7bf208404a623b2a068373bd0 SHA1 0600198b30ede5eb99558c138b7ee857cf17f913 SHA256 79154adb4483da2a115270490e0e12b1a7e6bef126485bad88585bb0f0cd636e
-MISC ChangeLog 2345 RMD160 febcc50926a2920e0e07582f7fb6d447ad04f864 SHA1 86c5651cc4873d41c21e16e41c6af172c8e762c7 SHA256 4ab8080fc0e92a3d4bf75d4f2292245a1d92f32207123dc9748d6deb4962393c
+EBUILD prosody-0.8.2.ebuild 2254 RMD160 a29ddbebd351fe79b00b73b0d54ae224729e3809 SHA1 1be9c26e5ea27942b6602d862d6b621870c9f5be SHA256 589de48410a43214fc3ce47908747983352c14852041793d436adbbefda07030
+MISC ChangeLog 2485 RMD160 2668fe517355d389bcb13ca8cbe1a052d1bd50b6 SHA1 fea21658370dcdd1e8ea471c81ec8679ee957767 SHA256 592e12387ebb96d3b7c10dc3fbc40e47f47fd9e06832539bfeb30aaca6093d6b
MISC metadata.xml 546 RMD160 047c855b9bf7a123aa9d005e7a78578fcd1201f6 SHA1 b619715c7a84415364db26824148076e6ccffec8 SHA256 09271ce5d626aa36c205cdda6ba157d7c5f9e0719d537e94b9ba3714bb11fd10
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iEYEARECAAYFAk3svbEACgkQxeMuLWsGW/vSWQCfdFpcUrIkfzaMh+mWWncnveTo
-q0YAn0rLQkqiJkYB0FRuvZXp5MuYesEB
-=t/pi
+iEYEAREKAAYFAk4Reo0ACgkQxeMuLWsGW/vZKQCdG3yjSHBYP++PN2AljRPbodyC
+oNEAoIq/rIVz9B03FJviFNMKOMAUK9Wc
+=WVXT
-----END PGP SIGNATURE-----
diff --git a/net-im/prosody/prosody-0.8.2.ebuild b/net-im/prosody/prosody-0.8.2.ebuild
new file mode 100644
index 000000000000..741380a5e31a
--- /dev/null
+++ b/net-im/prosody/prosody-0.8.2.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-im/prosody/prosody-0.8.2.ebuild,v 1.1 2011/07/04 08:32:05 djc Exp $
+
+EAPI="2"
+
+inherit eutils multilib toolchain-funcs versionator
+
+MY_PV=$(replace_version_separator 3 '')
+DESCRIPTION="Prosody is a flexible communications server for Jabber/XMPP written in Lua."
+HOMEPAGE="http://prosody.im/"
+SRC_URI="http://prosody.im/downloads/source/${PN}-${MY_PV}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="libevent mysql postgres sqlite ssl zlib"
+
+DEPEND="net-im/jabber-base
+ >=dev-lang/lua-5.1
+ >=net-dns/libidn-1.1
+ >=dev-libs/openssl-0.9.8"
+RDEPEND="${DEPEND}
+ dev-lua/luasocket
+ ssl? ( dev-lua/luasec )
+ dev-lua/luaexpat
+ dev-lua/luafilesystem
+ mysql? ( >=dev-lua/luadbi-0.5[mysql] )
+ postgres? ( >=dev-lua/luadbi-0.5[postgres] )
+ sqlite? ( >=dev-lua/luadbi-0.5[sqlite] )
+ libevent? ( dev-lua/luaevent )
+ zlib? ( dev-lua/lua-zlib )"
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+JABBER_ETC="/etc/jabber"
+JABBER_SPOOL="/var/spool/jabber"
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-0.8.0-cfg.lua.patch"
+ sed -i "s!MODULES = \$(DESTDIR)\$(PREFIX)/lib/!MODULES = \$(DESTDIR)\$(PREFIX)/$(get_libdir)/!" Makefile
+ sed -i "s!SOURCE = \$(DESTDIR)\$(PREFIX)/lib/!SOURCE = \$(DESTDIR)\$(PREFIX)/$(get_libdir)/!" Makefile
+ sed -i "s!INSTALLEDSOURCE = \$(PREFIX)/lib/!INSTALLEDSOURCE = \$(PREFIX)/$(get_libdir)/!" Makefile
+ sed -i "s!INSTALLEDMODULES = \$(PREFIX)/lib/!INSTALLEDMODULES = \$(PREFIX)/$(get_libdir)/!" Makefile
+}
+
+src_configure() {
+ # the configure script is handcrafted (and yells at unknown options)
+ # hence do not use 'econf'
+ ./configure --prefix="/usr" \
+ --sysconfdir="${JABBER_ETC}" \
+ --datadir="${JABBER_SPOOL}" \
+ --with-lua-lib=/usr/$(get_libdir)/lua \
+ --c-compiler="$(tc-getCC)" --linker="$(tc-getCC)" \
+ --cflags="${CFLAGS} -Wall -fPIC" \
+ --ldflags="${LDFLAGS} -shared" \
+ --require-config || die "configure failed"
+}
+
+src_install() {
+ DESTDIR="${D}" emake install || die "make failed"
+ newinitd "${FILESDIR}/${PN}".initd ${PN}
+}
+
+src_test() {
+ cd tests
+ ./run_tests.sh
+}
+
+pkg_postinst() {
+ elog "Please note that the module 'console' has been renamed to 'admin_telnet'."
+}