openpkg/tar.patch

Thu, 04 Oct 2012 20:30:05 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 04 Oct 2012 20:30:05 +0200
changeset 715
c10fb90893b9
parent 250
bda4f5eec616
permissions
-rw-r--r--

Correct out of date build configuration, porting to Solaris 11 network
link infrastructure and new libpcap logic. This additionally allows for
device drivers in subdirectories of /dev. Correct packaged nmap
personalities and signatures to work out of the box. Finally, hack
arpd logic to properly close sockets and quit on TERM by repeating
signaling in the run command script. Sadly, all this fails to correct
the run time behaviour of honeyd which fails to bind to the IP layer.

     1 Index: Makefile.in
     2 --- Makefile.in.orig	2011-03-12 10:50:13.000000000 +0100
     3 +++ Makefile.in	2011-07-31 17:41:03.000000000 +0200
     4 @@ -1028,7 +1028,7 @@
     5  top_srcdir = @top_srcdir@
     6  ACLOCAL_AMFLAGS = -I m4
     7  EXTRA_DIST = ChangeLog.1 Make.rules
     8 -SUBDIRS = doc gnu lib rmt src scripts po tests
     9 +SUBDIRS = doc gnu lib src
    10  gen_start_date = 2009-03-06
    11  prev_change_log = ChangeLog.CVS
    12  changelog_dir = .
    13 Index: gnu/argp-help.c
    14 --- gnu/argp-help.c.orig	2011-03-12 10:14:26.000000000 +0100
    15 +++ gnu/argp-help.c	2011-07-31 17:44:24.000000000 +0200
    16 @@ -571,10 +571,7 @@
    17    return val;
    18  }
    20 -static inline int
    21 -#if __GNUC__ >= 3
    22 -__attribute__ ((always_inline))
    23 -#endif
    24 +static int
    25  hol_entry_long_iterate (const struct hol_entry *entry,
    26                          int (*func)(const struct argp_option *opt,
    27                                      const struct argp_option *real,
    28 Index: gnu/strerror.c
    29 --- gnu/strerror.c.orig	2011-03-12 10:14:33.000000000 +0100
    30 +++ gnu/strerror.c	2011-07-31 17:41:03.000000000 +0200
    31 @@ -25,6 +25,7 @@
    33  # include <errno.h>
    34  # include <stdio.h>
    35 +# include <limits.h>
    37  # if GNULIB_defined_ESOCK /* native Windows platforms */
    38  #  if HAVE_WINSOCK2_H
    39 Index: src/tar.c
    40 --- src/tar.c.orig	2010-10-24 20:07:55.000000000 +0200
    41 +++ src/tar.c	2011-07-31 17:41:03.000000000 +0200
    42 @@ -20,6 +20,7 @@
    43     51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
    45  #include <system.h>
    46 +#include <locale.h>
    48  #include <fnmatch.h>
    49  #include <argp.h>
    50 Index: src/utf8.c
    51 --- src/utf8.c.orig	2010-01-22 18:18:15.000000000 +0100
    52 +++ src/utf8.c	2011-07-31 17:41:03.000000000 +0200
    53 @@ -22,6 +22,9 @@
    54  #include "common.h"
    55  #ifdef HAVE_ICONV_H
    56  # include <iconv.h>
    57 +#else
    58 +# define iconv_t void *
    59 +# define ICONV_CONST const
    60  #endif
    62  #ifndef ICONV_CONST
    63 Index: src/xheader.c
    64 --- src/xheader.c.orig	2010-11-27 12:18:49.000000000 +0100
    65 +++ src/xheader.c	2011-07-31 17:41:03.000000000 +0200
    66 @@ -26,6 +26,10 @@
    68  #include "common.h"
    70 +#ifndef SIZE_MAX
    71 +# define SIZE_MAX ((size_t) -1)
    72 +#endif
    73 +
    74  static void xheader_init (struct xheader *xhdr);
    75  static bool xheader_protected_pattern_p (char const *pattern);
    76  static bool xheader_protected_keyword_p (char const *keyword);

mercurial