summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xnet/ifupdown-ng/DEPENDS2
-rwxr-xr-xnet/ifupdown-ng/DETAILS4
-rw-r--r--net/ifupdown-ng/HISTORY6
-rwxr-xr-xnet/ifupdown-ng/PRE_BUILD4
-rw-r--r--net/ifupdown-ng/patches/0001-Fix-linking-against-libbsd.patch26
5 files changed, 40 insertions, 2 deletions
diff --git a/net/ifupdown-ng/DEPENDS b/net/ifupdown-ng/DEPENDS
index 0bc8025908..d331559e19 100755
--- a/net/ifupdown-ng/DEPENDS
+++ b/net/ifupdown-ng/DEPENDS
@@ -1,3 +1,5 @@
depends iproute2 &&
+depends libbsd &&
+
optional_depends dhcpcd '' '' 'for DHCP support' &&
optional_depends wpa_supplicant '' '' 'for 802.11i (WPA/2/3) support'
diff --git a/net/ifupdown-ng/DETAILS b/net/ifupdown-ng/DETAILS
index 055ee7dd1c..e41e8942d4 100755
--- a/net/ifupdown-ng/DETAILS
+++ b/net/ifupdown-ng/DETAILS
@@ -1,8 +1,8 @@
SPELL=ifupdown-ng
- VERSION=0.11.2
+ VERSION=0.11.3
SOURCE="$SPELL-$VERSION.tar.gz"
SOURCE_URL[0]=https://github.com/$SPELL/$SPELL/archive/refs/tags/$SOURCE
- SOURCE_HASH=sha512:a10e8aba67082c6fadf64925d6477aae6794f8b989cdabf47f2369ac1accc645e953436ed74c8d06f2ae37ab86746c9c6614aea1c163ad040ada1dbc0dc8ed95
+ SOURCE_HASH=sha512:d6c1f9304dab3eba986b290cf5f4ec39b0c459337c20a7feaeb67a9bb4107384286046b5fb23bfabe8e4594debf45184b04ff9477dad7f59af37e14ebd9fe650
SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$SPELL-$VERSION"
WEB_SITE="https://github.com/ifupdown-ng/ifupdown-ng"
LICENSE[0]="ISC"
diff --git a/net/ifupdown-ng/HISTORY b/net/ifupdown-ng/HISTORY
index b34bfd8566..43e339dbfa 100644
--- a/net/ifupdown-ng/HISTORY
+++ b/net/ifupdown-ng/HISTORY
@@ -1,3 +1,9 @@
+2021-06-04 Florian Franzmann <bwlf@bandrate.org>
+ * DETAILS: version 0.11.3
+ * PRE_BUILD, patches/0001-Fix-linking-against-libbsd.patch: fix linking
+ against libbsd
+ * DEPENDS: add dependency on libbsd
+
2021-05-30 Ismael Luceno <ismael@sourcemage.org>
* BUILD, CONFLICTS, DEPENDS, DETAILS, INSTALL, init.d/mountnetwork,
init.d/mountnetwork.conf, init.d/network: spell created
diff --git a/net/ifupdown-ng/PRE_BUILD b/net/ifupdown-ng/PRE_BUILD
new file mode 100755
index 0000000000..335732967a
--- /dev/null
+++ b/net/ifupdown-ng/PRE_BUILD
@@ -0,0 +1,4 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+
+apply_patch_dir patches
diff --git a/net/ifupdown-ng/patches/0001-Fix-linking-against-libbsd.patch b/net/ifupdown-ng/patches/0001-Fix-linking-against-libbsd.patch
new file mode 100644
index 0000000000..ad521cde5b
--- /dev/null
+++ b/net/ifupdown-ng/patches/0001-Fix-linking-against-libbsd.patch
@@ -0,0 +1,26 @@
+From 9eb068527c1f7d43ff2a3e335509bc533d0c1d5d Mon Sep 17 00:00:00 2001
+From: Florian Franzmann <bwlf@bandrate.org>
+Date: Fri, 4 Jun 2021 13:42:18 +0200
+Subject: [PATCH] Fix linking against libbsd
+
+---
+ Makefile | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index 5b41f7e..f99ba66 100644
+--- a/Makefile
++++ b/Makefile
+@@ -1,7 +1,7 @@
+ LAYOUT ?= linux
+ SCDOC := scdoc
+-LIBBSD_CFLAGS =
+-LIBBSD_LIBS =
++LIBBSD_CFLAGS := $(shell pkg-config --cflags libbsd-overlay)
++LIBBSD_LIBS := $(shell pkg-config --libs libbsd-overlay)
+
+ PACKAGE_NAME := ifupdown-ng
+ PACKAGE_VERSION := 0.11.3
+--
+2.31.1
+