summaryrefslogtreecommitdiffstats
path: root/testing/sqstat/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-07-16 14:17:28 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-07-16 14:17:28 +0000
commit35bae381d202f379dbe4fc6c9b187884764fdcfd (patch)
tree025b099e22c9327f2207837b8f865594fe9e137b /testing/sqstat/APKBUILD
parentb50cc2c02c2379a604f24c7252e4a8c649f382bf (diff)
downloadaports-35bae381d202f379dbe4fc6c9b187884764fdcfd.tar.bz2
aports-35bae381d202f379dbe4fc6c9b187884764fdcfd.tar.xz
testing/sqstat: new aport
SqStat is a script which allows to look through active squid users connections http://samm.kiev.ua/sqstat/
Diffstat (limited to 'testing/sqstat/APKBUILD')
-rw-r--r--testing/sqstat/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/testing/sqstat/APKBUILD b/testing/sqstat/APKBUILD
new file mode 100644
index 000000000..d40862eaf
--- /dev/null
+++ b/testing/sqstat/APKBUILD
@@ -0,0 +1,34 @@
+# 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/"
+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"