mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-upf.git
synced 2025-10-23 08:12:03 +00:00
add netfilter deps: libnftnl, libnftables
Will be used by subsequent patch to implement GTP tunnel mapping via netfilter. Related: SYS#5599 Change-Id: Ia8be861fe1303e82e57fe83a50cfa4ff0280db02
This commit is contained in:
@@ -33,6 +33,30 @@ osmo-build-dep.sh libosmocore "" --disable-doxygen
|
||||
osmo-build-dep.sh libosmo-pfcp
|
||||
osmo-build-dep.sh libgtpnl
|
||||
|
||||
# build libnftnl and libnftables from git.netfilter.org
|
||||
build_from_netfilter() {
|
||||
### TODO: enable osmo-build-dep.sh to build from git.netfilter.org URL?
|
||||
project="$1"
|
||||
set +x
|
||||
echo
|
||||
echo
|
||||
echo
|
||||
echo " =============================== $project ==============================="
|
||||
echo
|
||||
set -x
|
||||
if [ -d "./$project" ]; then
|
||||
rm -rf "./$project"
|
||||
fi
|
||||
git clone "git://git.netfilter.org/$project" "$project"
|
||||
cd "$project"
|
||||
autoreconf --install --force
|
||||
./configure --prefix="$inst/stow/$project" --without-cli --disable-man-doc
|
||||
$MAKE install
|
||||
STOW_DIR="$inst/stow" stow --restow $project
|
||||
}
|
||||
build_from_netfilter libnftnl
|
||||
build_from_netfilter nftables
|
||||
|
||||
# Additional configure options and depends
|
||||
CONFIG=""
|
||||
if [ "$WITH_MANUALS" = "1" ]; then
|
||||
|
Reference in New Issue
Block a user