]> git.pld-linux.org Git - packages/ejabberd.git/blobdiff - ejabberd.spec
- rel 2; fix mod_ping to not kill clients that do not support ping feature
[packages/ejabberd.git] / ejabberd.spec
index 7fc7928e84c086758d2188bfe7186316fd01085b..4faeabe2e3dae29da469041c5a659fb29093338d 100644 (file)
@@ -9,66 +9,71 @@
 Summary:       Fault-tolerant distributed Jabber/XMPP server
 Summary(pl.UTF-8):     Odporny na awarie rozproszony serwer Jabbera/XMPP
 Name:          ejabberd
-Version:       18.12
-Release:       1
+Version:       19.08
+Release:       2
 License:       GPL
 Group:         Applications/Communications
 Source0:       http://www.process-one.net/downloads/ejabberd/%{version}/%{name}-%{version}.tgz
-# Source0-md5: 8b3a8a8338b1171129a0b2ede009e5ae
+# Source0-md5: c8a3215a85bc3c5f021306747f76b730
 Source1:       %{name}.init
 Source2:       %{name}.sysconfig
 Source3:       %{name}.service
 Source4:       %{name}.logrotate
 #
 # Archives created with the ejabberd-pack_deps.sh script (in this repo)
-Source10:      ejabberd-base64url-20150806.tar.gz
-# Source10-md5:        0d0a6421ccb91adb004d9c930da2c43c
-Source11:      ejabberd-cache_tab-20181204.tar.gz
-# Source11-md5:        3debe5111c93aeff9779354691c56881
-Source12:      ejabberd-eimp-20180925.tar.gz
-# Source12-md5:        74ca7119a2bbe4c1c3c05b8acf30649b
-Source13:      ejabberd-elixir-20170515.tar.gz
-# Source13-md5:        64443fc99538c09e32a052bae8f30d50
-Source14:      ejabberd-ezlib-20180322.tar.gz
-# Source14-md5:        dfbb568ae96c5b33ced5a31f3bf1d53a
-Source15:      ejabberd-fast_tls-20181129.tar.gz
-# Source15-md5:        785607922ce506a858be01f17c7d37de
-Source16:      ejabberd-fast_xml-20180924.tar.gz
-# Source16-md5:        d5779e69cd2fc5e498f2e316a6e0f2e2
-Source17:      ejabberd-fast_yaml-20180924.tar.gz
-# Source17-md5:        d9d300d96d95eda586f0fd9ce2834432
-Source18:      ejabberd-goldrush-20160531.tar.gz
-# Source18-md5:        dfe99336f279d58f3603142450c5f6a6
-Source19:      ejabberd-iconv-20180924.tar.gz
-# Source19-md5:        edad4b97b8b4a94465885adc8106822f
-Source20:      ejabberd-jiffy-20160331.tar.gz
-# Source20-md5:        b12c5bc8d79e3ef741ed46f375010764
-Source21:      ejabberd-jose-20170518.tar.gz
-# Source21-md5:        db5cca1f0cd25e1972c3f5745de92b52
-Source22:      ejabberd-lager-20181014.tar.gz
-# Source22-md5:        819a7871ec9c837aa05609eaded0d508
-Source23:      ejabberd-p1_mysql-20180723.tar.gz
-# Source23-md5:        e3bdb82e3aaf99c0e6f4ab70a71848d4
-Source24:      ejabberd-p1_oauth2-20180425.tar.gz
-# Source24-md5:        cdc232ea44c381c6cb06615f83ca4005
-Source25:      ejabberd-p1_pgsql-20180628.tar.gz
-# Source25-md5:        d12826dec9231d41c92474b126e824c6
-Source26:      ejabberd-p1_utils-20180924.tar.gz
-# Source26-md5:        93b3c4140d0c84971728c080d4a8722f
-Source27:      ejabberd-pkix-20181205.tar.gz
-# Source27-md5:        4a3b369cedd1feecd87101fe795f10dc
-Source28:      ejabberd-rebar_elixir_plugin-20160105.tar.gz
-# Source28-md5:        20a974e75677eb0e17f303370ccca6f6
-Source29:      ejabberd-stringprep-20180924.tar.gz
-# Source29-md5:        1b0da80d5a66341192cbb0eeb52ad1c5
-Source30:      ejabberd-xmpp-20181204.tar.gz
-# Source30-md5:        ba424280ce158bf58a8542d75744a9b0
+Source10:      %{name}-base64url-20190617.tar.gz
+# Source10-md5: 5a12fd2fb1f992c850aba5115aab3dd4
+Source11:      %{name}-cache_tab-20190802.tar.gz
+# Source11-md5: cf0e72d17802d2e10d850f0e339a1c11
+Source12:      %{name}-eimp-20190802.tar.gz
+# Source12-md5: ec256209f4c1798f1fc4c863881f9e43
+Source13:      %{name}-elixir-20170515.tar.gz
+# Source13-md5: 73be42f7d0cda7aeee5c0e6dadc0c451
+Source14:      %{name}-ezlib-20190523.tar.gz
+# Source14-md5: e521f10bba8fd2208aa5c15272050399
+Source15:      %{name}-fast_tls-20190802.tar.gz
+# Source15-md5: 80359622cc6d929923d5c316f9b9061f
+Source16:      %{name}-fast_xml-20190802.tar.gz
+# Source16-md5: 628bc356a896e6921818700738d977e5
+Source17:      %{name}-fast_yaml-20190802.tar.gz
+# Source17-md5: 9a277749887e10ef34a50ff08c6b2d82
+Source18:      %{name}-goldrush-20160531.tar.gz
+# Source18-md5: acac73f0fc85d23671f0c49c68f8df8a
+Source19:      %{name}-jiffy-20160331.tar.gz
+# Source19-md5: 78f31a7dea7538ef3e63f77351f4d0b7
+Source20:      %{name}-jose-20170518.tar.gz
+# Source20-md5: b1675bfc57c1b3b7e154270e2bcd4559
+Source21:      %{name}-lager-20190430.tar.gz
+# Source21-md5: 66205d931dd27b496529c19addf6d7d9
+Source22:      %{name}-mqtree-20190802.tar.gz
+# Source22-md5: 16cd0ea398c505e12bd886c5fd311012
+Source23:      %{name}-p1_mysql-20190831.tar.gz
+# Source23-md5: 8cc96c4fcc8341b2c0565f818de2ba6d
+Source24:      %{name}-p1_oauth2-20190523.tar.gz
+# Source24-md5: 5a1284f4e055d414f5867fdf54baf164
+Source25:      %{name}-p1_pgsql-20190523.tar.gz
+# Source25-md5: 348772eb0ccb9952cb202a7900eb905d
+Source26:      %{name}-p1_utils-20190802.tar.gz
+# Source26-md5: 19c97dcdc6a37a4b574f67bdce6b9566
+Source27:      %{name}-pkix-20190802.tar.gz
+# Source27-md5: 96c39ddde79ccce22e3ed3785be4861d
+Source28:      %{name}-rebar_elixir_plugin-20160105.tar.gz
+# Source28-md5: 6a069a566d71c3daa45fc4736364adf0
+Source29:      %{name}-sqlite3-20180130.tar.gz
+# Source29-md5: cc8950eb769eb6ceb13723a7b61fe507
+Source30:      %{name}-stringprep-20190802.tar.gz
+# Source30-md5: cd354de1ee12712a2434c39241cf5488
+Source31:      %{name}-xmpp-20190802.tar.gz
+# Source31-md5: 73587aa235b062e592d5f043b32fe3b8
+Source32:      %{name}-yconf-20190802.tar.gz
+# Source32-md5: 8ad82ed92e339c67a63f3ef5e3f95a2c
 
 Patch0:                %{name}-paths.patch
 Patch1:                %{name}-config.patch
 # https://paleg.github.io/mod_logdb/
-# https://github.com/paleg/ejabberd/tree/18.06-mod_logdb
+# https://github.com/paleg/ejabberd/compare/paleg:19.08...paleg:19.08-mod_logdb.patch
 Patch3:                %{name}-mod_logdb.patch
+Patch4:                ping-bug-3010.patch
 URL:           http://www.ejabberd.im/
 BuildRequires: autoconf
 BuildRequires: automake
@@ -80,6 +85,7 @@ BuildRequires:        pam-devel
 %endif
 BuildRequires: git-core
 BuildRequires: rpmbuild(macros) >= 1.671
+BuildRequires: sqlite3-devel
 BuildRequires: yaml-devel
 BuildRequires: zlib-devel
 Requires(post):        /usr/bin/perl
@@ -114,13 +120,14 @@ Requires: %{name} = %{version}-%{release}
 Server-side logging module.
 
 %prep
-%setup -q -a 10 -a 11 -a 12 -a 13 -a 14 -a 15 -a 16 -a 17 -a 18 -a 19 -a 20 -a 21 -a 22 -a 23 -a 24 -a 25 -a 26 -a 27 -a 28 -a 29 -a 30
+%setup -q -a 10 -a 11 -a 12 -a 13 -a 14 -a 15 -a 16 -a 17 -a 18 -a 19 -a 20 -a 21 -a 22 -a 23 -a 24 -a 25 -a 26 -a 27 -a 28 -a 29 -a 30 -a 31 -a 32
 %patch0 -p1
 %patch1 -p1
 #%%patch2 -p1
 %if %{with logdb}
 %patch3 -p1
 %endif
+%patch4 -p1
 
 # Various parts of the build system use 'git describe'
 # which returns nonsense on manual builds using the builder script
@@ -148,15 +155,12 @@ unset GIT_DIR GIT_WORK_TREE
        --enable-odbc \
        --enable-mysql \
        --enable-pgsql \
+       --enable-sqlite --with-sqlite3 \
        %{?with_pam:--enable-pam} \
-       --enable-zlib \
-       --enable-iconv
+       --enable-zlib
 
 touch deps/.got
 
-cd deps/iconv
-%configure
-cd ../..
 cd deps/stringprep
 %configure
 cd ../..
@@ -346,19 +350,29 @@ fi
 %{_libdir}/fast_xml-*
 %{_libdir}/fast_yaml-*
 %{_libdir}/goldrush-*
-%{_libdir}/iconv-*
 %{_libdir}/jiffy-*
 %{_libdir}/jose-*
 %{_libdir}/lager-*
+%dir %{_libdir}/mqtree-*
+%{_libdir}/mqtree-*/ebin
+%dir %{_libdir}/mqtree-*/priv
+%dir %{_libdir}/mqtree-*/priv/lib
+%attr(755,root,root) %{_libdir}/mqtree-*/priv/lib/mqtree.so
 %{_libdir}/p1_mysql-*
 %{_libdir}/p1_oauth2-*
 %{_libdir}/p1_pgsql-*
 %{_libdir}/p1_utils-*
+%dir %{_libdir}/pkix-*
 %{_libdir}/pkix-*/ebin
 %{_libdir}/pkix-*/LICENSE
 %{_libdir}/rebar_elixir_plugin-*
+%{_libdir}/sqlite3-*/ebin
+%dir %{_libdir}/sqlite3-*
+%dir %{_libdir}/sqlite3-*/priv
+%attr(755,root,root) %{_libdir}/sqlite3-*/priv/sqlite3_drv.so
 %{_libdir}/stringprep-*
 %{_libdir}/xmpp-*
+%{_libdir}/yconf-*
 %dir %attr(770,root,jabber) /var/lib/ejabberd
 %ghost %attr(400,jabber,jabber) %ghost %config(noreplace) %verify(not md5 mtime size) /var/lib/ejabberd/.erlang.cookie
 %attr(754,root,root) /etc/rc.d/init.d/%{name}
This page took 0.037802 seconds and 4 git commands to generate.