blob: b5760c285f900263da0f59d720392c68ed996693 (
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
|
# Maintainer: Gabor Pali <pali.gabor@gmail.com>
pkgname=ifupdown-ng
pkgver=0.12.1
pkgrel=2 # base: 4
pkgdesc="tools for managing network configuration"
url="https://github.com/ifupdown-ng/ifupdown-ng"
arch="all"
license="ISC"
checkdepends=
makedepends=
install=""
subpackages=
source="https://distfiles.dereferenced.org/ifupdown-ng/ifupdown-ng-$pkgver.tar.xz
01-add-onlink-to-default-route.patch
no-examples.patch
interfaces
"
builddir="$srcdir/ifupdown-ng-$pkgver"
provides="ifupdown-any"
provider_priority=900
# We conflict with the vlan package because we provide our own
# vlan support with the link executor.
depends="!vlan"
build() {
make CONFIG_YAML=n
}
package() {
make DESTDIR="$pkgdir" EXECUTOR_SCRIPTS_OPT= EXECUTOR_SCRIPTS_STUB= install
install -D -m755 "$builddir"/dist/openrc/networking.initd "$pkgdir"/etc/init.d/networking
install -D -m644 "$builddir"/dist/openrc/networking.confd "$pkgdir"/etc/conf.d/networking
install -D -m644 "$srcdir"/interfaces "$pkgdir"/etc/network/interfaces
}
sha512sums="
c2c1e27fbd53eeb4150e544a893352f13845b491850e982a5880160c3be03b628794f7989c802ff823ac3e8c6c34dc4ab97c0abcefdda85f06fcd64ced8ac60c ifupdown-ng-0.12.1.tar.xz
5a4900356cf4ea48d5088d98328cf3f8a821a52a3b9518987a6432fc1349c3a314bbe20d46736ec8781e2a675398e15183c1ab8c0ba617c3e49b164fbbb48baf 01-add-onlink-to-default-route.patch
e261fd3f185372bf8f2075216b9dd3e2d8090e978654ee742122ee7869017d309eac54b1415e79878015f312a39fa8fdd4b0d8c2bed8515e5a94c15da1b7b844 no-examples.patch
cde5422ed19c79f970b24fde267f9bef34f069f806e7ed671fb443df6ff169e81791baaeebbe02595218f30224add65dabfd0337f9984d2387965001872a1038 interfaces
"
|