aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScrumpyJack <scrumpyjack@st.ilet.to>2016-03-16 11:18:43 +0000
committerTimo Teräs <timo.teras@iki.fi>2016-03-18 06:21:02 +0000
commite69c6a196c7fd7fcfbda773beba4c96d450ad5fb (patch)
tree30f042844d3c322c675907849a1c7d630e4d663d
parente793eae5602bc80b630451f4852510c805acbef3 (diff)
downloadaports-e69c6a196c7fd7fcfbda773beba4c96d450ad5fb.tar.bz2
aports-e69c6a196c7fd7fcfbda773beba4c96d450ad5fb.tar.xz
main/monkey: upgrade to 1.6.8
Upgraded from 1.5.6 to 1.6.8 [Timo: added --libdir, -dev package and whitespace cleanup]
-rw-r--r--main/monkey/APKBUILD40
1 files changed, 21 insertions, 19 deletions
diff --git a/main/monkey/APKBUILD b/main/monkey/APKBUILD
index da40e6fe0e..2582cff5d1 100644
--- a/main/monkey/APKBUILD
+++ b/main/monkey/APKBUILD
@@ -2,18 +2,18 @@
# Contributor: Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org>
# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to>
pkgname=monkey
-pkgver=1.5.6
-pkgrel=2
+pkgver=1.6.8
+pkgrel=0
pkgdesc="Monkey is a lightweight and powerful web server "
url="http://monkey-project.com/"
arch="all"
license="ASL 2.0"
depends=""
depends_dev=""
-makedepends="bash mbedtls1-dev findutils"
+makedepends="cmake bash mbedtls-dev findutils"
install=""
-subpackages="$pkgname-doc"
-source="http://monkey-project.com/releases/1.5/${pkgname}-${pkgver}.tar.gz"
+subpackages="$pkgname-doc $pkgname-dev"
+source="http://monkey-project.com/releases/1.6/${pkgname}-${pkgver}.tar.gz"
_builddir="${srcdir}/${pkgname}-${pkgver}"
prepare() {
@@ -29,25 +29,27 @@ prepare() {
build() {
cd "$_builddir"
./configure \
- --musl-mode \
- --no-backtrace \
- --enable-plugins=polarssl \
- --prefix=/usr \
- --mandir=/usr/share/man \
- --sysconfdir=/etc/$pkgname \
- --datadir=/var/$pkgname \
- --logdir=/var/log/$pkgname \
- --plugdir=/etc/$pkgname \
- --pidfile=/var/run/${pkgname}.pid || return 1
+ --musl-mode \
+ --no-backtrace \
+ --malloc-libc \
+ --mbedtls-shared \
+ --default-user=nobody \
+ --prefix=/usr \
+ --libdir=/usr/lib \
+ --mandir=/usr/share/man \
+ --sysconfdir=/etc/$pkgname \
+ --webroot=/var/$pkgname \
+ --logdir=/var/log/$pkgname \
+ --pidfile=${pkgname}.pid || return 1
make
}
package() {
cd "$_builddir"
make DESTDIR=$pkgdir install
- install -Dm 755 "$pkgdir/usr/bin/banana" "$pkgdir/etc/init.d/banana"
+ install -Dm 755 "$_builddir/monkey.init" "$pkgdir/etc/init.d/banana"
}
-md5sums="9699e4c9ea6ce6b989907c252ae80254 monkey-1.5.6.tar.gz"
-sha256sums="7c3d845306aa74ee6effd7ab6169d16ac4e6450e564954d0d0baa2d1e9be1a22 monkey-1.5.6.tar.gz"
-sha512sums="4c7c627cb047252252b22da5fba179a21fb5b8dc6280b96307af52757ad049d24b0daaaea51dca4f0429af5e6499c239f6b62a03654cc9e7ad98ae8f5149b64c monkey-1.5.6.tar.gz"
+md5sums="aa9b95e16023a7fc062f00a197da059a monkey-1.6.8.tar.gz"
+sha256sums="936aa276d11dea77cda2703eb5d1b89ede1cf8d44440e1ec029cafb10effb3cf monkey-1.6.8.tar.gz"
+sha512sums="44d3c9785190849e50ffc28168a41939ddb9fa62e7c0ead26fa67ff78eae1b3855a9729b3de520b53d629607b456e9fa6fe31b7d0b0036c514c1d13296b7e8db monkey-1.6.8.tar.gz"