clfs-1.2
clfs-2.1
clfs-3.0.0-systemd
clfs-3.0.0-sysvinit
systemd
sysvinit
Last change
on this file since 8d1ef2b was f5eb07a, checked in by Jim Gifford <clfs@…>, 16 years ago |
Updated to IPRoute2 2.6.28
|
-
Property mode
set to
100644
|
File size:
1.5 KB
|
Rev | Line | |
---|
[f5eb07a] | 1 | Submitted By: Jim Gifford < jim at cross-lfs dot org>
|
---|
| 2 | Date: 2009-01-30
|
---|
| 3 | Upstream Status: Unknown
|
---|
| 4 | Origin: Joe Ciccone
|
---|
| 5 | Description: This patch gives the ability to change the libdir.
|
---|
| 6 | Updated for Iproute2-2.6.28 by Jim Gifford
|
---|
| 7 |
|
---|
| 8 | diff -Naur iproute2-2.6.28.orig/Config iproute2-2.6.28/Config
|
---|
| 9 | --- iproute2-2.6.28.orig/Config 2009-01-30 11:13:05.350488894 -0800
|
---|
| 10 | +++ iproute2-2.6.28/Config 1969-12-31 16:00:00.000000000 -0800
|
---|
| 11 | @@ -1 +0,0 @@
|
---|
| 12 | -# Generated config based on /tmp/iproute2-2.6.28.orig/include
|
---|
| 13 | diff -Naur iproute2-2.6.28.orig/include/iptables.h iproute2-2.6.28/include/iptables.h
|
---|
| 14 | --- iproute2-2.6.28.orig/include/iptables.h 2009-01-15 12:25:04.000000000 -0800
|
---|
| 15 | +++ iproute2-2.6.28/include/iptables.h 2009-01-30 11:16:03.557906690 -0800
|
---|
| 16 | @@ -4,8 +4,12 @@
|
---|
| 17 | #include "iptables_common.h"
|
---|
| 18 | #include "libiptc/libiptc.h"
|
---|
| 19 |
|
---|
| 20 | +#ifndef LIBDIR
|
---|
| 21 | +#define LIBDIR "/lib"
|
---|
| 22 | +#endif
|
---|
| 23 | +
|
---|
| 24 | #ifndef IPT_LIB_DIR
|
---|
| 25 | -#define IPT_LIB_DIR "/usr/local/lib/iptables"
|
---|
| 26 | +#define IPT_LIB_DIR LIBDIR "/iptables"
|
---|
| 27 | #endif
|
---|
| 28 |
|
---|
| 29 | #ifndef IPPROTO_SCTP
|
---|
| 30 | diff -Naur iproute2-2.6.28.orig/netem/Makefile iproute2-2.6.28/netem/Makefile
|
---|
| 31 | --- iproute2-2.6.28.orig/netem/Makefile 2009-01-15 12:25:04.000000000 -0800
|
---|
| 32 | +++ iproute2-2.6.28/netem/Makefile 2009-01-30 11:18:31.907412487 -0800
|
---|
| 33 | @@ -20,9 +20,9 @@
|
---|
| 34 | $(HOSTCC) $(CCOPTS) -I../include -o $@ $@.c -lm
|
---|
| 35 |
|
---|
| 36 | install: all
|
---|
| 37 | - mkdir -p $(DESTDIR)/lib/tc
|
---|
| 38 | + mkdir -p $(DESTDIR)$(LIBDIR)/tc
|
---|
| 39 | for i in $(DISTDATA); \
|
---|
| 40 | - do install -m 755 $$i $(DESTDIR)/lib/tc; \
|
---|
| 41 | + do install -m 755 $$i $(DESTDIR)$(LIBDIR)/tc; \
|
---|
| 42 | done
|
---|
| 43 |
|
---|
| 44 | clean:
|
---|
Note:
See
TracBrowser
for help on using the repository browser.