source: patches/iproute2-3.14.0-libdir-1.patch @ c1fd134

clfs-3.0.0-systemdsystemd
Last change on this file since c1fd134 was 70a2865, checked in by William Harrington <kb0iic@…>, 10 years ago

Rename iproute2 3.12.0 libdir patch for 3.14.0 upgrade and add an entry to the patch header for rename.

  • Property mode set to 100644
File size: 1.9 KB
  • iproute2-3.8.0

    Submitted By: Joe Ciccone <jciccone@gmail.com>
    Date: 14-06-2010
    Initial Package Version: 2.6.18
    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
                 Updated for Iproute2-2.6.34 by Joe Ciccone
                 Updated for Iproute2-2.6.37 by Joe Ciccone
                 Renamed for Iproute2-2.6.38 by Jonathan Norman
                 Rediffed for Iproute2-3.4.0 by William Harrington
                 Rediffed for Iproute2-3.8.0 by William Harrington
                 Renamed for Iproute2-3.12.0 by William Harrington
                 Renamed for Iproute2-3.14.0 by William Harrington
    
    diff -Naur iproute2-3.8.0.orig/Makefile iproute2-3.8.0/Makefile
    old new  
    1313
    1414SHARED_LIBS = y
    1515
    16 DEFINES= -DRESOLVE_HOSTNAMES -DLIBDIR=\"$(LIBDIR)\"
     16DEFINES= -DRESOLVE_HOSTNAMES -DLIBDIR=\"$(LIBDIR)\" -DARPDDIR=\"$(ARPDDIR)\"
    1717ifneq ($(SHARED_LIBS),y)
    1818DEFINES+= -DNO_SHARED_LIBS
    1919endif
  • include/iptables.h

    diff -Naur iproute2-3.8.0.orig/include/iptables.h iproute2-3.8.0/include/iptables.h
    old new  
    44#include "iptables_common.h"
    55#include "libiptc/libiptc.h"
    66
     7#ifndef LIBDIR
     8#define LIBDIR "/usr/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
  • iproute2-3.8.0

    diff -Naur iproute2-3.8.0.orig/misc/arpd.c iproute2-3.8.0/misc/arpd.c
    old new  
    4040int resolve_hosts;
    4141
    4242DB      *dbase;
    43 char    *dbname = "/var/lib/arpd/arpd.db";
     43char   *dbname = ARPDDIR "/arpd.db";
    4444
    4545int     ifnum;
    4646int     *ifvec;
Note: See TracBrowser for help on using the repository browser.