aboutsummaryrefslogtreecommitdiffstats
path: root/main/iproute2-qos/APKBUILD
blob: d20a20d6b14571579a36edcadbad5c9d2e7f3e87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Contributor: <iilluzion@gmail.com>
# Maintainer: Iilluzion <iilluzion@gmail.com>
pkgname=iproute2-qos
pkgver=0.5
pkgrel=1
pkgdesc="Scripts to set up quality of service with iproute2"
url="https://git.alpinelinux.org/cgit/aports"
arch="noarch"
license="GPL2"
depends="iproute2"
makedepends=""
source="qos.initd qos.eth0.sample qos.ifb0.sample setup-qos"

build() {
	return 0
}

package() {
	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="7ce518659968574121395fd7ab7081e7  qos.initd
79cecb47b3d1f623d2f6790044b3afee  qos.eth0.sample
f1233d4e7e728f16b26302ecb03e418e  qos.ifb0.sample
785aff5d4284c47038a009797c576e34  setup-qos"
sha256sums="acb08087367d1211cd8f7c30cb44ffc2b1f50baefce077b440e0facc3c9544ed  qos.initd
2bc8c94374024bb1f58fcbfdc0996b615146fb51c415b70593352a6823119455  qos.eth0.sample
c141f41178d2794f873db12fbd609ed94ffdc10df12ed1039e55991bdd87d4ce  qos.ifb0.sample
b54a81f973ba59031d317bef4a80bf6c70a8a53843f4d6301b1c14fef7be2718  setup-qos"
sha512sums="ac329c26b44e0e7ff6a1469626fbd166351d05135b9e688fcda7d96649e81a65ab927d04f98b80e6b0b9010ecf46fff17b27d67d673f8fa23cab7dd8fd454959  qos.initd
9c4ca37a6416dc6bc4e0b3fbce0568cbd9c31f3c0fde1d3c8b713bf8b185859c948121ddc4182e2b133b29fab63f4d928aca27205568fc656f2787829beef243  qos.eth0.sample
720396a86552de052faad47c22a5b295d00de01ac81fad109c5c6a7bad1b05ac9282a5edc175149361228480aad2d246b2def7fc1fa3d7acdcbe12ea9ef9a2ac  qos.ifb0.sample
112a9fd7789751d2feeef9e007accc0138134818f3e13ddb62250e6d77b82a3ba34edcf7b475cf15f89b6c71ea50b943037f61c44ca54e5d1ea304bdc04ff0ae  setup-qos"