blob: 30910bcb4ad59340bbd0f40b37d0d96ec33f196c (
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
39
40
41
42
43
44
45
46
47
|
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=vlan
pkgver=1.9
pkgrel=0
pkgdesc="Scripts for configuring VLAN network interfaces"
url="http://wiki.alpinelinux.org/wiki/Vlan"
arch="noarch"
license="GPL"
depends=""
makedepends=""
install=""
subpackages=""
source="mvlan.post-down
mvlan.pre-up
vlan.post-down
vlan.pre-up
"
_builddir=
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
return 0
}
package() {
cd "$srcdir"
for i in vlan mvlan; do
for j in pre-up post-down; do
install -Dm755 $i.$j "$pkgdir"/etc/network/if-$j.d/$i || return 1
done
done
}
md5sums="3683be24d1fc1d8565e945c349c41571 mvlan.post-down
5b6232674e83b0dbfc24af523dd5ec03 mvlan.pre-up
cebaa97c933ed0f4cafd92f864ab4bc8 vlan.post-down
c9acef8c17d8af19590767f57eb11b6b vlan.pre-up"
|