aboutsummaryrefslogtreecommitdiffstats
path: root/main/supervisor/APKBUILD
blob: fb9d1e2620d5eee7556f62c45bac87e51f416b1d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Contributor: Peter Bui <pnutzh4x0r@gmail.com>
# Maintainer:
pkgname=supervisor
pkgver=3.3.4
pkgrel=1
pkgdesc="A system for controlling process state under UNIX"
url="http://supervisord.org"
arch="noarch"
license="BSD"
depends="python2 py-meld3 py-setuptools"
depends_dev="python2-dev"
makedepends="$depends_dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/Supervisor/$pkgname/archive/$pkgver.tar.gz
	supervisord.conf
	supervisord.initrd
	supervisord.logrotate"

builddir="$srcdir/$pkgname-$pkgver"

# secfixes:
#   3.2.4-r0:
#     - CVE-2017-11610  

build() {
	cd "$builddir"
	python2 setup.py build
}

package() {
	cd "$builddir"
	python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
	install -Dm600 "$srcdir/supervisord.conf" "$pkgdir/etc/supervisord.conf"
	install -Dm755 "$srcdir/supervisord.initrd" "$pkgdir/etc/init.d/supervisord"
	install -Dm644 "$srcdir/supervisord.logrotate" "$pkgdir/etc/logrotate.d/supervisord"
}

sha512sums="1db7b57db0c14ab298ee9f90515c220fc78d968be6be7fc1d3abcdfb1f84cc4b9d2961fc55a57a147ba47bd005672423dea6681fea9f4fafdc2d81b555d1ee11  supervisor-3.3.4.tar.gz
ce99b46b2f9112ed89d96a5d4844f91af1fc560d9db00291600e114f7e5a0ae7e5257e2240468669499275fe918d149f56359ce427628dff46b32d57e64f1052  supervisord.conf
7f7c51239c2360c4d03e1167e90650e0474ce8a0ca79c5d491f5f04a78eb95c343ed25d81983cde2f82535420e9b663cde532665114124b06a98fd7d08410416  supervisord.initrd
881fd0893280cb5053f56128838af51b6c79d715559e7b04a268102fd7b6121c99ff4411ed7f443f21232146925d40e1fbe269e5fcefa3f86fa35ba9d3625193  supervisord.logrotate"