ayaports/user/roxy-wi/APKBUILD
build@apk-groulx a48eceecc6 3.17 cleanup
2023-01-11 13:23:51 +00:00

63 lines
1.4 KiB
Text

# Maintainer: Antoine Martin <dev@ayakael.net>
pkgname=roxy-wi
pkgver=6.3.2.0
pkgrel=0
pkgdesc="Web interface for managing HAProxy, Nginx and Keepalived servers"
arch='noarch'
url="https://github.com/Aidaho12/haproxy-wi"
license='Apache-2.0'
makedepends='git'
depends="
net-tools
lshw
dos2unix
nginx
py3-pip
netcat-openbsd
python3
libpq
libldap
libsasl
pkgconfig
nmap
py3-paramiko
py3-pytz-deprecation-shim
py3-requests
py3-pyTelegramBotApi
py3-networkx
py3-matplotlib
py3-future
py3-jinja2
py3-slack-sdk
py3-peewee
py3-pymysql
py3-distro
py3-bottle
py3-psutil
"
makedepends="
python3-dev
libxml2-dev
libxslt-dev
libffi-dev
freetype-dev
"
source="roxi-wi.$pkgver.tar.gz::https://github.com/hap-wi/roxy-wi/archive/refs/tags/v$pkgver.tar.gz"
_giturl="https://github.com/Aidaho12/haproxy-wi"
_gittag="0f02f84588bd15c5c923e0e405d8f32a19321b2a"
builddir="$srcdir"/$pkgname-$pkgver
options="!check"
package() {
_instdir="$pkgdir"/usr/share/webapps/haproxy-wi
mkdir -p "${_instdir}"
cd "${_instdir}"
cp -ra "$builddir"/* .
chmod +x app/*.py
install -Dm755 -d "${_instdir}"/app/certs "${_instdir}"/keys "${_instdir}"/log "${pkgdir}"/etc/logrotate.d
cp "${_instdir}"/config_other/logrotate/* "${pkgdir}"/etc/logrotate.d/.
}
sha512sums="
c6048c40d109ea0edded9693fd2b850cee0e2ff396950edb59b9af8bc75385192808a822d303461b5ccb7cb9d946f8cdda0395d048fd2c49e01396c17412d21a roxi-wi.6.3.2.0.tar.gz
"