mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-12 11:21:50 +01:00
42 lines
1.1 KiB
Plaintext
42 lines
1.1 KiB
Plaintext
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=bridge
|
|
pkgver=1.5
|
|
pkgrel=3
|
|
pkgdesc="Scripts for configuring network bridge interfaces"
|
|
url="http://wiki.alpinelinux.org/wiki/Bridge"
|
|
arch="noarch"
|
|
license="GPL"
|
|
depends=""
|
|
makedepends=""
|
|
install=""
|
|
subpackages=""
|
|
source="bridge.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 "$_builddir"
|
|
install -Dm755 "$srcdir"/bridge.pre-up \
|
|
"$pkgdir"/etc/network/if-pre-up.d/bridge
|
|
install -d "$pkgdir"/etc/network/if-post-down.d
|
|
ln -s ../if-pre-up.d/bridge "$pkgdir"/etc/network/if-post-down.d/bridge
|
|
}
|
|
|
|
md5sums="ea889dea323d690521228cb88f804c97 bridge.pre-up"
|
|
sha256sums="80e506e5fd79ab70a86d8166e725dbdafbcff9b5333f8a09a2f8c0c55d4a3591 bridge.pre-up"
|
|
sha512sums="b7ee7193b15d44f4055d51ff83a26cdbf4977f8c319473db923a9f4c175ca883a31408114cd19f479eacb980e8850aa29b5dfbe0dd17782c510a0f2bf9b5b244 bridge.pre-up"
|