[arch-commits] Commit in ejabberd/repos (20 files)
Sergej Pupykin
spupykin at archlinux.org
Wed Apr 8 16:41:05 UTC 2015
Date: Wednesday, April 8, 2015 @ 18:41:05
Author: spupykin
Revision: 130938
archrelease: copy trunk to community-x86_64, community-i686
Added:
ejabberd/repos/community-i686/PKGBUILD
(from rev 130937, ejabberd/trunk/PKGBUILD)
ejabberd/repos/community-i686/ejabberd.install
(from rev 130937, ejabberd/trunk/ejabberd.install)
ejabberd/repos/community-i686/ejabberd.logrotate
(from rev 130937, ejabberd/trunk/ejabberd.logrotate)
ejabberd/repos/community-i686/ejabberd.service
(from rev 130937, ejabberd/trunk/ejabberd.service)
ejabberd/repos/community-i686/sysuser.conf
(from rev 130937, ejabberd/trunk/sysuser.conf)
ejabberd/repos/community-x86_64/PKGBUILD
(from rev 130937, ejabberd/trunk/PKGBUILD)
ejabberd/repos/community-x86_64/ejabberd.install
(from rev 130937, ejabberd/trunk/ejabberd.install)
ejabberd/repos/community-x86_64/ejabberd.logrotate
(from rev 130937, ejabberd/trunk/ejabberd.logrotate)
ejabberd/repos/community-x86_64/ejabberd.service
(from rev 130937, ejabberd/trunk/ejabberd.service)
ejabberd/repos/community-x86_64/sysuser.conf
(from rev 130937, ejabberd/trunk/sysuser.conf)
Deleted:
ejabberd/repos/community-i686/PKGBUILD
ejabberd/repos/community-i686/ejabberd.install
ejabberd/repos/community-i686/ejabberd.logrotate
ejabberd/repos/community-i686/ejabberd.service
ejabberd/repos/community-i686/sysuser.conf
ejabberd/repos/community-x86_64/PKGBUILD
ejabberd/repos/community-x86_64/ejabberd.install
ejabberd/repos/community-x86_64/ejabberd.logrotate
ejabberd/repos/community-x86_64/ejabberd.service
ejabberd/repos/community-x86_64/sysuser.conf
-------------------------------------+
/PKGBUILD | 260 ++++++++++++++++++++++++++++++++++
/ejabberd.install | 42 +++++
/ejabberd.logrotate | 24 +++
/ejabberd.service | 28 +++
/sysuser.conf | 6
community-i686/PKGBUILD | 130 -----------------
community-i686/ejabberd.install | 21 --
community-i686/ejabberd.logrotate | 12 -
community-i686/ejabberd.service | 14 -
community-i686/sysuser.conf | 3
community-x86_64/PKGBUILD | 130 -----------------
community-x86_64/ejabberd.install | 21 --
community-x86_64/ejabberd.logrotate | 12 -
community-x86_64/ejabberd.service | 14 -
community-x86_64/sysuser.conf | 3
15 files changed, 360 insertions(+), 360 deletions(-)
Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD 2015-04-08 16:40:41 UTC (rev 130937)
+++ community-i686/PKGBUILD 2015-04-08 16:41:05 UTC (rev 130938)
@@ -1,130 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Jeff 'codemac' Mickey <jeff at archlinux.org>
-# Contributor: Alexander Rødseth <rodseth at gmail.com>
-
-pkgname=ejabberd
-pkgver=15.03
-pkgrel=2
-pkgdesc="Jabber server written in Erlang"
-arch=('x86_64' 'i686')
-url="http://www.ejabberd.im/"
-license=("GPL")
-depends=('expat' 'openssl' 'zlib' 'erlang-nox' 'pam' 'iproute2' 'erlang-unixodbc' 'libyaml')
-makedepends=('git' 'rebar' 'hevea' 'texlive-bin' 'texlive-core' 'texlive-latexextra')
-backup=('etc/ejabberd/ejabberd.yml'
- 'etc/ejabberd/ejabberdctl.cfg'
- 'etc/logrotate.d/ejabberd')
-install=$pkgname.install
-replaces=('ejabberd-mod_mysql' 'ejabberd-mod_mysql-svn'
- 'ejabberd-mod_pgsql' 'ejabberd-mod_pgsql-svn')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/processone/ejabberd/archive/$pkgver.tar.gz"
- "p1_cache_tab::git://github.com/processone/cache_tab"
- "p1_tls::git://github.com/processone/tls"
- "p1_stringprep::git://github.com/processone/stringprep"
- "p1_xml::git://github.com/processone/xml"
- "p1_yaml::git://github.com/processone/p1_yaml"
- "git://github.com/rds13/xmlrpc"
- "p1_pam::git://github.com/processone/epam"
- "p1_zlib::git://github.com/processone/zlib"
- "git://github.com/basho/lager"
- "p1_iconv::git://github.com/processone/eiconv"
- "git://github.com/DeadZen/goldrush.git"
- "p1_mysql::git://github.com/processone/mysql.git"
- "p1_pgsql::git://github.com/processone/pgsql.git"
- "p1_stun::git://github.com/processone/stun"
- "git://github.com/davisp/jiffy"
- "git://github.com/cmullaparthi/ibrowse"
- "git://github.com/esl/lhttpc"
- "git://github.com/eproxus/meck"
- "esip::git://github.com/processone/p1_sip"
- "git://github.com/basho/riak_pb"
- "riakc::git://github.com/basho/riak-erlang-client"
- "protobuffs::git://github.com/basho/erlang_protobuffs.git"
- "git://github.com/processone/p1_utils"
- "ehyperloglog::git://github.com/vaxelfel/eHyperLogLog.git"
- "rebar_elixir_plugin::git://github.com/yrashk/rebar_elixir_plugin"
- "elixir::git://github.com/elixir-lang/elixir"
- "git://github.com/wooga/eredis"
- "$pkgname.logrotate"
- "ejabberd.service"
- "sysuser.conf")
-md5sums=('e4996f1192c5bae9e04ccf43ab3cda14'
- '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'
- 'f97c8a96160f30e0aecc9526c12e6606'
- 'a437aff9d7d477fb036d527205617e18'
- '458fc41be4adb9554a53b8f9ae05fbee')
-
-prepare() {
- cd "$srcdir/$pkgname-$pkgver"
-
- mkdir -p "$srcdir/$pkgname-$pkgver/deps"
- for i in goldrush lager p1_cache_tab p1_iconv p1_pam \
- p1_stringprep p1_tls p1_xml p1_yaml p1_zlib xmlrpc \
- p1_mysql p1_pgsql p1_stun jiffy ibrowse lhttpc \
- meck esip riak_pb riakc p1_utils protobuffs \
- ehyperloglog rebar_elixir_plugin elixir eredis; do
- rm -rf "$srcdir/$pkgname-$pkgver/deps/$i"
- mv $srcdir/$i "$srcdir/$pkgname-$pkgver/deps"
- done
-
- pushd deps/lhttpc/src/
- mv lhttpc.app.src lhttpc.app.src.bak
- cat lhttpc.app.src.bak | iconv -f utf8 -c >lhttpc.app.src
- popd
-}
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
- [ -x configure ] || ./autogen.sh
- ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
- --enable-all
- make debug=true
- make -C doc
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
- make DESTDIR="$pkgdir" install
- install -Dm04750 deps/p1_pam/priv/bin/epam $pkgdir/usr/lib/ejabberd/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/"*
- mkdir -p $pkgdir/usr/bin
- mv $pkgdir/usr/sbin/ejabberdctl $pkgdir/usr/bin/ejabberdctl
- chmod a+rx "$pkgdir/usr/bin/ejabberdctl" "$pkgdir/usr/lib/ejabberd/priv/bin/captcha.sh"
- rm -rf "$pkgdir/var/lock" "$pkgdir/usr/sbin"
- install -Dm0644 $srcdir/ejabberd.service $pkgdir/usr/lib/systemd/system/ejabberd.service
- install -Dm644 $srcdir/sysuser.conf "$pkgdir"/usr/lib/sysusers.d/ejabberd.conf
- # workaround
- ln -s mod_configure.beam $pkgdir/usr/lib/ejabberd/ebin/configure.beam
- rm -f $pkgdir/usr/bin/{elixir,iex,mix}
-}
-
-# vim:set ts=2 sw=2 et:
Copied: ejabberd/repos/community-i686/PKGBUILD (from rev 130937, ejabberd/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2015-04-08 16:41:05 UTC (rev 130938)
@@ -0,0 +1,130 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Jeff 'codemac' Mickey <jeff at archlinux.org>
+# Contributor: Alexander Rødseth <rodseth at gmail.com>
+
+pkgname=ejabberd
+pkgver=15.03
+pkgrel=3
+pkgdesc="Jabber server written in Erlang"
+arch=('x86_64' 'i686')
+url="http://www.ejabberd.im/"
+license=("GPL")
+depends=('expat' 'openssl' 'zlib' 'erlang-nox' 'pam' 'iproute2' 'erlang-unixodbc' 'libyaml')
+makedepends=('git' 'rebar' 'hevea' 'texlive-bin' 'texlive-core' 'texlive-latexextra')
+backup=('etc/ejabberd/ejabberd.yml'
+ 'etc/ejabberd/ejabberdctl.cfg'
+ 'etc/logrotate.d/ejabberd')
+install=$pkgname.install
+replaces=('ejabberd-mod_mysql' 'ejabberd-mod_mysql-svn'
+ 'ejabberd-mod_pgsql' 'ejabberd-mod_pgsql-svn')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/processone/ejabberd/archive/$pkgver.tar.gz"
+ "p1_cache_tab::git://github.com/processone/cache_tab"
+ "p1_tls::git://github.com/processone/tls"
+ "p1_stringprep::git://github.com/processone/stringprep"
+ "p1_xml::git://github.com/processone/xml"
+ "p1_yaml::git://github.com/processone/p1_yaml"
+ "git://github.com/rds13/xmlrpc"
+ "p1_pam::git://github.com/processone/epam"
+ "p1_zlib::git://github.com/processone/zlib"
+ "git://github.com/basho/lager"
+ "p1_iconv::git://github.com/processone/eiconv"
+ "git://github.com/DeadZen/goldrush.git"
+ "p1_mysql::git://github.com/processone/mysql.git"
+ "p1_pgsql::git://github.com/processone/pgsql.git"
+ "p1_stun::git://github.com/processone/stun"
+ "git://github.com/davisp/jiffy"
+ "git://github.com/cmullaparthi/ibrowse"
+ "git://github.com/esl/lhttpc"
+ "git://github.com/eproxus/meck"
+ "esip::git://github.com/processone/p1_sip"
+ "git://github.com/basho/riak_pb#tag=1.4.4.0"
+ "riakc::git://github.com/basho/riak-erlang-client#tag=1.4.2"
+ "protobuffs::git://github.com/basho/erlang_protobuffs.git"
+ "git://github.com/processone/p1_utils"
+ "ehyperloglog::git://github.com/vaxelfel/eHyperLogLog.git"
+ "rebar_elixir_plugin::git://github.com/yrashk/rebar_elixir_plugin"
+ "elixir::git://github.com/elixir-lang/elixir#branch=v1.0"
+ "git://github.com/wooga/eredis"
+ "$pkgname.logrotate"
+ "ejabberd.service"
+ "sysuser.conf")
+md5sums=('e4996f1192c5bae9e04ccf43ab3cda14'
+ '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'
+ 'f97c8a96160f30e0aecc9526c12e6606'
+ 'a437aff9d7d477fb036d527205617e18'
+ '458fc41be4adb9554a53b8f9ae05fbee')
+
+prepare() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ mkdir -p "$srcdir/$pkgname-$pkgver/deps"
+ for i in goldrush lager p1_cache_tab p1_iconv p1_pam \
+ p1_stringprep p1_tls p1_xml p1_yaml p1_zlib xmlrpc \
+ p1_mysql p1_pgsql p1_stun jiffy ibrowse lhttpc \
+ meck esip riak_pb riakc p1_utils protobuffs \
+ ehyperloglog rebar_elixir_plugin elixir eredis; do
+ rm -rf "$srcdir/$pkgname-$pkgver/deps/$i"
+ mv $srcdir/$i "$srcdir/$pkgname-$pkgver/deps"
+ done
+
+ pushd deps/lhttpc/src/
+ mv lhttpc.app.src lhttpc.app.src.bak
+ cat lhttpc.app.src.bak | iconv -f utf8 -c >lhttpc.app.src
+ popd
+}
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ [ -x configure ] || ./autogen.sh
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+ --enable-all
+ make debug=true
+ make -C doc
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+ install -Dm04750 deps/p1_pam/priv/bin/epam $pkgdir/usr/lib/ejabberd/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/"*
+ mkdir -p $pkgdir/usr/bin
+ mv $pkgdir/usr/sbin/ejabberdctl $pkgdir/usr/bin/ejabberdctl
+ chmod a+rx "$pkgdir/usr/bin/ejabberdctl" "$pkgdir/usr/lib/ejabberd/priv/bin/captcha.sh"
+ rm -rf "$pkgdir/var/lock" "$pkgdir/usr/sbin"
+ install -Dm0644 $srcdir/ejabberd.service $pkgdir/usr/lib/systemd/system/ejabberd.service
+ install -Dm644 $srcdir/sysuser.conf "$pkgdir"/usr/lib/sysusers.d/ejabberd.conf
+ # workaround
+ ln -s mod_configure.beam $pkgdir/usr/lib/ejabberd/ebin/configure.beam
+ rm -f $pkgdir/usr/bin/{elixir,iex,mix}
+}
+
+# vim:set ts=2 sw=2 et:
Deleted: community-i686/ejabberd.install
===================================================================
--- community-i686/ejabberd.install 2015-04-08 16:40:41 UTC (rev 130937)
+++ community-i686/ejabberd.install 2015-04-08 16:41:05 UTC (rev 130938)
@@ -1,21 +0,0 @@
-post_install() {
- systemd-sysusers ejabberd.conf
- chown -R ejabberd:jabber var/log/ejabberd
- chown -R ejabberd:jabber var/lib/ejabberd
- chown root:ejabberd \
- etc/ejabberd/ejabberd.yml \
- etc/ejabberd/ejabberdctl.cfg \
- etc/ejabberd \
- usr/lib/ejabberd/priv/bin/epam
-}
-
-post_upgrade() {
- chown -R ejabberd:jabber var/log/ejabberd
- chown -R ejabberd:jabber var/lib/ejabberd
- chown root:ejabberd \
- etc/ejabberd/ejabberd.yml \
- etc/ejabberd/ejabberdctl.cfg \
- etc/ejabberd \
- usr/lib/ejabberd/priv/bin/epam
- echo "!!! it is major update. Config must be converted to yaml format."
-}
Copied: ejabberd/repos/community-i686/ejabberd.install (from rev 130937, ejabberd/trunk/ejabberd.install)
===================================================================
--- community-i686/ejabberd.install (rev 0)
+++ community-i686/ejabberd.install 2015-04-08 16:41:05 UTC (rev 130938)
@@ -0,0 +1,21 @@
+post_install() {
+ systemd-sysusers ejabberd.conf
+ chown -R ejabberd:jabber var/log/ejabberd
+ chown -R ejabberd:jabber var/lib/ejabberd
+ chown root:ejabberd \
+ etc/ejabberd/ejabberd.yml \
+ etc/ejabberd/ejabberdctl.cfg \
+ etc/ejabberd \
+ usr/lib/ejabberd/priv/bin/epam
+}
+
+post_upgrade() {
+ chown -R ejabberd:jabber var/log/ejabberd
+ chown -R ejabberd:jabber var/lib/ejabberd
+ chown root:ejabberd \
+ etc/ejabberd/ejabberd.yml \
+ etc/ejabberd/ejabberdctl.cfg \
+ etc/ejabberd \
+ usr/lib/ejabberd/priv/bin/epam
+ echo "!!! it is major update. Config must be converted to yaml format."
+}
Deleted: community-i686/ejabberd.logrotate
===================================================================
--- community-i686/ejabberd.logrotate 2015-04-08 16:40:41 UTC (rev 130937)
+++ community-i686/ejabberd.logrotate 2015-04-08 16:41:05 UTC (rev 130938)
@@ -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-i686/ejabberd.logrotate (from rev 130937, ejabberd/trunk/ejabberd.logrotate)
===================================================================
--- community-i686/ejabberd.logrotate (rev 0)
+++ community-i686/ejabberd.logrotate 2015-04-08 16:41:05 UTC (rev 130938)
@@ -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: community-i686/ejabberd.service
===================================================================
--- community-i686/ejabberd.service 2015-04-08 16:40:41 UTC (rev 130937)
+++ community-i686/ejabberd.service 2015-04-08 16:41:05 UTC (rev 130938)
@@ -1,14 +0,0 @@
-[Unit]
-Description=A distributed, fault-tolerant Jabber/XMPP server
-After=network.target
-
-[Service]
-Type=forking
-User=ejabberd
-LimitNOFILE=16000
-RestartSec=5
-ExecStart=/usr/bin/ejabberdctl start
-ExecStop=/usr/bin/ejabberdctl stop
-
-[Install]
-WantedBy=multi-user.target
Copied: ejabberd/repos/community-i686/ejabberd.service (from rev 130937, ejabberd/trunk/ejabberd.service)
===================================================================
--- community-i686/ejabberd.service (rev 0)
+++ community-i686/ejabberd.service 2015-04-08 16:41:05 UTC (rev 130938)
@@ -0,0 +1,14 @@
+[Unit]
+Description=A distributed, fault-tolerant Jabber/XMPP server
+After=network.target
+
+[Service]
+Type=forking
+User=ejabberd
+LimitNOFILE=16000
+RestartSec=5
+ExecStart=/usr/bin/ejabberdctl start
+ExecStop=/usr/bin/ejabberdctl stop
+
+[Install]
+WantedBy=multi-user.target
Deleted: community-i686/sysuser.conf
===================================================================
--- community-i686/sysuser.conf 2015-04-08 16:40:41 UTC (rev 130937)
+++ community-i686/sysuser.conf 2015-04-08 16:41:05 UTC (rev 130938)
@@ -1,3 +0,0 @@
-g jabber 17 - -
-u ejabberd - - /var/lib/ejabberd
-m ejabberd jabber
Copied: ejabberd/repos/community-i686/sysuser.conf (from rev 130937, ejabberd/trunk/sysuser.conf)
===================================================================
--- community-i686/sysuser.conf (rev 0)
+++ community-i686/sysuser.conf 2015-04-08 16:41:05 UTC (rev 130938)
@@ -0,0 +1,3 @@
+g jabber 17 - -
+u ejabberd - - /var/lib/ejabberd
+m ejabberd jabber
Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD 2015-04-08 16:40:41 UTC (rev 130937)
+++ community-x86_64/PKGBUILD 2015-04-08 16:41:05 UTC (rev 130938)
@@ -1,130 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Jeff 'codemac' Mickey <jeff at archlinux.org>
-# Contributor: Alexander Rødseth <rodseth at gmail.com>
-
-pkgname=ejabberd
-pkgver=15.03
-pkgrel=2
-pkgdesc="Jabber server written in Erlang"
-arch=('x86_64' 'i686')
-url="http://www.ejabberd.im/"
-license=("GPL")
-depends=('expat' 'openssl' 'zlib' 'erlang-nox' 'pam' 'iproute2' 'erlang-unixodbc' 'libyaml')
-makedepends=('git' 'rebar' 'hevea' 'texlive-bin' 'texlive-core' 'texlive-latexextra')
-backup=('etc/ejabberd/ejabberd.yml'
- 'etc/ejabberd/ejabberdctl.cfg'
- 'etc/logrotate.d/ejabberd')
-install=$pkgname.install
-replaces=('ejabberd-mod_mysql' 'ejabberd-mod_mysql-svn'
- 'ejabberd-mod_pgsql' 'ejabberd-mod_pgsql-svn')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/processone/ejabberd/archive/$pkgver.tar.gz"
- "p1_cache_tab::git://github.com/processone/cache_tab"
- "p1_tls::git://github.com/processone/tls"
- "p1_stringprep::git://github.com/processone/stringprep"
- "p1_xml::git://github.com/processone/xml"
- "p1_yaml::git://github.com/processone/p1_yaml"
- "git://github.com/rds13/xmlrpc"
- "p1_pam::git://github.com/processone/epam"
- "p1_zlib::git://github.com/processone/zlib"
- "git://github.com/basho/lager"
- "p1_iconv::git://github.com/processone/eiconv"
- "git://github.com/DeadZen/goldrush.git"
- "p1_mysql::git://github.com/processone/mysql.git"
- "p1_pgsql::git://github.com/processone/pgsql.git"
- "p1_stun::git://github.com/processone/stun"
- "git://github.com/davisp/jiffy"
- "git://github.com/cmullaparthi/ibrowse"
- "git://github.com/esl/lhttpc"
- "git://github.com/eproxus/meck"
- "esip::git://github.com/processone/p1_sip"
- "git://github.com/basho/riak_pb"
- "riakc::git://github.com/basho/riak-erlang-client"
- "protobuffs::git://github.com/basho/erlang_protobuffs.git"
- "git://github.com/processone/p1_utils"
- "ehyperloglog::git://github.com/vaxelfel/eHyperLogLog.git"
- "rebar_elixir_plugin::git://github.com/yrashk/rebar_elixir_plugin"
- "elixir::git://github.com/elixir-lang/elixir"
- "git://github.com/wooga/eredis"
- "$pkgname.logrotate"
- "ejabberd.service"
- "sysuser.conf")
-md5sums=('e4996f1192c5bae9e04ccf43ab3cda14'
- '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'
- 'f97c8a96160f30e0aecc9526c12e6606'
- 'a437aff9d7d477fb036d527205617e18'
- '458fc41be4adb9554a53b8f9ae05fbee')
-
-prepare() {
- cd "$srcdir/$pkgname-$pkgver"
-
- mkdir -p "$srcdir/$pkgname-$pkgver/deps"
- for i in goldrush lager p1_cache_tab p1_iconv p1_pam \
- p1_stringprep p1_tls p1_xml p1_yaml p1_zlib xmlrpc \
- p1_mysql p1_pgsql p1_stun jiffy ibrowse lhttpc \
- meck esip riak_pb riakc p1_utils protobuffs \
- ehyperloglog rebar_elixir_plugin elixir eredis; do
- rm -rf "$srcdir/$pkgname-$pkgver/deps/$i"
- mv $srcdir/$i "$srcdir/$pkgname-$pkgver/deps"
- done
-
- pushd deps/lhttpc/src/
- mv lhttpc.app.src lhttpc.app.src.bak
- cat lhttpc.app.src.bak | iconv -f utf8 -c >lhttpc.app.src
- popd
-}
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
- [ -x configure ] || ./autogen.sh
- ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
- --enable-all
- make debug=true
- make -C doc
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
- make DESTDIR="$pkgdir" install
- install -Dm04750 deps/p1_pam/priv/bin/epam $pkgdir/usr/lib/ejabberd/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/"*
- mkdir -p $pkgdir/usr/bin
- mv $pkgdir/usr/sbin/ejabberdctl $pkgdir/usr/bin/ejabberdctl
- chmod a+rx "$pkgdir/usr/bin/ejabberdctl" "$pkgdir/usr/lib/ejabberd/priv/bin/captcha.sh"
- rm -rf "$pkgdir/var/lock" "$pkgdir/usr/sbin"
- install -Dm0644 $srcdir/ejabberd.service $pkgdir/usr/lib/systemd/system/ejabberd.service
- install -Dm644 $srcdir/sysuser.conf "$pkgdir"/usr/lib/sysusers.d/ejabberd.conf
- # workaround
- ln -s mod_configure.beam $pkgdir/usr/lib/ejabberd/ebin/configure.beam
- rm -f $pkgdir/usr/bin/{elixir,iex,mix}
-}
-
-# vim:set ts=2 sw=2 et:
Copied: ejabberd/repos/community-x86_64/PKGBUILD (from rev 130937, ejabberd/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2015-04-08 16:41:05 UTC (rev 130938)
@@ -0,0 +1,130 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Jeff 'codemac' Mickey <jeff at archlinux.org>
+# Contributor: Alexander Rødseth <rodseth at gmail.com>
+
+pkgname=ejabberd
+pkgver=15.03
+pkgrel=3
+pkgdesc="Jabber server written in Erlang"
+arch=('x86_64' 'i686')
+url="http://www.ejabberd.im/"
+license=("GPL")
+depends=('expat' 'openssl' 'zlib' 'erlang-nox' 'pam' 'iproute2' 'erlang-unixodbc' 'libyaml')
+makedepends=('git' 'rebar' 'hevea' 'texlive-bin' 'texlive-core' 'texlive-latexextra')
+backup=('etc/ejabberd/ejabberd.yml'
+ 'etc/ejabberd/ejabberdctl.cfg'
+ 'etc/logrotate.d/ejabberd')
+install=$pkgname.install
+replaces=('ejabberd-mod_mysql' 'ejabberd-mod_mysql-svn'
+ 'ejabberd-mod_pgsql' 'ejabberd-mod_pgsql-svn')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/processone/ejabberd/archive/$pkgver.tar.gz"
+ "p1_cache_tab::git://github.com/processone/cache_tab"
+ "p1_tls::git://github.com/processone/tls"
+ "p1_stringprep::git://github.com/processone/stringprep"
+ "p1_xml::git://github.com/processone/xml"
+ "p1_yaml::git://github.com/processone/p1_yaml"
+ "git://github.com/rds13/xmlrpc"
+ "p1_pam::git://github.com/processone/epam"
+ "p1_zlib::git://github.com/processone/zlib"
+ "git://github.com/basho/lager"
+ "p1_iconv::git://github.com/processone/eiconv"
+ "git://github.com/DeadZen/goldrush.git"
+ "p1_mysql::git://github.com/processone/mysql.git"
+ "p1_pgsql::git://github.com/processone/pgsql.git"
+ "p1_stun::git://github.com/processone/stun"
+ "git://github.com/davisp/jiffy"
+ "git://github.com/cmullaparthi/ibrowse"
+ "git://github.com/esl/lhttpc"
+ "git://github.com/eproxus/meck"
+ "esip::git://github.com/processone/p1_sip"
+ "git://github.com/basho/riak_pb#tag=1.4.4.0"
+ "riakc::git://github.com/basho/riak-erlang-client#tag=1.4.2"
+ "protobuffs::git://github.com/basho/erlang_protobuffs.git"
+ "git://github.com/processone/p1_utils"
+ "ehyperloglog::git://github.com/vaxelfel/eHyperLogLog.git"
+ "rebar_elixir_plugin::git://github.com/yrashk/rebar_elixir_plugin"
+ "elixir::git://github.com/elixir-lang/elixir#branch=v1.0"
+ "git://github.com/wooga/eredis"
+ "$pkgname.logrotate"
+ "ejabberd.service"
+ "sysuser.conf")
+md5sums=('e4996f1192c5bae9e04ccf43ab3cda14'
+ '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'
+ 'f97c8a96160f30e0aecc9526c12e6606'
+ 'a437aff9d7d477fb036d527205617e18'
+ '458fc41be4adb9554a53b8f9ae05fbee')
+
+prepare() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ mkdir -p "$srcdir/$pkgname-$pkgver/deps"
+ for i in goldrush lager p1_cache_tab p1_iconv p1_pam \
+ p1_stringprep p1_tls p1_xml p1_yaml p1_zlib xmlrpc \
+ p1_mysql p1_pgsql p1_stun jiffy ibrowse lhttpc \
+ meck esip riak_pb riakc p1_utils protobuffs \
+ ehyperloglog rebar_elixir_plugin elixir eredis; do
+ rm -rf "$srcdir/$pkgname-$pkgver/deps/$i"
+ mv $srcdir/$i "$srcdir/$pkgname-$pkgver/deps"
+ done
+
+ pushd deps/lhttpc/src/
+ mv lhttpc.app.src lhttpc.app.src.bak
+ cat lhttpc.app.src.bak | iconv -f utf8 -c >lhttpc.app.src
+ popd
+}
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ [ -x configure ] || ./autogen.sh
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+ --enable-all
+ make debug=true
+ make -C doc
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+ install -Dm04750 deps/p1_pam/priv/bin/epam $pkgdir/usr/lib/ejabberd/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/"*
+ mkdir -p $pkgdir/usr/bin
+ mv $pkgdir/usr/sbin/ejabberdctl $pkgdir/usr/bin/ejabberdctl
+ chmod a+rx "$pkgdir/usr/bin/ejabberdctl" "$pkgdir/usr/lib/ejabberd/priv/bin/captcha.sh"
+ rm -rf "$pkgdir/var/lock" "$pkgdir/usr/sbin"
+ install -Dm0644 $srcdir/ejabberd.service $pkgdir/usr/lib/systemd/system/ejabberd.service
+ install -Dm644 $srcdir/sysuser.conf "$pkgdir"/usr/lib/sysusers.d/ejabberd.conf
+ # workaround
+ ln -s mod_configure.beam $pkgdir/usr/lib/ejabberd/ebin/configure.beam
+ rm -f $pkgdir/usr/bin/{elixir,iex,mix}
+}
+
+# vim:set ts=2 sw=2 et:
Deleted: community-x86_64/ejabberd.install
===================================================================
--- community-x86_64/ejabberd.install 2015-04-08 16:40:41 UTC (rev 130937)
+++ community-x86_64/ejabberd.install 2015-04-08 16:41:05 UTC (rev 130938)
@@ -1,21 +0,0 @@
-post_install() {
- systemd-sysusers ejabberd.conf
- chown -R ejabberd:jabber var/log/ejabberd
- chown -R ejabberd:jabber var/lib/ejabberd
- chown root:ejabberd \
- etc/ejabberd/ejabberd.yml \
- etc/ejabberd/ejabberdctl.cfg \
- etc/ejabberd \
- usr/lib/ejabberd/priv/bin/epam
-}
-
-post_upgrade() {
- chown -R ejabberd:jabber var/log/ejabberd
- chown -R ejabberd:jabber var/lib/ejabberd
- chown root:ejabberd \
- etc/ejabberd/ejabberd.yml \
- etc/ejabberd/ejabberdctl.cfg \
- etc/ejabberd \
- usr/lib/ejabberd/priv/bin/epam
- echo "!!! it is major update. Config must be converted to yaml format."
-}
Copied: ejabberd/repos/community-x86_64/ejabberd.install (from rev 130937, ejabberd/trunk/ejabberd.install)
===================================================================
--- community-x86_64/ejabberd.install (rev 0)
+++ community-x86_64/ejabberd.install 2015-04-08 16:41:05 UTC (rev 130938)
@@ -0,0 +1,21 @@
+post_install() {
+ systemd-sysusers ejabberd.conf
+ chown -R ejabberd:jabber var/log/ejabberd
+ chown -R ejabberd:jabber var/lib/ejabberd
+ chown root:ejabberd \
+ etc/ejabberd/ejabberd.yml \
+ etc/ejabberd/ejabberdctl.cfg \
+ etc/ejabberd \
+ usr/lib/ejabberd/priv/bin/epam
+}
+
+post_upgrade() {
+ chown -R ejabberd:jabber var/log/ejabberd
+ chown -R ejabberd:jabber var/lib/ejabberd
+ chown root:ejabberd \
+ etc/ejabberd/ejabberd.yml \
+ etc/ejabberd/ejabberdctl.cfg \
+ etc/ejabberd \
+ usr/lib/ejabberd/priv/bin/epam
+ echo "!!! it is major update. Config must be converted to yaml format."
+}
Deleted: community-x86_64/ejabberd.logrotate
===================================================================
--- community-x86_64/ejabberd.logrotate 2015-04-08 16:40:41 UTC (rev 130937)
+++ community-x86_64/ejabberd.logrotate 2015-04-08 16:41:05 UTC (rev 130938)
@@ -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 130937, ejabberd/trunk/ejabberd.logrotate)
===================================================================
--- community-x86_64/ejabberd.logrotate (rev 0)
+++ community-x86_64/ejabberd.logrotate 2015-04-08 16:41:05 UTC (rev 130938)
@@ -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: community-x86_64/ejabberd.service
===================================================================
--- community-x86_64/ejabberd.service 2015-04-08 16:40:41 UTC (rev 130937)
+++ community-x86_64/ejabberd.service 2015-04-08 16:41:05 UTC (rev 130938)
@@ -1,14 +0,0 @@
-[Unit]
-Description=A distributed, fault-tolerant Jabber/XMPP server
-After=network.target
-
-[Service]
-Type=forking
-User=ejabberd
-LimitNOFILE=16000
-RestartSec=5
-ExecStart=/usr/bin/ejabberdctl start
-ExecStop=/usr/bin/ejabberdctl stop
-
-[Install]
-WantedBy=multi-user.target
Copied: ejabberd/repos/community-x86_64/ejabberd.service (from rev 130937, ejabberd/trunk/ejabberd.service)
===================================================================
--- community-x86_64/ejabberd.service (rev 0)
+++ community-x86_64/ejabberd.service 2015-04-08 16:41:05 UTC (rev 130938)
@@ -0,0 +1,14 @@
+[Unit]
+Description=A distributed, fault-tolerant Jabber/XMPP server
+After=network.target
+
+[Service]
+Type=forking
+User=ejabberd
+LimitNOFILE=16000
+RestartSec=5
+ExecStart=/usr/bin/ejabberdctl start
+ExecStop=/usr/bin/ejabberdctl stop
+
+[Install]
+WantedBy=multi-user.target
Deleted: community-x86_64/sysuser.conf
===================================================================
--- community-x86_64/sysuser.conf 2015-04-08 16:40:41 UTC (rev 130937)
+++ community-x86_64/sysuser.conf 2015-04-08 16:41:05 UTC (rev 130938)
@@ -1,3 +0,0 @@
-g jabber 17 - -
-u ejabberd - - /var/lib/ejabberd
-m ejabberd jabber
Copied: ejabberd/repos/community-x86_64/sysuser.conf (from rev 130937, ejabberd/trunk/sysuser.conf)
===================================================================
--- community-x86_64/sysuser.conf (rev 0)
+++ community-x86_64/sysuser.conf 2015-04-08 16:41:05 UTC (rev 130938)
@@ -0,0 +1,3 @@
+g jabber 17 - -
+u ejabberd - - /var/lib/ejabberd
+m ejabberd jabber
More information about the arch-commits
mailing list