aboutsummaryrefslogtreecommitdiffstats
path: root/main/iproute2-qos/APKBUILD
blob: 4cd4863d8d16d573b303927c8690cd1bcafd85d7 (plain) (blame)
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
# 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="GPL-2.0"
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
}

sha512sums="ac329c26b44e0e7ff6a1469626fbd166351d05135b9e688fcda7d96649e81a65ab927d04f98b80e6b0b9010ecf46fff17b27d67d673f8fa23cab7dd8fd454959  qos.initd
9c4ca37a6416dc6bc4e0b3fbce0568cbd9c31f3c0fde1d3c8b713bf8b185859c948121ddc4182e2b133b29fab63f4d928aca27205568fc656f2787829beef243  qos.eth0.sample
720396a86552de052faad47c22a5b295d00de01ac81fad109c5c6a7bad1b05ac9282a5edc175149361228480aad2d246b2def7fc1fa3d7acdcbe12ea9ef9a2ac  qos.ifb0.sample
112a9fd7789751d2feeef9e007accc0138134818f3e13ddb62250e6d77b82a3ba34edcf7b475cf15f89b6c71ea50b943037f61c44ca54e5d1ea304bdc04ff0ae  setup-qos"