updated iproute2 (ahu-20021020): includes man pages, arpd, and hotfixes git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@2399 c5f82cb5-29bc-0310-9cd0-bff59a50e3bcrocklinux
@ -0,0 +1,25 @@ |
|||
On stage 1 there is no libdb.so, then we can't build arpd. |
|||
- Alejandro Mery |
|||
|
|||
--- ./misc/Makefile.orig 2003-12-20 18:03:12.000000000 -0300
|
|||
+++ ./misc/Makefile 2003-12-20 18:04:02.000000000 -0300
|
|||
@@ -6,7 +6,7 @@
|
|||
RTSTATOBJ=rtstat.o |
|||
|
|||
ALLOBJ=$(SSOBJ) $(NSTATOBJ) $(IFSTATOBJ) $(RTACCTOBJ) $(ARPDOBJ) $(RTSTATOBJ) |
|||
-TARGETS=ss nstat ifstat rtacct arpd rtstat
|
|||
+TARGETS=ss nstat ifstat rtacct rtstat
|
|||
|
|||
all: $(TARGETS) |
|||
|
|||
--- ./Makefile.orig 2002-10-19 15:06:45.000000000 -0300
|
|||
+++ ./Makefile 2003-12-20 18:56:16.000000000 -0300
|
|||
@@ -31,7 +31,7 @@
|
|||
endif |
|||
endif |
|||
ifeq ($(LIBC_INCLUDE)/bits/socket.h,$(wildcard $(LIBC_INCLUDE)/bits/socket.h)) |
|||
- GLIBCFIX=-I../include-glibc -I/usr/include/db3 -include ../include-glibc/glibc-bugs.h
|
|||
+ GLIBCFIX=-I../include-glibc -include ../include-glibc/glibc-bugs.h
|
|||
endif |
|||
|
|||
|
@ -0,0 +1,21 @@ |
|||
--- ./Makefile.orig 2004-02-18 23:26:26.000000000 -0300
|
|||
+++ ./Makefile 2004-02-18 23:47:35.000000000 -0300
|
|||
@@ -65,14 +65,12 @@
|
|||
install -m 0755 -d $(DESTDIR)$(DOCDIR)/examples |
|||
install -m 0755 -d $(DESTDIR)$(DOCDIR)/examples/diffserv |
|||
install -m 0644 README.iproute2+tc $(shell find examples -type f -maxdepth 1) $(DESTDIR)$(DOCDIR)/examples |
|||
- @for i in $(ls -1 examples/diffserv/ | grep -v CVS); do \
|
|||
- install -m 0644 $i $(DESTDIR)$(DOCDIR)/examples/diffserv ;\
|
|||
- done
|
|||
+ install -m 0644 $(shell find examples/diffserv/ -type f -maxdepth 1 | grep -v CVS) $(DESTDIR)$(DOCDIR)/examples/diffserv
|
|||
@for i in $(SUBDIRS) doc; do $(MAKE) -C $$i install; done |
|||
- @cd etc/iproute2; for i in $(ls -1 | grep -v CVS); do \
|
|||
+ @for i in $(shell ls -1 etc/iproute2 | grep -v CVS); do \
|
|||
if [ ! -e $(DESTDIR)$(CONFDIR)/$$i ]; then \ |
|||
- echo install -m 0644 $$i $(DESTDIR)$(CONFDIR); \
|
|||
- install -m 0644 $$i $(DESTDIR)$(CONFDIR); fi; done
|
|||
+ echo install -m 0644 etc/iproute2/$$i $(DESTDIR)$(CONFDIR); \
|
|||
+ install -m 0644 etc/iproute2/$$i $(DESTDIR)$(CONFDIR); fi; done
|
|||
|
|||
clean: |
|||
rm -f $(shell find . -name '*~') |
@ -1,37 +0,0 @@ |
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/base/iproute2/lib_ar.patch |
|||
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
# |
|||
# This program is free software; you can redistribute it and/or modify |
|||
# it under the terms of the GNU General Public License as published by |
|||
# the Free Software Foundation; either version 2 of the License, or |
|||
# (at your option) any later version. A copy of the GNU General Public |
|||
# License can be found at Documentation/COPYING. |
|||
# |
|||
# Many people helped and are helping developing ROCK Linux. Please |
|||
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
# file for details. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
--- iproute2/lib/Makefile 2002-10-31 10:58:30.000000000 +0100
|
|||
+++ iproute2/lib/Makefile 2000-04-16 19:42:52.000000000 +0200
|
|||
@@ -6,10 +6,10 @@
|
|||
all: libnetlink.a libutil.a |
|||
|
|||
libnetlink.a: $(NLOBJ) |
|||
- ar rcs $@ $(NLOBJ)
|
|||
+ $(AR) rcs $@ $(NLOBJ)
|
|||
|
|||
libutil.a: $(UTILOBJ) $(ADDLIB) |
|||
- ar rcs $@ $(UTILOBJ) $(ADDLIB)
|
|||
+ $(AR) rcs $@ $(UTILOBJ) $(ADDLIB)
|
|||
|
|||
clean: |
|||
rm -f $(NLOBJ) $(UTILOBJ) $(ADDLIB) libnetlink.a libutil.a |
@ -0,0 +1,11 @@ |
|||
--- ./Makefile.orig 2003-12-20 17:08:44.000000000 -0300
|
|||
+++ ./Makefile 2003-12-20 17:09:05.000000000 -0300
|
|||
@@ -39,7 +39,7 @@
|
|||
CCOPTS = -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -g |
|||
CFLAGS = $(CCOPTS) $(GLIBCFIX) -I$(KERNEL_INCLUDE) -I../include $(DEFINES) |
|||
|
|||
-LDLIBS += -L../lib -lnetlink -lutil
|
|||
+LDLIBS += -L../lib -lnetlink ../lib/libutil.a
|
|||
|
|||
SUBDIRS=lib ip tc misc |
|||
|
@ -1,39 +0,0 @@ |
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/base/iproute2/makefile-adaptions.patch |
|||
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
# |
|||
# This program is free software; you can redistribute it and/or modify |
|||
# it under the terms of the GNU General Public License as published by |
|||
# the Free Software Foundation; either version 2 of the License, or |
|||
# (at your option) any later version. A copy of the GNU General Public |
|||
# License can be found at Documentation/COPYING. |
|||
# |
|||
# Many people helped and are helping developing ROCK Linux. Please |
|||
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
# file for details. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
The include order need to be changed since a usr/include/utils.h might |
|||
exist (cdparanoia). With new gcc the source yields some warnings so |
|||
-Werror needs to be stripped ...
|
|||
|
|||
--- ./Makefile.orig 2001-08-02 08:37:03.000000000 +0200
|
|||
+++ ./Makefile 2003-08-28 22:29:43.000000000 +0200
|
|||
@@ -28,8 +28,8 @@
|
|||
endif |
|||
|
|||
CC = gcc |
|||
-CCOPTS = -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -Werror -g
|
|||
-CFLAGS = $(CCOPTS) $(GLIBCFIX) -I$(KERNEL_INCLUDE) -I../include $(DEFINES)
|
|||
+CCOPTS = -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -g
|
|||
+CFLAGS = $(CCOPTS) -I../include $(GLIBCFIX) -I$(KERNEL_INCLUDE) $(DEFINES)
|
|||
|
|||
LDLIBS += -L../lib -lnetlink -lutil |
|||
|
@ -1,33 +0,0 @@ |
|||
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
# |
|||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
# Please add additional copyright information _after_ the line containing |
|||
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
# |
|||
# ROCK Linux: rock-src/package/base/iproute2/tc_ar.patch |
|||
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf |
|||
# |
|||
# This program is free software; you can redistribute it and/or modify |
|||
# it under the terms of the GNU General Public License as published by |
|||
# the Free Software Foundation; either version 2 of the License, or |
|||
# (at your option) any later version. A copy of the GNU General Public |
|||
# License can be found at Documentation/COPYING. |
|||
# |
|||
# Many people helped and are helping developing ROCK Linux. Please |
|||
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
# file for details. |
|||
# |
|||
# --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
--- iproute2/tc/Makefile 2000-04-16 19:42:53.000000000 +0200
|
|||
+++ iproute2/tc/Makefile 2002-10-31 11:02:44.000000000 +0100
|
|||
@@ -43,7 +43,7 @@
|
|||
tc: $(TCOBJ) $(LIBNETLINK) $(LIBUTIL) $(TCLIB) |
|||
|
|||
libtc.a: $(TCLIB) |
|||
- ar rcs $@ $(TCLIB)
|
|||
+ $(AR) rcs $@ $(TCLIB)
|
|||
|
|||
clean: |
|||
rm -f $(TCOBJ) $(TCLIB) libtc.a tc |