source: patches/iproute2-2.6.28-libdir-1.patch@ b25f67d

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since b25f67d 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
  • iproute2-2.6.28

    Submitted By: Jim Gifford < jim at cross-lfs dot org>
    Date: 2009-01-30
    Upstream Status: Unknown
    Origin: Joe Ciccone 
    Description: This patch gives the ability to change the libdir.
                 Updated for Iproute2-2.6.28 by Jim Gifford
    
    diff -Naur iproute2-2.6.28.orig/Config iproute2-2.6.28/Config
    old new  
    1 # Generated config based on /tmp/iproute2-2.6.28.orig/include
  • include/iptables.h

    diff -Naur iproute2-2.6.28.orig/include/iptables.h iproute2-2.6.28/include/iptables.h
    old new  
    44#include "iptables_common.h"
    55#include "libiptc/libiptc.h"
    66
     7#ifndef LIBDIR
     8#define LIBDIR "/lib"
     9#endif
     10
    711#ifndef IPT_LIB_DIR
    8 #define IPT_LIB_DIR "/usr/local/lib/iptables"
     12#define IPT_LIB_DIR LIBDIR "/iptables"
    913#endif
    1014
    1115#ifndef IPPROTO_SCTP
  • netem/Makefile

    diff -Naur iproute2-2.6.28.orig/netem/Makefile iproute2-2.6.28/netem/Makefile
    old new  
    2020        $(HOSTCC) $(CCOPTS) -I../include -o $@ $@.c -lm
    2121
    2222install: all
    23         mkdir -p $(DESTDIR)/lib/tc
     23        mkdir -p $(DESTDIR)$(LIBDIR)/tc
    2424        for i in $(DISTDATA); \
    25         do install -m 755 $$i $(DESTDIR)/lib/tc; \
     25        do install -m 755 $$i $(DESTDIR)$(LIBDIR)/tc; \
    2626        done
    2727
    2828clean:
Note: See TracBrowser for help on using the repository browser.