diff options
Diffstat (limited to 'packages/tar')
-rw-r--r-- | packages/tar/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/tar/files/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/tar/files/configure.patch | 16 | ||||
-rw-r--r-- | packages/tar/files/m4.patch | 261 | ||||
-rw-r--r-- | packages/tar/tar-native_1.13.93.bb | 12 | ||||
-rw-r--r-- | packages/tar/tar/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/tar/tar/tar-native_1.13.25.oe | 27 | ||||
-rw-r--r-- | packages/tar/tar_1.13.93.bb | 11 |
8 files changed, 327 insertions, 0 deletions
diff --git a/packages/tar/.mtn2git_empty b/packages/tar/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/tar/.mtn2git_empty diff --git a/packages/tar/files/.mtn2git_empty b/packages/tar/files/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/tar/files/.mtn2git_empty diff --git a/packages/tar/files/configure.patch b/packages/tar/files/configure.patch index e69de29bb2..65b6f1efc6 100644 --- a/packages/tar/files/configure.patch +++ b/packages/tar/files/configure.patch @@ -0,0 +1,16 @@ + +# +# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher +# + +--- tar-1.13.93/configure.ac~configure 2004-02-23 03:54:51.000000000 -0500 ++++ tar-1.13.93/configure.ac 2004-03-06 06:51:45.000000000 -0500 +@@ -33,6 +33,8 @@ + AC_ISC_POSIX + AC_C_INLINE + ++AM_ICONV ++ + AC_CHECK_HEADERS(fcntl.h linux/fd.h memory.h net/errno.h \ + sgtty.h string.h \ + sys/buf.h sys/device.h sys/gentape.h \ diff --git a/packages/tar/files/m4.patch b/packages/tar/files/m4.patch index e69de29bb2..8dbb13c897 100644 --- a/packages/tar/files/m4.patch +++ b/packages/tar/files/m4.patch @@ -0,0 +1,261 @@ + +# +# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher +# + +--- /dev/null 2003-09-23 18:19:32.000000000 -0400 ++++ tar-1.13.93/m4/codeset.m4 2004-03-06 06:52:55.000000000 -0500 +@@ -0,0 +1,23 @@ ++# codeset.m4 serial AM1 (gettext-0.10.40) ++dnl Copyright (C) 2000-2002 Free Software Foundation, Inc. ++dnl This file is free software, distributed under the terms of the GNU ++dnl General Public License. As a special exception to the GNU General ++dnl Public License, this file may be distributed as part of a program ++dnl that contains a configuration script generated by Autoconf, under ++dnl the same distribution terms as the rest of that program. ++ ++dnl From Bruno Haible. ++ ++AC_DEFUN([AM_LANGINFO_CODESET], ++[ ++ AC_CACHE_CHECK([for nl_langinfo and CODESET], am_cv_langinfo_codeset, ++ [AC_TRY_LINK([#include <langinfo.h>], ++ [char* cs = nl_langinfo(CODESET);], ++ am_cv_langinfo_codeset=yes, ++ am_cv_langinfo_codeset=no) ++ ]) ++ if test $am_cv_langinfo_codeset = yes; then ++ AC_DEFINE(HAVE_LANGINFO_CODESET, 1, ++ [Define if you have <langinfo.h> and nl_langinfo(CODESET).]) ++ fi ++]) +--- /dev/null 2003-09-23 18:19:32.000000000 -0400 ++++ tar-1.13.93/m4/glibc21.m4 2004-03-06 06:52:55.000000000 -0500 +@@ -0,0 +1,32 @@ ++# glibc21.m4 serial 2 (fileutils-4.1.3, gettext-0.10.40) ++dnl Copyright (C) 2000-2002 Free Software Foundation, Inc. ++dnl This file is free software, distributed under the terms of the GNU ++dnl General Public License. As a special exception to the GNU General ++dnl Public License, this file may be distributed as part of a program ++dnl that contains a configuration script generated by Autoconf, under ++dnl the same distribution terms as the rest of that program. ++ ++# Test for the GNU C Library, version 2.1 or newer. ++# From Bruno Haible. ++ ++AC_DEFUN([jm_GLIBC21], ++ [ ++ AC_CACHE_CHECK(whether we are using the GNU C Library 2.1 or newer, ++ ac_cv_gnu_library_2_1, ++ [AC_EGREP_CPP([Lucky GNU user], ++ [ ++#include <features.h> ++#ifdef __GNU_LIBRARY__ ++ #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2) ++ Lucky GNU user ++ #endif ++#endif ++ ], ++ ac_cv_gnu_library_2_1=yes, ++ ac_cv_gnu_library_2_1=no) ++ ] ++ ) ++ AC_SUBST(GLIBC21) ++ GLIBC21="$ac_cv_gnu_library_2_1" ++ ] ++) +--- /dev/null 2003-09-23 18:19:32.000000000 -0400 ++++ tar-1.13.93/m4/intdiv0.m4 2004-03-06 06:52:55.000000000 -0500 +@@ -0,0 +1,72 @@ ++# intdiv0.m4 serial 1 (gettext-0.11.3) ++dnl Copyright (C) 2002 Free Software Foundation, Inc. ++dnl This file is free software, distributed under the terms of the GNU ++dnl General Public License. As a special exception to the GNU General ++dnl Public License, this file may be distributed as part of a program ++dnl that contains a configuration script generated by Autoconf, under ++dnl the same distribution terms as the rest of that program. ++ ++dnl From Bruno Haible. ++ ++AC_DEFUN([gt_INTDIV0], ++[ ++ AC_REQUIRE([AC_PROG_CC])dnl ++ AC_REQUIRE([AC_CANONICAL_HOST])dnl ++ ++ AC_CACHE_CHECK([whether integer division by zero raises SIGFPE], ++ gt_cv_int_divbyzero_sigfpe, ++ [ ++ AC_TRY_RUN([ ++#include <stdlib.h> ++#include <signal.h> ++ ++static void ++#ifdef __cplusplus ++sigfpe_handler (int sig) ++#else ++sigfpe_handler (sig) int sig; ++#endif ++{ ++ /* Exit with code 0 if SIGFPE, with code 1 if any other signal. */ ++ exit (sig != SIGFPE); ++} ++ ++int x = 1; ++int y = 0; ++int z; ++int nan; ++ ++int main () ++{ ++ signal (SIGFPE, sigfpe_handler); ++/* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP. */ ++#if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP) ++ signal (SIGTRAP, sigfpe_handler); ++#endif ++/* Linux/SPARC yields signal SIGILL. */ ++#if defined (__sparc__) && defined (__linux__) ++ signal (SIGILL, sigfpe_handler); ++#endif ++ ++ z = x / y; ++ nan = y / y; ++ exit (1); ++} ++], gt_cv_int_divbyzero_sigfpe=yes, gt_cv_int_divbyzero_sigfpe=no, ++ [ ++ # Guess based on the CPU. ++ case "$host_cpu" in ++ alpha* | i[34567]86 | m68k | s390*) ++ gt_cv_int_divbyzero_sigfpe="guessing yes";; ++ *) ++ gt_cv_int_divbyzero_sigfpe="guessing no";; ++ esac ++ ]) ++ ]) ++ case "$gt_cv_int_divbyzero_sigfpe" in ++ *yes) value=1;; ++ *) value=0;; ++ esac ++ AC_DEFINE_UNQUOTED(INTDIV0_RAISES_SIGFPE, $value, ++ [Define if integer division by zero raises signal SIGFPE.]) ++]) +--- tar-1.13.93/m4/inttypes_h.m4~m4 2003-12-29 05:28:43.000000000 -0500 ++++ tar-1.13.93/m4/inttypes_h.m4 2004-03-06 06:52:55.000000000 -0500 +@@ -1,5 +1,5 @@ +-# inttypes_h.m4 serial 5 (gettext-0.12) +-dnl Copyright (C) 1997-2003 Free Software Foundation, Inc. ++# inttypes_h.m4 serial 4 (gettext-0.11.4) ++dnl Copyright (C) 1997-2002 Free Software Foundation, Inc. + dnl This file is free software, distributed under the terms of the GNU + dnl General Public License. As a special exception to the GNU General + dnl Public License, this file may be distributed as part of a program +@@ -22,7 +22,7 @@ + jm_ac_cv_header_inttypes_h=no)]) + if test $jm_ac_cv_header_inttypes_h = yes; then + AC_DEFINE_UNQUOTED(HAVE_INTTYPES_H_WITH_UINTMAX, 1, +- [Define if <inttypes.h> exists, doesn't clash with <sys/types.h>, +- and declares uintmax_t. ]) ++[Define if <inttypes.h> exists, doesn't clash with <sys/types.h>, ++ and declares uintmax_t. ]) + fi + ]) +--- /dev/null 2003-09-23 18:19:32.000000000 -0400 ++++ tar-1.13.93/m4/inttypes.m4 2004-03-06 06:52:55.000000000 -0500 +@@ -0,0 +1,27 @@ ++# inttypes.m4 serial 1 (gettext-0.11.4) ++dnl Copyright (C) 1997-2002 Free Software Foundation, Inc. ++dnl This file is free software, distributed under the terms of the GNU ++dnl General Public License. As a special exception to the GNU General ++dnl Public License, this file may be distributed as part of a program ++dnl that contains a configuration script generated by Autoconf, under ++dnl the same distribution terms as the rest of that program. ++ ++dnl From Paul Eggert. ++ ++# Define HAVE_INTTYPES_H if <inttypes.h> exists and doesn't clash with ++# <sys/types.h>. ++ ++AC_DEFUN([gt_HEADER_INTTYPES_H], ++[ ++ AC_CACHE_CHECK([for inttypes.h], gt_cv_header_inttypes_h, ++ [ ++ AC_TRY_COMPILE( ++ [#include <sys/types.h> ++#include <inttypes.h>], ++ [], gt_cv_header_inttypes_h=yes, gt_cv_header_inttypes_h=no) ++ ]) ++ if test $gt_cv_header_inttypes_h = yes; then ++ AC_DEFINE_UNQUOTED(HAVE_INTTYPES_H, 1, ++ [Define if <inttypes.h> exists and doesn't clash with <sys/types.h>.]) ++ fi ++]) +--- /dev/null 2003-09-23 18:19:32.000000000 -0400 ++++ tar-1.13.93/m4/inttypes-pri.m4 2004-03-06 06:52:55.000000000 -0500 +@@ -0,0 +1,32 @@ ++# inttypes-pri.m4 serial 1 (gettext-0.11.4) ++dnl Copyright (C) 1997-2002 Free Software Foundation, Inc. ++dnl This file is free software, distributed under the terms of the GNU ++dnl General Public License. As a special exception to the GNU General ++dnl Public License, this file may be distributed as part of a program ++dnl that contains a configuration script generated by Autoconf, under ++dnl the same distribution terms as the rest of that program. ++ ++dnl From Bruno Haible. ++ ++# Define PRI_MACROS_BROKEN if <inttypes.h> exists and defines the PRI* ++# macros to non-string values. This is the case on AIX 4.3.3. ++ ++AC_DEFUN([gt_INTTYPES_PRI], ++[ ++ AC_REQUIRE([gt_HEADER_INTTYPES_H]) ++ if test $gt_cv_header_inttypes_h = yes; then ++ AC_CACHE_CHECK([whether the inttypes.h PRIxNN macros are broken], ++ gt_cv_inttypes_pri_broken, ++ [ ++ AC_TRY_COMPILE([#include <inttypes.h> ++#ifdef PRId32 ++char *p = PRId32; ++#endif ++], [], gt_cv_inttypes_pri_broken=no, gt_cv_inttypes_pri_broken=yes) ++ ]) ++ fi ++ if test "$gt_cv_inttypes_pri_broken" = yes; then ++ AC_DEFINE_UNQUOTED(PRI_MACROS_BROKEN, 1, ++ [Define if <inttypes.h> exists and defines unusable PRI* macros.]) ++ fi ++]) +--- /dev/null 2003-09-23 18:19:32.000000000 -0400 ++++ tar-1.13.93/m4/lcmessage.m4 2004-03-06 06:52:55.000000000 -0500 +@@ -0,0 +1,32 @@ ++# lcmessage.m4 serial 3 (gettext-0.11.3) ++dnl Copyright (C) 1995-2002 Free Software Foundation, Inc. ++dnl This file is free software, distributed under the terms of the GNU ++dnl General Public License. As a special exception to the GNU General ++dnl Public License, this file may be distributed as part of a program ++dnl that contains a configuration script generated by Autoconf, under ++dnl the same distribution terms as the rest of that program. ++dnl ++dnl This file can can be used in projects which are not available under ++dnl the GNU General Public License or the GNU Library General Public ++dnl License but which still want to provide support for the GNU gettext ++dnl functionality. ++dnl Please note that the actual code of the GNU gettext library is covered ++dnl by the GNU Library General Public License, and the rest of the GNU ++dnl gettext package package is covered by the GNU General Public License. ++dnl They are *not* in the public domain. ++ ++dnl Authors: ++dnl Ulrich Drepper <drepper@cygnus.com>, 1995. ++ ++# Check whether LC_MESSAGES is available in <locale.h>. ++ ++AC_DEFUN([AM_LC_MESSAGES], ++[ ++ AC_CACHE_CHECK([for LC_MESSAGES], am_cv_val_LC_MESSAGES, ++ [AC_TRY_LINK([#include <locale.h>], [return LC_MESSAGES], ++ am_cv_val_LC_MESSAGES=yes, am_cv_val_LC_MESSAGES=no)]) ++ if test $am_cv_val_LC_MESSAGES = yes; then ++ AC_DEFINE(HAVE_LC_MESSAGES, 1, ++ [Define if your <locale.h> file defines LC_MESSAGES.]) ++ fi ++]) diff --git a/packages/tar/tar-native_1.13.93.bb b/packages/tar/tar-native_1.13.93.bb index e69de29bb2..7cb2262e3b 100644 --- a/packages/tar/tar-native_1.13.93.bb +++ b/packages/tar/tar-native_1.13.93.bb @@ -0,0 +1,12 @@ +SECTION = "base" +include tar_${PV}.bb +inherit native +S = "${WORKDIR}/tar-${PV}" + +do_stage() { + install -m 755 src/tar ${STAGING_BINDIR} +} + +do_install() { + true +} diff --git a/packages/tar/tar/.mtn2git_empty b/packages/tar/tar/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/tar/tar/.mtn2git_empty diff --git a/packages/tar/tar/tar-native_1.13.25.oe b/packages/tar/tar/tar-native_1.13.25.oe index e69de29bb2..07771156ba 100644 --- a/packages/tar/tar/tar-native_1.13.25.oe +++ b/packages/tar/tar/tar-native_1.13.25.oe @@ -0,0 +1,27 @@ +SECTION = "base" +DESCRIPTION = "This version of GNU tar is only used for compatibility \ +reasons, where an old ipkg (e.g. ipkg 0.99.84) has to extract and \ +install *.ipk files created with OpenEmbedded." +LICENSE = "GPL" +MAINTAINER = "Chris Larson <kergoth@handhelds.org>" + +SRC_URI = "ftp://alpha.gnu.org/gnu/tar/tar-${PV}.tar.gz" + +inherit autotools +inherit native + +S = "${WORKDIR}/tar-${PV}" + +OEDEBUG = 2 + +do_configure() { + oe_runconf +} + +do_stage() { + install -m 755 src/tar ${STAGING_BINDIR} +} + +do_install() { + true +} diff --git a/packages/tar/tar_1.13.93.bb b/packages/tar/tar_1.13.93.bb index e69de29bb2..19600c6810 100644 --- a/packages/tar/tar_1.13.93.bb +++ b/packages/tar/tar_1.13.93.bb @@ -0,0 +1,11 @@ +SECTION = "base" +DESCRIPTION = "GNU tar saves many files together into a single tape \ +or disk archive, and can restore individual files from the archive." +LICENSE = "GPL" +MAINTAINER = "Chris Larson <kergoth@handhelds.org>" + +SRC_URI = "ftp://alpha.gnu.org/gnu/tar/tar-${PV}.tar.gz \ + file://configure.patch;patch=1 \ + file://m4.patch;patch=1" + +inherit autotools |