aboutsummaryrefslogtreecommitdiffstats
path: root/main/supervisor
diff options
context:
space:
mode:
authorRoberto Oliveira <robertoguimaraes8@gmail.com>2017-10-25 12:13:04 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2017-10-26 08:48:50 +0000
commit7cc1de30e5262a100a01f7374090f33b2193ee39 (patch)
tree752f19af692cb503e94420d75ed404f3d109c90d /main/supervisor
parente1c5295b8bff5bf866721d34efaa2e116b89613c (diff)
downloadaports-7cc1de30e5262a100a01f7374090f33b2193ee39.tar.bz2
aports-7cc1de30e5262a100a01f7374090f33b2193ee39.tar.xz
main/supervisor: upgrade to 3.3.3 and modernize
Diffstat (limited to 'main/supervisor')
-rw-r--r--main/supervisor/APKBUILD34
1 files changed, 7 insertions, 27 deletions
diff --git a/main/supervisor/APKBUILD b/main/supervisor/APKBUILD
index dabdb22288..e4fc19d7ac 100644
--- a/main/supervisor/APKBUILD
+++ b/main/supervisor/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Peter Bui <pnutzh4x0r@gmail.com>
# Maintainer: Peter Bui <pnutzh4x0r@gmail.com>
pkgname=supervisor
-pkgver=3.2.4
+pkgver=3.3.3
pkgrel=0
pkgdesc="A system for controlling process state under UNIX"
url="http://supervisord.org"
@@ -10,51 +10,31 @@ license="BSD"
depends="python2 py-meld3 py-setuptools"
depends_dev="python2-dev"
makedepends="$depends_dev"
-install=""
-subpackages=""
source="$pkgname-$pkgver.tar.gz::https://github.com/Supervisor/$pkgname/archive/$pkgver.tar.gz
supervisord.conf
supervisord.initrd
supervisord.logrotate"
-_builddir="$srcdir"/$pkgname-$pkgver
+builddir="$srcdir/$pkgname-$pkgver"
# secfixes:
# 3.2.4-r0:
# - CVE-2017-11610
-prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
-
build() {
- cd "$_builddir"
- python2 setup.py build || return 1
+ cd "$builddir"
+ python2 setup.py build
}
package() {
- cd "$_builddir"
- python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 || return 1
+ 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"
}
-md5sums="12a4eda6ca6c9efa1ef3cec1e07b7e5f supervisor-3.2.4.tar.gz
-57e02ffc69bd9e320427fedbb7e94970 supervisord.conf
-c50d9ae072f3fe290b2c94c58bc2e557 supervisord.initrd
-0701f381ce4057767d513183aba09edd supervisord.logrotate"
-sha256sums="403f1a79c7c70467b516b8255da8b23640601184fd21e0095d8928e4f88cbf51 supervisor-3.2.4.tar.gz
-6537f5cc77e9ba23191a8cb650cafffae6556c0d4c038e7b45554259a660261d supervisord.conf
-ef7a4b9d4363356db1c52a26f61d4700c866734530943ece262020c62f98221a supervisord.initrd
-fabd336baf786118635b8fce26f78d944eb57db7157012703ba9be754fdaac40 supervisord.logrotate"
-sha512sums="aeab9727eac390581a5ca8740103df6ba20f3d89d3f72b12f788766a202c6d12957b4ab2fa82e4c69d29076bbd2afd4ae7abe1d87242678769cc5ab730cf712b supervisor-3.2.4.tar.gz
+sha512sums="f09a72b9a60354738efbe28ebbf28a0cef3b9fb7f0d7ce330e364565d4a0f1b8be2dd4b5972d3e443022feb62d9e021e175c54e8235b801aee88cce74e7e5eb8 supervisor-3.3.3.tar.gz
ce99b46b2f9112ed89d96a5d4844f91af1fc560d9db00291600e114f7e5a0ae7e5257e2240468669499275fe918d149f56359ce427628dff46b32d57e64f1052 supervisord.conf
7f7c51239c2360c4d03e1167e90650e0474ce8a0ca79c5d491f5f04a78eb95c343ed25d81983cde2f82535420e9b663cde532665114124b06a98fd7d08410416 supervisord.initrd
881fd0893280cb5053f56128838af51b6c79d715559e7b04a268102fd7b6121c99ff4411ed7f443f21232146925d40e1fbe269e5fcefa3f86fa35ba9d3625193 supervisord.logrotate"