2023-03-31 20:26:25 +00:00
|
|
|
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
|
|
|
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
2021-06-04 15:24:22 +00:00
|
|
|
|
2022-07-29 15:01:12 +00:00
|
|
|
pkgname=roxy-wi
|
2023-01-11 13:23:51 +00:00
|
|
|
pkgver=6.3.2.0
|
2023-03-31 20:26:25 +00:00
|
|
|
pkgrel=1
|
2021-06-04 15:24:22 +00:00
|
|
|
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'
|
2023-01-11 13:23:51 +00:00
|
|
|
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
|
|
|
|
"
|
2022-07-29 15:01:12 +00:00
|
|
|
source="roxi-wi.$pkgver.tar.gz::https://github.com/hap-wi/roxy-wi/archive/refs/tags/v$pkgver.tar.gz"
|
2021-06-04 15:24:22 +00:00
|
|
|
_giturl="https://github.com/Aidaho12/haproxy-wi"
|
2021-07-14 03:56:39 +00:00
|
|
|
_gittag="0f02f84588bd15c5c923e0e405d8f32a19321b2a"
|
2021-06-04 15:24:22 +00:00
|
|
|
options="!check"
|
|
|
|
|
|
|
|
package() {
|
|
|
|
_instdir="$pkgdir"/usr/share/webapps/haproxy-wi
|
2023-03-31 20:26:25 +00:00
|
|
|
mkdir -p "$_instdir"
|
|
|
|
cd "$_instdir"
|
|
|
|
cp -ra "$builddir"/* .
|
2021-06-04 15:24:22 +00:00
|
|
|
chmod +x app/*.py
|
2023-03-31 20:26:25 +00:00
|
|
|
install -Dm755 -d "$_instdir"/app/certs "$_instdir"/keys "$_instdir"/log "$pkgdir"/etc/logrotate.d
|
|
|
|
cp "$_instdir"/config_other/logrotate/* "$pkgdir"/etc/logrotate.d/.
|
2021-06-04 15:24:22 +00:00
|
|
|
}
|
2022-07-29 15:01:12 +00:00
|
|
|
sha512sums="
|
2023-01-11 13:23:51 +00:00
|
|
|
c6048c40d109ea0edded9693fd2b850cee0e2ff396950edb59b9af8bc75385192808a822d303461b5ccb7cb9d946f8cdda0395d048fd2c49e01396c17412d21a roxi-wi.6.3.2.0.tar.gz
|
2022-07-29 15:01:12 +00:00
|
|
|
"
|