monkey: update to 1.6.8.
This commit is contained in:
parent
af563bc908
commit
07adcc8647
|
@ -1,45 +1,40 @@
|
||||||
# Template file for 'monkey'
|
# Template file for 'monkey'
|
||||||
pkgname=monkey
|
pkgname=monkey
|
||||||
version=1.5.6
|
version=1.6.8
|
||||||
revision=4
|
revision=1
|
||||||
build_style=configure
|
build_style=configure
|
||||||
|
hostmakedepends="cmake"
|
||||||
makedepends="mbedtls-devel"
|
makedepends="mbedtls-devel"
|
||||||
configure_args+="--prefix=/usr --plugdir=/usr/share/monkey/plugins "
|
configure_args+="--prefix=/usr --sbindir=/usr/bin --libdir=/usr/lib "
|
||||||
configure_args+="--sysconfdir=/etc/monkey/ --enable-plugins=mbedtls "
|
configure_args+="--sysconfdir=/etc/monkey/ --enable-plugins=mbedtls "
|
||||||
configure_args+="--datadir=/srv/httpd --mandir=/usr/share/man "
|
configure_args+="--webroot=/srv/httpd --mandir=/usr/share/man "
|
||||||
configure_args+="--pidfile=/var/run/monkey.pid --logdir=/var/log/monkey "
|
configure_args+="--pidfile=/var/run/monkey.pid --logdir=/var/log/monkey "
|
||||||
configure_args+="--malloc-libc "
|
configure_args+="--malloc-libc --default-user=httpd "
|
||||||
short_desc="Cross-arch embeddable lightweight HTTP server"
|
short_desc="Cross-arch embeddable lightweight HTTP server"
|
||||||
maintainer="necrophcodr <necrophcodr@necrophcodr.me>"
|
maintainer="necrophcodr <necrophcodr@necrophcodr.me>"
|
||||||
license="APL-2.0"
|
license="Apache-2.0"
|
||||||
homepage="http://monkey-project.com"
|
homepage="http://monkey-project.com"
|
||||||
distfiles="${homepage}/releases/1.5/${pkgname}-${version}.tar.gz"
|
distfiles="${homepage}/releases/${version%.*}/${pkgname}-${version}.tar.gz"
|
||||||
checksum=7c3d845306aa74ee6effd7ab6169d16ac4e6450e564954d0d0baa2d1e9be1a22
|
checksum=936aa276d11dea77cda2703eb5d1b89ede1cf8d44440e1ec029cafb10effb3cf
|
||||||
|
|
||||||
make_dirs="
|
make_dirs="
|
||||||
/var/log/monkey 0755 root httpd
|
/var/log/monkey 0755 root httpd
|
||||||
/srv/httpd/htdocs 0755 root httpd"
|
/srv/httpd/htdocs 0755 root httpd"
|
||||||
|
|
||||||
conf_files="
|
conf_files="
|
||||||
/etc/monkey/plugins/mbedtls/mbedtls.conf
|
/etc/monkey/plugins/*/*.conf
|
||||||
/etc/monkey/plugins/mandril/mandril.conf
|
/etc/monkey/plugins/dirlisting/themes/*/*.theme
|
||||||
/etc/monkey/plugins/logger/logger.conf
|
/etc/monkey/sites/default
|
||||||
/etc/monkey/plugins/fastcgi/fastcgi.conf
|
/etc/monkey/monkey.conf
|
||||||
/etc/monkey/plugins/dirlisting/dirhtml.conf
|
/etc/monkey/plugins.load
|
||||||
/etc/monkey/plugins/dirlisting/themes/guineo/header.theme
|
/etc/monkey/monkey.mime"
|
||||||
/etc/monkey/plugins/dirlisting/themes/guineo/footer.theme
|
|
||||||
/etc/monkey/plugins/dirlisting/themes/guineo/entry.theme
|
|
||||||
/etc/monkey/plugins/cheetah/cheetah.conf
|
|
||||||
/etc/monkey/plugins/cgi/cgi.conf
|
|
||||||
/etc/monkey/plugins/auth/monkey.users"
|
|
||||||
|
|
||||||
system_accounts="httpd"
|
system_accounts="httpd"
|
||||||
httpd_descr="Monkey HTTP server"
|
httpd_descr="Monkey HTTP server"
|
||||||
httpd_homedir="/srv/httpd"
|
httpd_homedir="/srv/httpd"
|
||||||
|
|
||||||
case $XBPS_TARGET_MACHINE in
|
case $XBPS_TARGET_MACHINE in
|
||||||
*-musl)
|
*-musl) configure_args+="--musl-mode --no-backtrace ";;
|
||||||
configure_args+="--musl-mode --no-backtrace " ;;
|
|
||||||
esac
|
esac
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
@ -52,7 +47,6 @@ monkey-devel_package() {
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
vmove usr/lib/pkgconfig
|
|
||||||
vmove "usr/lib/*.so"
|
vmove "usr/lib/*.so"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue