Merge pull request #87 from stikonas/tar

GNU Tar 1.34
master
fosslinux 2 years ago committed by GitHub
commit 5bc7af081d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      SHA256SUMS.sources
  2. 6
      parts.rst
  3. 4
      rootfs.sh
  4. 2
      sysa/run2.sh
  5. 2
      sysa/tar-1.34/checksums
  6. 103
      sysa/tar-1.34/import-gnulib.sh
  7. 32
      sysa/tar-1.34/tar-1.34.sh

@ -34,6 +34,7 @@ e87aae032bf07c26f85ac0ed3250998c37621d95f8bd748b31f15b33c45ee995 flex-2.6.4.tar
5cc35def1ff4375a8b9a98c2ff79e95e80987d24f0d42fdbb7b7039b3ddb3fb0 gawk-3.0.4.tar.gz
e9bf58c761a4f988311aef6b41f12fd5c7e51d09477468fb73826aecc1be32e7 gcc-4.0.4.tar.bz2
fd4829912cddd12f84181c3451cc752be224643e87fac497b69edddadc49b4f2 gmp-6.2.1.tar.xz
df807e694deea2dcba0c43af318394f3e3fcd52658c3b71b61dad0ce0c0cfb77 gnulib-30820c.tar.gz
a32032bab36208509466654df12f507600dfe0313feebbcd218c32a70bf72a16 grep-2.4.tar.gz
4d2ce9f314f39c9575f913503b0178d6fb2c92920db8e7b7b176b7bab7980fe6 gzip-1.2.4.tar
9f233d8b78e4351fe9dd2d50d83958a0e5af36f54e9818521458a08e058691ba heirloom-devtools-070527.tar.bz2
@ -53,4 +54,5 @@ a5e66f6ebf701b0567f569f57cae82abf5ce57af70a2b45ae71323b61f49134e perl-5.6.2.tar
c365874794187f8444e5d22998cd5888ffa47f36def4b77517a808dec27c0600 sed-4.0.9.tar.gz
404a8d72427a559c074e581bf8f7d5a73283faf249cd3faf6dc1c6faf97d07c7 sha-2-61555d.tar.gz
c6c37e888b136ccefab903c51149f4b7bd659d69d4aea21245f61053a57aa60a tar-1.12.tar.gz
63bebd26879c5e1eea4352f0d03c991f966aeb3ddeb3c7445c902568d5411d28 tar-1.34.tar.xz
166c48d2842519bc4f96333bff9e265f8cdda44d38e40594ef3f9bbb52890490 xz-5.0.5.tar.bz2

@ -595,6 +595,12 @@ automake 1.15.1
GNU Automake from 1.15 series. This is the last version that runs on Perl 5.6.
tar 1.34
========
Newer tar has better support for decompressing .tar.bz2 and .tar.xz archives.
It also deals better with modern tar archives with extra metadata.
gmp 6.2.1
=========

@ -348,6 +348,10 @@ get_file https://ftp.gnu.org/gnu/automake/automake-1.13.4.tar.xz
# automake 1.15.1
get_file https://ftp.gnu.org/gnu/automake/automake-1.15.1.tar.xz
# tar 1.34
get_file https://ftp.gnu.org/gnu/tar/tar-1.34.tar.xz \
https://git.savannah.gnu.org/cgit/gnulib.git/snapshot/gnulib-30820c.tar.gz
# gmp 6.2.1
get_file https://ftp.gnu.org/gnu/gmp/gmp-6.2.1.tar.xz

@ -22,6 +22,8 @@ build automake-1.13.4
build automake-1.15.1
build tar-1.34
build gmp-6.2.1
echo "Bootstrapping completed."

@ -0,0 +1,2 @@
d83071067256c4852793db596858b9038511a0ae7a29c52f21165cf8a1882180 /after/bin/tar
8e722caf51d93ce42adcc35d0d0c7816ffb8a9642c5096e80d3dcdabcab9498c /after/libexec/rmt

@ -0,0 +1,103 @@
#!/bin/sh
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
#
# SPDX-License-Identifier: GPL-3.0-or-later
../gnulib-30820c/gnulib-tool --import --local-dir=gl \
--lib=libgnu \
--source-base=gnu \
--m4-base=m4 \
--doc-base=doc \
--tests-base=tests \
--aux-dir=build-aux \
--no-conditional-dependencies \
--no-libtool \
--macro-prefix=gl \
--avoid=lock \
alloca \
areadlinkat-with-size \
argmatch \
argp \
argp-version-etc \
backupfile \
closeout \
configmake \
dirname \
error \
exclude \
exitfail \
extern-inline \
faccessat \
fchmodat \
fchownat \
fcntl-h \
fdopendir \
fdutimensat \
file-has-acl \
fileblocks \
fnmatch-gnu \
fprintftime \
fseeko \
fstatat \
full-write \
futimens \
getline \
getopt-gnu \
getpagesize \
gettext \
gettime \
gitlog-to-changelog \
hash \
human \
inttostr \
inttypes \
lchown \
linkat \
localcharset \
manywarnings \
mkdirat \
mkdtemp \
mkfifoat \
modechange \
obstack \
openat \
parse-datetime \
priv-set \
progname \
quote \
quotearg \
readlinkat \
renameat \
root-uid \
rpmatch \
safe-read \
savedir \
selinux-at \
setenv \
snprintf \
stat-time \
stdbool \
stdint \
stdopen \
stpcpy \
strdup-posix \
strerror \
strnlen \
strtoimax \
strtol \
strtoul \
strtoumax \
symlinkat \
timespec \
timespec-sub \
unlinkat \
unlinkdir \
unlocked-io \
utimensat \
version-etc-fsf \
xalloc \
xalloc-die \
xgetcwd \
xstrtoumax \
xvasprintf

@ -0,0 +1,32 @@
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
#
# SPDX-License-Identifier: GPL-3.0-or-later
src_prepare() {
default_src_prepare
. ../../import-gnulib.sh
# We don't have autopoint from gettext yet
AUTOPOINT=true autoreconf -fi
# Remove bison pregenerated file
rm gnu/parse-datetime.c
}
src_configure() {
FORCE_UNSAFE_CONFIGURE=1 ./configure \
--prefix="${PREFIX}" \
--disable-nls \
--target=i386-unknown-linux-gnu \
--host=i386-unknown-linux-gnu \
--build=i386-unknown-linux-gnu
}
src_compile() {
make PREFIX="${PREFIX}" MAKEINFO="true"
}
src_install() {
make install PREFIX="${PREFIX}" MAKEINFO="true" DESTDIR="${DESTDIR}"
}
Loading…
Cancel
Save