summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--net-im/jabberd/Manifest56
-rw-r--r--net-im/jabberd/files/digest-jabberd-1.4.4-r33
-rw-r--r--net-im/jabberd/files/digest-jabberd-2.1.43
-rw-r--r--net-im/jabberd/files/jabberd-1.4.4-crypt.patch11
-rw-r--r--net-im/jabberd/files/jabberd-1.4.4-genhash.c-rev1253.patch11
-rw-r--r--net-im/jabberd/files/jabberd-1.4.4-mio-bug-rev1291.patch16
-rw-r--r--net-im/jabberd/files/jabberd-1.4.4-openssl-0.9.8.patch11
-rw-r--r--net-im/jabberd/files/jabberd-1.4.4-str.c-rev1103.patch11
-rw-r--r--net-im/jabberd/files/jabberd-1.4.4-xdb_file.c-rev1107.patch13
-rw-r--r--net-im/jabberd/files/jabberd-1.4.4-xdb_sql.c-rev1211.patch24
-rw-r--r--net-im/jabberd/files/jabberd-1.4.4.init29
-rw-r--r--net-im/jabberd/files/jabberd-2.1.4-configure.in.patch13
-rw-r--r--net-im/jabberd/jabberd-1.4.4-r3.ebuild115
-rw-r--r--net-im/jabberd/jabberd-2.1.4.ebuild98
14 files changed, 0 insertions, 414 deletions
diff --git a/net-im/jabberd/Manifest b/net-im/jabberd/Manifest
index 813f08e..6c94774 100644
--- a/net-im/jabberd/Manifest
+++ b/net-im/jabberd/Manifest
@@ -1,35 +1,3 @@
1AUX jabberd-1.4.4-crypt.patch 605 RMD160 62763a71dfeb13763cd6e2cb47a2ec36a942fd42 SHA1 3befde7962b643050e61d04bd87483ed192483a1 SHA256 0a96fea2745058546bada3b234be4a803df836ba2b65052737b000867e932eca
2MD5 3de1d023b07d0bf247a71329eb70355d files/jabberd-1.4.4-crypt.patch 605
3RMD160 62763a71dfeb13763cd6e2cb47a2ec36a942fd42 files/jabberd-1.4.4-crypt.patch 605
4SHA256 0a96fea2745058546bada3b234be4a803df836ba2b65052737b000867e932eca files/jabberd-1.4.4-crypt.patch 605
5AUX jabberd-1.4.4-genhash.c-rev1253.patch 392 RMD160 e78d8a7edaaf65e2057c39ab5a564c926ea4b5d1 SHA1 abc212773b9d469c308bf57c6558f331c73f574d SHA256 f6c49a1e5a788c300c87912553b9d2ba4295c395c58b81bfac0bdce6d10a78ea
6MD5 da03862bd6e85156860dda87ed726b1c files/jabberd-1.4.4-genhash.c-rev1253.patch 392
7RMD160 e78d8a7edaaf65e2057c39ab5a564c926ea4b5d1 files/jabberd-1.4.4-genhash.c-rev1253.patch 392
8SHA256 f6c49a1e5a788c300c87912553b9d2ba4295c395c58b81bfac0bdce6d10a78ea files/jabberd-1.4.4-genhash.c-rev1253.patch 392
9AUX jabberd-1.4.4-mio-bug-rev1291.patch 499 RMD160 7d50054ca0c3304d47b530a604c68d2e2b5d4c5f SHA1 6ae07090112cb9f4ba5d84e1ba798e20b59cb2bf SHA256 8aef4a6bedaeaad668b4df57a42dc3ece8ad7b91789dcff1e942af819b582841
10MD5 15d1ed12f5a4d1849f2c3c050aa4e7d4 files/jabberd-1.4.4-mio-bug-rev1291.patch 499
11RMD160 7d50054ca0c3304d47b530a604c68d2e2b5d4c5f files/jabberd-1.4.4-mio-bug-rev1291.patch 499
12SHA256 8aef4a6bedaeaad668b4df57a42dc3ece8ad7b91789dcff1e942af819b582841 files/jabberd-1.4.4-mio-bug-rev1291.patch 499
13AUX jabberd-1.4.4-openssl-0.9.8.patch 485 RMD160 d320a884f318640521ee5934b92a00440b067eff SHA1 55d7e2fd660931ffe171c2234bce135f8afe55c5 SHA256 ede42894807ca3eece8c5e52a771870233317e5bc6cb3ddfe749a372a08270bc
14MD5 b223acb6e59434654550a7564a0a5762 files/jabberd-1.4.4-openssl-0.9.8.patch 485
15RMD160 d320a884f318640521ee5934b92a00440b067eff files/jabberd-1.4.4-openssl-0.9.8.patch 485
16SHA256 ede42894807ca3eece8c5e52a771870233317e5bc6cb3ddfe749a372a08270bc files/jabberd-1.4.4-openssl-0.9.8.patch 485
17AUX jabberd-1.4.4-str.c-rev1103.patch 302 RMD160 34d5de8b755b5029f91c02030308e90e6e38a395 SHA1 4087e906f6b7a354bccd17132b90baeae358ad2b SHA256 929afb2954329eaef703ca985cd9e391002b80aea5e21f0d67933ffaa12db9c3
18MD5 447742a0224ee4557645e17b489abd11 files/jabberd-1.4.4-str.c-rev1103.patch 302
19RMD160 34d5de8b755b5029f91c02030308e90e6e38a395 files/jabberd-1.4.4-str.c-rev1103.patch 302
20SHA256 929afb2954329eaef703ca985cd9e391002b80aea5e21f0d67933ffaa12db9c3 files/jabberd-1.4.4-str.c-rev1103.patch 302
21AUX jabberd-1.4.4-xdb_file.c-rev1107.patch 539 RMD160 dbfca4d0801291f1b1c10e12ac4040d06a38006f SHA1 593fd01f2e0003aedf6714fc9e384da68e04b511 SHA256 6f532e7f792431072226fea8c032fa3463080b355325a7281317a2764ea6e245
22MD5 c3d81de427c5acd5f9e54ce6371adad2 files/jabberd-1.4.4-xdb_file.c-rev1107.patch 539
23RMD160 dbfca4d0801291f1b1c10e12ac4040d06a38006f files/jabberd-1.4.4-xdb_file.c-rev1107.patch 539
24SHA256 6f532e7f792431072226fea8c032fa3463080b355325a7281317a2764ea6e245 files/jabberd-1.4.4-xdb_file.c-rev1107.patch 539
25AUX jabberd-1.4.4-xdb_sql.c-rev1211.patch 882 RMD160 48c9f7ad6f4c10c26c9aa89730434a3632de3f75 SHA1 8519d7920e75c3273efe766f3336c588808e0778 SHA256 5dda2f6b8c86b0b02d569f3436d2d0b23d352926649469b2f4041a94535a6c10
26MD5 9145524db44a8da4ade06cf07811ef75 files/jabberd-1.4.4-xdb_sql.c-rev1211.patch 882
27RMD160 48c9f7ad6f4c10c26c9aa89730434a3632de3f75 files/jabberd-1.4.4-xdb_sql.c-rev1211.patch 882
28SHA256 5dda2f6b8c86b0b02d569f3436d2d0b23d352926649469b2f4041a94535a6c10 files/jabberd-1.4.4-xdb_sql.c-rev1211.patch 882
29AUX jabberd-1.4.4.init 554 RMD160 83098dfae23a67267dffeb5609e572b501fa9a8e SHA1 630cd9c50c20a73992b9891051e02350f6abcba9 SHA256 769e4ee4e193a1d63fe4839f923fb2a6339489a677595ba75986e19cb1ba39ac
30MD5 3b4be327293fb0abc0cdb5dcac80d033 files/jabberd-1.4.4.init 554
31RMD160 83098dfae23a67267dffeb5609e572b501fa9a8e files/jabberd-1.4.4.init 554
32SHA256 769e4ee4e193a1d63fe4839f923fb2a6339489a677595ba75986e19cb1ba39ac files/jabberd-1.4.4.init 554
33AUX jabberd-2.1.11.init 1404 RMD160 d93784cc30f573f20cd411a1a18578db46121b26 SHA1 ce0e735adbf539c809568aa2c1d3ee49f565600c SHA256 e9d004e8d83cc59f964b49c44aaf64445593ba8157d4b51df83e5e50f4625094 1AUX jabberd-2.1.11.init 1404 RMD160 d93784cc30f573f20cd411a1a18578db46121b26 SHA1 ce0e735adbf539c809568aa2c1d3ee49f565600c SHA256 e9d004e8d83cc59f964b49c44aaf64445593ba8157d4b51df83e5e50f4625094
34MD5 eacd752c3b8eb5f2d4914ca8b3580893 files/jabberd-2.1.11.init 1404 2MD5 eacd752c3b8eb5f2d4914ca8b3580893 files/jabberd-2.1.11.init 1404
35RMD160 d93784cc30f573f20cd411a1a18578db46121b26 files/jabberd-2.1.11.init 1404 3RMD160 d93784cc30f573f20cd411a1a18578db46121b26 files/jabberd-2.1.11.init 1404
@@ -38,43 +6,19 @@ AUX jabberd-2.1.11.pamd 158 RMD160 3143cb1689fbebb51c0d72fa4c6b79ee9c015185 SHA1
38MD5 ab77cef855566260d6a779d8d77bc78c files/jabberd-2.1.11.pamd 158 6MD5 ab77cef855566260d6a779d8d77bc78c files/jabberd-2.1.11.pamd 158
39RMD160 3143cb1689fbebb51c0d72fa4c6b79ee9c015185 files/jabberd-2.1.11.pamd 158 7RMD160 3143cb1689fbebb51c0d72fa4c6b79ee9c015185 files/jabberd-2.1.11.pamd 158
40SHA256 eba4b5cc68b3dd327cfa1afdadbe5adf6d9383f4c79c7661169a4339e40b9a7b files/jabberd-2.1.11.pamd 158 8SHA256 eba4b5cc68b3dd327cfa1afdadbe5adf6d9383f4c79c7661169a4339e40b9a7b files/jabberd-2.1.11.pamd 158
41AUX jabberd-2.1.4-configure.in.patch 396 RMD160 86c99a761a23e55ebce98bdffba060e18073826f SHA1 59d16a3ce6f30bdea79c67fe9051a6c4624ddac9 SHA256 afa527ce6e4abedf097a92dc73046b8bacd851bf75ea309bd706937c8080aa5f
42MD5 0d6acfc3d4a22d09d4d17ffd202d38d8 files/jabberd-2.1.4-configure.in.patch 396
43RMD160 86c99a761a23e55ebce98bdffba060e18073826f files/jabberd-2.1.4-configure.in.patch 396
44SHA256 afa527ce6e4abedf097a92dc73046b8bacd851bf75ea309bd706937c8080aa5f files/jabberd-2.1.4-configure.in.patch 396
45DIST jabberd-1.4.4.tar.gz 613479 RMD160 3273d0711fb6f0f6b95749d8bdb1ac5004aed074 SHA1 5fa5b561740720591997ed189609403af8c796c2 SHA256 72e23766e737588ed8d77ca7565a8f4b2bba73967c02e9b7ee4d2122d198a0af
46DIST jabberd-2.1.11.tar.bz2 1034039 RMD160 540f9f510351c369938005acb7013ea41d77f5b8 SHA1 528df89fd1fc638590811bb4f14b2d0d8a498a56 SHA256 e99a70102896ce28e5e427234ddaa852aacd8a38700264741a40f5781919bea8 9DIST jabberd-2.1.11.tar.bz2 1034039 RMD160 540f9f510351c369938005acb7013ea41d77f5b8 SHA1 528df89fd1fc638590811bb4f14b2d0d8a498a56 SHA256 e99a70102896ce28e5e427234ddaa852aacd8a38700264741a40f5781919bea8
47DIST jabberd-2.1.4.tar.bz2 843796 RMD160 1f8ab0b8ab51508ff89085f3fe1342fdd9b54204 SHA1 c1c4b3f74bf1220e9957d0260772d0d2148f2f0c SHA256 e9823c78505c233cc228146a181614a8f191f523948480f78a716fff2921385a
48EBUILD jabberd-1.4.4-r3.ebuild 3066 RMD160 f17931e3958c08c395419c718c009578929c7b23 SHA1 1d235e8d0574e83ebe870566d409f1ae937c3de9 SHA256 c240575c4deccbef864c3415397b913252321ff291d4c1291a8fb327bbe5d057
49MD5 703d5ba2de35a3258c9fa81b9ff5fc96 jabberd-1.4.4-r3.ebuild 3066
50RMD160 f17931e3958c08c395419c718c009578929c7b23 jabberd-1.4.4-r3.ebuild 3066
51SHA256 c240575c4deccbef864c3415397b913252321ff291d4c1291a8fb327bbe5d057 jabberd-1.4.4-r3.ebuild 3066
52EBUILD jabberd-2.1.11.ebuild 2675 RMD160 19e6aa86491d5ea21a858b1028d523107c497fa2 SHA1 98a8577ed9b6a4beef05d3e0635a09eb03cd4e91 SHA256 c74804e1955e58c5359dbba72afa5ce065ba4fce4ebc6b178b57c0b3f5449c26 10EBUILD jabberd-2.1.11.ebuild 2675 RMD160 19e6aa86491d5ea21a858b1028d523107c497fa2 SHA1 98a8577ed9b6a4beef05d3e0635a09eb03cd4e91 SHA256 c74804e1955e58c5359dbba72afa5ce065ba4fce4ebc6b178b57c0b3f5449c26
53MD5 d94132822cf3296f897f2c708e7d3ccc jabberd-2.1.11.ebuild 2675 11MD5 d94132822cf3296f897f2c708e7d3ccc jabberd-2.1.11.ebuild 2675
54RMD160 19e6aa86491d5ea21a858b1028d523107c497fa2 jabberd-2.1.11.ebuild 2675 12RMD160 19e6aa86491d5ea21a858b1028d523107c497fa2 jabberd-2.1.11.ebuild 2675
55SHA256 c74804e1955e58c5359dbba72afa5ce065ba4fce4ebc6b178b57c0b3f5449c26 jabberd-2.1.11.ebuild 2675 13SHA256 c74804e1955e58c5359dbba72afa5ce065ba4fce4ebc6b178b57c0b3f5449c26 jabberd-2.1.11.ebuild 2675
56EBUILD jabberd-2.1.4.ebuild 2330 RMD160 771bae5fbdb463758d5816c660f5ffbce196cdef SHA1 81a4d6185a55366e58127f9e6470d3a32879053b SHA256 da88c8d53aa364528d0933765cc7c687d67abed13839c3cf6f54e64ef3aeb146
57MD5 13725474b621926e462d78e105919942 jabberd-2.1.4.ebuild 2330
58RMD160 771bae5fbdb463758d5816c660f5ffbce196cdef jabberd-2.1.4.ebuild 2330
59SHA256 da88c8d53aa364528d0933765cc7c687d67abed13839c3cf6f54e64ef3aeb146 jabberd-2.1.4.ebuild 2330
60MISC ChangeLog 15464 RMD160 bac8facc410dced776f4b5d9f0c4b051100f9409 SHA1 2ed0d2fa838de3b4e1d720f577116af6eba842ec SHA256 7ea8ffdf9c099ca3fc43ccb381100ce6b519de8f6bb582305535491373fb8830 14MISC ChangeLog 15464 RMD160 bac8facc410dced776f4b5d9f0c4b051100f9409 SHA1 2ed0d2fa838de3b4e1d720f577116af6eba842ec SHA256 7ea8ffdf9c099ca3fc43ccb381100ce6b519de8f6bb582305535491373fb8830
61MD5 e71dbcd3a38fc84fc22dac39a6019359 ChangeLog 15464 15MD5 e71dbcd3a38fc84fc22dac39a6019359 ChangeLog 15464
62RMD160 bac8facc410dced776f4b5d9f0c4b051100f9409 ChangeLog 15464 16RMD160 bac8facc410dced776f4b5d9f0c4b051100f9409 ChangeLog 15464
63SHA256 7ea8ffdf9c099ca3fc43ccb381100ce6b519de8f6bb582305535491373fb8830 ChangeLog 15464 17SHA256 7ea8ffdf9c099ca3fc43ccb381100ce6b519de8f6bb582305535491373fb8830 ChangeLog 15464
64MISC bug 46 RMD160 9a8b102b732b3c3b39eccb9f6347d6cf7bec122b SHA1 f6559d5ed5015f880bcf3f2189b58f78b1868716 SHA256 b6390a5c94c2bf9f3fe4e1297acd915e330d189125a17ac60117e36d9df61ef9
65MD5 d15af49122242ec74cc849146b70b622 bug 46
66RMD160 9a8b102b732b3c3b39eccb9f6347d6cf7bec122b bug 46
67SHA256 b6390a5c94c2bf9f3fe4e1297acd915e330d189125a17ac60117e36d9df61ef9 bug 46
68MISC metadata.xml 399 RMD160 e223c713f74619996bc47a70298aa535f6addf09 SHA1 dc9bc290a5ed00f7101aabd3a40b346112eb40eb SHA256 f68b0864864ad54de5cf072835fc9903e709987261ad1fc102afb0019aa52377 18MISC metadata.xml 399 RMD160 e223c713f74619996bc47a70298aa535f6addf09 SHA1 dc9bc290a5ed00f7101aabd3a40b346112eb40eb SHA256 f68b0864864ad54de5cf072835fc9903e709987261ad1fc102afb0019aa52377
69MD5 be8887bde84aab1d4ff9d5a0f5d50141 metadata.xml 399 19MD5 be8887bde84aab1d4ff9d5a0f5d50141 metadata.xml 399
70RMD160 e223c713f74619996bc47a70298aa535f6addf09 metadata.xml 399 20RMD160 e223c713f74619996bc47a70298aa535f6addf09 metadata.xml 399
71SHA256 f68b0864864ad54de5cf072835fc9903e709987261ad1fc102afb0019aa52377 metadata.xml 399 21SHA256 f68b0864864ad54de5cf072835fc9903e709987261ad1fc102afb0019aa52377 metadata.xml 399
72MD5 6608e1126e4f091819d2c41a1a8843a5 files/digest-jabberd-1.4.4-r3 241
73RMD160 0c09cceb4332b70a38db717adb4bd1d244337b72 files/digest-jabberd-1.4.4-r3 241
74SHA256 05c069ff9a60336785d0d1049dc28c727a5b4cc2f9a40c0f5304f98f2343cb9b files/digest-jabberd-1.4.4-r3 241
75MD5 c07f7b9a6581fa2f5ea895378ce7f7de files/digest-jabberd-2.1.11 250 22MD5 c07f7b9a6581fa2f5ea895378ce7f7de files/digest-jabberd-2.1.11 250
76RMD160 cb7aaed13753b29cc9f5a1bce8487647ae3a39f2 files/digest-jabberd-2.1.11 250 23RMD160 cb7aaed13753b29cc9f5a1bce8487647ae3a39f2 files/digest-jabberd-2.1.11 250
77SHA256 6d1563e8ca5a90c87768d01e273bfd6cfbe11c93ff70249fb71eeb074b090a39 files/digest-jabberd-2.1.11 250 24SHA256 6d1563e8ca5a90c87768d01e273bfd6cfbe11c93ff70249fb71eeb074b090a39 files/digest-jabberd-2.1.11 250
78MD5 25a5e186c9891488b376450459f220b0 files/digest-jabberd-2.1.4 244
79RMD160 5821ca628801138bd4a32a32e10d6a513c14fa02 files/digest-jabberd-2.1.4 244
80SHA256 145d54a062e7bc260393ab78b287789593e3d6a6a7473c9543b89d2393826d7c files/digest-jabberd-2.1.4 244
diff --git a/net-im/jabberd/files/digest-jabberd-1.4.4-r3 b/net-im/jabberd/files/digest-jabberd-1.4.4-r3
deleted file mode 100644
index 612cb5d..0000000
--- a/net-im/jabberd/files/digest-jabberd-1.4.4-r3
+++ b/dev/null
@@ -1,3 +0,0 @@
1MD5 395f814a6627436ba7bd235509adcbc7 jabberd-1.4.4.tar.gz 613479
2RMD160 3273d0711fb6f0f6b95749d8bdb1ac5004aed074 jabberd-1.4.4.tar.gz 613479
3SHA256 72e23766e737588ed8d77ca7565a8f4b2bba73967c02e9b7ee4d2122d198a0af jabberd-1.4.4.tar.gz 613479
diff --git a/net-im/jabberd/files/digest-jabberd-2.1.4 b/net-im/jabberd/files/digest-jabberd-2.1.4
deleted file mode 100644
index 05015b1..0000000
--- a/net-im/jabberd/files/digest-jabberd-2.1.4
+++ b/dev/null
@@ -1,3 +0,0 @@
1MD5 88096f8be9c02ad424b6dc75fb29ae6f jabberd-2.1.4.tar.bz2 843796
2RMD160 1f8ab0b8ab51508ff89085f3fe1342fdd9b54204 jabberd-2.1.4.tar.bz2 843796
3SHA256 e9823c78505c233cc228146a181614a8f191f523948480f78a716fff2921385a jabberd-2.1.4.tar.bz2 843796
diff --git a/net-im/jabberd/files/jabberd-1.4.4-crypt.patch b/net-im/jabberd/files/jabberd-1.4.4-crypt.patch
deleted file mode 100644
index 257fe45..0000000
--- a/net-im/jabberd/files/jabberd-1.4.4-crypt.patch
+++ b/dev/null
@@ -1,11 +0,0 @@
1diff -ru jabberd-1.4.4.vanilla/jsm/Makefile.am jabberd-1.4.4/jsm/Makefile.am
2 --- jabberd-1.4.4.vanilla/jsm/Makefile.am2006-10-03 14:07:22.000000000 +0200
3 +++ jabberd-1.4.4/jsm/Makefile.am2006-10-03 14:27:12.000000000 +0200
4@@ -7,6 +7,6 @@
5
6 libjabberdsm_la_SOURCES = authreg.c deliver.c jsm.c modules.c offline.c server.c sessions.c users.c util.c
7 libjabberdsm_la_LIBADD = $(top_builddir)/jsm/modules/libjabberdsmmods.la $(top_builddir)/jabberd/libjabberd.la
8-libjabberdsm_la_LDFLAGS = @LDFLAGS@ -module
9+libjabberdsm_la_LDFLAGS = -lcrypt @LDFLAGS@ -module
10
11 INCLUDES = -I../jabberd -I../jabberd/lib
diff --git a/net-im/jabberd/files/jabberd-1.4.4-genhash.c-rev1253.patch b/net-im/jabberd/files/jabberd-1.4.4-genhash.c-rev1253.patch
deleted file mode 100644
index edb85bb..0000000
--- a/net-im/jabberd/files/jabberd-1.4.4-genhash.c-rev1253.patch
+++ b/dev/null
@@ -1,11 +0,0 @@
1 --- jabberd/lib/genhash.c 2006/06/07 09:17:301252
2 +++ jabberd/lib/genhash.c 2006/06/23 09:24:181253
3@@ -148,7 +148,7 @@
4 xht h = (xht)tbl;
5
6 for(i = 0; i < h->prime; i++)
7- for(n = &h->zen[i]; n != NULL; n = n->next)
8+ for(n = h->zen[i]; n != NULL; n = n->next)
9 if(n->key != NULL && n->val != NULL)
10 (*func)(user_data, n->key, n->val);
11
diff --git a/net-im/jabberd/files/jabberd-1.4.4-mio-bug-rev1291.patch b/net-im/jabberd/files/jabberd-1.4.4-mio-bug-rev1291.patch
deleted file mode 100644
index 338369c..0000000
--- a/net-im/jabberd/files/jabberd-1.4.4-mio-bug-rev1291.patch
+++ b/dev/null
@@ -1,16 +0,0 @@
1 --- jabberd/mio.c 2006/08/10 14:54:021290
2 +++ jabberd/mio.c 2006/09/02 05:35:461291
3@@ -469,6 +469,13 @@
4 return NULL;
5 }
6
7+ /* do not accept a higher fd than FD_SET, or FD_CLR can handle */
8+ if (fd >= FD_SETSIZE) {
9 +log_warn(NULL, "could not accept incoming connection, maximum number of connections reached (%i)", FD_SETSIZE);
10 +close(fd);
11 +return NULL;
12+ }
13+
14 log_debug2(ZONE, LOGT_IO, "_mio_accept(%X) accepted fd #%d", m, fd);
15
16 /* access and rate checks */
diff --git a/net-im/jabberd/files/jabberd-1.4.4-openssl-0.9.8.patch b/net-im/jabberd/files/jabberd-1.4.4-openssl-0.9.8.patch
deleted file mode 100644
index 12df5df..0000000
--- a/net-im/jabberd/files/jabberd-1.4.4-openssl-0.9.8.patch
+++ b/dev/null
@@ -1,11 +0,0 @@
1diff -Nru --exclude=tags jabberd-1.4.4/jabberd/mio_ssl.c jabberd-1.4.4.fixed/jabberd/mio_ssl.c
2 --- jabberd-1.4.4/jabberd/mio_ssl.c2005-04-16 00:07:23.000000000 +0200
3 +++ jabberd-1.4.4.fixed/jabberd/mio_ssl.c2006-09-12 18:23:35.000000000 +0200
4@@ -103,6 +103,7 @@
5
6 log_debug2(ZONE, LOGT_INIT|LOGT_CONFIG, "Handling configuration using: %s", xmlnode2str(x));
7 /* Generic SSL Inits */
8 +SSL_library_init();
9 OpenSSL_add_all_algorithms();
10 SSL_load_error_strings();
11
diff --git a/net-im/jabberd/files/jabberd-1.4.4-str.c-rev1103.patch b/net-im/jabberd/files/jabberd-1.4.4-str.c-rev1103.patch
deleted file mode 100644
index 4500a55..0000000
--- a/net-im/jabberd/files/jabberd-1.4.4-str.c-rev1103.patch
+++ b/dev/null
@@ -1,11 +0,0 @@
1 --- jabberd/lib/str.c 2005/04/12 11:43:151094
2 +++ jabberd/lib/str.c 2005/04/16 19:54:241103
3@@ -417,7 +417,7 @@
4 static char buff[64];
5 int i;
6
7- i = snprintf(buff,63,"%s:%d",file,line);
8+ i = snprintf(buff, sizeof(buff), "%s:%d", file, line);
9 buff[i] = '\0';
10
11 return buff;
diff --git a/net-im/jabberd/files/jabberd-1.4.4-xdb_file.c-rev1107.patch b/net-im/jabberd/files/jabberd-1.4.4-xdb_file.c-rev1107.patch
deleted file mode 100644
index a664349..0000000
--- a/net-im/jabberd/files/jabberd-1.4.4-xdb_file.c-rev1107.patch
+++ b/dev/null
@@ -1,13 +0,0 @@
1 --- xdb_file/xdb_file.c 2005/07/08 22:36:461106
2 +++ xdb_file/xdb_file.c 2005/07/11 14:23:271107
3@@ -153,8 +153,8 @@
4
5 /* generate a hash over the filename */
6 bzero(hashedfilename, sizeof(hashedfilename));
7- bzero(digit01, sizeof(digit01));
8- bzero(digit23, sizeof(digit23));
9+ bzero(digit01, sizeof(char[3]));
10+ bzero(digit23, sizeof(char[3]));
11 crc32_r(filename, hashedfilename);
12 log_debug2(ZONE, LOGT_STORAGE, "hash of %s is %s", filename, hashedfilename);
13 memcpy(digit01, hashedfilename+1, 2);
diff --git a/net-im/jabberd/files/jabberd-1.4.4-xdb_sql.c-rev1211.patch b/net-im/jabberd/files/jabberd-1.4.4-xdb_sql.c-rev1211.patch
deleted file mode 100644
index 75f0a01..0000000
--- a/net-im/jabberd/files/jabberd-1.4.4-xdb_sql.c-rev1211.patch
+++ b/dev/null
@@ -1,24 +0,0 @@
1 --- xdb_sql/xdb_sql.c 2006/03/15 22:16:371210
2 +++ xdb_sql/xdb_sql.c 2006/04/25 22:01:391211
3@@ -269,10 +269,18 @@
4 ret = mysql_query(xq->mysql, query);
5
6 /* failed and we need to reconnect? */
7- if (ret == CR_SERVER_LOST || ret == CR_SERVER_GONE_ERROR) {
8 -xdb_sql_mysql_connect(i, xq);
9+ if (ret) {
10 +unsigned int query_errno = mysql_errno(xq->mysql);
11 +if (query_errno == CR_SERVER_LOST || query_errno == CR_SERVER_GONE_ERROR) {
12 + log_debug2(ZONE, LOGT_STORAGE, "connection lost, trying to reconnect to MySQL server");
13 + xdb_sql_mysql_connect(i, xq);
14
15 -ret = mysql_query(xq->mysql, query);
16 + ret = mysql_query(xq->mysql, query);
17+
18 + if (ret == 0) {
19 + log_notice(i->id, "connection to MySQL server %s:%i had been lost, and has been reestablished", xq->mysql_host , xq->mysql_port);
20 + }
21 +}
22 }
23
24 /* still an error? log and return */
diff --git a/net-im/jabberd/files/jabberd-1.4.4.init b/net-im/jabberd/files/jabberd-1.4.4.init
deleted file mode 100644
index a25ac84..0000000
--- a/net-im/jabberd/files/jabberd-1.4.4.init
+++ b/dev/null
@@ -1,29 +0,0 @@
1#!/sbin/runscript
2# Copyright 1999-2005 Gentoo Foundation
3# Distributed under the terms of the GNU General Public License v2
4# $Header: /var/cvsroot/gentoo-x86/net-im/jabberd/files/jabberd-1.4.4.init,v 1.1 2006/09/27 22:31:36 nelchael Exp $
5
6depend() {
7
8 need net
9 provide jabber-server
10
11}
12
13start() {
14
15 ebegin "Starting Jabber Server"
16 start-stop-daemon --start \
17 -c jabber:jabber \
18 -x /usr/bin/jabberd -- -B -c /etc/jabber/jabberd.xml
19 eend $?
20
21}
22
23stop() {
24
25 ebegin "Stopping Jabber Server"
26 start-stop-daemon --stop -x /usr/bin/jabberd
27 eend $?
28
29}
diff --git a/net-im/jabberd/files/jabberd-2.1.4-configure.in.patch b/net-im/jabberd/files/jabberd-2.1.4-configure.in.patch
deleted file mode 100644
index 64a6697..0000000
--- a/net-im/jabberd/files/jabberd-2.1.4-configure.in.patch
+++ b/dev/null
@@ -1,13 +0,0 @@
1diff -Nru jabberd-2.0s11.vanilla/configure.in jabberd-2.0s11/configure.in
2 --- jabberd-2.0s11.vanilla/configure.in2006-10-04 23:14:07.000000000 +0200
3 +++ jabberd-2.0s11/configure.in2006-10-04 23:19:58.000000000 +0200
4@@ -758,9 +758,6 @@
5 dnl finishing up
6 dnl
7
8-dnl put our config in its own subdir
9-sysconfdir="$sysconfdir/jabberd"
10-
11 dnl done!
12 AC_OUTPUT(Makefile \
13 etc/Makefile \
diff --git a/net-im/jabberd/jabberd-1.4.4-r3.ebuild b/net-im/jabberd/jabberd-1.4.4-r3.ebuild
deleted file mode 100644
index dbd7b63..0000000
--- a/net-im/jabberd/jabberd-1.4.4-r3.ebuild
+++ b/dev/null
@@ -1,115 +0,0 @@
1# Copyright 1999-2007 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/net-im/jabberd/jabberd-1.4.4-r3.ebuild,v 1.13 2007/02/05 00:44:01 jer Exp $
4
5inherit eutils
6
7DESCRIPTION="Open-source Jabber server"
8HOMEPAGE="http://www.jabber.org"
9SRC_URI="http://download.jabberd.org/jabberd14/${P}.tar.gz"
10
11SLOT="0"
12LICENSE="GPL-2"
13KEYWORDS="~alpha ~amd64 hppa ~ppc sparc x86"
14IUSE="debug ipv6 mysql postgres ssl"
15
16DEPEND=">=net-im/jabber-base-0.01
17 >=dev-libs/pth-1.4.0
18 dev-libs/expat
19 net-dns/libidn
20 dev-util/pkgconfig
21 mysql? ( virtual/mysql )
22 postgres? ( dev-db/postgresql )
23 ssl? ( >=dev-libs/openssl-0.9.6i )"
24
25pkg_setup() {
26
27 if use ipv6; then
28 ewarn "Without full ipv6 support, jabberd will show the error:"
29 ewarn ' "mio unable to listen"'
30 ewarn "To fix this, emerge jabberd without the ipv6 USE flag."
31 fi
32
33}
34
35src_unpack() {
36
37 unpack "${A}"
38
39 cd "${S}"
40
41 # Resolves bug #147342
42 epatch "${FILESDIR}/${P}-openssl-0.9.8.patch"
43
44 # Various fixes from upstream:
45 epatch "${FILESDIR}/${P}-str.c-rev1103.patch"
46 epatch "${FILESDIR}/${P}-xdb_file.c-rev1107.patch"
47 epatch "${FILESDIR}/${P}-xdb_sql.c-rev1211.patch"
48 epatch "${FILESDIR}/${P}-genhash.c-rev1253.patch"
49 epatch "${FILESDIR}/${P}-crypt.patch"
50
51}
52
53src_compile() {
54
55 unset LC_ALL LC_CTYPE
56
57 # Broken configure script - can't use "use_enable"
58 local myconf=
59 use debug && myconf="${myconf} --enable-debug --enable-pool-debug"
60 use ipv6 && myconf="${myconf} --enable-ipv6"
61 use ssl && myconf="${myconf} --enable-ssl"
62
63 econf \
64 --sysconfdir=/etc/jabber \
65 ${myconf} \
66 $(use_with mysql) \
67 $(use_with postgres postgresql) \
68 || die "econf failed"
69
70 # Broken parallel build
71 emake -j1 || die "emake failed"
72
73}
74
75src_install() {
76
77 make DESTDIR="${D}" install || die "make install failed"
78
79 newinitd "${FILESDIR}"/${P}.init jabber || die "newinitd failed"
80
81 # net-im/jabber-base provides needed directories
82 rm -rf "${D}/var"
83 mv "${D}/etc/jabber/jabber.xml" "${D}/etc/jabber/jabberd.xml"
84 mv "${D}/etc/jabber/jabber.xml.dist" "${D}/etc/jabber/jabberd.xml.dist"
85
86 sed -i \
87 -e 's,/var/lib/spool/jabberd,/var/spool/jabber,g' \
88 -e 's,/var/lib/log/jabberd,/var/log/jabber,g' \
89 -e 's,/var/lib/run/jabberd,/var/run/jabber,g' \
90 -e 's,jabber.pid,jabberd14.pid,g' \
91 "${D}"/etc/jabber/jabberd.xml{,.dist} \
92 || die "sed failed"
93
94}
95
96pkg_postinst() {
97
98 echo
99 einfo 'The various IM transports for jabber are now separate packages,'
100 einfo 'which you will need to install separately if you want them:'
101 einfo ' net-im/jit - ICQ transport'
102 einfo ' net-im/pymsn-t - MSN transport'
103 einfo ' net-im/jud - Jabber User Directory'
104 einfo ' net-im/yahoo-transport - Yahoo IM system'
105 einfo ' net-im/mu-conference - Jabber multi user conference'
106 echo
107 ewarn 'If upgrading from an older version, please stop jabberd BEFORE'
108 ewarn 'updating the init.d script, or you will end with a "dead" server.'
109 echo
110 ewarn 'The configuration filename has changed:'
111 ewarn ' Configure your server in /etc/jabber/jabberd.xml'
112 echo
113 ebeep
114
115}
diff --git a/net-im/jabberd/jabberd-2.1.4.ebuild b/net-im/jabberd/jabberd-2.1.4.ebuild
deleted file mode 100644
index 4ecfc5b..0000000
--- a/net-im/jabberd/jabberd-2.1.4.ebuild
+++ b/dev/null
@@ -1,98 +0,0 @@
1# Copyright 1999-2007 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2
3# $Header: $
4
5WANT_AUTOCONF="latest"
6WANT_AUTOMAKE="none"
7inherit autotools eutils versionator
8
9DESCRIPTION="Open Source Jabber Server"
10HOMEPAGE="http://jabberd2.xiaoka.com/"
11SRC_URI="http://ftp.xiaoka.com/${PN}2/releases/${P}.tar.bz2"
12
13SLOT="0"
14LICENSE="GPL-2"
15KEYWORDS="~amd64 ~ppc ~sparc ~x86"
16IUSE="debug memdebug ipv6 ldap mysql pam pipe postgres sqlite ssl idn berkdb anon fs"
17
18RDEPEND=">=net-im/jabber-base-0.01
19 ssl? ( >=dev-libs/openssl-0.9.6b )
20 idn? ( net-dns/libidn )
21 ldap? ( net-nds/openldap )
22 berkdb? ( >=sys-libs/db-4.1.25 )
23 mysql? ( virtual/mysql )
24 postgres? ( dev-db/postgresql )
25 sqlite? ( =dev-db/sqlite-3* )
26 dev-libs/expat
27 dev-libs/cyrus-sasl"
28DEPEND="${RDEPEND}"
29
30src_unpack() {
31 unpack ${A}
32 cd "${S}"
33 epatch "${FILESDIR}/${P}-configure.in.patch"
34 eautoreconf
35}
36
37src_compile() {
38
39 local localconf=
40 if use debug; then
41 localconf="${localconf} --enable-debug"
42 use memdebug && localconf="${localconf} --enable-nad-debug --enable-pool-debug"
43 else
44 if use memdebug; then
45 ewarn
46 ewarn '"memdebug" requires "debug" enabled.'
47 ewarn
48 fi
49 fi
50
51 econf \
52 --localstatedir=/var \
53 --sysconfdir=/etc/jabber \
54 --enable-db \
55 ${localconf} \
56 $(use_enable anon) \
57 $(use_enable fs) \
58 $(use_enable berkdb db) \
59 $(use_enable idn) \
60 $(use_enable ipv6) \
61 $(use_enable ldap) \
62 $(use_enable mysql) \
63 $(use_enable pam) \
64 $(use_enable pipe) \
65 $(use_enable postgres pgsql) \
66 $(use_enable sqlite) \
67 $(use_enable ssl) \
68 || die "econf failed"
69 emake || die "make failed"
70
71}
72
73src_install() {
74
75 make DESTDIR="${D}" install || die "make install failed"
76
77 fowners jabber:jabber /usr/bin/{jabberd,router,resolver,sm,c2s,s2s}
78 fperms 750 /usr/bin/{jabberd,router,resolver,sm,c2s,s2s}
79
80 newinitd "${FILESDIR}/jabberd-${PV}.init" jabberd || die "newinitd failed"
81
82 dodoc AUTHORS PROTOCOL README
83 docinto tools
84 for i in db-* migrate.pl pipe-auth.pl; do
85 dodoc tools/${i}
86 done
87
88 cd "${D}/etc/jabber/"
89 sed -i \
90 -e 's,/var/jabberd/pid/,/var/run/jabber/,g' \
91 -e 's,/var/jabberd/log/,/var/log/jabber/,g' \
92 -e 's,/var/jabberd/db,/var/spool/jabber/,g' \
93 *.xml *.xml.dist || die "sed failed"
94 use berkdb && sed -i \
95 -e 's,<module>mysql</module>,<module>db</module>,' \
96 c2s.xml*
97
98}