[crux-commits] ports/contrib (refs/remotes/origin/3.6): Revert "bridge-utils: deleted unmaintained port"

crux at crux.nu crux at crux.nu
Sat Apr 10 19:05:44 UTC 2021


commit d50a12ad0c9e0962a6368955fda5a9447c14d6b4
Author: Matt Housh <jaeger at crux.ninja>
Date:   Tue Mar 9 18:47:18 2021 -0600

    Revert "bridge-utils: deleted unmaintained port"
    
    This reverts commit 1d43d34adf2c9eb6d6e209cd85374c1e4c3a0bcd.

diff --git a/bridge-utils/.footprint b/bridge-utils/.footprint
new file mode 100644
index 000000000..0e8873eb7
--- /dev/null
+++ b/bridge-utils/.footprint
@@ -0,0 +1,7 @@
+drwxr-xr-x	root/root	usr/
+drwxr-xr-x	root/root	usr/sbin/
+-rwxr-xr-x	root/root	usr/sbin/brctl
+drwxr-xr-x	root/root	usr/share/
+drwxr-xr-x	root/root	usr/share/man/
+drwxr-xr-x	root/root	usr/share/man/man8/
+-rw-r--r--	root/root	usr/share/man/man8/brctl.8.gz
diff --git a/bridge-utils/.signature b/bridge-utils/.signature
new file mode 100644
index 000000000..d64336b26
--- /dev/null
+++ b/bridge-utils/.signature
@@ -0,0 +1,5 @@
+untrusted comment: verify with /etc/ports/contrib.pub
+RWSagIOpLGJF38/V9pNDPhUzK9ZRS/jDNdKJoE7Oj5oYwinH1ryyJH8MzTYA2remMwGj6wJJeDWbHRuzotDv2eUkM1Lc71nF1go=
+SHA256 (Pkgfile) = af835277fbcd374dd01476c85470d25ffdb81480d2acf49f8fa41621be605c29
+SHA256 (.footprint) = 17197ce86e1ec11083ee1a9fcda95f253b2ff6f482bbb9427c07582ea12b06d9
+SHA256 (bridge-utils-1.7.tar.gz) = 4b9b12f31d147320dea931f1041b8a69d84741ddb92cf35ea1f896b67da98b7c
diff --git a/bridge-utils/Pkgfile b/bridge-utils/Pkgfile
new file mode 100644
index 000000000..0ba784666
--- /dev/null
+++ b/bridge-utils/Pkgfile
@@ -0,0 +1,27 @@
+# Description: Linux IEEE 802.1d ethernet bridging utilities
+# URL:         https://www.linuxfoundation.org/collaborate/workgroups/networking/bridge
+# Maintainer:  Thomas Penteker, tek at serverop dot de
+
+name=bridge-utils
+version=1.7
+release=1
+source=(https://git.kernel.org/pub/scm/linux/kernel/git/shemminger/bridge-utils.git/snapshot/$name-$version.tar.gz)
+
+build() {
+  cd $name-$version
+
+  # make compilation fail instead of producing footprint mismatches
+  sed -i 's/ ; done/ || exit 1 &/g' Makefile.in
+  autoconf
+
+  ./configure --prefix=/usr
+
+  # fix includes...
+  sed -i 's|\(#include <sys/socket.h>\)|\1\n#include <netinet/in.h>|1' \
+  libbridge/libbridge.h
+  sed -i -e 's|linux/if.h|net/if.h|1' -e '/if_bridge.h/d' libbridge/libbridge.h
+  sed -i '/KERNEL_HEADERS=/d' libbridge/Makefile
+
+  make
+  make DESTDIR=$PKG install
+}


More information about the crux-commits mailing list