Change the kernel dev_t, representing a pointer to a specinfo structure,
[dragonfly.git] / contrib / tar / README-alpha
1 This is a test release of GNU tar.
2
3 Please send comments and problem reports to <bug-tar@gnu.org>.
4
5         Copyright 2001 Free Software Foundation, Inc.
6
7         This file is part of GNU tar.
8
9         GNU tar is free software; you can redistribute it and/or modify
10         it under the terms of the GNU General Public License as published by
11         the Free Software Foundation; either version 2, or (at your option)
12         any later version.
13
14         GNU tar is distributed in the hope that it will be useful,
15         but WITHOUT ANY WARRANTY; without even the implied warranty of
16         MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17         GNU General Public License for more details.
18
19         You should have received a copy of the GNU General Public License
20         along with tar; see the file COPYING.  If not, write to
21         the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
22         Boston, MA 02111-1307, USA.
23
24 This release was built with GNU automake 1.5 patched as follows:
25
26 2001-09-24  Paul Eggert  <eggert@twinsun.com>
27
28         * m4/header.m4 (_AM_Config_Header_Index): Remove.
29         (AM_CONFIG_HEADER): Don't use it.  It wasn't working, and was
30         causing needless rebuilds.
31
32 2001-09-14  Paul Eggert  <eggert@twinsun.com>
33
34         * lib/am/distdir.am (REMOVE_DISTDIR):
35         New macro.  Do not change permission of non-directories.
36         (distdir, dist, dist-bzip2, dist-tarZ, dist-shar, dist-zip, dist-all,
37          distcheck): Use it.
38
39 ===================================================================
40 RCS file: lib/am/distdir.am,v
41 retrieving revision 1.5
42 retrieving revision 1.5.0.1
43 diff -pu -r1.5 -r1.5.0.1
44 --- lib/am/distdir.am   2001/07/14 20:12:52     1.5
45 +++ lib/am/distdir.am   2001/09/15 05:12:18     1.5.0.1
46 @@ -29,6 +29,11 @@ else !%?TOPDIR_P%
47  ?DISTDIR?distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
48  endif !%?TOPDIR_P%
49  
50 +REMOVE_DISTDIR = \
51 +  { test ! -d $(distdir) \
52 +    || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
53 +         && rm -fr $(distdir); }; }
54 +
55  distdir: $(DISTFILES)
56  ##
57  ## For Gnits users, this is pretty handy.  Look at 15 lines
58 @@ -47,7 +52,7 @@ endif %?TOPDIR_P%
59  ## Only for the top dir.
60  ##
61  if %?TOPDIR_P%
62 -       -chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
63 +       $(REMOVE_DISTDIR)
64         mkdir $(distdir)
65  endif %?TOPDIR_P%
66  ##
67 @@ -168,13 +173,13 @@ GZIP_ENV = --best
68  .PHONY: dist
69  dist: distdir
70         $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
71 -       -chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
72 +       $(REMOVE_DISTDIR)
73  
74  if  %?BZIP2%
75  .PHONY: dist-bzip2
76  dist-bzip2: distdir
77         $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
78 -       -chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
79 +       $(REMOVE_DISTDIR)
80  endif  %?BZIP2%
81  
82  
83 @@ -182,7 +187,7 @@ if  %?COMPRESS%
84  .PHONY: dist-tarZ
85  dist-tarZ: distdir
86         $(AMTAR) chof - $(distdir) | compress -c >$(distdir).tar.Z
87 -       -chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
88 +       $(REMOVE_DISTDIR)
89  endif  %?COMPRESS%
90  
91  
92 @@ -190,7 +195,7 @@ if  %?SHAR%
93  .PHONY: dist-shar
94  dist-shar: distdir
95         shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
96 -       -chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
97 +       $(REMOVE_DISTDIR)
98  endif  %?SHAR%
99  
100  
101 @@ -199,7 +204,7 @@ if  %?ZIP%
102  dist-zip: distdir
103         -rm -f $(distdir).zip
104         zip -rq $(distdir).zip $(distdir)
105 -       -chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
106 +       $(REMOVE_DISTDIR)
107  endif  %?ZIP%
108  
109  endif %?TOPDIR_P%
110 @@ -223,7 +228,7 @@ dist-all: distdir
111  ?SHAR? shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
112  ?ZIP?  -rm -f $(distdir).zip
113  ?ZIP?  zip -rq $(distdir).zip $(distdir)
114 -       -chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
115 +       $(REMOVE_DISTDIR)
116  
117  endif %?TOPDIR_P%
118  
119 @@ -239,8 +244,7 @@ if %?TOPDIR_P%
120  # tarfile.
121  .PHONY: distcheck
122  distcheck: dist
123 -## Make sure we can remove distdir before trying to remove it.
124 -       -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
125 +       $(REMOVE_DISTDIR)
126         GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
127  ## Make the new source tree read-only.  Distributions ought to work in
128  ## this case.  However, make the top-level directory writable so we
129 @@ -273,7 +277,7 @@ distcheck: dist
130           && (test `find . -type f -print | wc -l` -eq 0 \
131              || (echo "Error: files left after distclean" 1>&2; \
132                  exit 1) )
133 -       -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
134 +       $(REMOVE_DISTDIR)
135         @echo "$(distdir).tar.gz is ready for distribution" | \
136           sed 'h;s/./=/g;p;x;p;x'
137  endif %?TOPDIR_P%
138 ===================================================================
139 RCS file: m4/header.m4,v
140 retrieving revision 1.5
141 retrieving revision 1.5.0.1
142 diff -pu -r1.5 -r1.5.0.1
143 --- m4/header.m4        2001/07/21 05:27:26     1.5
144 +++ m4/header.m4        2001/09/24 18:29:30     1.5.0.1
145 @@ -11,18 +11,16 @@ AC_PREREQ([2.12])
146  
147  AC_DEFUN([AM_CONFIG_HEADER],
148  [ifdef([AC_FOREACH],dnl
149 -        [dnl init our file count if it isn't already
150 -        m4_ifndef([_AM_Config_Header_Index], m4_define([_AM_Config_Header_Index], [0]))
151 +        [
152          dnl prepare to store our destination file list for use in config.status
153          AC_FOREACH([_AM_File], [$1],
154                     [m4_pushdef([_AM_Dest], m4_patsubst(_AM_File, [:.*]))
155 -                   m4_define([_AM_Config_Header_Index], m4_incr(_AM_Config_Header_Index))
156                     dnl and add it to the list of files AC keeps track of, along
157                     dnl with our hook
158                     AC_CONFIG_HEADERS(_AM_File,
159  dnl COMMANDS, [, INIT-CMDS]
160  [# update the timestamp
161 -echo timestamp >"AS_ESCAPE(_AM_DIRNAME(]_AM_Dest[))/stamp-h]_AM_Config_Header_Index["
162 +echo timestamp >"AS_ESCAPE(_AM_DIRNAME(]_AM_Dest[))/stamp-h"
163  ][$2]m4_ifval([$3], [, [$3]]))dnl AC_CONFIG_HEADERS
164                     m4_popdef([_AM_Dest])])],dnl
165  [AC_CONFIG_HEADER([$1])
166
167
168
169 and with GNU autoconf 2.52 patched as follows:
170
171 2001-09-15  Paul Eggert  <eggert@twinsun.com>
172
173         Fix bug reported by Paul Townsend on AIX 4.3.3.0 with
174         CFLAGS=-O4 or CFLAGS=-O5.  In that case, the linker has a
175         relaxed view of fatal errors, and AC_CHECK_LIB causes it to
176         include libraries even when they don't exist.
177
178         * acheaders.m4 (AC_HEADER_DIRENT): Use AC_SEARCH_LIBS, not
179         AC_CHECK_LIB, so that we don't use -ldir or -lx if we don't
180         need it.
181
182         * acspecific.m4 (AC_ISC_POSIX): Replace the old, crufty
183         version with the version used by fileutils 4.1, except use
184         AC_SEARCH_LIBS, not AC_CHECK_LIB, so that we don't use
185         -lcposix if we don't need it.
186
187 ===================================================================
188 RCS file: acheaders.m4,v
189 retrieving revision 2.52
190 retrieving revision 2.52.0.1
191 diff -pu -r2.52 -r2.52.0.1
192 --- acheaders.m4        2001/07/03 14:19:09     2.52
193 +++ acheaders.m4        2001/09/16 02:53:51     2.52.0.1
194 @@ -158,9 +158,9 @@ ac_header_dirent=$ac_hdr; break])
195  done
196  # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
197  if test $ac_header_dirent = dirent.h; then
198 -  AC_CHECK_LIB(dir, opendir, LIBS="$LIBS -ldir")
199 +  AC_SEARCH_LIBS(opendir, dir)
200  else
201 -  AC_CHECK_LIB(x, opendir, LIBS="$LIBS -lx")
202 +  AC_SEARCH_LIBS(opendir, x)
203  fi
204  ])# AC_HEADER_DIRENT
205  
206 ===================================================================
207 RCS file: acspecific.m4,v
208 retrieving revision 2.52
209 retrieving revision 2.52.0.1
210 diff -pu -r2.52 -r2.52.0.1
211 --- acspecific.m4       2001/06/15 17:46:01     2.52
212 +++ acspecific.m4       2001/09/16 02:53:51     2.52.0.1
213 @@ -993,28 +993,7 @@ fi
214  # AC_ISC_POSIX
215  # ------------
216  AC_DEFUN([AC_ISC_POSIX],
217 -[AC_REQUIRE([AC_PROG_CC])dnl
218 -AC_BEFORE([$0], [AC_COMPILE_IFELSE])dnl
219 -AC_BEFORE([$0], [AC_RUN_IFELSE])dnl
220 -AC_MSG_CHECKING([for POSIXized ISC])
221 -if test -d /etc/conf/kconfig.d &&
222 -   grep _POSIX_VERSION [/usr/include/sys/unistd.h] >/dev/null 2>&1
223 -then
224 -  AC_MSG_RESULT([yes])
225 -  ISC=yes # If later tests want to check for ISC.
226 -  AC_DEFINE(_POSIX_SOURCE, 1,
227 -            [Define if you need to in order for stat and other things to
228 -             work.])
229 -  if test "$GCC" = yes; then
230 -    CC="$CC -posix"
231 -  else
232 -    CC="$CC -Xp"
233 -  fi
234 -else
235 -  AC_MSG_RESULT([no])
236 -  ISC=
237 -fi
238 -])# AC_ISC_POSIX
239 +[AC_SEARCH_LIBS(strerror, cposix)])
240  
241  
242  # AC_XENIX_DIR