Browse Source

* updated cpio (2.7 -> 2.8)

git-svn-id: svn://svn.opensde.net/opensde/package/trunk@21280 10447126-35f2-4685-b0cf-6dd780d3921f
early
Alejandro Mery 18 years ago
parent
commit
7b5b82cca6
  1. 6
      archiver/cpio/cpio.desc
  2. 31
      archiver/cpio/fix_symlinks.patch
  3. 46
      archiver/cpio/lstat.patch

6
archiver/cpio/cpio.desc

@ -3,7 +3,7 @@
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY]
[COPY] Filename: package/.../cpio/cpio.desc
[COPY] Copyright (C) 2006 The OpenSDE Project
[COPY] Copyright (C) 2006 - 2007 The OpenSDE Project
[COPY] Copyright (C) 2004 - 2006 The T2 SDE Project
[COPY] Copyright (C) 1998 - 2003 Clifford Wolf
[COPY]
@ -34,8 +34,8 @@
[L] GPL
[S] Stable
[V] 2.7
[V] 2.8
[P] X 0----5---9 102.050
[D] 2372289839 cpio-2.7.tar.gz ftp://ftp.gnu.org/pub/gnu/cpio/
[D] 2894495944 cpio-2.8.tar.gz ftp://ftp.gnu.org/pub/gnu/cpio/

31
archiver/cpio/fix_symlinks.patch

@ -1,31 +0,0 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../cpio/fix_symlinks.patch
# Copyright (C) 2007 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or 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.
# --- SDE-COPYRIGHT-NOTE-END ---
===================================================================
RCS file: /sources/cpio/cpio/src/copyout.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- cpio/src/copyout.c 2006/09/27 09:28:50 1.19
+++ cpio/src/copyout.c 2006/10/24 10:48:04 1.20
@@ -806,6 +806,7 @@
free (link_name);
continue;
}
+ link_name[link_size] = 0;
cpio_safer_name_suffix (link_name, false,
!no_abs_paths_flag, true);
link_size = strlen (link_name);

46
archiver/cpio/lstat.patch

@ -1,46 +0,0 @@
# --- T2-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# T2 SDE: package/.../cpio/lstat.patch
# Copyright (C) 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or 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.
# --- T2-COPYRIGHT-NOTE-END ---
without HAVE_LSTAT cpio will always dereference symlinks
- Alejandro
patch configure so the long autoconf cycle is not needed and
do not regenrate the other .in files we patch ...
- Rene
#--- ./configure.ac.orig 2006-06-25 15:58:15.000000000 +0200
#+++ ./configure.ac 2006-06-25 15:57:56.000000000 +0200
#@@ -92,7 +92,7 @@
# AC_CONFIG_LINKS(src/fnmatch.h:headers/fnmatch.h)
# fi
#
#-AC_CHECK_FUNCS(lchown endpwent endgrent)
#+AC_CHECK_FUNCS(lchown endpwent endgrent lstat)
# AC_FUNC_VPRINTF
# AC_FUNC_ALLOCA
# AC_CHECK_LIB(nsl, gethostname, [LIBS="$LIBS -lnsl"])
--- cpio-2.6/configure 2004-12-20 10:51:38.000000000 +0000
+++ cpio-2.6-fixed/configure 2006-07-03 14:55:01.000000000 +0000
@@ -12838,7 +12838,8 @@
-for ac_func in lchown endpwent endgrent
+
+for ac_func in lchown endpwent endgrent lstat
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
echo "$as_me:$LINENO: checking for $ac_func" >&5
Loading…
Cancel
Save