mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-31 14:22:14 +01:00
36 lines
774 B
Plaintext
36 lines
774 B
Plaintext
# Maintainer: Natanael Copa
|
|
pkgname=sqstat
|
|
pkgver=1.20
|
|
pkgrel=0
|
|
pkgdesc="SqStat is a script which allows to look through active squid users connections"
|
|
url="http://samm.kiev.ua/sqstat/"
|
|
arch="all"
|
|
license="ISC"
|
|
depends=
|
|
makedepends=
|
|
install=
|
|
subpackages=
|
|
source="http://samm.kiev.ua/sqstat/sqstat-$pkgver.tar.gz"
|
|
|
|
_builddir="$srcdir"/$pkgname-$pkgver
|
|
|
|
prepare() {
|
|
cd "$_builddir"
|
|
}
|
|
|
|
build() {
|
|
cd "$_builddir"
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
mkdir -p "$pkgdir"/usr/share/webapps/sqstat \
|
|
"$pkgdir"/etc/sqstat
|
|
cp config.inc.php.defaults "$pkgdir"/etc/sqstat/config.inc.php
|
|
mv * "$pkgdir"/usr/share/webapps/sqstat/
|
|
ln -s /etc/sqstat/config.inc.php \
|
|
"$pkgdir"/usr/share/webapps/sqstat/config.inc.php
|
|
}
|
|
|
|
md5sums="2b038a72eb5816995c3d7218ca516f30 sqstat-1.20.tar.gz"
|