aboutsummaryrefslogtreecommitdiffstats
path: root/main/iproute2-qos/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/iproute2-qos/APKBUILD')
-rw-r--r--main/iproute2-qos/APKBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/main/iproute2-qos/APKBUILD b/main/iproute2-qos/APKBUILD
new file mode 100644
index 0000000000..7c65ac0714
--- /dev/null
+++ b/main/iproute2-qos/APKBUILD
@@ -0,0 +1,26 @@
+# Contributor: Ilya Strelkin <iilluzion@gmail.com>
+# Maintainer: Ilya Strelkin <iilluzion@gmail.com>
+pkgname=iproute2-qos
+pkgver=0.4
+pkgrel=2
+pkgdesc="Scripts to set up quality of service with iproute2"
+url="http://git.alpinelinux.org/cgit/aports"
+arch="all"
+license="GPL"
+depends="iproute2"
+makedepends=""
+source="qos.initd qos.eth0.sample qos.ifb0.sample setup-qos"
+
+build() {
+ install -m755 -D "$srcdir"/setup-qos "$pkgdir"/usr/sbin/setup-qos
+ install -m755 -D "$srcdir"/qos.initd "$pkgdir"/etc/init.d/qos
+ install -m644 -D "$srcdir"/qos.eth0.sample \
+ "$pkgdir"/etc/conf.d/qos.eth0.sample
+ install -m644 -D "$srcdir"/qos.ifb0.sample \
+ "$pkgdir"/etc/conf.d/qos.ifb0.sample
+}
+
+md5sums="13d9c58253905f349b953593036b8134 qos.initd
+79cecb47b3d1f623d2f6790044b3afee qos.eth0.sample
+f1233d4e7e728f16b26302ecb03e418e qos.ifb0.sample
+785aff5d4284c47038a009797c576e34 setup-qos"