aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ejabberd/APKBUILD
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2016-08-31 15:21:47 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2016-08-31 15:21:47 +0000
commit1b3bc15c827ae2251c5c50cea73abf1c5e1dcf15 (patch)
treeb12f5bbc297e04b30e203880e1543eefbbf2426e /testing/ejabberd/APKBUILD
parentbc808fa7103f3741f1ff6b4b509fa1ffccfb948f (diff)
downloadaports-1b3bc15c827ae2251c5c50cea73abf1c5e1dcf15.tar.bz2
aports-1b3bc15c827ae2251c5c50cea73abf1c5e1dcf15.tar.xz
testing/ejabberd: upgrade to 16.08
Diffstat (limited to 'testing/ejabberd/APKBUILD')
-rw-r--r--testing/ejabberd/APKBUILD55
1 files changed, 22 insertions, 33 deletions
diff --git a/testing/ejabberd/APKBUILD b/testing/ejabberd/APKBUILD
index 0be079462e..9778dbe6d6 100644
--- a/testing/ejabberd/APKBUILD
+++ b/testing/ejabberd/APKBUILD
@@ -2,33 +2,18 @@
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: John Regan <john@jrjrtech.com>
pkgname=ejabberd
-pkgver=16.04
-pkgrel=1
+pkgver=16.08
+pkgrel=0
pkgdesc="An erlang jabber server"
url="http://www.ejabberd.im"
arch="all"
license="GPL2+"
-_erl_deps="erlang-asn1
- erlang-crypto
- erlang-eldap
- erlang-mnesia
- erlang-public-key
- erlang-sasl
- erlang-ssl
- erlang-syntax-tools"
-_erl_make_deps="erlang-eunit
- erlang-parsetools"
-depends="erlang
- util-linux
- yaml
- $_erl_deps"
-depends_dev="erlang-dev
- expat-dev
- openssl-dev
- zlib-dev
- heimdal-dev
- yaml-dev
- git"
+_erl_deps="erlang-asn1 erlang-crypto erlang-eldap erlang-mnesia
+ erlang-public-key erlang-sasl erlang-ssl erlang-syntax-tools
+ "
+_erl_make_deps="erlang-eunit erlang-parsetools"
+depends="erlang util-linux yaml $_erl_deps"
+depends_dev="erlang-dev expat-dev openssl-dev zlib-dev heimdal-dev yaml-dev git"
makedepends="$depends_dev $_erl_deps $_erl_make_deps automake autoconf"
pkgusers="ejabberd"
pkggroups="ejabberd"
@@ -37,13 +22,15 @@ subpackages="$pkgname-dev $pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/processone/$pkgname/archive/$pkgver.tar.gz
ejabberd-16.01-ejabberdctl.patch
makefile.patch
- ejabberd.initd
+ ejabberd.initd
ejabberd.logrotate
- ejabberd.confd"
+ ejabberd.confd
+ "
+
+builddir="$srcdir"/$pkgname-$pkgver
-_builddir="$srcdir"/$pkgname-$pkgver
build() {
- cd "$_builddir"
+ cd "$builddir"
./autogen.sh
./configure --prefix=/usr \
--sysconfdir=/etc \
@@ -54,33 +41,35 @@ build() {
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
install -d ${pkgdir}/var/spool/$pkgname
install -d ${pkgdir}/var/lib/$pkgname
- install -D -m0644 "$srcdir"/$pkgname.logrotate ${pkgdir}/etc/logrotate.d/$pkgname
+ install -D -m0644 "$srcdir"/$pkgname.logrotate \
+ ${pkgdir}/etc/logrotate.d/$pkgname
install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname
chown -R ejabberd.ejabberd "$pkgdir"/var/log/ejabberd
chown -R ejabberd.ejabberd "$pkgdir"/var/spool/ejabberd
chown -R ejabberd.ejabberd "$pkgdir"/var/lib/ejabberd
- chgrp ejabberd "$pkgdir"/etc/ejabberd/ejabberd.yml "$pkgdir"/etc/ejabberd/ejabberdctl.cfg "$pkgdir"/etc/ejabberd
+ chgrp ejabberd "$pkgdir"/etc/ejabberd/ejabberd.yml \
+ "$pkgdir"/etc/ejabberd/ejabberdctl.cfg "$pkgdir"/etc/ejabberd
}
-md5sums="b93d6f8ddc219f3ea7802478ec52bfd4 ejabberd-16.04.tar.gz
+md5sums="9b977580eda44b68d2b14e2f2842894d ejabberd-16.08.tar.gz
583d01f6b6ac7f3cd1118462eaba1c39 ejabberd-16.01-ejabberdctl.patch
4fb22399211c3a8f259de57fdbfefa0f makefile.patch
62242441aaed1025587dcc3b40d08e68 ejabberd.initd
f97c8a96160f30e0aecc9526c12e6606 ejabberd.logrotate
fa61d30731cb4d818187d2e5e2fd766a ejabberd.confd"
-sha256sums="efe4318fb795ff2b971a21d1bf8af391dfbaeb4bbb86bf4c38d5bad351040060 ejabberd-16.04.tar.gz
+sha256sums="0eed093dca479b543173cf74ffdaa576508e6789913d2f7bae2af2506f0d3579 ejabberd-16.08.tar.gz
fc971f9eba50c82013f20c78d3ba7f48bb4f70945e41951808b53ef9dbf0b898 ejabberd-16.01-ejabberdctl.patch
4c939a05bc353a90a585143a5d981069aa7767563979595cef8637f7ab782fa7 makefile.patch
aed527edf2008becaa950eddffecdb1d9cb8a9a50e38cee9e51853c1189887cb ejabberd.initd
31780cac78736d285e46f445f8c8463a70f2aeb2683280c259129db11832ddd2 ejabberd.logrotate
e1f690788cd1b5ecb334582af8e019602d297ef8b914a030de69bce2cc20fffd ejabberd.confd"
-sha512sums="502764932ba1aa65edb2c99198d25c356068875bd1ec2fd23a265dbe4afa4cded31e198d3c54f6d555a3de560f2f8f5fafcad3827dd2b4af3162f52db73dfede ejabberd-16.04.tar.gz
+sha512sums="39f4b1e577543b928a9aad409751300828061d420ff658391f433715d9821b7597b59a9b7678cc49de7dfe9178ae8bc5f4770b0eeba13aa50d2a0b28fef6f01f ejabberd-16.08.tar.gz
aeb1f4fc299691751fd687a07bf35dc77f43cb1d14f9ba59e7de050e6953a0051f1827bbd0e21fc84dd4cb745b5603b915ffdf6de2151d6e34b4a4720a0a77ab ejabberd-16.01-ejabberdctl.patch
36eacec7780ed95ffc310db30e34f9d5ba8ead65f8fc44fb06c7d825f7252effad83e07c4a010e65b80a63f4a1d985290e8a489906a8c225c306f5b5b642ce36 makefile.patch
e2310e1b5b471e5c27ce2ec5d5fc6549656f9f49ba1d65a515ebc3af6d3237a461894c6c4c55c8c6eb1b9be0b01573057591ead51eb9014f5cf1258d387c9fc8 ejabberd.initd