Move all to deprecated folder.
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
From 8e5a9d8f32c9646d01d8c84e979892dfd28a7f7c Mon Sep 17 00:00:00 2001
|
||||
From: Gustavo Zacarias <gustavo@zacarias.com.ar>
|
||||
Date: Tue, 10 Sep 2013 15:35:22 -0300
|
||||
Subject: [PATCH] configure: uclinux is also linux
|
||||
|
||||
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
|
||||
---
|
||||
configure.ac | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 0926a1c..b979772 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -18,7 +18,7 @@ AC_DISABLE_STATIC
|
||||
AM_PROG_LIBTOOL
|
||||
|
||||
case "$host" in
|
||||
-*-*-linux*) ;;
|
||||
+*-*-linux* | *-*-uclinux*) ;;
|
||||
*) AC_MSG_ERROR([Linux only, dude!]);;
|
||||
esac
|
||||
|
||||
--
|
||||
1.8.1.5
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
Include <sys/types.h> to get the u_int* definitions
|
||||
|
||||
This is needed to fix the build with the musl C library, and this
|
||||
patch comes from
|
||||
http://git.alpinelinux.org/cgit/aports/plain/main/libnfnetlink/musl-fix-includes.patch.
|
||||
|
||||
It will no longer be needed with upcoming upstream releases of
|
||||
libnfnetlink, since they have switched to use the <stdint.h> types
|
||||
instead. However this change was too invasive to backport.
|
||||
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||||
|
||||
--- libnfnetlink-1.0.1.orig/include/libnfnetlink/linux_nfnetlink.h
|
||||
+++ libnfnetlink-1.0.1/include/libnfnetlink/linux_nfnetlink.h
|
||||
@@ -1,6 +1,6 @@
|
||||
#ifndef _NFNETLINK_H
|
||||
#define _NFNETLINK_H
|
||||
-#include <linux/types.h>
|
||||
+#include <sys/types.h>
|
||||
#include <libnfnetlink/linux_nfnetlink_compat.h>
|
||||
|
||||
enum nfnetlink_groups {
|
||||
--- libnfnetlink-1.0.1.orig/include/libnfnetlink/libnfnetlink.h
|
||||
+++ libnfnetlink-1.0.1/include/libnfnetlink/libnfnetlink.h
|
||||
@@ -15,6 +15,7 @@
|
||||
#define aligned_u64 unsigned long long __attribute__((aligned(8)))
|
||||
#endif
|
||||
|
||||
+#include <sys/types.h>
|
||||
#include <sys/socket.h> /* for sa_family_t */
|
||||
#include <linux/netlink.h>
|
||||
#include <libnfnetlink/linux_nfnetlink.h>
|
||||
11
deprecated/firmware/buildroot/package/libnfnetlink/Config.in
Normal file
11
deprecated/firmware/buildroot/package/libnfnetlink/Config.in
Normal file
@@ -0,0 +1,11 @@
|
||||
config BR2_PACKAGE_LIBNFNETLINK
|
||||
bool "libnfnetlink"
|
||||
help
|
||||
libnfnetlink is the low-level library for netfilter related
|
||||
kernel/userspace communication.
|
||||
It provides a generic messaging infrastructure for in-kernel
|
||||
netfilter subsystems (such as nfnetlink_log, nfnetlink_queue,
|
||||
nfnetlink_conntrack) and their respective users
|
||||
and/or management tools in userspace.
|
||||
|
||||
http://www.netfilter.org/projects/libnfnetlink/
|
||||
@@ -0,0 +1,3 @@
|
||||
# From ftp://ftp.netfilter.org/pub/libnfnetlink/libnfnetlink-1.0.1.tar.bz2.{md5sum,sha1sum}
|
||||
md5 98927583d2016a9fb1936fed992e2c5e libnfnetlink-1.0.1.tar.bz2
|
||||
sha1 27ae2dfbd976e28cb7a417f9e946c901f512dd9a libnfnetlink-1.0.1.tar.bz2
|
||||
@@ -0,0 +1,15 @@
|
||||
################################################################################
|
||||
#
|
||||
# libnfnetlink
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBNFNETLINK_VERSION = 1.0.1
|
||||
LIBNFNETLINK_SOURCE = libnfnetlink-$(LIBNFNETLINK_VERSION).tar.bz2
|
||||
LIBNFNETLINK_SITE = http://www.netfilter.org/projects/libnfnetlink/files
|
||||
LIBNFNETLINK_AUTORECONF = YES
|
||||
LIBNFNETLINK_INSTALL_STAGING = YES
|
||||
LIBNFNETLINK_LICENSE = GPLv2
|
||||
LIBNFNETLINK_LICENSE_FILES = COPYING
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user