forked from ports/contrib
Revert "bridge-utils: deleted unmaintained port"
This reverts commit 1d43d34adf2c9eb6d6e209cd85374c1e4c3a0bcd.
This commit is contained in:
parent
d1913e71b0
commit
d50a12ad0c
7
bridge-utils/.footprint
Normal file
7
bridge-utils/.footprint
Normal file
@ -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
|
5
bridge-utils/.signature
Normal file
5
bridge-utils/.signature
Normal file
@ -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
|
27
bridge-utils/Pkgfile
Normal file
27
bridge-utils/Pkgfile
Normal file
@ -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
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user