diff --git a/root-packages/libnfnetlink/build.sh b/root-packages/libnfnetlink/build.sh new file mode 100644 index 0000000000..04dd2abba4 --- /dev/null +++ b/root-packages/libnfnetlink/build.sh @@ -0,0 +1,9 @@ +TERMUX_PKG_HOMEPAGE=https://www.netfilter.org/projects/libnfnetlink/index.html +TERMUX_PKG_DESCRIPTION="libnfnetlink is the low-level library for netfilter related kernel/userspace communication." +TERMUX_PKG_LICENSE="GPL-2.0" +TERMUX_PKG_LICENSE_FILE="COPYING" +TERMUX_PKG_MAINTAINER="@termux" +TERMUX_PKG_VERSION=1.0.1 +TERMUX_PKG_REVISION=2 +TERMUX_PKG_SRCURL=http://ftp.netfilter.org/pub/libnfnetlink/libnfnetlink-${TERMUX_PKG_VERSION}.tar.bz2 +TERMUX_PKG_SHA256=f270e19de9127642d2a11589ef2ec97ef90a649a74f56cf9a96306b04817b51a diff --git a/root-packages/libnfnetlink/fix-libnetfilter-queue.patch b/root-packages/libnfnetlink/fix-libnetfilter-queue.patch new file mode 100644 index 0000000000..c731050874 --- /dev/null +++ b/root-packages/libnfnetlink/fix-libnetfilter-queue.patch @@ -0,0 +1,12 @@ +diff --git a/include/libnfnetlink/linux_nfnetlink.h b/include/libnfnetlink/linux_nfnetlink.h +index 76a8550..4fb87f2 100644 +--- a/include/libnfnetlink/linux_nfnetlink.h ++++ b/include/libnfnetlink/linux_nfnetlink.h +@@ -1,5 +1,5 @@ +-#ifndef _NFNETLINK_H +-#define _NFNETLINK_H ++#ifndef _UAPI_NFNETLINK_H ++#define _UAPI_NFNETLINK_H + #include + #include +