aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-06-05 04:03:28 -0300
committerFrancesco Colista <fcolista@alpinelinux.org>2019-06-05 07:18:00 +0000
commitb9801b6bb1d3d0c1f8bdb926ca7cb82a8ef55ee4 (patch)
treeba995cf55c3506a7c8e435226466aeda55395f0f
parentc86514b4fd16776c528ccad8fc250e8c2b0fedd8 (diff)
downloadaports-b9801b6bb1d3d0c1f8bdb926ca7cb82a8ef55ee4.tar.gz
aports-b9801b6bb1d3d0c1f8bdb926ca7cb82a8ef55ee4.tar.bz2
aports-b9801b6bb1d3d0c1f8bdb926ca7cb82a8ef55ee4.tar.xz
main/bridge: modernize, fix url, fix license
-rw-r--r--main/bridge/APKBUILD27
1 files changed, 5 insertions, 22 deletions
diff --git a/main/bridge/APKBUILD b/main/bridge/APKBUILD
index 749ba8e272..05450dd0eb 100644
--- a/main/bridge/APKBUILD
+++ b/main/bridge/APKBUILD
@@ -2,34 +2,17 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=bridge
pkgver=1.5
-pkgrel=3
+pkgrel=4
pkgdesc="Scripts for configuring network bridge interfaces"
-url="http://wiki.alpinelinux.org/wiki/Bridge"
+url="https://wiki.alpinelinux.org/wiki/Bridge"
arch="noarch"
-license="GPL"
-depends=""
-makedepends=""
-install=""
-subpackages=""
+license="GPL-2.0-or-later"
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
-}
+builddir="$srcdir"
package() {
- cd "$_builddir"
+ 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