summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Felisberto <humpback@gentoo.org>2006-03-04 02:30:04 +0000
committerGustavo Felisberto <humpback@gentoo.org>2006-03-04 02:30:04 +0000
commitf9cb4e87d3837ea033f134ee5fbb72cd34006e19 (patch)
treef9ca262a92ad251d1e84ff34784f108dc9a8ec58 /net-im/jabberd
parentupdate to 1.4.4 (diff)
downloadhistorical-f9cb4e87d3837ea033f134ee5fbb72cd34006e19.tar.gz
historical-f9cb4e87d3837ea033f134ee5fbb72cd34006e19.tar.bz2
historical-f9cb4e87d3837ea033f134ee5fbb72cd34006e19.zip
update to 1.4.4
Package-Manager: portage-2.1_pre5-r2
Diffstat (limited to 'net-im/jabberd')
-rw-r--r--net-im/jabberd/Manifest12
-rw-r--r--net-im/jabberd/files/digest-jabberd-1.4.46
-rw-r--r--net-im/jabberd/jabberd-1.4.4.ebuild123
3 files changed, 135 insertions, 6 deletions
diff --git a/net-im/jabberd/Manifest b/net-im/jabberd/Manifest
index 9ca494eb8811..0096ca420e01 100644
--- a/net-im/jabberd/Manifest
+++ b/net-im/jabberd/Manifest
@@ -1,6 +1,6 @@
-MD5 cc23c36484dce76f661e5d76c4694f86 ChangeLog 10152
-RMD160 6142ecd9d1cf6c6ff96005211fdbdeb656bb8116 ChangeLog 10152
-SHA256 f1e70d6f75028583ae9b54b80ccb5c00587dda1010e292e168e4d2d4aa94e14c ChangeLog 10152
+MD5 ae2d6aa973fc3780d6e73df556412288 ChangeLog 10365
+RMD160 3d034023de411b822586fcb9de31a3cd3b0334a7 ChangeLog 10365
+SHA256 bb79b177ded41ad9f9ced234acb31003c34215b1c65942eabaa4fb82fc952e1a ChangeLog 10365
MD5 1a325b6068e591bc222376a7d70f6e17 files/README.Gentoo 984
RMD160 cbaac3ea99a614c2155baad18a0a364a33d01ca1 files/README.Gentoo 984
SHA256 cb495c86769e5de3d070b98ba379f3a1d83936c3c509263bca34f2fdd78f3726 files/README.Gentoo 984
@@ -70,9 +70,9 @@ SHA256 0e32280f8d04636ab8c1f65258ee3aafeeb6f768a6ef8694b5c01aaefa70cf45 jabberd-
MD5 798d2dd93ed39fc9c20919226a8d51b1 jabberd-1.4.3-r5.ebuild 5844
RMD160 fbb8d5f1acd14506cb5c492104f2c597d48141db jabberd-1.4.3-r5.ebuild 5844
SHA256 0dd37505e8a27d4825756197c13f6693b6bda7c2d110a3a6f16e0720dd667078 jabberd-1.4.3-r5.ebuild 5844
-MD5 7318daa7eef13629afb3c6f29915677d jabberd-1.4.4.ebuild 3634
-RMD160 c90c7c0ee838f6de700a3da0075a470dab674553 jabberd-1.4.4.ebuild 3634
-SHA256 c7bf93df6b2c27a79d14180bece18c856ae17757e4ca395c6f8fb213d2c9ff64 jabberd-1.4.4.ebuild 3634
+MD5 865e98d371f08879f410554e3c6c3d70 jabberd-1.4.4.ebuild 4131
+RMD160 b6a98171b2e262f4e9807dc2e899bd80ca88d009 jabberd-1.4.4.ebuild 4131
+SHA256 587f64d7f8704f963b5f132e23ac51e3c9c86790014fa9eb240096e1f9d80b20 jabberd-1.4.4.ebuild 4131
MD5 fca62ce7966e503d26de97e498881323 jabberd-2.0.10.ebuild 3493
RMD160 c4277ffbc4c89fda31a7bd3e3b639b7784376787 jabberd-2.0.10.ebuild 3493
SHA256 e3ed8681a7cfbd8495cb4c6f7083fc75ab8bda3d06ce309ca6e70e460c894a60 jabberd-2.0.10.ebuild 3493
diff --git a/net-im/jabberd/files/digest-jabberd-1.4.4 b/net-im/jabberd/files/digest-jabberd-1.4.4
new file mode 100644
index 000000000000..9239dca0546d
--- /dev/null
+++ b/net-im/jabberd/files/digest-jabberd-1.4.4
@@ -0,0 +1,6 @@
+MD5 395f814a6627436ba7bd235509adcbc7 jabberd-1.4.4.tar.gz 613479
+RMD160 3273d0711fb6f0f6b95749d8bdb1ac5004aed074 jabberd-1.4.4.tar.gz 613479
+SHA256 72e23766e737588ed8d77ca7565a8f4b2bba73967c02e9b7ee4d2122d198a0af jabberd-1.4.4.tar.gz 613479
+MD5 373f0f780c725cc06c824e322fc694ff xdb_ldap-1.0.tar.gz 112204
+RMD160 2b8722d8990944105dacd4a73bc45c24a72ccdfa xdb_ldap-1.0.tar.gz 112204
+SHA256 fdcdc9b65a40aff8ca38ad27fad701d7692f0976eb6344f5deae317d00d0c5bd xdb_ldap-1.0.tar.gz 112204
diff --git a/net-im/jabberd/jabberd-1.4.4.ebuild b/net-im/jabberd/jabberd-1.4.4.ebuild
new file mode 100644
index 000000000000..ced2ab38eb26
--- /dev/null
+++ b/net-im/jabberd/jabberd-1.4.4.ebuild
@@ -0,0 +1,123 @@
+# Copyright 1999-2006 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.ebuild,v 1.1 2006/03/04 02:28:57 humpback Exp $
+
+inherit eutils
+
+S="${WORKDIR}/jabberd-${PV}"
+DESCRIPTION="Open Source Jabber Server"
+HOMEPAGE="http://www.jabber.org"
+SRC_URI="http://download.jabberd.org/jabberd14/${P}.tar.gz
+ ldap? ( http://www.jabberstudio.org/files/xdb_ldap/xdb_ldap-1.0.tar.gz )"
+
+SLOT="0"
+LICENSE="GPL-2"
+## Arches removed due to dependencie on jabber-base
+KEYWORDS="~amd64 ~x86"
+IUSE="ssl ldap ipv6 msn oscar yahoo icq mysql postgres"
+
+DEPEND="!net-im/jabber-server
+ net-im/jabber-base
+ >=dev-libs/pth-1.4.0
+ dev-libs/expat
+ ssl? ( >=dev-libs/openssl-0.9.6i )
+ ldap? ( =net-nds/openldap-2* )"
+
+PDEPEND="msn? ( net-im/pymsn-t )
+ oscar? ( net-im/aim-transport )
+ yahoo? ( net-im/yahoo-transport )
+ icq? ( net-im/jit )"
+
+pkg_setup() {
+
+ if use ldap ; then
+ ewarn "This is a test release and LDAP was been disabled"
+ ewarn "USE='-ldap' and try again"
+ die
+ fi
+
+ if use ipv6 ; then
+ ewarn "You are about to build with ipv6 support, if your system is not using ipv6"
+ ewarn "do control-c now and emerge with \"USE=-ipv6\" or add it to /etc/portage/package.use "
+ #epause 5
+ fi
+}
+
+src_unpack() {
+ unpack jabberd-${PV}.tar.gz
+ cd ${S}
+ #use ldap && unpack xdb_ldap-1.0.tar.gz
+ #mv jabberd/jabberd.c jabberd/jabberd.c.orig
+ #sed 's:pstrdup(jabberd__runtime,HOME):"/var/spool/jabber":' jabberd/jabberd.c.orig > jabberd/jabberd.c
+ #rm -f jabberd/jabberd.c.orig
+
+}
+
+src_compile() {
+ # These can cause problems with certain configure scripts used...
+ unset LC_ALL LC_CTYPE
+
+ local myconf
+ myconf=" --sysconfdir=/etc/jabber "
+ cd ${S}
+ use ssl && myconf="${myconf} --enable-ssl"
+ use ipv6 && myconf="${myconf} --enable-ipv6"
+ use mysql && myconf="$myconf --with-mysql"
+ use postgres && myconf="$myconf --with-postgresql"
+ echo ${myconf}
+ econf ${myconf} || die
+ make || die
+
+# if use ldap; then
+# cd ${S}/xdb_ldap/src
+# make all || die
+# fi
+}
+
+src_install() {
+
+ make DESTDIR=${D} install || die "make install failed"
+ dosed 's/\/var\/lib\/spool\/jabberd/\/var\/spool\/jabber/g' /etc/jabber/jabber.xml
+ dosed 's/\/var\/lib\/log\/jabberd/\/var\/log\/jabber/g' /etc/jabber/jabber.xml
+ dosed 's/\/var\/lib\/run\/jabberd/\/var\/run\/jabber/g' /etc/jabber/jabber.xml
+ dosed 's/\/var\/lib\/spool\/jabberd/\/var\/spool\/jabber/g' /etc/jabber/jabber.xml.dist
+ dosed 's/\/var\/lib\/log\/jabberd/\/var\/log\/jabber/g' /etc/jabber/jabber.xml.dist
+ dosed 's/\/var\/lib\/run\/jabberd/\/var\/run\/jabber/g' /etc/jabber/jabber.xml.dist
+ }
+
+pkg_postinst() {
+
+ einfo
+ einfo "Change 'localhost' to your server's domainname in the"
+ einfo "/etc/jabber/*.xml configs first"
+ einfo "Server admins should be added to the "jabber" group"
+ if use ssl; then
+ einfo
+ einfo "To enable SSL connections, execute /etc/jabber/self-cert.sh"
+ fi
+
+ #if use ldap; then
+ # einfo
+ # einfo "In order to use the ldap backend, you need to copy"
+ # einfo "the file /etc/jabber/jabber.schema into the /etc/openldap/schemas"
+ # einfo "directory on your ldap server. You will also need to"
+ # einfo "include the schema in your slapd.conf file and retsart openldap."
+ # einfo "An example slapd.conf file is included in /etc/jabber."
+ # einfo "The xdb_ldap backend expects your ldap server to handle"
+ # einfo "StartTLS or run in ldaps mode."
+ #fi
+ einfo
+ einfo "The various IM transports for jabber are now separate packages,"
+ einfo "which you will need to install separately if you want them:"
+ einfo "net-im/jit - ICQ transport (You can use aim-transport for icq but JIT is better)"
+ einfo "net-im/pymsn-t - MSN transport (USE=msn)"
+ einfo "net-im/jud - Jabber User Directory"
+ einfo "net-im/yahoo-transport - Yahoo IM system (USE=yahoo)"
+ einfo "net-im/aim-transport - AOL transport (USE=oscar)"
+ einfo "net-im/mu-conference - Jabber multi user conference"
+ einfo
+ einfo "Please read /usr/share/doc/${PF}/README.Gentoo.gz"
+ einfo
+ ewarn "If upgrading from older version please stop jabberd BEFORE updating the init.d"
+ ewarn "script, or you will end with a \"dead\" server."
+}