summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--net-im/jabberd/Manifest8
-rw-r--r--net-im/jabberd/jabberd-2.1.11-r2.ebuild2
2 files changed, 5 insertions, 5 deletions
diff --git a/net-im/jabberd/Manifest b/net-im/jabberd/Manifest
index c0bfa66..dcb42ef 100644
--- a/net-im/jabberd/Manifest
+++ b/net-im/jabberd/Manifest
@@ -1,28 +1,28 @@
1AUX jabberd-2.1.11-r2.patch 11284 RMD160 192d97ba890c98969beedfba7bfad844228dee97 SHA1 97e9bf1a2f9a1b3c89a67440b4cd14cf7e571b50 SHA256 f8ac88a98f1f61bcd0f704209f9b4d507bd324380d38774a34c0246f519b4094 1AUX jabberd-2.1.11-r2.patch 11284 RMD160 192d97ba890c98969beedfba7bfad844228dee97 SHA1 97e9bf1a2f9a1b3c89a67440b4cd14cf7e571b50 SHA256 f8ac88a98f1f61bcd0f704209f9b4d507bd324380d38774a34c0246f519b4094
2MD5 bd174b5023d99250951271bd7f6b7d42 files/jabberd-2.1.11-r2.patch 11284 2MD5 bd174b5023d99250951271bd7f6b7d42 files/jabberd-2.1.11-r2.patch 11284
3RMD160 192d97ba890c98969beedfba7bfad844228dee97 files/jabberd-2.1.11-r2.patch 11284 3RMD160 192d97ba890c98969beedfba7bfad844228dee97 files/jabberd-2.1.11-r2.patch 11284
4SHA256 f8ac88a98f1f61bcd0f704209f9b4d507bd324380d38774a34c0246f519b4094 files/jabberd-2.1.11-r2.patch 11284 4SHA256 f8ac88a98f1f61bcd0f704209f9b4d507bd324380d38774a34c0246f519b4094 files/jabberd-2.1.11-r2.patch 11284
5AUX jabberd-2.1.11.init 1404 RMD160 d93784cc30f573f20cd411a1a18578db46121b26 SHA1 ce0e735adbf539c809568aa2c1d3ee49f565600c SHA256 e9d004e8d83cc59f964b49c44aaf64445593ba8157d4b51df83e5e50f4625094 5AUX jabberd-2.1.11.init 1404 RMD160 d93784cc30f573f20cd411a1a18578db46121b26 SHA1 ce0e735adbf539c809568aa2c1d3ee49f565600c SHA256 e9d004e8d83cc59f964b49c44aaf64445593ba8157d4b51df83e5e50f4625094
6MD5 eacd752c3b8eb5f2d4914ca8b3580893 files/jabberd-2.1.11.init 1404 6MD5 eacd752c3b8eb5f2d4914ca8b3580893 files/jabberd-2.1.11.init 1404
7RMD160 d93784cc30f573f20cd411a1a18578db46121b26 files/jabberd-2.1.11.init 1404 7RMD160 d93784cc30f573f20cd411a1a18578db46121b26 files/jabberd-2.1.11.init 1404
8SHA256 e9d004e8d83cc59f964b49c44aaf64445593ba8157d4b51df83e5e50f4625094 files/jabberd-2.1.11.init 1404 8SHA256 e9d004e8d83cc59f964b49c44aaf64445593ba8157d4b51df83e5e50f4625094 files/jabberd-2.1.11.init 1404
9AUX jabberd-2.1.11.pamd 158 RMD160 3143cb1689fbebb51c0d72fa4c6b79ee9c015185 SHA1 5a95607d50b470107e9a0556fb4591688faff02c SHA256 eba4b5cc68b3dd327cfa1afdadbe5adf6d9383f4c79c7661169a4339e40b9a7b 9AUX jabberd-2.1.11.pamd 158 RMD160 3143cb1689fbebb51c0d72fa4c6b79ee9c015185 SHA1 5a95607d50b470107e9a0556fb4591688faff02c SHA256 eba4b5cc68b3dd327cfa1afdadbe5adf6d9383f4c79c7661169a4339e40b9a7b
10MD5 ab77cef855566260d6a779d8d77bc78c files/jabberd-2.1.11.pamd 158 10MD5 ab77cef855566260d6a779d8d77bc78c files/jabberd-2.1.11.pamd 158
11RMD160 3143cb1689fbebb51c0d72fa4c6b79ee9c015185 files/jabberd-2.1.11.pamd 158 11RMD160 3143cb1689fbebb51c0d72fa4c6b79ee9c015185 files/jabberd-2.1.11.pamd 158
12SHA256 eba4b5cc68b3dd327cfa1afdadbe5adf6d9383f4c79c7661169a4339e40b9a7b files/jabberd-2.1.11.pamd 158 12SHA256 eba4b5cc68b3dd327cfa1afdadbe5adf6d9383f4c79c7661169a4339e40b9a7b files/jabberd-2.1.11.pamd 158
13DIST jabberd-2.1.11.tar.bz2 1034039 RMD160 540f9f510351c369938005acb7013ea41d77f5b8 SHA1 528df89fd1fc638590811bb4f14b2d0d8a498a56 SHA256 e99a70102896ce28e5e427234ddaa852aacd8a38700264741a40f5781919bea8 13DIST jabberd-2.1.11.tar.bz2 1034039 RMD160 540f9f510351c369938005acb7013ea41d77f5b8 SHA1 528df89fd1fc638590811bb4f14b2d0d8a498a56 SHA256 e99a70102896ce28e5e427234ddaa852aacd8a38700264741a40f5781919bea8
14EBUILD jabberd-2.1.11-r2.ebuild 2931 RMD160 b853d8d199905d0048a856765aeae27f982453ff SHA1 b0e7159bd13439320fdc4d72c0fe5e4ee8dac6bd SHA256 aa07d173367d7509a04f6482f29c36b9878956fc0542cd65dd539962c97079cb 14EBUILD jabberd-2.1.11-r2.ebuild 2930 RMD160 5f53bb429650ebdc81c6fd25618121de8036406a SHA1 43e51788a3da14b705ea78a0c02f607cc00e7357 SHA256 8bc10b027b4b8c557d685185cdb71be72abf034894c7f577881debf0e4ae16b4
15MD5 38355a04b1112de9d828ba25118a87ad jabberd-2.1.11-r2.ebuild 2931 15MD5 ecef6493af197772e7562fed09342ba1 jabberd-2.1.11-r2.ebuild 2930
16RMD160 b853d8d199905d0048a856765aeae27f982453ff jabberd-2.1.11-r2.ebuild 2931 16RMD160 5f53bb429650ebdc81c6fd25618121de8036406a jabberd-2.1.11-r2.ebuild 2930
17SHA256 aa07d173367d7509a04f6482f29c36b9878956fc0542cd65dd539962c97079cb jabberd-2.1.11-r2.ebuild 2931 17SHA256 8bc10b027b4b8c557d685185cdb71be72abf034894c7f577881debf0e4ae16b4 jabberd-2.1.11-r2.ebuild 2930
18MISC ChangeLog 15464 RMD160 bac8facc410dced776f4b5d9f0c4b051100f9409 SHA1 2ed0d2fa838de3b4e1d720f577116af6eba842ec SHA256 7ea8ffdf9c099ca3fc43ccb381100ce6b519de8f6bb582305535491373fb8830 18MISC ChangeLog 15464 RMD160 bac8facc410dced776f4b5d9f0c4b051100f9409 SHA1 2ed0d2fa838de3b4e1d720f577116af6eba842ec SHA256 7ea8ffdf9c099ca3fc43ccb381100ce6b519de8f6bb582305535491373fb8830
19MD5 e71dbcd3a38fc84fc22dac39a6019359 ChangeLog 15464 19MD5 e71dbcd3a38fc84fc22dac39a6019359 ChangeLog 15464
20RMD160 bac8facc410dced776f4b5d9f0c4b051100f9409 ChangeLog 15464 20RMD160 bac8facc410dced776f4b5d9f0c4b051100f9409 ChangeLog 15464
21SHA256 7ea8ffdf9c099ca3fc43ccb381100ce6b519de8f6bb582305535491373fb8830 ChangeLog 15464 21SHA256 7ea8ffdf9c099ca3fc43ccb381100ce6b519de8f6bb582305535491373fb8830 ChangeLog 15464
22MISC metadata.xml 399 RMD160 e223c713f74619996bc47a70298aa535f6addf09 SHA1 dc9bc290a5ed00f7101aabd3a40b346112eb40eb SHA256 f68b0864864ad54de5cf072835fc9903e709987261ad1fc102afb0019aa52377 22MISC metadata.xml 399 RMD160 e223c713f74619996bc47a70298aa535f6addf09 SHA1 dc9bc290a5ed00f7101aabd3a40b346112eb40eb SHA256 f68b0864864ad54de5cf072835fc9903e709987261ad1fc102afb0019aa52377
23MD5 be8887bde84aab1d4ff9d5a0f5d50141 metadata.xml 399 23MD5 be8887bde84aab1d4ff9d5a0f5d50141 metadata.xml 399
24RMD160 e223c713f74619996bc47a70298aa535f6addf09 metadata.xml 399 24RMD160 e223c713f74619996bc47a70298aa535f6addf09 metadata.xml 399
25SHA256 f68b0864864ad54de5cf072835fc9903e709987261ad1fc102afb0019aa52377 metadata.xml 399 25SHA256 f68b0864864ad54de5cf072835fc9903e709987261ad1fc102afb0019aa52377 metadata.xml 399
26MD5 c07f7b9a6581fa2f5ea895378ce7f7de files/digest-jabberd-2.1.11-r2 250 26MD5 c07f7b9a6581fa2f5ea895378ce7f7de files/digest-jabberd-2.1.11-r2 250
27RMD160 cb7aaed13753b29cc9f5a1bce8487647ae3a39f2 files/digest-jabberd-2.1.11-r2 250 27RMD160 cb7aaed13753b29cc9f5a1bce8487647ae3a39f2 files/digest-jabberd-2.1.11-r2 250
28SHA256 6d1563e8ca5a90c87768d01e273bfd6cfbe11c93ff70249fb71eeb074b090a39 files/digest-jabberd-2.1.11-r2 250 28SHA256 6d1563e8ca5a90c87768d01e273bfd6cfbe11c93ff70249fb71eeb074b090a39 files/digest-jabberd-2.1.11-r2 250
diff --git a/net-im/jabberd/jabberd-2.1.11-r2.ebuild b/net-im/jabberd/jabberd-2.1.11-r2.ebuild
index 9445d07..b1bf9f4 100644
--- a/net-im/jabberd/jabberd-2.1.11-r2.ebuild
+++ b/net-im/jabberd/jabberd-2.1.11-r2.ebuild
@@ -1,110 +1,110 @@
1# Copyright 1999-2007 Gentoo Foundation 1# Copyright 1999-2007 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: $ 3# $Header: $
4 4
5WANT_AUTOCONF="lastest" 5WANT_AUTOCONF="latest"
6WANT_AUTOMAKE="none" 6WANT_AUTOMAKE="none"
7inherit pam eutils postgresql autotools 7inherit pam eutils postgresql autotools
8 8
9DESCRIPTION="Open Source Jabber Server" 9DESCRIPTION="Open Source Jabber Server"
10HOMEPAGE="http://jabberd2.xiaoka.com/" 10HOMEPAGE="http://jabberd2.xiaoka.com/"
11SRC_URI="http://ftp.xiaoka.com/${PN}2/releases/${P}.tar.bz2" 11SRC_URI="http://ftp.xiaoka.com/${PN}2/releases/${P}.tar.bz2"
12 12
13SLOT="0" 13SLOT="0"
14LICENSE="GPL-2" 14LICENSE="GPL-2"
15KEYWORDS="~amd64 ~ppc ~sparc ~x86" 15KEYWORDS="~amd64 ~ppc ~sparc ~x86"
16IUSE="debug memdebug ldap mysql pam pipe postgres sqlite ssl berkdb anon fs" 16IUSE="debug memdebug ldap mysql pam pipe postgres sqlite ssl berkdb anon fs"
17 17
18RDEPEND=">=net-im/jabber-base-0.01 18RDEPEND=">=net-im/jabber-base-0.01
19 ssl? ( >=dev-libs/openssl-0.9.6b ) 19 ssl? ( >=dev-libs/openssl-0.9.6b )
20 idn? ( net-dns/libidn ) 20 idn? ( net-dns/libidn )
21 ldap? ( net-nds/openldap ) 21 ldap? ( net-nds/openldap )
22 berkdb? ( >=sys-libs/db-4.1.25 ) 22 berkdb? ( >=sys-libs/db-4.1.25 )
23 mysql? ( virtual/mysql ) 23 mysql? ( virtual/mysql )
24 postgres? ( virtual/postgresql-libs ) 24 postgres? ( virtual/postgresql-libs )
25 sqlite? ( =dev-db/sqlite-3* ) 25 sqlite? ( =dev-db/sqlite-3* )
26 dev-libs/expat 26 dev-libs/expat
27 dev-libs/cyrus-sasl" 27 dev-libs/cyrus-sasl"
28DEPEND="${RDEPEND}" 28DEPEND="${RDEPEND}"
29 29
30src_unpack() { 30src_unpack() {
31 unpack $A 31 unpack $A
32 cd "$S" 32 cd "$S"
33 epatch "${FILESDIR}/${PF}.patch" 33 epatch "${FILESDIR}/${PF}.patch"
34 eautoreconf 34 eautoreconf
35} 35}
36 36
37src_compile() { 37src_compile() {
38 38
39 if use memdebug && ! use debug ; then 39 if use memdebug && ! use debug ; then
40 ewarn '"memdebug" requires "debug"' 40 ewarn '"memdebug" requires "debug"'
41 fi 41 fi
42 42
43 local pgconfigbin 43 local pgconfigbin
44 use postgres && pgconfigbin="$(postgresql_get_pgconfig)" 44 use postgres && pgconfigbin="$(postgresql_get_pgconfig)"
45 # gsasl backend is disabled due to the lack of proper gsasl in the tree 45 # gsasl backend is disabled due to the lack of proper gsasl in the tree
46 # TODO: rework postgres part in configure.ac 46 # TODO: rework postgres part in configure.ac
47 # TODO: conditionally add extra include path for db_includedir from 47 # TODO: conditionally add extra include path for db_includedir from
48 # db-use.eclass 48 # db-use.eclass
49 econf \ 49 econf \
50 --localstatedir=/var \ 50 --localstatedir=/var \
51 --sysconfdir=/etc/jabber \ 51 --sysconfdir=/etc/jabber \
52 $(use_enable debug) \ 52 $(use_enable debug) \
53 $(use_enable memdebug nad-debug) $(use_enable memdebug pool-debug) \ 53 $(use_enable memdebug nad-debug) $(use_enable memdebug pool-debug) \
54 --enable-sasl=cyrus \ 54 --enable-sasl=cyrus \
55 $(use_enable ssl) \ 55 $(use_enable ssl) \
56 $(use_enable mysql) \ 56 $(use_enable mysql) \
57 $(use_enable postgres pgsql "$pgconfigbin") \ 57 $(use_enable postgres pgsql "$pgconfigbin") \
58 $(use_enable sqlite) \ 58 $(use_enable sqlite) \
59 $(use_enable berkdb db) \ 59 $(use_enable berkdb db) \
60 $(use_enable ldap) \ 60 $(use_enable ldap) \
61 $(use_enable pam) \ 61 $(use_enable pam) \
62 $(use_enable pipe) \ 62 $(use_enable pipe) \
63 $(use_enable anon) \ 63 $(use_enable anon) \
64 $(use_enable fs) \ 64 $(use_enable fs) \
65 || die "econf failed" 65 || die "econf failed"
66 emake || die "make failed" 66 emake || die "make failed"
67 67
68} 68}
69 69
70src_install() { 70src_install() {
71 71
72 make DESTDIR="${D}" install || die "make install failed" 72 make DESTDIR="${D}" install || die "make install failed"
73 73
74 fowners jabber:jabber /usr/bin/{jabberd,router,resolver,sm,c2s,s2s} 74 fowners jabber:jabber /usr/bin/{jabberd,router,resolver,sm,c2s,s2s}
75 fperms 750 /usr/bin/{jabberd,router,resolver,sm,c2s,s2s} 75 fperms 750 /usr/bin/{jabberd,router,resolver,sm,c2s,s2s}
76 76
77 newinitd "${FILESDIR}/jabberd-${PV}.init" jabberd || die "newinitd failed" 77 newinitd "${FILESDIR}/jabberd-${PV}.init" jabberd || die "newinitd failed"
78 if use pam ; then 78 if use pam ; then
79 newpamd "${FILESDIR}/jabberd-${PV}.pamd" jabberd || die "newpamd failed" 79 newpamd "${FILESDIR}/jabberd-${PV}.pamd" jabberd || die "newpamd failed"
80 fi 80 fi
81 81
82 dodoc AUTHORS BUGS NEWS PROTOCOL README UPGRADE 82 dodoc AUTHORS BUGS NEWS PROTOCOL README UPGRADE
83 docinto tools 83 docinto tools
84 for i in db-* migrate.pl pipe-auth.pl; do 84 for i in db-* migrate.pl pipe-auth.pl; do
85 dodoc tools/${i} 85 dodoc tools/${i}
86 done 86 done
87 87
88 cd "${D}/etc/jabber/" 88 cd "${D}/etc/jabber/"
89 sed -i \ 89 sed -i \
90 -e 's,/var/jabberd/pid/,/var/run/jabber/,g' \ 90 -e 's,/var/jabberd/pid/,/var/run/jabber/,g' \
91 -e 's,/var/jabberd/log/,/var/log/jabber/,g' \ 91 -e 's,/var/jabberd/log/,/var/log/jabber/,g' \
92 -e 's,/var/jabberd/db,/var/spool/jabber/,g' \ 92 -e 's,/var/jabberd/db,/var/spool/jabber/,g' \
93 *.xml *.xml.dist || die "sed failed" 93 *.xml *.xml.dist || die "sed failed"
94 use berkdb && sed -i \ 94 use berkdb && sed -i \
95 -e 's,<module>mysql</module>,<module>db</module>,' \ 95 -e 's,<module>mysql</module>,<module>db</module>,' \
96 c2s.xml* 96 c2s.xml*
97 97
98} 98}
99 99
100pkg_postinst() { 100pkg_postinst() {
101 if use pam ; then 101 if use pam ; then
102 echo 102 echo
103 ewarn 'Jabberd-2 PAM authentication requires your unix usernames to' 103 ewarn 'Jabberd-2 PAM authentication requires your unix usernames to'
104 ewarn 'be in the form of "contactname@jabberdomain". This behavior' 104 ewarn 'be in the form of "contactname@jabberdomain". This behavior'
105 ewarn 'is likely to change in future versions of jabberd-2. It may' 105 ewarn 'is likely to change in future versions of jabberd-2. It may'
106 ewarn 'be advisable to avoid PAM authentication for the time being.' 106 ewarn 'be advisable to avoid PAM authentication for the time being.'
107 echo 107 echo
108 ebeep 108 ebeep
109 fi 109 fi
110} 110}