Date: Wednesday, February 27, 2019 @ 08:07:57 Author: spupykin Revision: 436198
archrelease: copy trunk to community-x86_64 Added: ejabberd/repos/community-x86_64/PKGBUILD (from rev 436197, ejabberd/trunk/PKGBUILD) ejabberd/repos/community-x86_64/ejabberd.logrotate (from rev 436197, ejabberd/trunk/ejabberd.logrotate) ejabberd/repos/community-x86_64/print-deps.sh (from rev 436197, ejabberd/trunk/print-deps.sh) ejabberd/repos/community-x86_64/sysuser.conf (from rev 436197, ejabberd/trunk/sysuser.conf) Deleted: ejabberd/repos/community-x86_64/PKGBUILD ejabberd/repos/community-x86_64/ejabberd.logrotate ejabberd/repos/community-x86_64/print-deps.sh ejabberd/repos/community-x86_64/sysuser.conf --------------------+ PKGBUILD | 308 +++++++++++++++++++++++++-------------------------- ejabberd.logrotate | 24 +-- print-deps.sh | 56 ++++----- sysuser.conf | 4 4 files changed, 196 insertions(+), 196 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-02-27 08:07:41 UTC (rev 436197) +++ PKGBUILD 2019-02-27 08:07:57 UTC (rev 436198) @@ -1,155 +0,0 @@ -# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> -# Contributor: Jeff 'codemac' Mickey <j...@archlinux.org> -# Contributor: Alexander Rødseth <rods...@gmail.com> - -pkgname=ejabberd -pkgver=18.12.1 -pkgrel=1 -pkgdesc="Jabber server written in Erlang" -arch=('x86_64') -url="http://www.ejabberd.im/" -license=("GPL") -depends=('expat' 'openssl' 'zlib' 'erlang-nox' 'pam' 'iproute2' 'erlang-unixodbc' - 'libyaml' 'sqlite' 'gd') -makedepends=('git' 'rebar' 'hevea' 'texlive-bin' 'texlive-core' 'texlive-latexextra') -optdepends=('gsfonts: for captcha' - 'imagemagick: for captcha') -backup=('etc/ejabberd/ejabberd.yml' - 'etc/ejabberd/ejabberdctl.cfg' - 'etc/logrotate.d/ejabberd') -options=(emptydirs) -source=("$pkgname-$pkgver.tar.gz::https://github.com/processone/ejabberd/archive/$pkgver.tar.gz" - "base64url::git://github.com/dvv/base64url.git#commit=f2c64ed8b9bebc536fad37ad97243452b674b837" - "cache_tab::git://github.com/processone/cache_tab#commit=c5f7710a6b2b2e19783af1886f7327b0ed0da379" - "eimp::git://github.com/processone/eimp#commit=d16fd3f050bd1114d72bacbf2029dc6dd5b31da0" - "elixir::git://github.com/elixir-lang/elixir#commit=867da6f876c48279823a41a33030c95ef37379b2" - "epam::git://github.com/processone/epam#commit=c4940ad96c9e734865d54df45af6f90c1c4ce03b" - "eredis::git://github.com/wooga/eredis#commit=cbc013f516e464706493c01662e5e9dd82d1db01" - "esip::git://github.com/processone/esip#commit=36d8aa614c30b989d223f874ccca8144f1bb2eb7" - "ezlib::git://github.com/processone/ezlib#commit=ccfb3b25c6476894c3e8d835d35ff258f64e9e14" - "fast_tls::git://github.com/processone/fast_tls#commit=a22a4d6ec8fc21f8016ad08cface5103fdf4a5f9" - "fast_xml::git://github.com/processone/fast_xml#commit=0e5b0b3d6f1a83f646fa4e01fddda71c3f8f3b8d" - "fast_yaml::git://github.com/processone/fast_yaml#commit=697dc776316c4ad48a5a962cf8af13230cb9c1f9" - "goldrush::git://github.com/DeadZen/goldrush.git#commit=8f1b715d36b650ec1e1f5612c00e28af6ab0de82" - "hamcrest::git://github.com/basho/hamcrest-erlang.git#commit=ad3dbab419762fc2d5821abb88b989da006b85c6" - "iconv::git://github.com/processone/iconv#commit=819125883241205ec196d7965a41594f680bc950" - "jiffy::git://github.com/davisp/jiffy#commit=1febce3ca86c5ca5d5a3618ed3d5f125bb99e4c5" - "jose::git://github.com/potatosalad/erlang-jose#commit=f8f97fb651202386c951fccfcb61d123518ba05f" - "lager::git://github.com/erlang-lager/lager#commit=69b4ada2341b8ab2cf5c8e464ac936e5e4a9f62b" - "luerl::git://github.com/rvirding/luerl#commit=01fa43a1a5d68becfe07236a9a71505039474108" - "meck::git://github.com/eproxus/meck#commit=6121bb7e5c21b7ba2e79754f976a55f32940b28e" - "p1_mysql::git://github.com/processone/p1_mysql#commit=4cfeddfd4ddc115d7c41e091d252d39a1badc09b" - "p1_oauth2::git://github.com/processone/p1_oauth2#commit=ab44e27db49021321e1a5d4dcf65c6c65c088075" - "p1_pgsql::git://github.com/processone/p1_pgsql#commit=df6f8819eb46a8c490ba95b1fda66347970111dc" - "p1_utils::git://github.com/processone/p1_utils#commit=87336780d6d2b5985aba5b2136903d26d6e26ac0" - "pkix::git://github.com/processone/pkix#commit=6dc858ee9c7fa31872c2dfa26cb83f4a3cc830f2" - "rebar_elixir_plugin::git://github.com/processone/rebar_elixir_plugin#commit=10614dfef5d10b7071f7181858149259e50159f6" - "riakc::git://github.com/processone/riak-erlang-client#commit=63db9859cf478cc67d4149940a5a9eae8c5ca3bc" - "riak_pb::git://github.com/basho/riak_pb#commit=08771aba2ce4935b715d32d1b92555efdc3da994" - "sqlite3::git://github.com/processone/erlang-sqlite3#commit=cedc45a668d7630f942cab1c6f695de14b097e05" - "stringprep::git://github.com/processone/stringprep#commit=57e434f92720fcd448f2318bbda10450cb79c2ca" - "stun::git://github.com/processone/stun#commit=89bbb42ca01a12cddc2bd3c27d0e568cbbb72933" - "xmpp::git://github.com/processone/xmpp#commit=fa59723fa49f680f25ce3bcd1b311c4f6aca6c53" - "$pkgname.logrotate" - "sysuser.conf") -sha256sums=('7646d6acd3c0b94e4ed5e1d1c61a32bb4026b90a752942b7f80157d1fa014a97' - 'SKIP' - 'SKIP' - 'SKIP' - 'SKIP' - 'SKIP' - 'SKIP' - 'SKIP' - 'SKIP' - 'SKIP' - 'SKIP' - 'SKIP' - 'SKIP' - 'SKIP' - 'SKIP' - 'SKIP' - 'SKIP' - 'SKIP' - 'SKIP' - 'SKIP' - 'SKIP' - 'SKIP' - 'SKIP' - 'SKIP' - 'SKIP' - 'SKIP' - 'SKIP' - 'SKIP' - 'SKIP' - 'SKIP' - 'SKIP' - 'SKIP' - '31780cac78736d285e46f445f8c8463a70f2aeb2683280c259129db11832ddd2' - '68de8fd4df6e4f0e21a241dcd2b7075bdff495876646dd726c7054bf5780e3c6') - -prepare() { - cd "$srcdir/$pkgname-$pkgver" - mkdir -p "$srcdir/$pkgname-$pkgver/deps" - for i in \ - base64url cache_tab eimp elixir epam eredis esip ezlib fast_tls fast_xml fast_yaml goldrush hamcrest iconv jiffy jose lager luerl meck p1_mysql p1_oauth2 p1_pgsql p1_utils pkix rebar_elixir_plugin riakc riak_pb sqlite3 stringprep stun xmpp \ - ; do - rm -rf "$srcdir/$pkgname-$pkgver/deps/$i" - mv "$srcdir"/$i "$srcdir/$pkgname-$pkgver/deps" - done - sed -i "s|git describe --tags 2>/dev/null|echo $pkgver|" configure.ac -} - -build() { - cd "$srcdir/$pkgname-$pkgver" - [ -x configure ] || ./autogen.sh - ./configure \ - --prefix=/usr \ - --sysconfdir=/etc \ - --sbindir=/usr/bin \ - --localstatedir=/var \ - --enable-all - make -} - -package() { - cd "$srcdir/$pkgname-$pkgver" - make DESTDIR="$pkgdir" install - - sed -i \ - -e "s|$pkgdir||g" \ - -e "s|Group=.*|Group=jabber|g" \ - -e "s|User=.*|User=jabber|g" \ - ejabberd.service - install -Dm0644 ejabberd.service "$pkgdir"/usr/lib/systemd/system/ejabberd.service - - install -Dm04750 deps/epam/priv/bin/epam "$pkgdir"/usr/lib/ejabberd-$pkgver/priv/bin/epam - install -d "$pkgdir/var/lib/$pkgname" - install -D -m0644 "$srcdir/$pkgname.logrotate" "$pkgdir/etc/logrotate.d/$pkgname" - chmod ug+r "$pkgdir/etc/$pkgname/"* - chmod a+rx "$pkgdir/usr/bin/ejabberdctl" "$pkgdir/usr/lib/ejabberd-$pkgver/priv/bin/captcha.sh" - rm -rf "$pkgdir/var/lock" - install -Dm644 "$srcdir"/sysuser.conf "$pkgdir"/usr/lib/sysusers.d/ejabberd.conf - install -Dm644 tools/ejabberdctl.bc "$pkgdir"/usr/share/bash-completion/completions/ejabberdctl - - # workaround - ln -s mod_configure.beam "$pkgdir"/usr/lib/ejabberd-$pkgver/ebin/configure.beam - rm -f "$pkgdir"/usr/bin/{elixir,iex,mix} - - echo -e "\n\n# home dir workaround\nHOME=/var/lib/ejabberd" >>"$pkgdir"/etc/ejabberd/ejabberdctl.cfg - - # /usr/lib/ejabberd symlink follows to ejabberd version - ln -s ejabberd-$pkgver "$pkgdir"/usr/lib/ejabberd - - # permissions - chown -R 17:17 "$pkgdir"/var/{lib,log}/ejabberd - chown root:17 \ - "$pkgdir"/etc/ejabberd/ejabberd.yml \ - "$pkgdir"/etc/ejabberd/ejabberdctl.cfg \ - "$pkgdir"/etc/ejabberd \ - "$pkgdir"/usr/lib/ejabberd/priv/bin/epam - - # fix eimp - chmod a+x "$pkgdir"/usr/lib/eimp-*/priv/bin/eimp -} - -# vim:set ts=2 sw=2 et: Copied: ejabberd/repos/community-x86_64/PKGBUILD (from rev 436197, ejabberd/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-02-27 08:07:57 UTC (rev 436198) @@ -0,0 +1,153 @@ +# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> +# Contributor: Jeff 'codemac' Mickey <j...@archlinux.org> +# Contributor: Alexander Rødseth <rods...@gmail.com> + +pkgname=ejabberd +pkgver=19.02 +pkgrel=1 +pkgdesc="Jabber server written in Erlang" +arch=('x86_64') +url="http://www.ejabberd.im/" +license=("GPL") +depends=('expat' 'openssl' 'zlib' 'erlang-nox' 'pam' 'iproute2' 'erlang-unixodbc' + 'libyaml' 'sqlite' 'gd') +makedepends=('git' 'rebar' 'hevea' 'texlive-bin' 'texlive-core' 'texlive-latexextra') +optdepends=('gsfonts: for captcha' + 'imagemagick: for captcha') +backup=('etc/ejabberd/ejabberd.yml' + 'etc/ejabberd/ejabberdctl.cfg' + 'etc/logrotate.d/ejabberd') +options=(emptydirs) +source=("$pkgname-$pkgver.tar.gz::https://github.com/processone/ejabberd/archive/$pkgver.tar.gz" + "base64url::git://github.com/dvv/base64url.git#commit=f2c64ed8b9bebc536fad37ad97243452b674b837" + "cache_tab::git://github.com/processone/cache_tab#commit=16ad27d77a312eee9acd8ee4bd7d9991e7b4214a" + "eimp::git://github.com/processone/eimp#commit=04c3702936a421cee3cb04f02b85bb7ac035e678" + "elixir::git://github.com/elixir-lang/elixir#commit=867da6f876c48279823a41a33030c95ef37379b2" + "epam::git://github.com/processone/epam#commit=22bc52f63189b5df2db4f214208162bea8f83bfe" + "eredis::git://github.com/wooga/eredis#commit=cbc013f516e464706493c01662e5e9dd82d1db01" + "esip::git://github.com/processone/esip#commit=24ba44e9e29f62a8fbb8581d0eb09318e0068565" + "ezlib::git://github.com/processone/ezlib#commit=dbdebfd4f6800d3cc081e5e2b5ff8a92cac0b3d6" + "fast_tls::git://github.com/processone/fast_tls#commit=e4a3a5cd08431c704bcef377ac4b014caa256c22" + "fast_xml::git://github.com/processone/fast_xml#commit=2a93fc265fca2aacc2f5b91defd7b465e9b43db9" + "fast_yaml::git://github.com/processone/fast_yaml#commit=ec44eb8c1128a8d531a0c608581b4a9b2f6557ef" + "goldrush::git://github.com/DeadZen/goldrush.git#commit=8f1b715d36b650ec1e1f5612c00e28af6ab0de82" + "hamcrest::git://github.com/basho/hamcrest-erlang.git#commit=ad3dbab419762fc2d5821abb88b989da006b85c6" + "jiffy::git://github.com/davisp/jiffy#commit=1febce3ca86c5ca5d5a3618ed3d5f125bb99e4c5" + "jose::git://github.com/potatosalad/erlang-jose#commit=f8f97fb651202386c951fccfcb61d123518ba05f" + "lager::git://github.com/erlang-lager/lager#commit=69b4ada2341b8ab2cf5c8e464ac936e5e4a9f62b" + "luerl::git://github.com/rvirding/luerl#commit=01fa43a1a5d68becfe07236a9a71505039474108" + "mqtree::git://github.com/processone/mqtree#commit=a499a0768c45359027dbf394a3fe373f7a268d07" + "p1_mysql::git://github.com/processone/p1_mysql#commit=973b7d8c1f0679321bc3169870c053b8ffaac5e1" + "p1_oauth2::git://github.com/processone/p1_oauth2#commit=93ca4c6be5d14e5833d3ab0f6bec0c77c13be16d" + "p1_pgsql::git://github.com/processone/p1_pgsql#commit=49a3776a6b5238e03c61b51bdcf6924b4f808ceb" + "p1_utils::git://github.com/processone/p1_utils#commit=ae4fac3d3ad9cedeaaae23a75519a4cdf7bb8152" + "pkix::git://github.com/processone/pkix#commit=69eff06cdbe12323a3bf6c06eee3d0edb88236ab" + "rebar_elixir_plugin::git://github.com/processone/rebar_elixir_plugin#commit=10614dfef5d10b7071f7181858149259e50159f6" + "riakc::git://github.com/processone/riak-erlang-client#commit=63db9859cf478cc67d4149940a5a9eae8c5ca3bc" + "riak_pb::git://github.com/basho/riak_pb#commit=08771aba2ce4935b715d32d1b92555efdc3da994" + "sqlite3::git://github.com/processone/erlang-sqlite3#commit=cedc45a668d7630f942cab1c6f695de14b097e05" + "stringprep::git://github.com/processone/stringprep#commit=eadb0c7021d79ae79a69884fc12ae4c6147debba" + "stun::git://github.com/processone/stun#commit=279e239d3412db98662193d9ea81c9f187f2bb91" + "xmpp::git://github.com/processone/xmpp#commit=b7c02dc863b0a78d096279330b797883de05427e" + "$pkgname.logrotate" + "sysuser.conf") +sha256sums=('cce54840c6555d78426d0e75f7e2b4b5b85ea560f1076d59432f7e145ba9af55' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + '31780cac78736d285e46f445f8c8463a70f2aeb2683280c259129db11832ddd2' + '68de8fd4df6e4f0e21a241dcd2b7075bdff495876646dd726c7054bf5780e3c6') + +prepare() { + cd "$srcdir/$pkgname-$pkgver" + mkdir -p "$srcdir/$pkgname-$pkgver/deps" + for i in \ + base64url cache_tab eimp elixir epam eredis esip ezlib fast_tls fast_xml fast_yaml goldrush hamcrest jiffy jose lager luerl mqtree p1_mysql p1_oauth2 p1_pgsql p1_utils pkix rebar_elixir_plugin riakc riak_pb sqlite3 stringprep stun xmpp \ + ; do + rm -rf "$srcdir/$pkgname-$pkgver/deps/$i" + mv "$srcdir"/$i "$srcdir/$pkgname-$pkgver/deps" + done + sed -i "s|git describe --tags 2>/dev/null|echo $pkgver|" configure.ac +} + +build() { + cd "$srcdir/$pkgname-$pkgver" + [ -x configure ] || ./autogen.sh + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --sbindir=/usr/bin \ + --localstatedir=/var \ + --enable-all + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir" install + + sed -i \ + -e "s|$pkgdir||g" \ + -e "s|Group=.*|Group=jabber|g" \ + -e "s|User=.*|User=jabber|g" \ + ejabberd.service + install -Dm0644 ejabberd.service "$pkgdir"/usr/lib/systemd/system/ejabberd.service + + install -Dm04750 deps/epam/priv/bin/epam "$pkgdir"/usr/lib/ejabberd-$pkgver/priv/bin/epam + install -d "$pkgdir/var/lib/$pkgname" + install -D -m0644 "$srcdir/$pkgname.logrotate" "$pkgdir/etc/logrotate.d/$pkgname" + chmod ug+r "$pkgdir/etc/$pkgname/"* + chmod a+rx "$pkgdir/usr/bin/ejabberdctl" "$pkgdir/usr/lib/ejabberd-$pkgver/priv/bin/captcha.sh" + rm -rf "$pkgdir/var/lock" + install -Dm644 "$srcdir"/sysuser.conf "$pkgdir"/usr/lib/sysusers.d/ejabberd.conf + install -Dm644 tools/ejabberdctl.bc "$pkgdir"/usr/share/bash-completion/completions/ejabberdctl + + # workaround + ln -s mod_configure.beam "$pkgdir"/usr/lib/ejabberd-$pkgver/ebin/configure.beam + rm -f "$pkgdir"/usr/bin/{elixir,iex,mix} + + echo -e "\n\n# home dir workaround\nHOME=/var/lib/ejabberd" >>"$pkgdir"/etc/ejabberd/ejabberdctl.cfg + + # /usr/lib/ejabberd symlink follows to ejabberd version + ln -s ejabberd-$pkgver "$pkgdir"/usr/lib/ejabberd + + # permissions + chown -R 17:17 "$pkgdir"/var/{lib,log}/ejabberd + chown root:17 \ + "$pkgdir"/etc/ejabberd/ejabberd.yml \ + "$pkgdir"/etc/ejabberd/ejabberdctl.cfg \ + "$pkgdir"/etc/ejabberd \ + "$pkgdir"/usr/lib/ejabberd/priv/bin/epam + + # fix eimp + chmod a+x "$pkgdir"/usr/lib/eimp-*/priv/bin/eimp +} + +# vim:set ts=2 sw=2 et: Deleted: ejabberd.logrotate =================================================================== --- ejabberd.logrotate 2019-02-27 08:07:41 UTC (rev 436197) +++ ejabberd.logrotate 2019-02-27 08:07:57 UTC (rev 436198) @@ -1,12 +0,0 @@ -/var/log/ejabberd/ejabberd.log { - weekly - missingok - rotate 10 - compress - delaycompress - ifempty - nomail - sharedscripts - postrotate ejabberdctl --node ejabberd reopen-log > /dev/null - endscript -} Copied: ejabberd/repos/community-x86_64/ejabberd.logrotate (from rev 436197, ejabberd/trunk/ejabberd.logrotate) =================================================================== --- ejabberd.logrotate (rev 0) +++ ejabberd.logrotate 2019-02-27 08:07:57 UTC (rev 436198) @@ -0,0 +1,12 @@ +/var/log/ejabberd/ejabberd.log { + weekly + missingok + rotate 10 + compress + delaycompress + ifempty + nomail + sharedscripts + postrotate ejabberdctl --node ejabberd reopen-log > /dev/null + endscript +} Deleted: print-deps.sh =================================================================== --- print-deps.sh 2019-02-27 08:07:41 UTC (rev 436197) +++ print-deps.sh 2019-02-27 08:07:57 UTC (rev 436198) @@ -1,27 +0,0 @@ -#!/bin/bash - -# -# Helper script which prints ejabberd deps' urls including commit hash -# - -cd src/ejabberd-*/config && cd .. - -if [ ! -d deps ]; then - [ -x configure ] || ./autogen.sh - ./configure --enable-all - make deps || exit 1 -fi - -cd deps ; ls -1 | while read g; do - test -d $g && \ - pushd $g &>/dev/null - if [ $? -eq 0 ]; then - U=`grep 'url =' .git/config | cut -f2 -d= | tr -d ' '` - C=`git rev-parse HEAD` - N=`basename $(pwd)` - echo -e "\t\"$N::$U#commit=$C\"" - fi - popd &>/dev/null -done | sed 's|https://|git://|' >PKGBUILD.inc - -cat PKGBUILD.inc | cut -f2 -d'"' | cut -f1 -d: | tr '\n' ' ' >PKGBUILD.inc2 Copied: ejabberd/repos/community-x86_64/print-deps.sh (from rev 436197, ejabberd/trunk/print-deps.sh) =================================================================== --- print-deps.sh (rev 0) +++ print-deps.sh 2019-02-27 08:07:57 UTC (rev 436198) @@ -0,0 +1,29 @@ +#!/bin/bash + +# +# Helper script which prints ejabberd deps' urls including commit hash +# + +test -d src/ejabberd-*/config || makepkg -od || exit 1 + +cd src/ejabberd-*/config && cd .. + +rm -rf deps + +[ -x configure ] || ./autogen.sh +./configure --enable-all +make deps || exit 1 + +cd deps ; ls -1 | while read g; do + test -d $g && \ + pushd $g &>/dev/null + if [ $? -eq 0 ]; then + U=`grep 'url =' .git/config | cut -f2 -d= | tr -d ' '` + C=`git rev-parse HEAD` + N=`basename $(pwd)` + echo -e "\t\"$N::$U#commit=$C\"" + fi + popd &>/dev/null +done | sed 's|https://|git://|' >PKGBUILD.inc + +cat PKGBUILD.inc | cut -f2 -d'"' | cut -f1 -d: | tr '\n' ' ' >PKGBUILD.inc2 Deleted: sysuser.conf =================================================================== --- sysuser.conf 2019-02-27 08:07:41 UTC (rev 436197) +++ sysuser.conf 2019-02-27 08:07:57 UTC (rev 436198) @@ -1,2 +0,0 @@ -g jabber 17 - - -u jabber 17 - /var/lib/ejabberd Copied: ejabberd/repos/community-x86_64/sysuser.conf (from rev 436197, ejabberd/trunk/sysuser.conf) =================================================================== --- sysuser.conf (rev 0) +++ sysuser.conf 2019-02-27 08:07:57 UTC (rev 436198) @@ -0,0 +1,2 @@ +g jabber 17 - - +u jabber 17 - /var/lib/ejabberd