From f6332a43c35387c4a2dea1746be5fd092890ae0e Mon Sep 17 00:00:00 2001 From: davidovski Date: Mon, 27 Jun 2022 23:09:07 +0100 Subject: added lf and iptables --- repo/bridge-utils/bridge-utils.xibuild | 32 +++++++++++++++++++++++++ repo/bridge-utils/fix-PATH_MAX-on-ppc64le.patch | 26 ++++++++++++++++++++ 2 files changed, 58 insertions(+) create mode 100644 repo/bridge-utils/bridge-utils.xibuild create mode 100644 repo/bridge-utils/fix-PATH_MAX-on-ppc64le.patch (limited to 'repo/bridge-utils') diff --git a/repo/bridge-utils/bridge-utils.xibuild b/repo/bridge-utils/bridge-utils.xibuild new file mode 100644 index 0000000..cc94b7b --- /dev/null +++ b/repo/bridge-utils/bridge-utils.xibuild @@ -0,0 +1,32 @@ +#!/bin/sh + +NAME="bridge-utils" +DESC="Tools for configuring the Linux kernel 802.1d Ethernet Bridge" + +MAKEDEPS="autoconf linux-headers" + +PKG_VER=1.7.1 +SOURCE="https://git.kernel.org/pub/scm/network/bridge/bridge-utils.git/snapshot/bridge-utils-$PKG_VER.tar.gz" + +ADDITIONAL=" +fix-PATH_MAX-on-ppc64le.patch +" + +prepare() { + apply_patches + autoconf +} + +build() { + ./configure \ + --prefix=/usr \ + --mandir=/usr/share/man \ + --libdir=/usr/lib \ + --includedir=/usr/include + make +} + +package() { + make install DESTDIR="$PKG_DEST" +} + diff --git a/repo/bridge-utils/fix-PATH_MAX-on-ppc64le.patch b/repo/bridge-utils/fix-PATH_MAX-on-ppc64le.patch new file mode 100644 index 0000000..3fa75b9 --- /dev/null +++ b/repo/bridge-utils/fix-PATH_MAX-on-ppc64le.patch @@ -0,0 +1,26 @@ +Author: Milan P. Stanić +Date: Sun May 30 07:40:11 2021 +0000 + +Fix missing PATH_MAX on ppc64le + +--- a/libbridge/libbridge_devif.c 2021-05-30 07:59:46.533574878 +0000 ++++ b/libbridge/libbridge_devif.c 2021-05-30 08:01:09.964036452 +0000 +@@ -24,6 +24,7 @@ + #include + #include + #include ++#include + + #include "libbridge.h" + #include "libbridge_private.h" + +--- a/libbridge/libbridge_init.c 2021-05-30 08:00:15.983737797 +0000 ++++ b/libbridge/libbridge_init.c 2021-05-30 08:00:49.573923635 +0000 +@@ -24,6 +24,7 @@ + #include + #include + #include ++#include + + #include "libbridge.h" + #include "libbridge_private.h" -- cgit v1.2.1