apache: split htpassword

no need to have full apache installed
This commit is contained in:
teldra 2019-12-11 00:40:37 +01:00 committed by Jürgen Buchmüller
parent e7885a4445
commit 6b825ab230
2 changed files with 9 additions and 0 deletions

1
srcpkgs/apache-htpasswd Symbolic link
View File

@ -0,0 +1 @@
apache

View File

@ -31,6 +31,7 @@ conf_files="
hostmakedepends="pkg-config perl apr-util-devel" hostmakedepends="pkg-config perl apr-util-devel"
makedepends="zlib-devel libuuid-devel pcre-devel nghttp2-devel makedepends="zlib-devel libuuid-devel pcre-devel nghttp2-devel
libressl-devel db-devel gdbm-devel expat-devel libldap-devel apr-util-devel" libressl-devel db-devel gdbm-devel expat-devel libldap-devel apr-util-devel"
depends="apache-htpasswd"
short_desc="Apache http server" short_desc="Apache http server"
maintainer="Orphaned <orphan@voidlinux.org>" maintainer="Orphaned <orphan@voidlinux.org>"
license="Apache-2.0" license="Apache-2.0"
@ -129,6 +130,13 @@ post_install() {
vsv apache vsv apache
} }
apache-htpasswd_package() {
short_desc+=" - htpasswd"
pkg_install() {
vmove usr/bin/htpasswd
}
}
apache-devel_package() { apache-devel_package() {
depends="apr-devel apr-util-devel perl" depends="apr-devel apr-util-devel perl"
short_desc+=" - development files" short_desc+=" - development files"