clfs-1.2
clfs-2.1
clfs-3.0.0-systemd
clfs-3.0.0-sysvinit
systemd
sysvinit
Last change
on this file since 0f90f2f was 00a531f6, checked in by Joe Ciccone <jciccone@…>, 14 years ago |
Updated IPRoute2 to 2.6.37.
|
-
Property mode
set to
100644
|
File size:
1.6 KB
|
Rev | Line | |
---|
[00a531f6] | 1 | Submitted By: Joe Ciccone <jciccone@gmail.com>
|
---|
| 2 | Date: 2010-08-02
|
---|
| 3 | Initial Package Version: 2.6.18
|
---|
| 4 | Upstream Status: Unknown
|
---|
| 5 | Origin: Joe Ciccone
|
---|
| 6 | Description: This patch gives the ability to change the libdir.
|
---|
| 7 | Updated for Iproute2-2.6.28 by Jim Gifford
|
---|
| 8 | Updated for Iproute2-2.6.34 by Joe Ciccone
|
---|
| 9 | Updated for Iproute2-2.6.37 by Joe Ciccone
|
---|
| 10 |
|
---|
| 11 | diff -Naur iproute2-2.6.37.orig/Makefile iproute2-2.6.37/Makefile
|
---|
| 12 | --- iproute2-2.6.37.orig/Makefile 2011-01-07 12:54:30.000000000 -0500
|
---|
| 13 | +++ iproute2-2.6.37/Makefile 2011-01-08 19:22:59.954895722 -0500
|
---|
| 14 | @@ -12,7 +12,7 @@
|
---|
| 15 |
|
---|
| 16 | SHARED_LIBS = y
|
---|
| 17 |
|
---|
| 18 | -DEFINES= -DRESOLVE_HOSTNAMES -DLIBDIR=\"$(LIBDIR)\"
|
---|
| 19 | +DEFINES= -DRESOLVE_HOSTNAMES -DLIBDIR=\"$(LIBDIR)\" -DARPDDIR=\"$(ARPDDIR)\"
|
---|
| 20 | ifneq ($(SHARED_LIBS),y)
|
---|
| 21 | DEFINES+= -DNO_SHARED_LIBS
|
---|
| 22 | endif
|
---|
| 23 | diff -Naur iproute2-2.6.37.orig/include/iptables.h iproute2-2.6.37/include/iptables.h
|
---|
| 24 | --- iproute2-2.6.37.orig/include/iptables.h 2011-01-07 12:54:30.000000000 -0500
|
---|
| 25 | +++ iproute2-2.6.37/include/iptables.h 2011-01-08 19:22:59.954895722 -0500
|
---|
| 26 | @@ -4,8 +4,12 @@
|
---|
| 27 | #include "iptables_common.h"
|
---|
| 28 | #include "libiptc/libiptc.h"
|
---|
| 29 |
|
---|
| 30 | +#ifndef LIBDIR
|
---|
| 31 | +#define LIBDIR "/usr/lib"
|
---|
| 32 | +#endif
|
---|
| 33 | +
|
---|
| 34 | #ifndef IPT_LIB_DIR
|
---|
| 35 | -#define IPT_LIB_DIR "/usr/local/lib/iptables"
|
---|
| 36 | +#define IPT_LIB_DIR LIBDIR "/iptables"
|
---|
| 37 | #endif
|
---|
| 38 |
|
---|
| 39 | #ifndef IPPROTO_SCTP
|
---|
| 40 | diff -Naur iproute2-2.6.37.orig/misc/arpd.c iproute2-2.6.37/misc/arpd.c
|
---|
| 41 | --- iproute2-2.6.37.orig/misc/arpd.c 2011-01-07 12:54:30.000000000 -0500
|
---|
| 42 | +++ iproute2-2.6.37/misc/arpd.c 2011-01-08 19:22:59.954895722 -0500
|
---|
| 43 | @@ -40,7 +40,7 @@
|
---|
| 44 | int resolve_hosts;
|
---|
| 45 |
|
---|
| 46 | DB *dbase;
|
---|
| 47 | -char *dbname = "/var/lib/arpd/arpd.db";
|
---|
| 48 | +char *dbname = ARPDDIR "/arpd.db";
|
---|
| 49 |
|
---|
| 50 | int ifnum;
|
---|
| 51 | int *ifvec;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.