From 86c2c6527c68246b409ecb163074dafc1a222551 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Thu, 15 Mar 2012 13:35:48 +0000 Subject: main/bonding: moved from testing --- main/bonding/APKBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 main/bonding/APKBUILD (limited to 'main/bonding/APKBUILD') diff --git a/main/bonding/APKBUILD b/main/bonding/APKBUILD new file mode 100644 index 000000000..f77880b76 --- /dev/null +++ b/main/bonding/APKBUILD @@ -0,0 +1,43 @@ +# Contributor: Natanael Copa +# Maintainer: Natanael Copa + +# those scripts are based on debians ifenslave-2.6 scripts + +pkgname=bonding +pkgver=2.6 +pkgrel=1 +pkgdesc="Scripts for network interface bonding" +url="http://wiki.alpinelinux.org/wiki/Bonding" +arch="noarch" +license="GPL" +depends="" +makedepends="" +install="" +subpackages="" +source="bonding.pre-up bonding.up bonding.post-down" + +_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 pre-up up post-down; do + install -Dm755 bonding.$i "$pkgdir"/etc/network/if-$i.d/bonding + done +} + +md5sums="8feef9949a42f0a84418f785827c1fd2 bonding.pre-up +68e64f483be3f8730a4c522f1e63e92d bonding.up +c5f6d07415118aa21d8e4730f9f18cab bonding.post-down" -- cgit v1.2.3