diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-07-16 14:17:28 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-07-16 14:17:28 +0000 |
commit | 35bae381d202f379dbe4fc6c9b187884764fdcfd (patch) | |
tree | 025b099e22c9327f2207837b8f865594fe9e137b | |
parent | b50cc2c02c2379a604f24c7252e4a8c649f382bf (diff) | |
download | alpine_aports-35bae381d202f379dbe4fc6c9b187884764fdcfd.tar.bz2 alpine_aports-35bae381d202f379dbe4fc6c9b187884764fdcfd.tar.xz alpine_aports-35bae381d202f379dbe4fc6c9b187884764fdcfd.zip |
testing/sqstat: new aport
SqStat is a script which allows to look through active squid users connections
http://samm.kiev.ua/sqstat/
-rw-r--r-- | testing/sqstat/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/testing/sqstat/APKBUILD b/testing/sqstat/APKBUILD new file mode 100644 index 0000000000..d40862eaf8 --- /dev/null +++ b/testing/sqstat/APKBUILD | |||
@@ -0,0 +1,34 @@ | |||
1 | # Maintainer: Natanael Copa | ||
2 | pkgname=sqstat | ||
3 | pkgver=1.20 | ||
4 | pkgrel=0 | ||
5 | pkgdesc="SqStat is a script which allows to look through active squid users connections" | ||
6 | url="http://samm.kiev.ua/sqstat/" | ||
7 | license="ISC" | ||
8 | depends= | ||
9 | makedepends= | ||
10 | install= | ||
11 | subpackages= | ||
12 | source="http://samm.kiev.ua/sqstat/sqstat-$pkgver.tar.gz" | ||
13 | |||
14 | _builddir="$srcdir"/$pkgname-$pkgver | ||
15 | |||
16 | prepare() { | ||
17 | cd "$_builddir" | ||
18 | } | ||
19 | |||
20 | build() { | ||
21 | cd "$_builddir" | ||
22 | } | ||
23 | |||
24 | package() { | ||
25 | cd "$_builddir" | ||
26 | mkdir -p "$pkgdir"/usr/share/webapps/sqstat \ | ||
27 | "$pkgdir"/etc/sqstat | ||
28 | cp config.inc.php.defaults "$pkgdir"/etc/sqstat/config.inc.php | ||
29 | mv * "$pkgdir"/usr/share/webapps/sqstat/ | ||
30 | ln -s /etc/sqstat/config.inc.php \ | ||
31 | "$pkgdir"/usr/share/webapps/sqstat/config.inc.php | ||
32 | } | ||
33 | |||
34 | md5sums="2b038a72eb5816995c3d7218ca516f30 sqstat-1.20.tar.gz" | ||