Henning Surmeier b2628196a8 ndppd: T4172: Backport upstream fix for ndppd
Backports a fix to not read the full ipv6 route table if there is no
need to do so.
Which is the case when no auto prefixes are configured.
2022-01-11 13:12:26 +01:00

21 lines
373 B
Bash
Executable File

#!/bin/sh
CWD=$(pwd)
set -e
SRC=ndppd
if [ ! -d ${SRC} ]; then
echo "Source directory does not exists, please 'git clone'"
exit 1
fi
cd ${SRC}
PATCH_DIR=${CWD}/patches
for patch in $(ls ${PATCH_DIR})
do
echo "I: Apply patch: ${PATCH_DIR}/${patch}"
patch -p1 < ${PATCH_DIR}/${patch}
done
echo "I: Build Debian Package"
dpkg-buildpackage -uc -us -tc -b -d