Project import generated by Copybara. NOKEYCHECK=True GitOrigin-RevId: 9e2fc897ee90eba32e73c68549a11d57d9270d35
diff --git a/libnl.patches/libnl-50.patch b/libnl.patches/libnl-50.patch new file mode 100644 index 0000000..525a6d3 --- /dev/null +++ b/libnl.patches/libnl-50.patch
@@ -0,0 +1,12 @@ +diff -aruN a/lib/Makefile.in b/lib/Makefile.in +--- a/lib/Makefile.in 2010-10-13 07:50:57.000000000 -0700 ++++ b/lib/Makefile.in 2010-11-15 15:57:54.885153794 -0800 +@@ -254,7 +254,7 @@ + top_build_prefix = @top_build_prefix@ + top_builddir = @top_builddir@ + top_srcdir = @top_srcdir@ +-AM_CPPFLAGS = -Wall -I${top_srcdir}/include -I${top_builddir}/include -D_GNU_SOURCE -DSYSCONFDIR=\"$(sysconfdir)/libnl\" ++AM_CPPFLAGS = -Wall -I${top_srcdir}/include -I${top_builddir}/include -I${builddir}/route -D_GNU_SOURCE -DSYSCONFDIR=\"$(sysconfdir)/libnl\" + lib_LTLIBRARIES = \ + libnl.la libnl-genl.la libnl-route.la libnl-nf.la +
diff --git a/libnl.patches/libnl-51.patch b/libnl.patches/libnl-51.patch new file mode 100644 index 0000000..406d97c --- /dev/null +++ b/libnl.patches/libnl-51.patch
@@ -0,0 +1,24 @@ +diff -Naur a/lib/Makefile.in b/lib/Makefile.in +--- a/lib/Makefile.in 2015-03-13 22:44:43.967266167 -0700 ++++ b/lib/Makefile.in 2015-03-13 22:47:05.496603070 -0700 +@@ -301,7 +301,7 @@ + \ + route/pktloc_syntax.c route/pktloc_grammar.c route/pktloc.c + +-all: defs.h ++all: defs.h route/pktloc_syntax.h route/pktloc_grammar.h + $(MAKE) $(AM_MAKEFLAGS) all-am + + .SUFFIXES: +@@ -977,9 +977,11 @@ + + # Hack to avoid using ylwrap. It does not function correctly in combination + # with --header-file= ++route/pktloc_grammar.h: route/pktloc_grammar.c + route/pktloc_grammar.c: route/pktloc_grammar.l + $(LEX) --header-file=route/pktloc_grammar.h $(LFLAGS) -o $@ $^ + ++route/pktloc_syntax.h: route/pktloc_syntax.c + route/pktloc_syntax.c: route/pktloc_syntax.y + $(YACC) -d $(YFLAGS) -o $@ $^ +
diff --git a/libnl.tar.gz b/libnl.tar.gz new file mode 100644 index 0000000..58a3c07 --- /dev/null +++ b/libnl.tar.gz Binary files differ
diff --git a/libnl.url b/libnl.url new file mode 100644 index 0000000..cd1dcda --- /dev/null +++ b/libnl.url
@@ -0,0 +1 @@ +http://www.infradead.org/~tgr/libnl/files/libnl-2.0.tar.gz
diff --git a/libnl.version b/libnl.version new file mode 100644 index 0000000..cd5ac03 --- /dev/null +++ b/libnl.version
@@ -0,0 +1 @@ +2.0