summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Pawlik <nelchael@gentoo.org>2008-06-09 20:22:03 +0000
committerKrzysztof Pawlik <nelchael@gentoo.org>2008-06-09 20:22:03 +0000
commitc5a12e0c0fe6d3b6db22fbd9de686b87daf588ef (patch)
treeea4b196348913099ed67f73c5ace349b29bbf5f8 /net-im/jabberd
parentDesktop entry for bug 225631 by Chris Mayo. (diff)
downloadhistorical-c5a12e0c0fe6d3b6db22fbd9de686b87daf588ef.tar.gz
historical-c5a12e0c0fe6d3b6db22fbd9de686b87daf588ef.tar.bz2
historical-c5a12e0c0fe6d3b6db22fbd9de686b87daf588ef.zip
Version bump, ebuild by Thomas Anderson <gentoofan23@gmail.com>, see bug #200616.
Package-Manager: portage-2.1.5.4
Diffstat (limited to 'net-im/jabberd')
-rw-r--r--net-im/jabberd/ChangeLog12
-rw-r--r--net-im/jabberd/Manifest21
-rw-r--r--net-im/jabberd/files/jabberd-1.6.1.1-gnutls2.2.patch45
-rw-r--r--net-im/jabberd/files/jabberd-1.6.1.1-parallel-make.patch11
-rw-r--r--net-im/jabberd/files/jabberd-1.6.1.1-sandbox.patch14
-rw-r--r--net-im/jabberd/jabberd-1.4.4-r3.ebuild4
-rw-r--r--net-im/jabberd/jabberd-1.6.1.1.ebuild102
-rw-r--r--net-im/jabberd/metadata.xml4
8 files changed, 207 insertions, 6 deletions
diff --git a/net-im/jabberd/ChangeLog b/net-im/jabberd/ChangeLog
index d7584510a2f3..eb6fff1ada3c 100644
--- a/net-im/jabberd/ChangeLog
+++ b/net-im/jabberd/ChangeLog
@@ -1,6 +1,16 @@
# ChangeLog for net-im/jabberd
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/jabberd/ChangeLog,v 1.103 2008/05/21 18:55:06 dev-zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/jabberd/ChangeLog,v 1.104 2008/06/09 20:22:03 nelchael Exp $
+
+*jabberd-1.6.1.1 (09 Jun 2008)
+
+ 09 Jun 2008; Krzysiek Pawlik <nelchael@gentoo.org>
+ +files/jabberd-1.6.1.1-gnutls2.2.patch,
+ +files/jabberd-1.6.1.1-parallel-make.patch,
+ +files/jabberd-1.6.1.1-sandbox.patch, metadata.xml,
+ jabberd-1.4.4-r3.ebuild, +jabberd-1.6.1.1.ebuild:
+ Version bump, ebuild by Thomas Anderson <gentoofan23@gmail.com>, see bug
+ #200616.
21 May 2008; Tiziano Müller <dev-zero@gentoo.org>
jabberd-1.4.4-r3.ebuild:
diff --git a/net-im/jabberd/Manifest b/net-im/jabberd/Manifest
index 27120d045cf9..c205b53b0e1e 100644
--- a/net-im/jabberd/Manifest
+++ b/net-im/jabberd/Manifest
@@ -1,3 +1,6 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX jabberd-1.4.4-crypt.patch 605 RMD160 62763a71dfeb13763cd6e2cb47a2ec36a942fd42 SHA1 3befde7962b643050e61d04bd87483ed192483a1 SHA256 0a96fea2745058546bada3b234be4a803df836ba2b65052737b000867e932eca
AUX jabberd-1.4.4-genhash.c-rev1253.patch 392 RMD160 e78d8a7edaaf65e2057c39ab5a564c926ea4b5d1 SHA1 abc212773b9d469c308bf57c6558f331c73f574d SHA256 f6c49a1e5a788c300c87912553b9d2ba4295c395c58b81bfac0bdce6d10a78ea
AUX jabberd-1.4.4-mio-bug-rev1291.patch 499 RMD160 7d50054ca0c3304d47b530a604c68d2e2b5d4c5f SHA1 6ae07090112cb9f4ba5d84e1ba798e20b59cb2bf SHA256 8aef4a6bedaeaad668b4df57a42dc3ece8ad7b91789dcff1e942af819b582841
@@ -6,7 +9,19 @@ AUX jabberd-1.4.4-str.c-rev1103.patch 302 RMD160 34d5de8b755b5029f91c02030308e90
AUX jabberd-1.4.4-xdb_file.c-rev1107.patch 539 RMD160 dbfca4d0801291f1b1c10e12ac4040d06a38006f SHA1 593fd01f2e0003aedf6714fc9e384da68e04b511 SHA256 6f532e7f792431072226fea8c032fa3463080b355325a7281317a2764ea6e245
AUX jabberd-1.4.4-xdb_sql.c-rev1211.patch 882 RMD160 48c9f7ad6f4c10c26c9aa89730434a3632de3f75 SHA1 8519d7920e75c3273efe766f3336c588808e0778 SHA256 5dda2f6b8c86b0b02d569f3436d2d0b23d352926649469b2f4041a94535a6c10
AUX jabberd-1.4.4.init 554 RMD160 83098dfae23a67267dffeb5609e572b501fa9a8e SHA1 630cd9c50c20a73992b9891051e02350f6abcba9 SHA256 769e4ee4e193a1d63fe4839f923fb2a6339489a677595ba75986e19cb1ba39ac
+AUX jabberd-1.6.1.1-gnutls2.2.patch 1698 RMD160 6b3a6a93b85baf477cd0502ec9aeb7cd96f19d23 SHA1 58512abfdb53c16dc598b3ca505da1573f8f3a35 SHA256 c678a2d0fe729ec3a7c6373fc6993b4fbc170c8516f375e3ed260492202535e3
+AUX jabberd-1.6.1.1-parallel-make.patch 483 RMD160 eeda213fec4e3861390d69e59dbb54c3cb4db3d7 SHA1 4dc316c5f36b5dc4f0d3eb09dce47038679db419 SHA256 37adc27da7cbce3c77eeb672a64697d3fd6bc51ababdc9269e20fa6e5d1a5f7c
+AUX jabberd-1.6.1.1-sandbox.patch 851 RMD160 5b9deb47807b22da49e2ca8d9090a10cab7788c3 SHA1 900824ef17fb4dee39e1d87b7e8b9466f19dacf5 SHA256 43e8ad8fa151578b6ec959c8d626c2204e563f54310343cb18c8b292f0891b4a
DIST jabberd-1.4.4.tar.gz 613479 RMD160 3273d0711fb6f0f6b95749d8bdb1ac5004aed074 SHA1 5fa5b561740720591997ed189609403af8c796c2 SHA256 72e23766e737588ed8d77ca7565a8f4b2bba73967c02e9b7ee4d2122d198a0af
-EBUILD jabberd-1.4.4-r3.ebuild 3112 RMD160 44a0910de96ae47b26dfe8b5daabce7532a64877 SHA1 02a4db4ae36636d73ecc75f0a97d33002ceee9b7 SHA256 4a2092b6b3e1e4e9d3c03719e89f7575d6dca6f7dad5c64b2518c08cbdc9ec29
-MISC ChangeLog 16609 RMD160 68801fd4aba48a656190a189982504933d1a6b3f SHA1 7d04a215aaf5de60644feb0caed0d4b6991654f6 SHA256 846a1b9caf669bea923ec73f6e67d4b61dc08454814b2490a430766308a9785a
-MISC metadata.xml 257 RMD160 ae6649dcd8bbf930b513b7ad8d8567e2ec46cfbb SHA1 1e455227ed8a4f14bc6be320f7e5bac7919adb35 SHA256 40ae7db9e0e108febaa253fd65ffa44fbc953ce7c27bc93857c89bc7127efc33
+DIST jabberd14-1.6.1.1.tar.gz 834112 RMD160 0d3df653b6362f8e580c59ae1b4c9c6467b0bee5 SHA1 8b7ba77c9e02e9de7125e898900ff0ba5d65986e SHA256 8bba7f8e8781a088679bdcf0e46348a29da45de3eec2421f73575c5a6b8ddc31
+EBUILD jabberd-1.4.4-r3.ebuild 3110 RMD160 a1102dcdf3d01026371fb2115c5dc5da2be9205b SHA1 dc4619e940e401e566e0019945b434483c09cbae SHA256 ed840e702645ee4a16671b81fa838796ef3a5b2c2ce0c505fcb09ce9c5f3bcf7
+EBUILD jabberd-1.6.1.1.ebuild 2905 RMD160 63e50041ad3a6fb2ad118f51412975e788d24743 SHA1 f25309b2601108ca0daebdb11bb058c32e91f00d SHA256 2886ec6d5f488a9c3744e38c009ec70fb71f1dff7e9dd188c4da08293357e675
+MISC ChangeLog 16975 RMD160 06015b28dd508e05075039e36f5e277818828a0b SHA1 cd2cd6690056e30a487607744e01bcc1ec9eec38 SHA256 7e1b574a22bc93f3ddafbf35062172266b0164f699b15ab8fddd3335ea2dd9d7
+MISC metadata.xml 356 RMD160 c6b59299af0271730bd5ceb8b3404544a46d73c7 SHA1 8e64780a4947ecb9570ba76e0eec179af92933c8 SHA256 906d14b7fe95cb8f2ce14ad50817c27b54b7430d7d469953991257ebdfdcee60
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.9 (GNU/Linux)
+
+iEYEARECAAYFAkhNkPAACgkQgo/w9rxVVVGIcwCgs8hMM9/NHyJuJBYk10/gYVL7
+NUQAoJOBIutDgvCIY4eCURKINfK9zR9s
+=M4yk
+-----END PGP SIGNATURE-----
diff --git a/net-im/jabberd/files/jabberd-1.6.1.1-gnutls2.2.patch b/net-im/jabberd/files/jabberd-1.6.1.1-gnutls2.2.patch
new file mode 100644
index 000000000000..ebf9eaa6a6c5
--- /dev/null
+++ b/net-im/jabberd/files/jabberd-1.6.1.1-gnutls2.2.patch
@@ -0,0 +1,45 @@
+--- jabberd/mio_tls.cc.orig 2008-03-06 10:21:01.669677189 +0100
++++ jabberd/mio_tls.cc 2008-03-06 10:35:04.744064592 +0100
+@@ -612,7 +612,7 @@
+ }
+
+ // load OpenPGP key/certificate
+- ret = gnutls_certificate_set_openpgp_key_file(current_credentials, pubfile, privfile);
++ ret = gnutls_certificate_set_openpgp_key_file(current_credentials, pubfile, privfile, GNUTLS_OPENPGP_FMT_BASE64);
+ if (ret < 0) {
+ log_error(NULL, "Error loading OpenPGP key pub=%s/priv=%s: %s", pubfile, privfile, gnutls_strerror(ret));
+ continue;
+@@ -631,7 +631,7 @@
+ }
+
+ // load the OpenPGP keyring
+- ret = gnutls_certificate_set_openpgp_keyring_file(current_credentials, file);
++ ret = gnutls_certificate_set_openpgp_keyring_file(current_credentials, file, GNUTLS_OPENPGP_FMT_BASE64);
+ if (ret < 0) {
+ log_error(NULL, "Error loading OpenPGP keyring %s: %s", file, gnutls_strerror(ret));
+ continue;
+@@ -640,23 +640,6 @@
+ continue;
+ }
+
+- // load GnuPG trustdb
+- if (j_strcmp(xmlnode_get_localname(cur), "trustdb") == 0) {
+- char const *const file = xmlnode_get_data(cur);
+-
+- if (file == NULL) {
+- log_warn(NULL, "Initializing TLS subsystem: <trustdb/> element inside the TLS configuration, that does not contain a file-name.");
+- continue;
+- }
+-
+- // load the GnuPG trustdb
+- ret = gnutls_certificate_set_openpgp_trustdb(current_credentials, file);
+- if (ret < 0) {
+- log_error(NULL, "Error loading GnuPG trustdb %s: %s", file, gnutls_strerror(ret));
+- continue;
+- }
+- }
+-
+ // setup protocols to use
+ if (j_strcmp(xmlnode_get_localname(cur), "protocols") == 0) {
+ char const *const protocols_data = xmlnode_get_data(cur);
+
diff --git a/net-im/jabberd/files/jabberd-1.6.1.1-parallel-make.patch b/net-im/jabberd/files/jabberd-1.6.1.1-parallel-make.patch
new file mode 100644
index 000000000000..36f9d3476717
--- /dev/null
+++ b/net-im/jabberd/files/jabberd-1.6.1.1-parallel-make.patch
@@ -0,0 +1,11 @@
+diff -aur jabberd14-1.6.1.1-orig/jabberd/Makefile.am jabberd14-1.6.1.1/jabberd/Makefile.am
+--- jabberd14-1.6.1.1-orig/jabberd/Makefile.am 2007-04-07 15:43:18.000000000 -0400
++++ jabberd14-1.6.1.1/jabberd/Makefile.am 2008-06-02 10:39:18.000000000 -0400
+@@ -6,7 +6,7 @@
+ jabberd_SOURCES = jabberd.cc
+
+ jabberd_LDADD = $(top_builddir)/jabberd/base/libjabberdbase.la \
+- $(top_builddir)/jabberd/libjabberd.la \
++ libjabberd.la \
+ -lpopt
+ jabberd_LDFLAGS = @LDFLAGS@ -export-dynamic
diff --git a/net-im/jabberd/files/jabberd-1.6.1.1-sandbox.patch b/net-im/jabberd/files/jabberd-1.6.1.1-sandbox.patch
new file mode 100644
index 000000000000..57440180b3c1
--- /dev/null
+++ b/net-im/jabberd/files/jabberd-1.6.1.1-sandbox.patch
@@ -0,0 +1,14 @@
+diff -ur jabberd14-1.6.1.1.orig/po/Makefile.in jabberd14-1.6.1.1.patched/po/Makefile.in
+--- jabberd14-1.6.1.1.orig/po/Makefile.in 2007-07-19 04:24:44.000000000 +0600
++++ jabberd14-1.6.1.1.patched/po/Makefile.in 2008-01-11 18:05:36.000000000 +0500
+@@ -335,8 +335,8 @@
+
+ install-data-hook:
+ -for f in $(LANGS); do \
+- test -z "$(localedir)/$${f%.po}/LC_MESSAGES" || $(mkdir_p) "$(localedir)/$${f%.po}/LC_MESSAGES"; \
+- msgfmt -o "$(localedir)/$${f%.po}/LC_MESSAGES/jabberd14.mo" $$f; \
++ test -z "$(DESTDIR)$(localedir)/$${f%.po}/LC_MESSAGES" || $(mkdir_p) "$(DESTDIR)$(localedir)/$${f%.po}/LC_MESSAGES"; \
++ msgfmt -o "$(DESTDIR)$(localedir)/$${f%.po}/LC_MESSAGES/jabberd14.mo" $$f; \
+ done
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
diff --git a/net-im/jabberd/jabberd-1.4.4-r3.ebuild b/net-im/jabberd/jabberd-1.4.4-r3.ebuild
index 9b3409383548..5808fe6f621b 100644
--- a/net-im/jabberd/jabberd-1.4.4-r3.ebuild
+++ b/net-im/jabberd/jabberd-1.4.4-r3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/jabberd/jabberd-1.4.4-r3.ebuild,v 1.17 2008/05/21 18:55:06 dev-zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/jabberd/jabberd-1.4.4-r3.ebuild,v 1.18 2008/06/09 20:22:03 nelchael Exp $
inherit eutils
@@ -36,7 +36,7 @@ pkg_setup() {
src_unpack() {
- unpack "${A}"
+ unpack ${A}
cd "${S}"
diff --git a/net-im/jabberd/jabberd-1.6.1.1.ebuild b/net-im/jabberd/jabberd-1.6.1.1.ebuild
new file mode 100644
index 000000000000..0caa9a7cdf92
--- /dev/null
+++ b/net-im/jabberd/jabberd-1.6.1.1.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-im/jabberd/jabberd-1.6.1.1.ebuild,v 1.1 2008/06/09 20:22:03 nelchael Exp $
+
+inherit eutils
+
+DESCRIPTION="Open-source Jabber server"
+HOMEPAGE="http://www.jabber.org"
+SRC_URI="http://download.jabberd.org/jabberd14/jabberd14-${PV}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86"
+IUSE="debug ipv6 mysql postgres ssl"
+
+RDEPEND=">=net-im/jabber-base-0.01
+ >=dev-libs/pth-1.4.0
+ dev-libs/expat
+ net-dns/libidn
+ mysql? ( virtual/mysql )
+ postgres? ( virtual/postgresql-server )
+ ssl? ( net-libs/gnutls )
+ dev-libs/popt"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ !net-im/jabberd2"
+
+S=${WORKDIR}/jabberd14-${PV}
+
+pkg_setup() {
+ if use ipv6; then
+ ewarn "Without full ipv6 support, jabberd will show the error:"
+ ewarn ' "mio unable to listen"'
+ ewarn "To fix this, emerge jabberd without the ipv6 USE flag."
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}/${P}-gnutls2.2.patch"
+ epatch "${FILESDIR}/${P}-sandbox.patch"
+ epatch "${FILESDIR}/${P}-parallel-make.patch"
+}
+
+src_compile() {
+ unset LC_ALL LC_CTYPE
+
+ # Broken configure script - can't use "use_enable"
+ local myconf=
+ use debug && myconf="${myconf} --enable-debug --enable-pool-debug"
+ use ipv6 && myconf="${myconf} --enable-ipv6"
+ use ssl && myconf="${myconf} --enable-ssl"
+
+ econf \
+ --sysconfdir=/etc/jabber \
+ ${myconf} \
+ $(use_with mysql) \
+ $(use_with postgres postgresql) \
+ || die "econf failed"
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "make install failed"
+
+ newinitd "${FILESDIR}"/${P}.init jabber || die "newinitd failed"
+
+ # net-im/jabber-base provides needed directories
+ rm -rf "${D}/var"
+ mv "${D}/etc/jabber/jabber.xml" "${D}/etc/jabber/jabberd.xml"
+ mv "${D}/etc/jabber/jabber.xml.dist" "${D}/etc/jabber/jabberd.xml.dist"
+
+ sed -i \
+ -e 's,/var/lib/spool/jabberd,/var/spool/jabber,g' \
+ -e 's,/var/lib/log/jabberd,/var/log/jabber,g' \
+ -e 's,/var/lib/run/jabberd,/var/run/jabber,g' \
+ -e 's,jabber.pid,jabberd14.pid,g' \
+ "${D}"/etc/jabber/jabberd.xml{,.dist} \
+ || die "sed failed"
+}
+
+pkg_postinst() {
+ echo
+ elog 'The various IM transports for jabber are now separate packages,'
+ elog 'which you will need to install separately if you want them:'
+ elog ' net-im/jit - ICQ transport'
+ elog ' net-im/pymsn-t - MSN transport'
+ elog ' net-im/jud - Jabber User Directory'
+ elog ' net-im/yahoo-transport - Yahoo IM system'
+ elog ' net-im/mu-conference - Jabber multi user conference'
+ echo
+ ewarn 'If upgrading from an older version, please stop jabberd BEFORE'
+ ewarn 'updating the init.d script, or you will end with a "dead" server.'
+ ewarn
+ ewarn 'The configuration filename has changed:'
+ ewarn ' Configure your server in /etc/jabber/jabberd.xml'
+ echo
+ ebeep
+}
diff --git a/net-im/jabberd/metadata.xml b/net-im/jabberd/metadata.xml
index ec8856b87718..eeae55170460 100644
--- a/net-im/jabberd/metadata.xml
+++ b/net-im/jabberd/metadata.xml
@@ -5,5 +5,9 @@
<email>nelchael@gentoo.org</email>
<name>Krzysiek Pawlik</name>
</maintainer>
+ <maintainer>
+ <email>gentoofan23@gmail.com</email>
+ <name>Thomas Anderson</name>
+ </maintainer>
<herd>net-im</herd>
</pkgmetadata>