mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-11 13:55:24 +01:00
Add sysb and sysc scaffolding.
Now that we have the Linux Kernel built, we move to a full-disk (rather than initramfs) setup in sysc. However, we cannot assume the seed kernel has support for mounting hard drives. So, first we need to kexec into sysb, which is used as a jumping off point to create the hard drive for sysc. Additionally, since 2.6.16 does not have support for on-demand initramfs (initramfs must be built into kernel), we will have to rebuild the linux kernel within sysb without the initramfs. All of this process is not performed for chroot mode. Instead, we skip sysb and jump straight to sysc, copying over appropriate data. The python scripts have been changed slightly. Each sys* inherits SysGeneral, which contains various functions which are not specific to any sys* and simplifies those files. rootfs now also handles sysb and sysc. bootstrap.cfg also gives an indication whether we are running in a chroot to avoid attempting to kexec/mount within a chroot.
This commit is contained in:
parent
925ce198c1
commit
5c88f1c87f
75 changed files with 624 additions and 176 deletions
30
sysc/autoconf-2.69/autoconf-2.69.sh
Executable file
30
sysc/autoconf-2.69/autoconf-2.69.sh
Executable file
|
|
@ -0,0 +1,30 @@
|
|||
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
src_prepare() {
|
||||
rm doc/standards.info
|
||||
autoreconf-2.64 -f
|
||||
|
||||
# Install autoconf data files into versioned directory
|
||||
for file in */*/Makefile.in */Makefile.in Makefile.in; do
|
||||
sed -i '/^pkgdatadir/s:$:-@VERSION@:' $file
|
||||
done
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
./configure --prefix="${PREFIX}" --program-suffix=-2.69
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
make MAKEINFO=true
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make install MAKEINFO=true DESTDIR="${DESTDIR}"
|
||||
|
||||
ln -sf "${PREFIX}/bin/autoconf-2.69" "${DESTDIR}${PREFIX}/bin/autoconf"
|
||||
ln -sf "${PREFIX}/bin/autoheader-2.69" "${DESTDIR}${PREFIX}/bin/autoheader"
|
||||
ln -sf "${PREFIX}/bin/autom4te-2.69" "${DESTDIR}${PREFIX}/bin/autom4te"
|
||||
ln -sf "${PREFIX}/bin/autoreconf-2.69" "${DESTDIR}${PREFIX}/bin/autoreconf"
|
||||
}
|
||||
19
sysc/autoconf-archive-2021.02.19/autoconf-archive-2021.02.19.sh
Executable file
19
sysc/autoconf-archive-2021.02.19/autoconf-archive-2021.02.19.sh
Executable file
|
|
@ -0,0 +1,19 @@
|
|||
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
src_prepare() {
|
||||
autoreconf-2.69 -fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
./configure --prefix="${PREFIX}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
make MAKEINFO=true DESTDIR="${DESTDIR}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make MAKEINFO=true DESTDIR="${DESTDIR}" install
|
||||
}
|
||||
23
sysc/automake-1.11.2/automake-1.11.2.sh
Executable file
23
sysc/automake-1.11.2/automake-1.11.2.sh
Executable file
|
|
@ -0,0 +1,23 @@
|
|||
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
rm doc/amhello-1.0.tar.gz doc/automake.info*
|
||||
|
||||
./bootstrap
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
./configure --prefix="${PREFIX}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
make MAKEINFO=true
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make install MAKEINFO=true DESTDIR="${DESTDIR}"
|
||||
}
|
||||
16
sysc/automake-1.11.2/patches/aclocal_glob.patch
Normal file
16
sysc/automake-1.11.2/patches/aclocal_glob.patch
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
|
||||
|
||||
SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
Fixes aclocal-1.10 to work with our Perl
|
||||
|
||||
--- aclocal.in 2021-03-25 19:18:10.489134059 +0000
|
||||
+++ aclocal.in 2021-03-25 19:18:20.159389339 +0000
|
||||
@@ -44,6 +44,7 @@
|
||||
use Automake::FileUtils;
|
||||
use File::Basename;
|
||||
use File::stat;
|
||||
+use File::Glob;
|
||||
use Cwd;
|
||||
|
||||
# Some globals.
|
||||
25
sysc/automake-1.15.1/automake-1.15.1.sh
Executable file
25
sysc/automake-1.15.1/automake-1.15.1.sh
Executable file
|
|
@ -0,0 +1,25 @@
|
|||
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
rm doc/amhello-1.0.tar.gz
|
||||
|
||||
./bootstrap
|
||||
|
||||
rm doc/automake-history.info doc/automake.info*
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
./configure --prefix="${PREFIX}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
make MAKEINFO=true
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make install MAKEINFO=true DESTDIR="${DESTDIR}"
|
||||
}
|
||||
16
sysc/automake-1.15.1/patches/aclocal_glob.patch
Normal file
16
sysc/automake-1.15.1/patches/aclocal_glob.patch
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
|
||||
|
||||
SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
Fixes aclocal to work with our Perl
|
||||
|
||||
--- bin/aclocal.in 2021-03-31 18:19:50.665806225 +0100
|
||||
+++ bin/aclocal.in 2021-03-31 18:20:02.836132739 +0100
|
||||
@@ -42,6 +42,7 @@
|
||||
use Automake::XFile;
|
||||
use Automake::FileUtils;
|
||||
use File::Basename;
|
||||
+use File::Glob;
|
||||
use File::Path ();
|
||||
|
||||
# Some globals.
|
||||
17
sysc/automake-1.15.1/patches/bootstrap.patch
Normal file
17
sysc/automake-1.15.1/patches/bootstrap.patch
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
|
||||
|
||||
SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
Fixes dependency of bootstrapping script
|
||||
|
||||
--- gen-testsuite-part 2017-06-16 21:46:16.000000000 +0100
|
||||
+++ gen-testsuite-part 2021-04-01 00:02:46.801098617 +0100
|
||||
@@ -64,8 +64,6 @@
|
||||
$func->($fh);
|
||||
close $fh
|
||||
or die "$me: closing '$tmpfile': $!\n";
|
||||
- chmod ($perms & ~umask, $tmpfile)
|
||||
- or die "$me: cannot change perms for '$tmpfile': $!\n";
|
||||
rename ($tmpfile, $outfile)
|
||||
or die "$me: renaming '$tmpfile' -> '$outfile: $!\n'";
|
||||
}
|
||||
33
sysc/bash-5.1/bash-5.1.sh
Executable file
33
sysc/bash-5.1/bash-5.1.sh
Executable file
|
|
@ -0,0 +1,33 @@
|
|||
# SPDX-FileCopyrightText: 2021 Paul Dersey <pdersey@gmail.com>
|
||||
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
|
||||
# SPDX-FileCopyrightText: 2021 Bastian Bittorf <bb@npl.de>
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
src_prepare() {
|
||||
# Remove bison generated files
|
||||
rm y.tab.c y.tab.h
|
||||
|
||||
# Rebuild configure script
|
||||
rm configure
|
||||
autoconf-2.61
|
||||
|
||||
# avoid non-deterministic build:
|
||||
printf '%s\n%s\n' \
|
||||
'#!/bin/sh' \
|
||||
'echo "#define PIPESIZE 65536"' >builtins/psize.sh
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# --build argument needed for reproducibility
|
||||
./configure --prefix="${PREFIX}" \
|
||||
--without-bash-malloc \
|
||||
--disable-nls \
|
||||
--build=i386-unknown-linux-musl \
|
||||
--enable-static-link
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Do not install prebuilt .mo translation catalogs
|
||||
install bash "${DESTDIR}${PREFIX}/bin"
|
||||
}
|
||||
1
sysc/bash-5.1/checksums
Normal file
1
sysc/bash-5.1/checksums
Normal file
|
|
@ -0,0 +1 @@
|
|||
7b56621ecdc96fdde8863bea6e6ca903ab35619d0a453d906ed4dfc7d2c68e4d /image/bin/bash
|
||||
32
sysc/bison-2.3/bison-2.3.sh
Executable file
32
sysc/bison-2.3/bison-2.3.sh
Executable file
|
|
@ -0,0 +1,32 @@
|
|||
# SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
../../import-gnulib.sh
|
||||
|
||||
AUTOPOINT=true autoreconf-2.69 -fi
|
||||
|
||||
# Remove pregenerated files
|
||||
rm src/parse-gram.c src/parse-gram.h src/scan-skel.c src/scan-gram.c
|
||||
|
||||
# Remove pregenerated .info
|
||||
rm doc/bison.info
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
LEX=flex-2.5.33 ./configure \
|
||||
--prefix="${PREFIX}" \
|
||||
--program-suffix=-2.3 \
|
||||
--datarootdir="${PREFIX}/share/bison-2.3"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
make MAKEINFO=true
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make MAKEINFO=true DESTDIR="${DESTDIR}" install
|
||||
}
|
||||
1
sysc/bison-2.3/checksums
Normal file
1
sysc/bison-2.3/checksums
Normal file
|
|
@ -0,0 +1 @@
|
|||
5f32418b2681b9c26a845689d9761f0c28bbaadce32c58d6b203f4ad8ebe0234 /image/bin/bison-2.3
|
||||
55
sysc/bison-2.3/import-gnulib.sh
Executable file
55
sysc/bison-2.3/import-gnulib.sh
Executable file
|
|
@ -0,0 +1,55 @@
|
|||
#!/bin/sh
|
||||
|
||||
# SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
set -e
|
||||
|
||||
gnulib_modules='
|
||||
argmatch
|
||||
dirname
|
||||
error
|
||||
exitfail
|
||||
extensions
|
||||
getopt
|
||||
gettext
|
||||
hard-locale
|
||||
hash
|
||||
malloc
|
||||
mbswidth
|
||||
obstack
|
||||
quote
|
||||
quotearg
|
||||
stdbool
|
||||
stdio-safer
|
||||
strerror
|
||||
strtoul
|
||||
strverscmp
|
||||
unistd-safer
|
||||
unlocked-io
|
||||
verify
|
||||
xalloc
|
||||
xalloc-die
|
||||
xstrndup
|
||||
'
|
||||
|
||||
# Copy over needed files
|
||||
for i in ${gnulib_modules}; do
|
||||
for f in $(../gnulib-b28236b/gnulib-tool --extract-filelist "${i}") \
|
||||
lib/wcwidth.h; do
|
||||
cp -pf "../gnulib-b28236b/${f}" "./${f}"
|
||||
done
|
||||
done
|
||||
|
||||
# Generate the things
|
||||
(echo '# This file is generated automatically by "bootstrap".' &&
|
||||
echo 'AC_DEFUN([GNULIB_AUTOCONF_SNIPPET],[' &&
|
||||
../gnulib-b28236b/gnulib-tool --extract-autoconf-snippet $gnulib_modules &&
|
||||
echo '])'
|
||||
) > m4/gnulib.m4
|
||||
|
||||
(echo '# This file is generated automatically by "bootstrap".' &&
|
||||
../gnulib-b28236b/gnulib-tool --extract-automake-snippet $gnulib_modules |
|
||||
sed 's/^[ ]*AM_CPPFLAGS[ ]*+=/# (commented out by bootstrap) &/'
|
||||
) > lib/gnulib.mk
|
||||
17
sysc/bison-2.3/patches/autover-mismatch.patch
Normal file
17
sysc/bison-2.3/patches/autover-mismatch.patch
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
|
||||
|
||||
SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
This macro does not exist in newer versions of autoconf and is unrequired.
|
||||
There is no version of autoconf supporting this project + gnulib + this macro.
|
||||
|
||||
--- m4/po_gl.m4 2021-04-11 18:39:53.353069610 +1000
|
||||
+++ m4/po_gl.m4 2021-04-11 18:40:20.422242498 +1000
|
||||
@@ -24,7 +24,6 @@
|
||||
[
|
||||
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
|
||||
AC_REQUIRE([AC_PROG_INSTALL])dnl
|
||||
- AC_REQUIRE([AM_MKINSTALLDIRS])dnl
|
||||
AC_REQUIRE([AM_NLS])dnl
|
||||
|
||||
dnl Perform the following tests also if --disable-nls has been given,
|
||||
18
sysc/bison-2.3/patches/fopen-safer.patch
Normal file
18
sysc/bison-2.3/patches/fopen-safer.patch
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
|
||||
|
||||
SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
fopen-safer.c for whatever reason does not exist when added by gnulib.
|
||||
|
||||
--- lib/Makefile.am 2021-04-11 19:01:01.265993928 +1000
|
||||
+++ lib/Makefile.am 2021-04-11 19:01:40.413232722 +1000
|
||||
@@ -31,7 +31,8 @@
|
||||
lib_SOURCES = \
|
||||
get-errno.h get-errno.c \
|
||||
subpipe.h subpipe.c \
|
||||
- $(bitsets_sources) $(additional_bitsets_sources) $(timevars_sources)
|
||||
+ $(bitsets_sources) $(additional_bitsets_sources) $(timevars_sources) \
|
||||
+ fopen-safer.c
|
||||
|
||||
# Implementation of bitsets
|
||||
bitsets_sources = \
|
||||
17
sysc/bison-2.3/patches/gnulib-fix.patch
Normal file
17
sysc/bison-2.3/patches/gnulib-fix.patch
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
|
||||
|
||||
SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
This should be declared for gnulib, but for some reason is not, most likely
|
||||
use of a different version (but CVS history no longer exists).
|
||||
|
||||
--- lib/Makefile.am 2021-04-11 13:49:09.414805465 +1000
|
||||
+++ lib/Makefile.am 2021-04-11 13:49:26.418916036 +1000
|
||||
@@ -19,6 +19,7 @@
|
||||
|
||||
BUILT_SOURCES =
|
||||
EXTRA_DIST =
|
||||
+EXTRA_lib_SOURCES =
|
||||
MOSTLYCLEANFILES =
|
||||
|
||||
lib_LIBRARIES = $(YACC_LIBRARY)
|
||||
20
sysc/bison-2.3/patches/our-bison.patch
Normal file
20
sysc/bison-2.3/patches/our-bison.patch
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
|
||||
|
||||
SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
This doesn't actually make sense, you can't use the built bison to bootstrap
|
||||
itself. Make it use our bison instead.
|
||||
|
||||
--- src/Makefile.am 2021-04-10 21:37:11.570390316 +1000
|
||||
+++ src/Makefile.am 2021-04-10 21:38:01.805804332 +1000
|
||||
@@ -23,10 +23,6 @@
|
||||
|
||||
LDADD = ../lib/libbison.a $(LIBINTL)
|
||||
|
||||
-# Use our own Bison to build the parser. Of course, you ought to
|
||||
-# keep a sane version of Bison nearby...
|
||||
-YACC = ../tests/bison -y
|
||||
-
|
||||
bin_PROGRAMS = bison
|
||||
bin_SCRIPTS = $(YACC_SCRIPT)
|
||||
EXTRA_SCRIPTS = yacc
|
||||
32
sysc/bison-3.4.2/bison-3.4.2.sh
Executable file
32
sysc/bison-3.4.2/bison-3.4.2.sh
Executable file
|
|
@ -0,0 +1,32 @@
|
|||
# SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Remove pre-generated flex/bison files
|
||||
rm src/parse-gram.c src/parse-gram.h
|
||||
rm src/scan-code.c
|
||||
rm src/scan-gram.c
|
||||
rm src/scan-skel.c
|
||||
|
||||
# Remove pregenerated info files
|
||||
rm doc/bison.info
|
||||
|
||||
../../import-gnulib.sh
|
||||
|
||||
AUTOPOINT=true autoreconf -fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
./configure --prefix="${PREFIX}" --disable-nls
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
make MAKEINFO=true
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make MAKEINFO=true DESTDIR="${DESTDIR}" install
|
||||
}
|
||||
1
sysc/bison-3.4.2/checksums
Normal file
1
sysc/bison-3.4.2/checksums
Normal file
|
|
@ -0,0 +1 @@
|
|||
7659e6caa1c0f82722bc2d80b614a1fa500e531ce0f359c3a813b742738ad7c6 /image/bin/bison
|
||||
91
sysc/bison-3.4.2/import-gnulib.sh
Executable file
91
sysc/bison-3.4.2/import-gnulib.sh
Executable file
|
|
@ -0,0 +1,91 @@
|
|||
#!/bin/sh
|
||||
|
||||
# SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
../gnulib-672663a/gnulib-tool --import --local-dir=gl \
|
||||
--lib=libbison \
|
||||
--source-base=lib \
|
||||
--m4-base=m4 \
|
||||
--po-base=gnulib-po \
|
||||
--doc-base=doc \
|
||||
--tests-base=tests \
|
||||
--aux-dir=build-aux \
|
||||
--makefile-name=gnulib.mk \
|
||||
--conditional-dependencies \
|
||||
--no-libtool \
|
||||
--macro-prefix=gl \
|
||||
--po-domain=bison \
|
||||
argmatch \
|
||||
array-list \
|
||||
assert \
|
||||
assure \
|
||||
bitsetv \
|
||||
c-strcase \
|
||||
calloc-posix \
|
||||
close \
|
||||
closeout \
|
||||
config-h \
|
||||
configmake \
|
||||
dirname \
|
||||
error \
|
||||
extensions \
|
||||
fdl \
|
||||
fopen-safer \
|
||||
fprintf-posix \
|
||||
getopt-gnu \
|
||||
gettext-h \
|
||||
git-version-gen \
|
||||
gitlog-to-changelog \
|
||||
gpl-3.0 \
|
||||
inttypes \
|
||||
isnan \
|
||||
javacomp-script \
|
||||
javaexec-script \
|
||||
ldexpl \
|
||||
libtextstyle-optional \
|
||||
mbswidth \
|
||||
non-recursive-gnulib-prefix-hack \
|
||||
obstack \
|
||||
obstack-printf \
|
||||
perror \
|
||||
printf-posix \
|
||||
progname \
|
||||
quote \
|
||||
quotearg \
|
||||
readme-release \
|
||||
realloc-posix \
|
||||
relocatable-prog \
|
||||
relocatable-script \
|
||||
rename \
|
||||
snprintf-posix \
|
||||
spawn-pipe \
|
||||
sprintf-posix \
|
||||
stdbool \
|
||||
stpcpy \
|
||||
strdup-posix \
|
||||
strerror \
|
||||
strverscmp \
|
||||
timevar \
|
||||
unistd \
|
||||
unistd-safer \
|
||||
unlink \
|
||||
unlocked-io \
|
||||
unsetenv \
|
||||
update-copyright \
|
||||
verify \
|
||||
vsnprintf-posix \
|
||||
vsprintf-posix \
|
||||
warnings \
|
||||
xalloc \
|
||||
xalloc-die \
|
||||
xconcat-filename \
|
||||
xhash \
|
||||
xlist \
|
||||
xmemdup0 \
|
||||
xstrndup
|
||||
|
||||
../gnulib-672663a/build-aux/prefix-gnulib-mk \
|
||||
--lib-name=libbison \
|
||||
lib/gnulib.mk
|
||||
17
sysc/bison-3.4.2/patches/gnulib-makefile.patch
Normal file
17
sysc/bison-3.4.2/patches/gnulib-makefile.patch
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
|
||||
|
||||
SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
Again, same as bison 2.3. I cannot figure out what gnulib/bison are doing
|
||||
that makes this required...
|
||||
|
||||
--- Makefile.am 2021-04-15 12:18:34.371818904 +1000
|
||||
+++ Makefile.am 2021-04-15 12:18:39.055851647 +1000
|
||||
@@ -63,6 +63,7 @@
|
||||
check_SCRIPTS =
|
||||
dist_TESTS =
|
||||
noinst_LIBRARIES =
|
||||
+lib_libbison_a_SOURCES =
|
||||
|
||||
include build-aux/local.mk
|
||||
include data/local.mk
|
||||
18
sysc/bison-3.4.2/patches/our-bison.patch
Normal file
18
sysc/bison-3.4.2/patches/our-bison.patch
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
|
||||
|
||||
SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
Why do they insist on using themselves to bootstrap themselves? It doesn't
|
||||
exist...
|
||||
|
||||
--- Makefile.am 2021-04-15 21:29:36.596205032 +1000
|
||||
+++ Makefile.am 2021-04-15 21:30:00.367365897 +1000
|
||||
@@ -39,7 +39,7 @@
|
||||
## Running the bison from this tarball. To generate our own parser,
|
||||
## but also to run the tests. Of course, you ought to keep a sane
|
||||
## version of Bison nearby...
|
||||
-BISON = $(top_builddir)/tests/bison
|
||||
+BISON = /image/bin/bison
|
||||
BISON_IN = $(top_srcdir)/tests/bison.in
|
||||
YACC = $(BISON) -o y.tab.c
|
||||
AM_YFLAGS_WITH_LINES = --defines -Werror -Wall --report=all
|
||||
25
sysc/bison-3.4.2/patches/po-files.patch
Normal file
25
sysc/bison-3.4.2/patches/po-files.patch
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
|
||||
|
||||
SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
We don't have network access at this stage to "Fetch PO files".
|
||||
|
||||
--- ../gnulib-672663a/gnulib-tool 2021-04-15 21:07:04.538055553 +1000
|
||||
+++ ../gnulib-672663a/gnulib-tool 2021-04-15 21:07:16.424135984 +1000
|
||||
@@ -5564,16 +5564,6 @@
|
||||
fi
|
||||
func_append added_files "$pobase/POTFILES.in$nl"
|
||||
fi
|
||||
- # Fetch PO files.
|
||||
- TP_URL="https://translationproject.org/latest/"
|
||||
- if $doit; then
|
||||
- echo "Fetching gnulib PO files from $TP_URL"
|
||||
- (cd "$destdir"/$pobase \
|
||||
- && wget --no-verbose --mirror --level=1 -nd -A.po -P . "${TP_URL}gnulib/"
|
||||
- )
|
||||
- else
|
||||
- echo "Fetch gnulib PO files from $TP_URL"
|
||||
- fi
|
||||
# Create po/LINGUAS.
|
||||
if $doit; then
|
||||
func_dest_tmpfilename $pobase/LINGUAS
|
||||
107
sysc/coreutils-8.32/checksums
Normal file
107
sysc/coreutils-8.32/checksums
Normal file
|
|
@ -0,0 +1,107 @@
|
|||
4b1cb2c39577f107feb8def55982f789594ed26cac2440dbd794d0efc1060113 /image/bin/[
|
||||
226c2c0185f322f375bcdc0723fd306b2b68fe532168926b19fc90de4be3db60 /image/bin/b2sum
|
||||
9c4fe4ce411f086c3daaa0e85a96d15214482e1e8cbe66286594dc02620ddd97 /image/bin/base32
|
||||
fd6dcb61a183b9a0342276f77a310a4faf14b20e9aa58c8d9755d49db263aba3 /image/bin/base64
|
||||
fe7d1f2f778a2e4f1cb100e901472cdbf50bb66ed0e64ef0e0899198e9795464 /image/bin/basename
|
||||
40abb4ddaee9f983a38599d1a11816fe376a842e09194bd0c3708afc20185cb0 /image/bin/basenc
|
||||
5921f992032733277031c65ba4b5ac03a2168d731c90513e2cffd2f6defc013e /image/bin/cat
|
||||
cd2187495f4f5adf59e48b62ad92d01c8d7c8b3d4f5bb76fc7c790217ab9bcce /image/bin/chcon
|
||||
944e56b469d9dca8e888b0a6a8bb90d126279e6a19a40e71c077ce6fe668c0a2 /image/bin/chgrp
|
||||
6e7aa98b4f221282e1fef34d8e266239e095ee9c7e76847e3a91412ba2c0b7c8 /image/bin/chmod
|
||||
453cb0c1cba85966823d91dfcb79fe494736839656bd757b790de7c3b1403d8c /image/bin/chown
|
||||
6b90b8354b9fe3c8804384a8c028f01b6b04df764c3af5e8a8fbe1fa38aeca0c /image/bin/chroot
|
||||
1cf4e54e3bf96739b5cd184dad44f40ed19f3a8b0aafd19f72997cef9b473db6 /image/bin/cksum
|
||||
786a7661c0ab957e276218acdffc2b6dcbca521267b3857b7b9920e80da83fe1 /image/bin/comm
|
||||
8e1ef24a88b8e032c2e1af3186a206212e8939fe011ff9c6fe278bbae5536d47 /image/bin/cp
|
||||
d46f3c060d5edbea25a2fcf7c65dcbeed3d0084eb2f1a15c1b8f8eeed6642d67 /image/bin/csplit
|
||||
fb8faa5610e38b9e3c186aa9cdfcbe7ca07809c3569e3dafe3890678c36ebeac /image/bin/cut
|
||||
8146b6270016150120854b3eec6382d52d44e72f80abbde00c6c8238a78839b6 /image/bin/date
|
||||
2d70f5bda07a63a645db04b7c0908ca96873f075e8a1d89422b90f48bffb04fa /image/bin/dd
|
||||
7831d760c20670064963fa41b0939ac19932d8b04a4c7b56aabfd4d917962675 /image/bin/df
|
||||
44499ede5dc7080ffb123b87645b5c8a3b9b53bef1c2e0edd93e810d3d9a3d12 /image/bin/dir
|
||||
5601dc48fe224812071c2c1de6a73223aaf90921ec90c6575596f4fbeb92a570 /image/bin/dircolors
|
||||
2ba169c8791696adc37779dcc35eb689af5bebce3ea05ba46d3c1b667dc6bc04 /image/bin/dirname
|
||||
ce57fade16775a802e3b14643dd3e2d41db8bd6fe8a5005cc8ba2290c9d2be91 /image/bin/du
|
||||
1613e25b9b8ead7db666b9c77ec0e4f37239a5d847bb475ba89881231e8050c9 /image/bin/echo
|
||||
bb822886e49633840975978af4cada542a951522ac753dfc0b67b5054d5be0d8 /image/bin/env
|
||||
7240ea8a4139df493be025d41503d827c64b6051ac3651c0d2448694991f4051 /image/bin/expand
|
||||
10e7908eda22cf34ae2fb7b578497c60aca01adb9b93865af4b24659ed4731ad /image/bin/expr
|
||||
f21cd98cbae3c93ba86893cbde49177f068b097aa75b9dad63bc233b8c0eff55 /image/bin/factor
|
||||
2e31dcb31b02e1665d95948ef9fba420c3d03f77f15314b8dc39b82e09112821 /image/bin/false
|
||||
993f48bf28d51ef0631c54c5d43692db891959950ccff7b012c9fe622a4dc23f /image/bin/fmt
|
||||
0dcdbcd7578726d424d5873d1b0907867db67430b456bbb6d617a7769013af95 /image/bin/fold
|
||||
072b49fe3e8c3ed889cb9756d23bb3040a633b44889e2e8f2d033ea795f16e32 /image/bin/groups
|
||||
8af0f46e031b8c6aa13367cfaf24dc3d7861d7a92785e3483e1b4e7d0d1035ef /image/bin/head
|
||||
b14cae09e34d8ff404fff1d44c9d5eb28ace744b25e18c097b2304b475195b49 /image/bin/hostid
|
||||
a064920bb701620402aca4e73e53b0aa92dd98003d265f1b90e7d71e53bdd9ee /image/bin/id
|
||||
efc206df123a0fc345347ca9d67a0c257af9751f860707f32729f7c4c0a713ee /image/bin/install
|
||||
e4b88f6a1d9d63a5f765690b019aac1aa9e01641666444e6c41e2d8ae1f1be39 /image/bin/join
|
||||
e0a9c45e9ecd9a50fec3bf50246ddf77c3e6220e295928878166fab92dea41bb /image/bin/kill
|
||||
daa02c83dd3ab0d5e9fd3945500aae8838fd660f102f3e9826858235101c0e3c /image/bin/link
|
||||
b2c4f2b084743a12c9bad0fa5403484c5ead4192eab69fc9b2f84971294eef8d /image/bin/ln
|
||||
37dc27b546188d9a7525002c3557480fd53189819f5cea0e3ec9a5d0bf4edc4f /image/bin/logname
|
||||
0c00c6773636fce64f37bf7bda1ab5bef9c4342a182a89b829d7903d63d39726 /image/bin/ls
|
||||
1efa01b8f1295fa476366b7d1a15c823e9763a4f4d67195b27c2ba542d3e1048 /image/bin/md5sum
|
||||
cf4c167f97ee4c120371b34759f2742e2eb35bb457585742d47c064d1cd20d20 /image/bin/mkdir
|
||||
3b0b76786a1f2259f50eb479caf8389535522578e286780d0de0d8b5f5504d98 /image/bin/mkfifo
|
||||
753351bf70cf50988318b4c3e75178d77dbf0af453764a92b9d0813accf92438 /image/bin/mknod
|
||||
b2e5fac44cd937921a96eab1d6de49158d794b69d98904c6197eb927f49eee3f /image/bin/mktemp
|
||||
4e4e8125a649146c92b6d663f4a503e296c238549a56084666e2dc96a43cf280 /image/bin/mv
|
||||
fd8f3a5773c1e5ec53afdb566c40a48d48cf522136cd1be7e6007cb32168347b /image/bin/nice
|
||||
119d0a16ffb5249299fe4a1016e854b55c4664e89428f34afba489c050b6616c /image/bin/nl
|
||||
2f0ba52b0cea906e5bed48634a0a72962cbc37ca7a4d9018f14f36a9a7078aff /image/bin/nohup
|
||||
adb3a4ee51b6142640052983cf61ab1c1a8cd949d0cb087baa53b7e68bc7d2eb /image/bin/nproc
|
||||
9b2e9da81d9cdd5ee6b0c824a89841855dc52c9ca2650be9a28b9e13bac2d2e0 /image/bin/numfmt
|
||||
5085d336706f08f3bad923aa897de93ac438374f9852f0d2dec9b1e6e6dad1d7 /image/bin/od
|
||||
7ed640050e9868ad1fed9e7834b40277b9d3b42d873b3b28c01192fce33b12c9 /image/bin/paste
|
||||
53636efdd4fc5c4dcda3888e572dfbe1c39c7574e16fb88219e8fee12397305e /image/bin/pathchk
|
||||
2c33685f31ef55afefb5e2878ec6ad16a1731d00cf6fdc391fcdfc32633a9630 /image/bin/pinky
|
||||
3db5a930e2e8e2d2d9fe5babce7ece1187a8e43fd3b3a73de46b7536c07488f6 /image/bin/pr
|
||||
1b1505e75514d057d8819391abbb6cdd30fcca89cda0b852393d62059476f6e1 /image/bin/printenv
|
||||
369d7b4d49b4d7710e284c4d0713c7abdfa01ee5e0239f8e8be6c7cc521a5723 /image/bin/printf
|
||||
2bc17d7bdfc3a855be1e1c82089809e1339aa8a09701b2d8fe0d33219336d905 /image/bin/ptx
|
||||
5ee1f648fdd305f478e1dd71e4befbc524cac46c23708c0649b1f055ff305286 /image/bin/pwd
|
||||
61a30394510e94c5f7be84fa341948a6f4cf65f5931a9107dd23d0cd66a2b82a /image/bin/readlink
|
||||
319c34f870304012d3c491853c16f6e0d5255ef7ceaffd118dcf0acd57f88606 /image/bin/realpath
|
||||
dd51e28c1a922c459d81f08d6a596614cf1f9383b856623f8e02b6de94cbe22a /image/bin/rm
|
||||
7b342e22dfd4e51c063bb434b330ac650b452878555543a54d7c8becbec64a71 /image/bin/rmdir
|
||||
0da00f19781fca93b3b12c8a1e86348b139a087ca3fcc8d30bbd52c1ac7f1470 /image/bin/runcon
|
||||
2cafd71e25c88b7641655890146f2899c71459f9bd1ac902aa4fbcf45d485ea6 /image/bin/seq
|
||||
9825fb6c054dd81fee7bac2b21e34f46ffbd7e06d4101846ea83387395ce74ef /image/bin/sha1sum
|
||||
159f7650b7367309df6b4a3dff65c7815211a21a35bff9c44a083ac257d5c984 /image/bin/sha224sum
|
||||
bbedf99768efbd9f3c1e8b3ad5537109ef0a0c0832e5f1255aa07278b7791ab5 /image/bin/sha256sum
|
||||
3d23b8a7faf5b86b4330c787adeb9a234fea32480b05cd1a47ea8e59ffb41a76 /image/bin/sha384sum
|
||||
b0ee23e6205993d8c148641f40e71a0d532454b60ce4af81ee31ed9efa0b6c2c /image/bin/sha512sum
|
||||
e5121aee699f38aaffd1f13396cc511d0cbdf2ce6f99cd2a383ab44b13ac560f /image/bin/shred
|
||||
62a7ca82d151ca73d4bca464bd89c1fe32caa5aaa6f0bd22ac43ae304b9cd074 /image/bin/shuf
|
||||
60788da914956ef6308bb48fe98ea0bb6b993c4cffa99bd23bc901252a688105 /image/bin/sleep
|
||||
f16532ea0aebadfa626ed21c759f5429c0f3f86ad1c6d4390e957154784a34a0 /image/bin/sort
|
||||
8bf2bdb2ad64a52bd8c40cb5388de9420acd776e24eb9f41087fcbb5f88d2705 /image/bin/split
|
||||
6f67d8777f310cb65ef069e95619f1baa7a577d64b4e56e9bf4da55c572da1be /image/bin/stat
|
||||
614b2c0b19e34d3ba2cb093ec5723bff27c8ac0e7b3accf4de69168f93fdfca1 /image/bin/stdbuf
|
||||
a2895039858ebe3c0675c9a5d5846ecd802f0e2b776df3358eda4b9a40294ed0 /image/bin/stty
|
||||
be5ae441381df95c156fdda4e9b7a9909327d81a119e8563a133ffaa00c4bf76 /image/bin/sum
|
||||
6b71e4f6a51f9f3f3abd10dfe177217fb8ddcadff6edbb75fbf84296d00645e0 /image/bin/sync
|
||||
e3dcdfedfe4fda19b07411e7ae7e8c32aae797932ca8c5bbf95ebd85ee1e0934 /image/bin/tac
|
||||
34bb92fda0e49f488322742f9527fbb840b85feea084cba8cc252b697f6ade45 /image/bin/tail
|
||||
945739b04260b4114ebb9757bc13a582c3dde6f00bffc5de25703e851fa112fd /image/bin/tee
|
||||
a2e22163aaf77d89293567393ad4d9b198b712e824591241c639f69a5cf671b5 /image/bin/test
|
||||
365a00f40d8e6e5e07aa9e00bd2819c0b7e15e74d4c99aeea52337d168cd54ab /image/bin/timeout
|
||||
484e588f4e5c38f10cf5dd70c4087b19c6049bb728f07c43801d80bd263d1b15 /image/bin/touch
|
||||
cf704419a2d480bce878e244ec394b5504d06e7bc5357483f01e89f9745dfdd9 /image/bin/tr
|
||||
062ab3a391741063b4c33b990b9e3eefc5d9e9bbe6e283ac515724efd9785e66 /image/bin/true
|
||||
c4fe5e836e2371ad66cf2123c656de3761d79fce1b4eff4e5add9aed6cc954e4 /image/bin/truncate
|
||||
a683492998ae6cdeb221f6f0c404fe1bffae42024e91531060bc03a72a06ef09 /image/bin/tsort
|
||||
ff52caff909a08bf23ad85acf30a5019b5569846cda014d64d30c0336b9758a6 /image/bin/tty
|
||||
0128ce2ff9556dba801c0acc35a727de8525e7ceefc6ff518b88de8a3463857f /image/bin/uname
|
||||
28a13bdd01fc216f35bb39b28254038e64563571bea1dc5b56c9b88cee758e8f /image/bin/unexpand
|
||||
73ea7c3aa47e17d398762c7d0a6594564792a1cba251eef865ad5d83af0b8488 /image/bin/uniq
|
||||
008ec49612fb884c43505fefbab0609c768d8169648df51b4411776a18089b41 /image/bin/unlink
|
||||
7497fb11caa2bb7ce43d3673b5045baf5caecac9208366ec28620a3981669c55 /image/bin/uptime
|
||||
fe64d199e3fdbda804a00d4f5ca988a90efc7afb41b7a53171d1c6406c724623 /image/bin/users
|
||||
e57a3d39e4ae7ba093b5996676fa5c123a1f72eec4b615d18b5c184aa12166b3 /image/bin/vdir
|
||||
aa143b5801454739d12007fc535651ab7ce76bbfba49018723f98b77e32b17da /image/bin/wc
|
||||
56ce0dbe4150ccef579e042adf1a0970928a44e29d96bd36bb5a586eead3a2cf /image/bin/who
|
||||
090e03584c0b9754c76ba23689321a8b114fdbeb3d158e15da4e700a78b33eed /image/bin/whoami
|
||||
829c9904baeeb08f8f074223b7f0a8d7dfc375779cca0626a020c1323d4f7abb /image/bin/yes
|
||||
02ae56360b3c7a21a83c0bffba077f82f851fbf08ac26e740779060bebb2e006 /image/libexec/coreutils/libstdbuf.so
|
||||
44
sysc/coreutils-8.32/coreutils-8.32.sh
Executable file
44
sysc/coreutils-8.32/coreutils-8.32.sh
Executable file
|
|
@ -0,0 +1,44 @@
|
|||
# SPDX-FileCopyrightText: 2021 Melg Eight <public.melg8@gmail.com>
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
regenerate_files() {
|
||||
build-aux/gen-lists-of-programs.sh --autoconf > m4/cu-progs.m4
|
||||
build-aux/gen-lists-of-programs.sh --automake > src/cu-progs.mk
|
||||
build-aux/gen-single-binary.sh src/local.mk > src/single-binary.mk
|
||||
touch ChangeLog
|
||||
cp ../gnulib-d279bc/build-aux/po/Makefile.in.in po/Makefile.in.in
|
||||
|
||||
. ../../import-gnulib.sh
|
||||
|
||||
# Disable generation of man pages due to lack of needed perl 5.8
|
||||
# dependency.
|
||||
cp man/dummy-man man/help2man
|
||||
|
||||
VERSION=$(basename ${BASH_SOURCE[0]} .sh | sed 's/coreutils-//')
|
||||
echo $VERSION > .tarball-version
|
||||
|
||||
# We don't have autopoint from gettext yet.
|
||||
AUTOPOINT=true autoreconf-2.69 -fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
regenerate_files
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# FORCE_UNSAFE_CONFIGURE disables "you should not run configure as root"
|
||||
# error from configuration system of coreutils.
|
||||
FORCE_UNSAFE_CONFIGURE=1 ./configure CFLAGS="-static" \
|
||||
--prefix="${PREFIX}" \
|
||||
--build=i386-unknown-linux-musl
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
make PREFIX="${PREFIX}" MAKEINFO="true"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make install PREFIX="${PREFIX}" MAKEINFO="true" DESTDIR="${DESTDIR}"
|
||||
}
|
||||
298
sysc/coreutils-8.32/import-gnulib.sh
Normal file
298
sysc/coreutils-8.32/import-gnulib.sh
Normal file
|
|
@ -0,0 +1,298 @@
|
|||
#!/bin/sh
|
||||
|
||||
# SPDX-FileCopyrightText: 2021 Melg Eight <public.melg8@gmail.com>
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
../gnulib-d279bc/gnulib-tool --import --local-dir=gl \
|
||||
--lib=libcoreutils \
|
||||
--source-base=lib \
|
||||
--m4-base=m4 \
|
||||
--doc-base=doc \
|
||||
--tests-base=gnulib-tests \
|
||||
--aux-dir=build-aux \
|
||||
--with-tests \
|
||||
--makefile-name=gnulib.mk \
|
||||
--no-conditional-dependencies \
|
||||
--no-libtool \
|
||||
--macro-prefix=gl \
|
||||
--avoid=canonicalize-lgpl \
|
||||
--avoid=dummy \
|
||||
acl \
|
||||
alignof \
|
||||
alloca \
|
||||
announce-gen \
|
||||
areadlink-with-size \
|
||||
argmatch \
|
||||
argv-iter \
|
||||
assert \
|
||||
autobuild \
|
||||
backup-rename \
|
||||
backupfile \
|
||||
base32 \
|
||||
base64 \
|
||||
btowc \
|
||||
buffer-lcm \
|
||||
c-strcase \
|
||||
calloc-gnu \
|
||||
canon-host \
|
||||
canonicalize \
|
||||
chmodat \
|
||||
chown \
|
||||
chownat \
|
||||
cl-strtod \
|
||||
cl-strtold \
|
||||
cloexec \
|
||||
closein \
|
||||
closeout \
|
||||
config-h \
|
||||
configmake \
|
||||
crypto/md5 \
|
||||
crypto/sha1 \
|
||||
crypto/sha256 \
|
||||
crypto/sha512 \
|
||||
cycle-check \
|
||||
d-ino \
|
||||
d-type \
|
||||
di-set \
|
||||
diacrit \
|
||||
dirfd \
|
||||
dirname \
|
||||
do-release-commit-and-tag \
|
||||
dtoastr \
|
||||
dup2 \
|
||||
environ \
|
||||
error \
|
||||
euidaccess \
|
||||
exclude \
|
||||
exitfail \
|
||||
explicit_bzero \
|
||||
faccessat \
|
||||
fadvise \
|
||||
fchdir \
|
||||
fclose \
|
||||
fcntl \
|
||||
fcntl-safer \
|
||||
fd-reopen \
|
||||
fdatasync \
|
||||
fdl \
|
||||
fdopen \
|
||||
fdutimensat \
|
||||
file-has-acl \
|
||||
file-type \
|
||||
fileblocks \
|
||||
filemode \
|
||||
filenamecat \
|
||||
filevercmp \
|
||||
flexmember \
|
||||
fnmatch-gnu \
|
||||
fopen-safer \
|
||||
fprintftime \
|
||||
freopen \
|
||||
freopen-safer \
|
||||
fseeko \
|
||||
fstatat \
|
||||
fsusage \
|
||||
fsync \
|
||||
ftoastr \
|
||||
ftruncate \
|
||||
fts \
|
||||
full-read \
|
||||
full-write \
|
||||
getgroups \
|
||||
gethrxtime \
|
||||
getline \
|
||||
getloadavg \
|
||||
getlogin \
|
||||
getndelim2 \
|
||||
getopt-gnu \
|
||||
getpagesize \
|
||||
getpass-gnu \
|
||||
gettext-h \
|
||||
gettime \
|
||||
gettimeofday \
|
||||
getugroups \
|
||||
getusershell \
|
||||
git-version-gen \
|
||||
gitlog-to-changelog \
|
||||
gnu-make \
|
||||
gnu-web-doc-update \
|
||||
gnumakefile \
|
||||
gnupload \
|
||||
group-member \
|
||||
hard-locale \
|
||||
hash \
|
||||
hash-pjw \
|
||||
heap \
|
||||
host-os \
|
||||
human \
|
||||
idcache \
|
||||
ignore-value \
|
||||
inttostr \
|
||||
inttypes \
|
||||
isapipe \
|
||||
isatty \
|
||||
isblank \
|
||||
largefile \
|
||||
lchmod \
|
||||
lchown \
|
||||
ldtoastr \
|
||||
lib-ignore \
|
||||
linebuffer \
|
||||
link \
|
||||
link-follow \
|
||||
linkat \
|
||||
long-options \
|
||||
lstat \
|
||||
maintainer-makefile \
|
||||
malloc-gnu \
|
||||
manywarnings \
|
||||
mbrlen \
|
||||
mbrtowc \
|
||||
mbsalign \
|
||||
mbschr \
|
||||
mbslen \
|
||||
mbswidth \
|
||||
memcasecmp \
|
||||
memchr \
|
||||
memcmp2 \
|
||||
mempcpy \
|
||||
memrchr \
|
||||
mgetgroups \
|
||||
minmax \
|
||||
mkancesdirs \
|
||||
mkdir \
|
||||
mkdir-p \
|
||||
mkfifo \
|
||||
mknod \
|
||||
mkostemp \
|
||||
mkstemp \
|
||||
mktime \
|
||||
modechange \
|
||||
mountlist \
|
||||
mpsort \
|
||||
netinet_in \
|
||||
non-recursive-gnulib-prefix-hack \
|
||||
nproc \
|
||||
nstrftime \
|
||||
obstack \
|
||||
open \
|
||||
openat-safer \
|
||||
parse-datetime \
|
||||
pathmax \
|
||||
perl \
|
||||
physmem \
|
||||
pipe-posix \
|
||||
pipe2 \
|
||||
posix-shell \
|
||||
posixtm \
|
||||
posixver \
|
||||
priv-set \
|
||||
progname \
|
||||
pthread-cond \
|
||||
pthread-mutex \
|
||||
pthread-thread \
|
||||
pthread_sigmask \
|
||||
putenv \
|
||||
quote \
|
||||
quotearg \
|
||||
randint \
|
||||
randperm \
|
||||
read-file \
|
||||
readlink \
|
||||
readtokens \
|
||||
readtokens0 \
|
||||
readutmp \
|
||||
realloc-gnu \
|
||||
regex \
|
||||
remove \
|
||||
rename \
|
||||
renameat \
|
||||
renameatu \
|
||||
rmdir \
|
||||
root-dev-ino \
|
||||
rpmatch \
|
||||
safe-read \
|
||||
same \
|
||||
save-cwd \
|
||||
savedir \
|
||||
savewd \
|
||||
select \
|
||||
selinux-at \
|
||||
setenv \
|
||||
settime \
|
||||
sig2str \
|
||||
sigaction \
|
||||
smack \
|
||||
ssize_t \
|
||||
stat-macros \
|
||||
stat-size \
|
||||
stat-time \
|
||||
statat \
|
||||
stdbool \
|
||||
stdlib-safer \
|
||||
stpcpy \
|
||||
stpncpy \
|
||||
strdup-posix \
|
||||
strncat \
|
||||
strnumcmp \
|
||||
strsignal \
|
||||
strtoimax \
|
||||
strtoumax \
|
||||
symlinkat \
|
||||
sys_ioctl \
|
||||
sys_resource \
|
||||
sys_stat \
|
||||
sys_wait \
|
||||
tempname \
|
||||
termios \
|
||||
time_rz \
|
||||
timer-time \
|
||||
timespec \
|
||||
tzset \
|
||||
uname \
|
||||
unistd-safer \
|
||||
unlink-busy \
|
||||
unlinkat \
|
||||
unlinkdir \
|
||||
unlocked-io \
|
||||
unsetenv \
|
||||
update-copyright \
|
||||
uptime \
|
||||
useless-if-before-free \
|
||||
userspec \
|
||||
utimecmp \
|
||||
utimens \
|
||||
vasprintf-posix \
|
||||
vc-list-files \
|
||||
verify \
|
||||
verror \
|
||||
version-etc-fsf \
|
||||
wchar-single \
|
||||
wcswidth \
|
||||
wcwidth \
|
||||
winsz-ioctl \
|
||||
winsz-termios \
|
||||
write-any-file \
|
||||
xalloc \
|
||||
xbinary-io \
|
||||
xdectoint \
|
||||
xfts \
|
||||
xgetcwd \
|
||||
xgetgroups \
|
||||
xgethostname \
|
||||
xmemcoll \
|
||||
xnanosleep \
|
||||
xprintf \
|
||||
xprintf-posix \
|
||||
xreadlink \
|
||||
xstrtod \
|
||||
xstrtoimax \
|
||||
xstrtol \
|
||||
xstrtol-error \
|
||||
xstrtold \
|
||||
xstrtoumax \
|
||||
year2038 \
|
||||
yesno
|
||||
|
||||
../gnulib-d279bc/build-aux/prefix-gnulib-mk --lib-name=libcoreutils lib/gnulib.mk
|
||||
38
sysc/coreutils-8.32/patches/force_to_use_nanosleep.patch
Normal file
38
sysc/coreutils-8.32/patches/force_to_use_nanosleep.patch
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
SPDX-FileCopyrightText: 2021 Melg Eight <public.melg8@gmail.com>
|
||||
|
||||
SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
Replace test for support of correct values produced by nanosleep.
|
||||
We always assume that kernel doesn't have correct implementation and
|
||||
instead use function from gnulib with fix. That fixes reproducibility
|
||||
problem across different kernels.
|
||||
|
||||
--- ../gnulib-d279bc/m4/nanosleep.m4
|
||||
+++ ../gnulib-d279bc/m4/nanosleep.m4
|
||||
@@ -85,23 +85,9 @@ AC_DEFUN([gl_FUNC_NANOSLEEP],
|
||||
ts_sleep.tv_nsec = 1;
|
||||
#if HAVE_DECL_ALARM
|
||||
{
|
||||
- static struct sigaction act;
|
||||
- act.sa_handler = check_for_SIGALRM;
|
||||
- sigemptyset (&act.sa_mask);
|
||||
- sigaction (SIGALRM, &act, NULL);
|
||||
- alarm (1);
|
||||
- if (nanosleep (&ts_sleep, NULL) != 0)
|
||||
- return 3;
|
||||
- /* Test for a minor problem: the handling of large arguments. */
|
||||
- ts_sleep.tv_sec = TYPE_MAXIMUM (time_t);
|
||||
- ts_sleep.tv_nsec = 999999999;
|
||||
- alarm (1);
|
||||
- if (nanosleep (&ts_sleep, &ts_remaining) != -1)
|
||||
- return 4;
|
||||
- if (errno != EINTR)
|
||||
- return 5;
|
||||
- if (ts_remaining.tv_sec <= TYPE_MAXIMUM (time_t) - 10)
|
||||
- return 6;
|
||||
+ /* Force to use HAVE_BUG_BIG_NANOSLEEP 1 across kernels even
|
||||
+ if it correctly handles big nanosleeps. */
|
||||
+ return 6;
|
||||
}
|
||||
#else /* A simpler test for native Windows. */
|
||||
if (nanosleep (&ts_sleep, &ts_remaining) < 0)
|
||||
50
sysc/coreutils-8.32/patches/gperf_dependency.patch
Normal file
50
sysc/coreutils-8.32/patches/gperf_dependency.patch
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
SPDX-FileCopyrightText: 2021 Melg Eight <public.melg8@gmail.com>
|
||||
SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
Remove dependency on gperf. This drops support for outputting unicode
|
||||
characters. We do that, because inclusion of unicodeio.h and propername.h
|
||||
from gnulib brings dependencies on gperf generated files. We don't have
|
||||
gperf at this stage so we can't regenerate them.
|
||||
|
||||
--- ./src/printf.c
|
||||
+++ ./src/printf.c
|
||||
@@ -59,7 +59,6 @@
|
||||
#include "die.h"
|
||||
#include "error.h"
|
||||
#include "quote.h"
|
||||
-#include "unicodeio.h"
|
||||
#include "xprintf.h"
|
||||
|
||||
/* The official name of this program (e.g., no 'g' prefix). */
|
||||
@@ -292,8 +291,12 @@ print_esc (const char *escstart, bool octal_0)
|
||||
|| (uni_value >= 0xd800 && uni_value <= 0xdfff))
|
||||
die (EXIT_FAILURE, 0, _("invalid universal character name \\%c%0*x"),
|
||||
esc_char, (esc_char == 'u' ? 4 : 8), uni_value);
|
||||
-
|
||||
- print_unicode_char (stdout, uni_value, 0);
|
||||
+ putchar ('\\');
|
||||
+ if (*p)
|
||||
+ {
|
||||
+ putchar (*p);
|
||||
+ p++;
|
||||
+ }
|
||||
}
|
||||
else
|
||||
{
|
||||
--- ./src/system.h
|
||||
+++ ./src/system.h
|
||||
@@ -361,13 +361,13 @@ enum
|
||||
#include "version-etc.h"
|
||||
#undef emit_bug_reporting_address
|
||||
|
||||
-#include "propername.h"
|
||||
/* Define away proper_name (leaving proper_name_utf8, which affects far
|
||||
fewer programs), since it's not worth the cost of adding ~17KB to
|
||||
the x86_64 text size of every single program. This avoids a 40%
|
||||
(almost ~2MB) increase in the on-disk space utilization for the set
|
||||
of the 100 binaries. */
|
||||
#define proper_name(x) (x)
|
||||
+#define proper_name_utf8(x, y) (x, y)
|
||||
|
||||
#include "progname.h"
|
||||
|
||||
31
sysc/coreutils-8.32/patches/remove_gettext.patch
Normal file
31
sysc/coreutils-8.32/patches/remove_gettext.patch
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
SPDX-FileCopyrightText: 2021 Melg Eight <public.melg8@gmail.com>
|
||||
|
||||
SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
Remove dependency on gettext, because we don't have it at this stage
|
||||
of the build.
|
||||
|
||||
--- ./configure.ac
|
||||
+++ ./configure.ac
|
||||
@@ -624,8 +624,8 @@ AM_CONDITIONAL([CROSS_COMPILING], [test "$cross_compiling" = yes])
|
||||
|
||||
# As long as "grep 'PRI[diouxX]' po/*.pot" reports matches in
|
||||
# translatable strings, we must use need-formatstring-macros here.
|
||||
-AM_GNU_GETTEXT([external], [need-formatstring-macros])
|
||||
-AM_GNU_GETTEXT_VERSION([0.19.2])
|
||||
+# AM_GNU_GETTEXT([external], [need-formatstring-macros])
|
||||
+# AM_GNU_GETTEXT_VERSION([0.19.2])
|
||||
|
||||
# For a test of uniq: it uses the $LOCALE_FR envvar.
|
||||
gt_LOCALE_FR
|
||||
--- ./Makefile.am
|
||||
+++ ./Makefile.am
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
ALL_RECURSIVE_TARGETS =
|
||||
|
||||
-SUBDIRS = po . gnulib-tests
|
||||
+SUBDIRS = . gnulib-tests
|
||||
|
||||
EXTRA_DIST = \
|
||||
.mailmap \
|
||||
2
sysc/dist-3.5-236/checksums
Normal file
2
sysc/dist-3.5-236/checksums
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
f679483476abe1b25fb2dd558a2770f51c9f81a85cce009079f884c75eb7f666 /image/bin/metaconfig
|
||||
a7c30101cc041d1ffd0e9d4c940885ac31c78a9a066a56b1c33e166f75ff1a17 /image/bin/manifake
|
||||
29
sysc/dist-3.5-236/dist-3.5-236.sh
Executable file
29
sysc/dist-3.5-236/dist-3.5-236.sh
Executable file
|
|
@ -0,0 +1,29 @@
|
|||
# SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
# We manually compile here because ./Configure uses metaconfig itself
|
||||
# *sigh*
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed 's/@PERLVER@/5.10.1/' config.sh.in > config.sh
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd mcon
|
||||
./mconfig.SH
|
||||
perl ../bin/perload -o mconfig > metaconfig
|
||||
cd ..
|
||||
|
||||
cd kit
|
||||
./manifake.SH
|
||||
cd ..
|
||||
}
|
||||
|
||||
src_install() {
|
||||
install mcon/metaconfig "${PREFIX}/bin/"
|
||||
install kit/manifake "${PREFIX}/bin/"
|
||||
cp -r mcon/U/ "${PREFIX}/lib/perl5/5.10.1/"
|
||||
}
|
||||
11
sysc/dist-3.5-236/files/config.sh.in
Normal file
11
sysc/dist-3.5-236/files/config.sh.in
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
# SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
eunicefix=':'
|
||||
grep='grep'
|
||||
privlib='/image/lib/perl5/@PERLVER@'
|
||||
VERSION='3'
|
||||
ENV='env'
|
||||
PATCHLEVEL='5'
|
||||
spitshell='cat'
|
||||
5
sysc/dist-3.5-236/files/revision.h
Normal file
5
sysc/dist-3.5-236/files/revision.h
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
// SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
|
||||
//
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
#define REVISION "236"
|
||||
17
sysc/dist-3.5-236/patches/env.patch
Normal file
17
sysc/dist-3.5-236/patches/env.patch
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
This is not valid Perl, I don't really understand why it is here anyway.
|
||||
|
||||
SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
|
||||
|
||||
SPDX-License-Identifier: Artistic-1.0
|
||||
|
||||
--- bin/perload 2021-04-21 19:01:35.803767498 +1000
|
||||
+++ bin/perload 2021-04-21 19:01:47.959850217 +1000
|
||||
@@ -450,8 +450,6 @@
|
||||
:# This perl program uses dynamic loading [generated by perload]
|
||||
:#
|
||||
:
|
||||
-:$ENV{LC_ALL} = 'C';
|
||||
-:
|
||||
EOC
|
||||
$init_emitted = 1;
|
||||
}
|
||||
1
sysc/flex-2.5.33/checksums
Normal file
1
sysc/flex-2.5.33/checksums
Normal file
|
|
@ -0,0 +1 @@
|
|||
7bee256ff9d5a635bd14ac8b41aab445d36cab309e0a4bc7859218801228a211 /image/bin/flex-2.5.33
|
||||
29
sysc/flex-2.5.33/flex-2.5.33.sh
Executable file
29
sysc/flex-2.5.33/flex-2.5.33.sh
Executable file
|
|
@ -0,0 +1,29 @@
|
|||
# SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
AUTOPOINT=true autoreconf -fi
|
||||
|
||||
# Remove pregenerated files
|
||||
rm parse.c parse.h scan.c
|
||||
|
||||
# Remove pregenerated .info
|
||||
rm doc/flex.info
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
./configure \
|
||||
--prefix="${PREFIX}" \
|
||||
--program-suffix=-2.5.33
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
make MAKEINFO=true
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make MAKEINFO=true DESTDIR="${DESTDIR}" install
|
||||
}
|
||||
2
sysc/gmp-6.2.1/checksums
Normal file
2
sysc/gmp-6.2.1/checksums
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
bfaced23588bc183f34364896cdfbf63cf63418f577a7cd1b2964753445621a7 /image/lib/musl/libgmp.a
|
||||
67d949b017000c7493a8822e98d6ddbd88ca839509e4a1fbfa3997c86641b89e /image/lib/musl/libgmp.la
|
||||
31
sysc/gmp-6.2.1/gmp-6.2.1.sh
Executable file
31
sysc/gmp-6.2.1/gmp-6.2.1.sh
Executable file
|
|
@ -0,0 +1,31 @@
|
|||
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Remove bison and flex generated files
|
||||
rm demos/calc/calc.{c,h} demos/calc/calclex.c
|
||||
|
||||
autoreconf -f -i
|
||||
|
||||
# Pre-built texinfo files
|
||||
find . -name '*.info*' -delete
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
./configure \
|
||||
--prefix="${PREFIX}" \
|
||||
--libdir="${PREFIX}/lib/musl" \
|
||||
--build=i386-unknown-linux-musl \
|
||||
--disable-shared
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
make MAKEINFO=true DESTDIR="${DESTDIR}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make MAKEINFO=true DESTDIR="${DESTDIR}" install
|
||||
}
|
||||
11
sysc/init
Executable file
11
sysc/init
Executable file
|
|
@ -0,0 +1,11 @@
|
|||
#!/usr/bin/bash
|
||||
|
||||
# SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
set -e
|
||||
|
||||
# Begin sysc bootstrapping process
|
||||
cd /usr/src
|
||||
./run.sh
|
||||
1
sysc/make-4.2.1/checksums
Normal file
1
sysc/make-4.2.1/checksums
Normal file
|
|
@ -0,0 +1 @@
|
|||
8e3fc015b7602179a6c6473c69fdcff4102dd392d612bd6a18640dd434ad6da5 /image/bin/make
|
||||
28
sysc/make-4.2.1/make-4.2.1.sh
Executable file
28
sysc/make-4.2.1/make-4.2.1.sh
Executable file
|
|
@ -0,0 +1,28 @@
|
|||
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
rm doc/make.info
|
||||
touch doc/make.info
|
||||
|
||||
# We don't have autopoint from gettext yet
|
||||
AUTOPOINT=true autoreconf -fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
./configure \
|
||||
--prefix="${PREFIX}" \
|
||||
--build=i386-unknown-linux-musl \
|
||||
--disable-nls
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
make MAKEINFO="true"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make install MAKEINFO="true" DESTDIR="${DESTDIR}"
|
||||
}
|
||||
2
sysc/mpc-1.2.1/checksums
Normal file
2
sysc/mpc-1.2.1/checksums
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
c2c288f7a58cb409b253ff9288e09e11c998722ff34f2308083bad868cdcaf26 /image/lib/musl/libmpc.a
|
||||
dba4cd3949a9212090ddcc3ebdcdb60824b3d356d52fd93d2c21bfa42c6fed71 /image/lib/musl/libmpc.la
|
||||
25
sysc/mpc-1.2.1/mpc-1.2.1.sh
Executable file
25
sysc/mpc-1.2.1/mpc-1.2.1.sh
Executable file
|
|
@ -0,0 +1,25 @@
|
|||
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
find . -name '*.info' -delete
|
||||
autoreconf-2.69 -fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
./configure \
|
||||
--prefix="${PREFIX}" \
|
||||
--libdir="${PREFIX}/lib/musl" \
|
||||
--disable-shared
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
make MAKEINFO=true DESTDIR="${DESTDIR}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make MAKEINFO=true DESTDIR="${DESTDIR}" install
|
||||
}
|
||||
2
sysc/mpfr-4.1.0/checksums
Normal file
2
sysc/mpfr-4.1.0/checksums
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
c37eb935fe06afa7467369ac16d83b39d55f83aa01a53e15f5b8b1595dce298f /image/lib/musl/libmpfr.a
|
||||
225354a11b48c143c564393525ad1202d28ab40a83fb1a27964e731c2373c9de /image/lib/musl/libmpfr.la
|
||||
21
sysc/mpfr-4.1.0/files/mparam.h
Normal file
21
sysc/mpfr-4.1.0/files/mparam.h
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
/*
|
||||
SPDX-FileCopyrightText: 2005-2020 Free Software Foundation, Inc.
|
||||
SPDX-License-Identifier: GPL-3.0-or-later
|
||||
*/
|
||||
|
||||
/* This file is truncated version of src/mparam.h
|
||||
*/
|
||||
|
||||
#ifndef __MPFR_IMPL_H__
|
||||
# error "MPFR Internal not included"
|
||||
#endif
|
||||
|
||||
#define MPFR_TUNE_CASE "default"
|
||||
|
||||
/****************************************************************
|
||||
* Default values of Threshold. *
|
||||
* Must be included in any case: it checks, for every constant, *
|
||||
* if it has been defined, and it sets it to a default value if *
|
||||
* it was not previously defined. *
|
||||
****************************************************************/
|
||||
#include "generic/mparam.h"
|
||||
28
sysc/mpfr-4.1.0/mpfr-4.1.0.sh
Executable file
28
sysc/mpfr-4.1.0/mpfr-4.1.0.sh
Executable file
|
|
@ -0,0 +1,28 @@
|
|||
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
find . -name '*.info' -delete
|
||||
autoreconf-2.69 -fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
./configure \
|
||||
--prefix="${PREFIX}" \
|
||||
--libdir="${PREFIX}/lib/musl" \
|
||||
--disable-shared
|
||||
|
||||
# Disable tuning as that might cause non-reproducible build
|
||||
mv mparam.h src
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
make MAKEINFO=true DESTDIR="${DESTDIR}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make MAKEINFO=true DESTDIR="${DESTDIR}" install
|
||||
}
|
||||
1
sysc/perl-5.10.1/checksums
Normal file
1
sysc/perl-5.10.1/checksums
Normal file
|
|
@ -0,0 +1 @@
|
|||
ac2180d0a618d8de08e8793bb92ca3f146b98cca20ed9b8e165deddfd17c124b /image/bin/perl
|
||||
165
sysc/perl-5.10.1/files/config.h
Normal file
165
sysc/perl-5.10.1/files/config.h
Normal file
|
|
@ -0,0 +1,165 @@
|
|||
// SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
|
||||
// SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
|
||||
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
#define MEM_ALIGNBYTES 8
|
||||
#define BIN "/image/bin"
|
||||
#define BYTEORDER 0x4321
|
||||
#define CPPSTDIN "gcc -E"
|
||||
#define CPPMINUS "-"
|
||||
#define HAS_ALARM
|
||||
#define HAS_DIRENT
|
||||
#define HAS_FORK
|
||||
#define HAS_FCNTL
|
||||
#define HAS_MEMCHR
|
||||
#define HAS_MEMSET
|
||||
#define HAS_MKDIR
|
||||
#define HAS_PAUSE
|
||||
#define HAS_READDIR
|
||||
#define HAS_RMDIR
|
||||
#define HAS_SETLOCALE
|
||||
#define HAS_STRERROR
|
||||
#define HAS_STRTOUL
|
||||
#define HAS_STRTOULL
|
||||
#define HAS_STRXFRM
|
||||
#define HAS_SYS_ERRLIST
|
||||
#define Strerror(e) strerror(e)
|
||||
|
||||
#define HAS_SYSCALL
|
||||
#define HAS_SYSCALL_PROTO
|
||||
#define HAS_TIMES
|
||||
#define HAS_FLOCK
|
||||
#define HAS_TRUNCATE
|
||||
|
||||
#define HAS_VPRINTF
|
||||
#define Gid_t gid_t
|
||||
|
||||
#define I_DIRENT
|
||||
#define Direntry_t struct dirent
|
||||
|
||||
#define I_DLFCN
|
||||
#define I_FCNTL
|
||||
#define I_GRP
|
||||
#define I_LIMITS
|
||||
#define I_LOCALE
|
||||
#define I_MATH
|
||||
#define I_NETINET_IN
|
||||
#define I_PWD
|
||||
#define I_STDDEF
|
||||
#define I_STDLIB
|
||||
#define I_STRING
|
||||
#define I_SYS_DIR
|
||||
#define I_SYS_IOCTL
|
||||
#define I_SYS_PARAM
|
||||
#define I_SYS_SELECT
|
||||
#define I_SYS_STAT
|
||||
#define I_SYS_TIMES
|
||||
#define I_TERMIOS
|
||||
#define I_TIME
|
||||
#define I_UNISTD
|
||||
#define I_UTIME
|
||||
#define I_STDARG
|
||||
|
||||
#define INTSIZE 4
|
||||
#define Off_t off_t
|
||||
|
||||
#define PRIVLIB "/image/lib/perl5"
|
||||
|
||||
#define _(args) args
|
||||
|
||||
#define SCRIPTDIR "/image/bin"
|
||||
|
||||
#define SIG_NAME "ZERO", "HUP", "INT", "QUIT", "ILL", "TRAP", "ABRT", "BUS", "FPE", "KILL", "USR1", "SEGV", "USR2", "PIPE", "ALRM", "TERM", "STKFLT", "CHLD", "CONT", "STOP", "TSTP", "TTIN", "TTOU", "URG", "XCPU", "XFSZ", "VTALRM", "PROF", "WINCH", "IO", "PWR", "SYS", "NUM32", "NUM33", "NUM34", "RTMIN", "NUM36", "NUM37", "NUM38", "NUM39", "NUM40", "NUM41", "NUM42", "NUM43", "NUM44", "NUM45", "NUM46", "NUM47", "NUM48", "NUM49", "NUM50", "NUM51", "NUM52", "NUM53", "NUM54", "NUM55", "NUM56", "NUM57", "NUM58", "NUM59", "NUM60", "NUM61", "NUM62", "NUM63", "RTMAX", "IOT", "POLL", "UNUSED", 0 /**/
|
||||
#define SIG_NUM 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 6, 29, 31, 0 /**/
|
||||
#define SIG_SIZE 68 /**/
|
||||
|
||||
#define Size_t size_t
|
||||
|
||||
#define STDCHAR char
|
||||
#define Uid_t uid_t
|
||||
|
||||
#define LOC_SED "/image/bin/sed"
|
||||
#define ARCHLIB "/image/lib/perl5/"
|
||||
|
||||
#define CAT2(a,b) a##b
|
||||
#define STRINGIFY(a) "a"
|
||||
#define Gconvert(x,n,t,b) gcvt((x),(n),(b))
|
||||
|
||||
#define Time_t time_t
|
||||
|
||||
#define SSize_t ssize_t
|
||||
|
||||
#define Sigjmp_buf sigjmp_buf
|
||||
|
||||
#define Sigsetjmp(buf,save_mask) setjmp(buf)
|
||||
#define Siglongjmp(buf,retval) longjmp(buf,retval)
|
||||
|
||||
#define Signal_t void
|
||||
|
||||
#define OSNAME "linux"
|
||||
|
||||
#undef __DATE__ /* want reproducible build */
|
||||
|
||||
#define Malloc_t void *
|
||||
#define Free_t void
|
||||
|
||||
#define SH_PATH "/bin/sh"
|
||||
#define ARCHNAME "i386-linux"
|
||||
#define BIN_EXP "/image/bin"
|
||||
|
||||
#define NVSIZE 8 /* sizeof(double) */
|
||||
#define UVSIZE 4 /* sizeof(long) on i386 */
|
||||
#define IVSIZE 4
|
||||
#define PTRSIZE 4
|
||||
|
||||
#define IVTYPE long
|
||||
#define UVTYPE unsigned long
|
||||
#define NVTYPE double
|
||||
#define I8TYPE char
|
||||
#define U8TYPE unsigned char
|
||||
#define I16TYPE short
|
||||
#define U16TYPE unsigned short
|
||||
#define I32TYPE int
|
||||
#define U32TYPE unsigned int
|
||||
#define STDCHAR char
|
||||
|
||||
#define IVdf "ld"
|
||||
#define UVuf "lu"
|
||||
#define UVof "lo"
|
||||
#define UVxf "lx"
|
||||
#define UVXf "lX"
|
||||
#define NVef "e"
|
||||
#define NVff "f"
|
||||
#define NVgf "g"
|
||||
|
||||
#define Mode_t mode_t
|
||||
#define Off_t off_t
|
||||
#define Pid_t pid_t
|
||||
#define Rand_seed_t long
|
||||
#define Size_t_size 4
|
||||
#define Sock_size_t unsigned
|
||||
|
||||
#define RANDBITS 48
|
||||
#define seedDrand01(x) srand48((long)x)
|
||||
#define Drand01() drand48()
|
||||
|
||||
#define NVSIZE 8
|
||||
#define NV_PRESERVES_UV
|
||||
#define NV_PRESERVES_UV_BITS 32
|
||||
#define NV_OVERFLOWS_INTEGERS_AT 256.0*256.0*256.0*256.0*256.0*256.0*2.0*2.0*2.0*2.0*2.0
|
||||
#define NV_ZERO_IS_ALLBITS_ZERO
|
||||
|
||||
#define L_R_TZSET
|
||||
#define GMTIME_MAX 2147483647
|
||||
#define GMTIME_MIN -2147483648
|
||||
#define LOCALTIME_MAX 2147483647
|
||||
#define LOCALTIME_MIN -2147483648
|
||||
#define LOCALTIME_R_PROTO 0
|
||||
|
||||
#define PERL_PATCHLEVEL_H_IMPLICIT
|
||||
|
||||
#define MULTIPLICITY
|
||||
|
||||
#define OSNAME "linux"
|
||||
#define OSVERS "3.18.0"
|
||||
20
sysc/perl-5.10.1/files/config.sh
Normal file
20
sysc/perl-5.10.1/files/config.sh
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
|
||||
# SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
|
||||
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
ar='ar'
|
||||
cc='gcc'
|
||||
ldlibpthname='LD_LIBRARY_PATH'
|
||||
libpth='/image/lib'
|
||||
path_sep=':'
|
||||
archname='i386'
|
||||
osvers=''
|
||||
byteorder='12345678'
|
||||
x=''
|
||||
ivsize='4'
|
||||
ivtype='long'
|
||||
lib_ext='.a'
|
||||
_a='.a'
|
||||
|
||||
PERL_CONFIG_SH=true
|
||||
137
sysc/perl-5.10.1/mk/main.mk
Normal file
137
sysc/perl-5.10.1/mk/main.mk
Normal file
|
|
@ -0,0 +1,137 @@
|
|||
# SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
|
||||
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
|
||||
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
# Note: This makefile is not currently parallel-safe.
|
||||
|
||||
VERSION=5.10.1
|
||||
PRIVLIB_EXP=$(PREFIX)/lib/perl5/$(VERSION)
|
||||
|
||||
CC = gcc
|
||||
AR = ar
|
||||
CFLAGS = -DPRIVLIB_EXP=\"$(PRIVLIB_EXP)\" \
|
||||
-DPERL_CORE=1 \
|
||||
-I. \
|
||||
-DVERSION=\"$(VERSION)\" \
|
||||
-DNO_PPPORT_H
|
||||
|
||||
MINICFLAGS = -DPERL_EXTERNAL_GLOB
|
||||
|
||||
.PHONY: all
|
||||
|
||||
LIBPERL_SRC = av scope op doop doio dump gv hv mg reentr mro perl perly pp \
|
||||
pp_hot pp_ctl pp_sys regcomp regexec utf8 sv taint toke util \
|
||||
deb run universal xsutils pad globals perlio perlapi numeric \
|
||||
mathoms locale pp_pack pp_sort
|
||||
LIBPERL_OBJ = $(addsuffix .o, $(LIBPERL_SRC))
|
||||
|
||||
EXTENSIONS = File/Glob Digest/SHA Data/Dumper Cwd
|
||||
EXTENSIONS_A := $(foreach f,$(EXTENSIONS), lib/auto/$f/$(notdir $f).a)
|
||||
EXTENSIONS_PM = ext/File/Glob/Glob.pm ext/Digest/SHA/lib/Digest/SHA.pm \
|
||||
ext/Data/Dumper/Dumper.pm
|
||||
|
||||
all: perl
|
||||
|
||||
# miniperl
|
||||
|
||||
opmini.c: op.c
|
||||
cp op.c opmini.c
|
||||
|
||||
perlmini.c: perl.c
|
||||
cp perl.c perlmini.c
|
||||
|
||||
generate_uudmap: generate_uudmap.o
|
||||
$(CC) $(CFLAGS) $^ $(LDFLAGS) -o $@
|
||||
|
||||
uudmap.h: generate_uudmap
|
||||
./generate_uudmap > $@
|
||||
|
||||
git_version.h: lib/Config_git.pl
|
||||
|
||||
lib/Config_git.pl:
|
||||
perl make_patchnum.pl
|
||||
|
||||
globals.o: uudmap.h
|
||||
|
||||
perl.o: git_version.h
|
||||
|
||||
perlmini.o: git_version.h
|
||||
|
||||
libperl.a: $(LIBPERL_OBJ)
|
||||
$(AR) cr $@ $^
|
||||
|
||||
miniperl: miniperlmain.o opmini.o perlmini.o libperl.a
|
||||
$(CC) $(CFLAGS) $(MINICFLAGS) $^ $(LDFLAGS) -o $@
|
||||
# An extremely dodgy hack
|
||||
sed -i 's/va\.a\.a/v5.8.1/' miniperl
|
||||
chmod +x miniperl
|
||||
|
||||
# full perl
|
||||
|
||||
lib/re.pm:
|
||||
cp ext/re/re.pm lib/re.pm
|
||||
|
||||
lib/Config.pm: config.sh miniperl configpm lib/re.pm
|
||||
./miniperl -Ilib configpm
|
||||
|
||||
writemain: writemain.SH
|
||||
spitshell=cat eunicefix=true ./$<
|
||||
|
||||
perlmain.c: writemain $(EXTENSIONS_A)
|
||||
./writemain $(EXTENSIONS_A) > $@
|
||||
|
||||
perl: perlmain.o libperl.a $(EXTENSIONS_A) lib/File/Glob.pm lib/Digest/SHA.pm \
|
||||
lib/DynaLoader.pm lib/XSLoader.pm lib/Data/Dumper.pm
|
||||
$(CC) $(CFLAGS) perlmain.o libperl.a $(EXTENSIONS_A) -o $@
|
||||
# An extremely dodgy hack (v2)
|
||||
sed -i 's/va\.a\.a/v5.8.1/' perl
|
||||
chmod +x perl
|
||||
|
||||
# extensions
|
||||
|
||||
autosplit.pl: lib/re.pm lib/Config.pm miniperl
|
||||
echo 'use AutoSplit; autosplit_lib_modules(@ARGV)' > $@
|
||||
|
||||
ext/DynaLoader/DynaLoader.pm: miniperl lib/Config.pm
|
||||
./miniperl -Ilib ext/DynaLoader/DynaLoader_pm.PL DynaLoader.pm
|
||||
mv DynaLoader.pm $@
|
||||
|
||||
ext/DynaLoader/XSLoader.pm: miniperl lib/Config.pm
|
||||
./miniperl -Ilib ext/DynaLoader/XSLoader_pm.PL XSLoader.pm
|
||||
mv XSLoader.pm $@
|
||||
|
||||
lib/DynaLoader.pm: ext/DynaLoader/DynaLoader.pm
|
||||
install $< $@
|
||||
|
||||
lib/XSLoader.pm: ext/DynaLoader/XSLoader.pm
|
||||
install $< $@
|
||||
|
||||
lib/File/Glob.pm: ext/File/Glob/Glob.pm
|
||||
install $< $@
|
||||
|
||||
lib/Digest/SHA.pm: ext/Digest/SHA/lib/Digest/SHA.pm
|
||||
install $< $@
|
||||
|
||||
lib/Data:
|
||||
mkdir $@
|
||||
|
||||
lib/Data/Dumper.pm: ext/Data/Dumper/Dumper.pm lib/Data
|
||||
install $< $@
|
||||
|
||||
define build_rule
|
||||
lib/auto/$1/$(notdir $1).a: ext/$1/$(notdir $1).o $(patsubst %.c,%.o,$(wildcard ext/$1/*.c)) $(EXTENSIONS_PM)
|
||||
mkdir -p lib/auto/$1
|
||||
$(AR) cr lib/auto/$1/$(notdir $1).a ext/$1/$(notdir $1).o $(patsubst %.c,%.o,$(wildcard ext/$1/*.c))
|
||||
|
||||
ext/$1/$(notdir $1).c: miniperl lib/Config.pm
|
||||
cd ext/$1; \
|
||||
$(CURDIR)/miniperl -I$(CURDIR)/lib Makefile.PL; \
|
||||
$(CURDIR)/miniperl -I$(CURDIR)/lib $(CURDIR)/lib/ExtUtils/xsubpp -noprototypes -typemap $(CURDIR)/lib/ExtUtils/typemap `echo $(notdir $1) | sed 's/.*-//'`.xs > $(notdir $1).c
|
||||
endef
|
||||
$(foreach f,$(EXTENSIONS),$(eval $(call build_rule,$f)))
|
||||
|
||||
install: all
|
||||
install perl "$(DESTDIR)$(PREFIX)/bin/perl"
|
||||
mkdir -p "$(DESTDIR)$(PRIVLIB_EXP)"
|
||||
cp -r lib/* "$(DESTDIR)$(PRIVLIB_EXP)"
|
||||
124
sysc/perl-5.10.1/patches/undefined_hack.patch
Normal file
124
sysc/perl-5.10.1/patches/undefined_hack.patch
Normal file
|
|
@ -0,0 +1,124 @@
|
|||
SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
|
||||
|
||||
SPDX-License-Identifier: Artistic-1.0-Perl
|
||||
|
||||
There are a bunch of aliases that perl's build system somehow makes but
|
||||
I'm not sure how to appropriately do them, so just patch them.
|
||||
|
||||
--- lib/ExtUtils/Constant.pm 2021-04-20 21:06:43.272663878 +1000
|
||||
+++ lib/ExtUtils/Constant.pm 2021-04-20 21:07:11.116805426 +1000
|
||||
@@ -253,11 +253,11 @@
|
||||
switch (type) {
|
||||
case PERL_constant_NOTFOUND:
|
||||
sv =
|
||||
- sv_2mortal(newSVpvf("%s is not a valid $package_sprintf_safe macro", s));
|
||||
+ sv_2mortal(Perl_newSVpvf("%s is not a valid $package_sprintf_safe macro", s));
|
||||
PUSHs(sv);
|
||||
break;
|
||||
case PERL_constant_NOTDEF:
|
||||
- sv = sv_2mortal(newSVpvf(
|
||||
+ sv = sv_2mortal(Perl_newSVpvf(
|
||||
"Your vendor has not defined $package_sprintf_safe macro %s, used",
|
||||
s));
|
||||
PUSHs(sv);
|
||||
@@ -288,7 +288,7 @@
|
||||
}
|
||||
$xs .= << "EOT";
|
||||
default:
|
||||
- sv = sv_2mortal(newSVpvf(
|
||||
+ sv = sv_2mortal(Perl_newSVpvf(
|
||||
"Unexpected return type %d while processing $package_sprintf_safe macro %s, used",
|
||||
type, s));
|
||||
PUSHs(sv);
|
||||
--- ext/Data-Dumper/Dumper.xs 2009-06-11 02:42:23.000000000 +1000
|
||||
+++ ext/Data-Dumper/Dumper.xs 2021-04-21 18:19:32.548468344 +1000
|
||||
@@ -312,7 +312,7 @@
|
||||
{
|
||||
dSP; ENTER; SAVETMPS; PUSHMARK(sp);
|
||||
XPUSHs(val); PUTBACK;
|
||||
- i = perl_call_method(SvPVX_const(freezer), G_EVAL|G_VOID);
|
||||
+ i = call_method(SvPVX_const(freezer), G_EVAL|G_VOID);
|
||||
SPAGAIN;
|
||||
if (SvTRUE(ERRSV))
|
||||
warn("WARNING(Freezer method call failed): %"SVf"", ERRSV);
|
||||
@@ -515,7 +515,7 @@
|
||||
|
||||
SV * const ixsv = newSViv(0);
|
||||
/* allowing for a 24 char wide array index */
|
||||
- New(0, iname, namelen+28, char);
|
||||
+ Newx(iname, namelen+28, char);
|
||||
(void)strcpy(iname, name);
|
||||
inamelen = namelen;
|
||||
if (name[0] == '@') {
|
||||
@@ -660,7 +660,7 @@
|
||||
if (sortkeys != &PL_sv_yes) {
|
||||
dSP; ENTER; SAVETMPS; PUSHMARK(sp);
|
||||
XPUSHs(sv_2mortal(newRV_inc(ival))); PUTBACK;
|
||||
- i = perl_call_sv(sortkeys, G_SCALAR | G_EVAL);
|
||||
+ i = call_sv(sortkeys, G_SCALAR | G_EVAL);
|
||||
SPAGAIN;
|
||||
if (i) {
|
||||
sv = POPs;
|
||||
@@ -745,7 +745,7 @@
|
||||
}
|
||||
else {
|
||||
nticks = num_q(key, klen);
|
||||
- New(0, nkey_buffer, klen+nticks+3, char);
|
||||
+ Newx(nkey_buffer, klen+nticks+3, char);
|
||||
nkey = nkey_buffer;
|
||||
nkey[0] = '\'';
|
||||
if (nticks)
|
||||
@@ -772,7 +772,7 @@
|
||||
char *extra;
|
||||
I32 elen = 0;
|
||||
newapad = newSVsv(apad);
|
||||
- New(0, extra, klen+4+1, char);
|
||||
+ Newx(extra, klen+4+1, char);
|
||||
while (elen < (klen+4))
|
||||
extra[elen++] = ' ';
|
||||
extra[elen] = '\0';
|
||||
@@ -829,7 +829,7 @@
|
||||
char *npack;
|
||||
char *npack_buffer = NULL;
|
||||
|
||||
- New(0, npack_buffer, plen+pticks+1, char);
|
||||
+ Newx(npack_buffer, plen+pticks+1, char);
|
||||
npack = npack_buffer;
|
||||
plen += esc_q(npack, realpack, plen);
|
||||
npack[plen] = '\0';
|
||||
@@ -903,7 +903,7 @@
|
||||
if (len > 10) {
|
||||
/* Looks like we're on a 64 bit system. Make it a string so that
|
||||
if a 32 bit system reads the number it will cope better. */
|
||||
- sv_catpvf(retval, "'%s'", tmpbuf);
|
||||
+ Perl_sv_catpvf(retval, "'%s'", tmpbuf);
|
||||
} else
|
||||
sv_catpvn(retval, tmpbuf, len);
|
||||
}
|
||||
@@ -1036,7 +1036,7 @@
|
||||
|
||||
if (!SvROK(href)) { /* call new to get an object first */
|
||||
if (items < 2)
|
||||
- croak("Usage: Data::Dumper::Dumpxs(PACKAGE, VAL_ARY_REF, [NAME_ARY_REF])");
|
||||
+ Perl_croak_nocontext("Usage: Data::Dumper::Dumpxs(PACKAGE, VAL_ARY_REF, [NAME_ARY_REF])");
|
||||
|
||||
ENTER;
|
||||
SAVETMPS;
|
||||
@@ -1047,7 +1047,7 @@
|
||||
if (items >= 3)
|
||||
XPUSHs(sv_2mortal(newSVsv(ST(2))));
|
||||
PUTBACK;
|
||||
- i = perl_call_method("new", G_SCALAR);
|
||||
+ i = call_method("new", G_SCALAR);
|
||||
SPAGAIN;
|
||||
if (i)
|
||||
href = newSVsv(POPs);
|
||||
@@ -1234,7 +1234,7 @@
|
||||
SvREFCNT_dec(valstr);
|
||||
}
|
||||
else
|
||||
- croak("Call to new() method failed to return HASH ref");
|
||||
+ Perl_croak_nocontext("Call to new() method failed to return HASH ref");
|
||||
if (gimme == G_SCALAR)
|
||||
XPUSHs(sv_2mortal(retval));
|
||||
}
|
||||
36
sysc/perl-5.10.1/perl-5.10.1.sh
Executable file
36
sysc/perl-5.10.1/perl-5.10.1.sh
Executable file
|
|
@ -0,0 +1,36 @@
|
|||
# SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
src_prepare() {
|
||||
default_src_prepare
|
||||
|
||||
# Regenerate bison files
|
||||
# perly.c looks suspiciously like it is from bison, but is not; from the
|
||||
# below script:
|
||||
# Note that perly.c is *not* regenerated - this is now a static file which
|
||||
# is not dependent on perly.y any more.
|
||||
perl regen_perly.pl -b bison-2.3
|
||||
# Remove the source file so make works.
|
||||
rm perly.y
|
||||
|
||||
# Regenerate other prebuilt header files
|
||||
# Taken from headers of regen scripts
|
||||
rm lib/warnings.pm warnings.h regnodes.h reentr.h reentr.c overload.h \
|
||||
overload.c lib/overload/numbers.pm opcode.h opnames.h pp_proto.h \
|
||||
pp.sym keywords.h embed.h embedvar.h global.sym perlapi.c perlapi.h \
|
||||
proto.h
|
||||
perl regen.pl
|
||||
|
||||
mkdir -p ext/File ext/Digest ext/Data
|
||||
mv ext/File-Glob ext/File/Glob
|
||||
mv ext/Digest-SHA ext/Digest/SHA
|
||||
mv ext/Data-Dumper ext/Data/Dumper
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Remove old perl
|
||||
rm -rf "${PREFIX}"/lib/perl5/
|
||||
|
||||
default
|
||||
}
|
||||
81
sysc/perl-5.32.1/checksums
Normal file
81
sysc/perl-5.32.1/checksums
Normal file
|
|
@ -0,0 +1,81 @@
|
|||
c626794d37f98f1b4039a35dbfb0b448453fc66a6fbb183c266daeaf6fcee854 /image/bin/pod2man
|
||||
f7373390f5e226340b0a8600565a9ed914b14a769cd83dab56a00a42c4995732 /image/bin/pod2text
|
||||
34d935b734c56377f82bc3a2848de01dfb69205921a39fb4b3819fa6c4e5f9c7 /image/bin/pod2usage
|
||||
a25fb0443a96fff587f0f35da7765e9f081378cbeb36fd40afc711298f422f24 /image/bin/podchecker
|
||||
1f88b5c0fc6731c85de115b0e09140c921583b88faf5a43e86724a4f291a4211 /image/bin/cpan
|
||||
12293e3557c7c17f1586c7b88f5d5a4da11101e89030554becbb8ba3b12c7f27 /image/bin/corelist
|
||||
324dc9f1ff565a366c557b6d1b089f2ae386b391bb81c923c3da5443f329f3f9 /image/bin/enc2xs
|
||||
981c47625f82abab9eb2cc60f20ec7f5d9af35ac872ef0b2bd187581f004f136 /image/bin/encguess
|
||||
c2128381f41980ac814614762a1af700e07b76be925355680837d5522222949a /image/bin/h2ph
|
||||
af117b37191eb40bf62f0a061a3d0d4f01c88b37cca3db18a5d3fd7b04f75c42 /image/bin/h2xs
|
||||
41db48f0483d62f00e18241badc70451f5330fc27a2cb7e3d64cfd2181034ae8 /image/bin/instmodsh
|
||||
eaf37738d3d96a3fe900b99bb74c1692da6bf5ef11ee31161ac0bf55d8233719 /image/bin/json_pp
|
||||
5d977bcb813aa7159173800659eaf58bbedb4f697d78add293ce973096d18049 /image/bin/libnetcfg
|
||||
d81566565457a438b9617e50bf687af773246866227752004804776397d212a9 /image/bin/perlbug
|
||||
8367e734e47ff243cbe89af0239c24a2826f1bfbf2e13bbbe0913ba0b97cb309 /image/bin/perldoc
|
||||
bd81fbf0a3e0d4601a42cdf8b3a4715d6c232e3f7dd4541a1b4516ae0408c3dd /image/bin/perlivp
|
||||
e738cef96e9a03b3341a1f2d9ad6ab48508cb786a43046ed53f9c35bd5e1a945 /image/bin/piconv
|
||||
ea7361352e3d8657b860aa5ab32f7525852277ce43bf97c6af68fb8c826f12fe /image/bin/pl2pm
|
||||
5bd720a5c3bf7a1d17f71031064359072894890e30dd6a86f5c3dd9f3a16da8b /image/bin/pod2html
|
||||
4e687cacc7a9a26e6d90a3f7b3824b37cccd9a2c8a7fbf1b91fda1141048b656 /image/bin/prove
|
||||
c82cac435633e123b52ed34fd56f769e0c5b7a1efb90144f36998ec85406a33f /image/bin/ptar
|
||||
d61c67c54350aeee79b8dbd2bdb9f7f399baf78c3d3a1f0947e8646ed1dd5373 /image/bin/ptardiff
|
||||
1c4541419f7a46787f74121424a57c6e314c1c4aa84a415b9970379b7ee793be /image/bin/ptargrep
|
||||
85cd345abe83d717c889a29d8e843984012051e1f6c6f050d3ad9a1eda71ae49 /image/bin/shasum
|
||||
a3c7f404c061fd35035907ff14bce2478d763f90e72b951cba8b49d60c9c1cef /image/bin/splain
|
||||
8cb399866c7e9d8cc9139aee78e5fb87203cedf836f76067b7b3c3aeabde7ce8 /image/bin/streamzip
|
||||
7ea581a6abea1d0a4f959c8f2c5b1888e01ccb56b9182b3c4db879276425877e /image/bin/xsubpp
|
||||
a71c03ec0417b868e8dd97456e42ce1a0ee8c919f6c6788d041d8f1310577ebb /image/bin/zipdetails
|
||||
d81566565457a438b9617e50bf687af773246866227752004804776397d212a9 /image/bin/perlthanks
|
||||
38f2bbeb21f9d8e443d8a7d083ef88ae3e8be3c9df697e1de94dec08fa672a51 /image/bin/perl
|
||||
38f2bbeb21f9d8e443d8a7d083ef88ae3e8be3c9df697e1de94dec08fa672a51 /image/bin/perl5.32.1
|
||||
d39e63c4b73f41c95170b5424d9e55acd8f4421c05b70bf75d81225e0d6b534f /image/lib/perl5/5.32.1/i386-linux/CORE/libperl.a
|
||||
b9aa5df8e7790d25b610d3568a1fb5ec19d4b7a24ea89032b3e48e6baeff7829 /image/lib/perl5/5.32.1/i386-linux/auto/IO/IO.a
|
||||
a00d9d1d16cb84df222e42726962751d6296aa4ef5b43d3e3d39b5db677524be /image/lib/perl5/5.32.1/i386-linux/auto/B/B.a
|
||||
97297837e713b3c32fdf15d3beb4df27dd04d36770520a39cb9609bfe03e8b95 /image/lib/perl5/5.32.1/i386-linux/auto/Compress/Raw/Bzip2/Bzip2.a
|
||||
cbace9433582cb7a952f8765351e5e8ac24c3d08c5cc659fc57fc5d001f85a46 /image/lib/perl5/5.32.1/i386-linux/auto/Compress/Raw/Zlib/Zlib.a
|
||||
11a5a396f223fca1c0f663f92e2ccca804c0e1bcc8ebdc7aa6c02007c0ef6eb2 /image/lib/perl5/5.32.1/i386-linux/auto/Cwd/Cwd.a
|
||||
40bd3da520ef0b12afb7a6e422bba60618a294ea48315a0c3788b238ceec1cff /image/lib/perl5/5.32.1/i386-linux/auto/Data/Dumper/Dumper.a
|
||||
913b4c30b4444bb5d20fdfb1235b0bad897900247d6c90f20453f4b3fff88d22 /image/lib/perl5/5.32.1/i386-linux/auto/Devel/Peek/Peek.a
|
||||
1adda90e944ad90f66a6d6beeb73f36eb15346868f86fcf2428e9468e0df924c /image/lib/perl5/5.32.1/i386-linux/auto/Digest/MD5/MD5.a
|
||||
ca94220bc83615eacfe76c219681cc5bbf60b20f967d4e0050115411cce4b5d3 /image/lib/perl5/5.32.1/i386-linux/auto/Digest/SHA/SHA.a
|
||||
9f63bd4cba00691b802276da76cf44e0d1c42ac2a785d523ebf4ae0baba120cb /image/lib/perl5/5.32.1/i386-linux/auto/Encode/Byte/Byte.a
|
||||
6d583d90aa9d93a081dd23e59a4ccb67566213075277b2f576f0bc70be0ae45f /image/lib/perl5/5.32.1/i386-linux/auto/Encode/CN/CN.a
|
||||
4f1a62ec40d3d6971043ff20bcc159ce9600946c200dd7349aab1fade57ac4bb /image/lib/perl5/5.32.1/i386-linux/auto/Encode/EBCDIC/EBCDIC.a
|
||||
30a5bad1d7bfeb2c8a1c3d40b242dbb57d7f5a7a90b8b0da2f37ca1e97f5cd98 /image/lib/perl5/5.32.1/i386-linux/auto/Encode/JP/JP.a
|
||||
4070f08ca88900519ecd2d44a1733fcf0addf0bcf4cc7b09fce9303f8194577f /image/lib/perl5/5.32.1/i386-linux/auto/Encode/KR/KR.a
|
||||
7e20461c2762fcf062fe3d7366357f85d21c1ad510466e41f886a8427382e2a5 /image/lib/perl5/5.32.1/i386-linux/auto/Encode/Symbol/Symbol.a
|
||||
7c1eab792c8cdd25bd3db0fe932a7025106de4f5a5477859feac4efcd7ed2758 /image/lib/perl5/5.32.1/i386-linux/auto/Encode/TW/TW.a
|
||||
7945204be71d45eac99d52c8ba80f4a415e5a442ba9118045835130fcb793278 /image/lib/perl5/5.32.1/i386-linux/auto/Encode/Unicode/Unicode.a
|
||||
d435dad257f8a3062fdf0ed36ef1ff8bf459035bf91666a053f1a825d619c7ba /image/lib/perl5/5.32.1/i386-linux/auto/Encode/Encode.a
|
||||
de952455eb6c8920eb83b24d116fba667148e3ced2c300d09fbcd0695460d503 /image/lib/perl5/5.32.1/i386-linux/auto/Fcntl/Fcntl.a
|
||||
d1477681608164d970571537fe57a4f57c2ff079827a2c7836e098cdb116725a /image/lib/perl5/5.32.1/i386-linux/auto/File/DosGlob/DosGlob.a
|
||||
e71679d8b946cfc769d28579d7277f5c3f6026bbd012c804de044cf960920596 /image/lib/perl5/5.32.1/i386-linux/auto/File/Glob/Glob.a
|
||||
e4585db5d46bdb7ce6a1f755596131e15e9a6170dfb8911025b1a8aa0d5084bc /image/lib/perl5/5.32.1/i386-linux/auto/Filter/Util/Call/Call.a
|
||||
e78509cd064d5b33e4183472569f477759b31ebaaaebda7f7de5210d49f8f01a /image/lib/perl5/5.32.1/i386-linux/auto/Hash/Util/FieldHash/FieldHash.a
|
||||
ac19d921e8c417aac14aed76e301636c4665d8ce0b8b8cc60db99e6fe6d78c6b /image/lib/perl5/5.32.1/i386-linux/auto/Hash/Util/Util.a
|
||||
6c149bdde39147d4a78ecef243509c9de02ce247113332249122657caedf0fe9 /image/lib/perl5/5.32.1/i386-linux/auto/I18N/Langinfo/Langinfo.a
|
||||
17bca9d539f4267ee479d0e04accc0261855287ab05628def3af50aabf8fa091 /image/lib/perl5/5.32.1/i386-linux/auto/IPC/SysV/SysV.a
|
||||
c31d93eede732e7e3077c942c1cf98c0837dc29f7f481d377dfc2e54f9734e0b /image/lib/perl5/5.32.1/i386-linux/auto/List/Util/Util.a
|
||||
5cf46c40bd99950add133ff1be1e829ebbf6be51271ce74e362516daaddaa268 /image/lib/perl5/5.32.1/i386-linux/auto/MIME/Base64/Base64.a
|
||||
19a514c34f9379d6fc9b9cd0b0847983cf070a552ae3ad99da3bc28f26960342 /image/lib/perl5/5.32.1/i386-linux/auto/Math/BigInt/FastCalc/FastCalc.a
|
||||
37a428027797b6482e91a04da997005a34d64e5614ae7607e2b85ea6795ab198 /image/lib/perl5/5.32.1/i386-linux/auto/Opcode/Opcode.a
|
||||
9cf4db7b20230c803821094bc910fc27783814046fa1e5fcc39348b076c2a838 /image/lib/perl5/5.32.1/i386-linux/auto/POSIX/POSIX.a
|
||||
ed1b19fbe06597635a6015447c68fdac7a5ce0e5ba814b020d260237fe007489 /image/lib/perl5/5.32.1/i386-linux/auto/PerlIO/encoding/encoding.a
|
||||
2dce279ba070676998d7b2d08cd53102107bddfa8cc4150f0dfb513360507127 /image/lib/perl5/5.32.1/i386-linux/auto/PerlIO/mmap/mmap.a
|
||||
a4834b1e3bc003dc3a556ae4a1f07d0d1caee784930c15c9bb3b80f33adefa0a /image/lib/perl5/5.32.1/i386-linux/auto/PerlIO/scalar/scalar.a
|
||||
9e1f4f68be71a56656b76f0e189b2e1fadc12683b34662250cf25130a420786e /image/lib/perl5/5.32.1/i386-linux/auto/PerlIO/via/via.a
|
||||
08a5d9d75f149b00493e656752375710a636fa1fbd33d51bbf8386b6c020360c /image/lib/perl5/5.32.1/i386-linux/auto/SDBM_File/SDBM_File.a
|
||||
b33eb13f4b8682e95c6d0d69e142c737f946cbc711fd0217b1c42fa5dd830d23 /image/lib/perl5/5.32.1/i386-linux/auto/Socket/Socket.a
|
||||
1569d0e1d134bec913093c3cf08231b310707843e276e2687fe2350b298c4cfd /image/lib/perl5/5.32.1/i386-linux/auto/Storable/Storable.a
|
||||
cf65ae0455595319fbf2f6102b1c71df9b0711d5d5a5d0f77ab2c128f678b5dc /image/lib/perl5/5.32.1/i386-linux/auto/Sys/Hostname/Hostname.a
|
||||
200aab211a4b3c56e4f2c3a5b57ac67155894c042a22e07d7b3d88033d8fb36b /image/lib/perl5/5.32.1/i386-linux/auto/Sys/Syslog/Syslog.a
|
||||
4472ab7f81d0c67ceece4c66985ba95e4a399182fcb889465f81d009fd66b735 /image/lib/perl5/5.32.1/i386-linux/auto/Time/HiRes/HiRes.a
|
||||
4a4dadffbe8d7ccd71fb6fbe13696f42b8985d3517d48b2f5697d3a243d538c9 /image/lib/perl5/5.32.1/i386-linux/auto/Time/Piece/Piece.a
|
||||
81b92d161e5b456901a5e297981d10fc889fcd94baa4bdf687d90c2a0510fdf6 /image/lib/perl5/5.32.1/i386-linux/auto/Unicode/Collate/Collate.a
|
||||
3de37e2608ee975d2be422b716722b622558e9a16ad7cb01a4909108e8da565f /image/lib/perl5/5.32.1/i386-linux/auto/Unicode/Normalize/Normalize.a
|
||||
5685a0b7e09fa209b44e92b6ffeef3ffaf45c88f5ce3a210982820107bcc845a /image/lib/perl5/5.32.1/i386-linux/auto/attributes/attributes.a
|
||||
20b56fd11c78ae924ad3ac6da04e412067732f051688865dc9271c19b30b7bff /image/lib/perl5/5.32.1/i386-linux/auto/mro/mro.a
|
||||
5c1adcd8427427a1f6feb1b3dfd52a16f6a57435c1ad74abc8f8ba7c78ec0a6d /image/lib/perl5/5.32.1/i386-linux/auto/re/re.a
|
||||
f5e09198bbacd7eef23375e1a7eb2166c884666c8fd14dfeeab11f1bda5d313d /image/lib/perl5/5.32.1/i386-linux/auto/threads/shared/shared.a
|
||||
d850f9ecb18bb102876c8e0b9032efdef2c70a66243fb3f686d770699d643a8f /image/lib/perl5/5.32.1/i386-linux/auto/threads/threads.a
|
||||
46
sysc/perl-5.32.1/perl-5.32.1.sh
Executable file
46
sysc/perl-5.32.1/perl-5.32.1.sh
Executable file
|
|
@ -0,0 +1,46 @@
|
|||
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Regenerate bison files
|
||||
# perly.c looks suspiciously like it is from bison, but is not; from the
|
||||
# below script:
|
||||
# Note that perly.c is *not* regenerated - this is now a static file which
|
||||
# is not dependent on perly.y any more.
|
||||
perl regen_perly.pl
|
||||
|
||||
# Regenerate other prebuilt header files
|
||||
# Taken from headers of regen scripts
|
||||
rm embed.h embedvar.h perlapi.c perlapi.h proto.h mg_names.inc mg_raw.h \
|
||||
mg_vtable.h opcode.h opnames.h pp_proto.h \
|
||||
lib/B/Op_private.pm overload.h overload.inc lib/overload/numbers.pm \
|
||||
reentr.h reentr.c regnodes.h lib/warnings.pm \
|
||||
warnings.h lib/feature.pm feature.h
|
||||
perl regen.pl
|
||||
|
||||
# Regenerate configure + config_h.SH
|
||||
rm Configure config_h.SH
|
||||
ln -s ../perl-5f2dc80/regen-configure/.package .
|
||||
ln -s ../perl-5f2dc80/regen-configure/U .
|
||||
metaconfig -m
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
./Configure -des \
|
||||
-Dprefix="${PREFIX}" \
|
||||
-Dcc=gcc \
|
||||
-Dusedl=false \
|
||||
-Ddate=':' \
|
||||
-Dccflags="-U__DATE__ -U__TIME__" \
|
||||
-Darchname="i386-linux"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Remove old perl
|
||||
rm -rf "${PREFIX}"/lib/perl5/
|
||||
|
||||
default
|
||||
}
|
||||
33
sysc/run.sh
Executable file
33
sysc/run.sh
Executable file
|
|
@ -0,0 +1,33 @@
|
|||
#!/usr/bin/bash
|
||||
|
||||
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
|
||||
# SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
|
||||
# SPDX-FileCopyrightText: 2021 Paul Dersey <pdersey@gmail.com>
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
set -e
|
||||
|
||||
. helpers.sh
|
||||
|
||||
export PATH=/usr/bin:/usr/sbin
|
||||
export PREFIX=/usr
|
||||
export SOURCES=/usr/src
|
||||
|
||||
create_fhs() {
|
||||
# Add the rest of the FHS that we will use and is not created pre-boot
|
||||
for d in bin lib sbin; do
|
||||
ln -s "usr/${d}" "/${d}"
|
||||
done
|
||||
mkdir /etc /proc /run /sys /tmp /var
|
||||
mount -t proc proc /proc
|
||||
mount -t sysfs sysfs /sys
|
||||
# Make /tmp a ramdisk (speeds up configure etc significantly)
|
||||
mount -t tmpfs tmpfs /tmp
|
||||
}
|
||||
|
||||
create_fhs
|
||||
|
||||
build bash-5.1
|
||||
|
||||
exec env -i PATH=${PATH} PREFIX=${PREFIX} SOURCES=${SOURCES} bash run2.sh
|
||||
80
sysc/run2.sh
Executable file
80
sysc/run2.sh
Executable file
|
|
@ -0,0 +1,80 @@
|
|||
#!/bin/bash
|
||||
|
||||
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
|
||||
# SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
|
||||
# SPDX-FileCopyrightText: 2021 Paul Dersey <pdersey@gmail.com>
|
||||
# SPDX-FileCopyrightText: 2021 Melg Eight <public.melg8@gmail.com>
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
set -e
|
||||
|
||||
trap "env - PATH=${PREFIX}/bin PS1='\w # ' bash -i" EXIT
|
||||
|
||||
. helpers.sh
|
||||
|
||||
. bootstrap.cfg
|
||||
|
||||
trap bash EXIT
|
||||
|
||||
build xz-5.0.5
|
||||
|
||||
build automake-1.11.2
|
||||
|
||||
build autoconf-2.69
|
||||
|
||||
build automake-1.15.1
|
||||
|
||||
build tar-1.34
|
||||
|
||||
build coreutils-8.32
|
||||
|
||||
build pkg-config-0.29.2
|
||||
|
||||
build make-4.2.1
|
||||
|
||||
build gmp-6.2.1
|
||||
|
||||
build autoconf-archive-2021.02.19
|
||||
|
||||
build mpfr-4.1.0
|
||||
|
||||
build mpc-1.2.1
|
||||
|
||||
build flex-2.5.33
|
||||
|
||||
build bison-2.3
|
||||
|
||||
build bison-3.4.2
|
||||
|
||||
build perl-5.10.1
|
||||
|
||||
build dist-3.5-236 '' '' '' dist-d1de81f
|
||||
|
||||
build perl-5.32.1
|
||||
|
||||
build automake-1.16.3
|
||||
|
||||
build patch-2.7.6
|
||||
|
||||
build gettext-0.21
|
||||
|
||||
build texinfo-6.7
|
||||
|
||||
build zlib-1.2.11
|
||||
|
||||
build gcc-4.7.4
|
||||
|
||||
build gperf-3.1
|
||||
|
||||
build libunistring-0.9.10
|
||||
|
||||
if [ "$FORCE_TIMESTAMPS" = True ] ; then
|
||||
echo 'Forcing all files timestamps to be 0 unix time.'
|
||||
canonicalise_all_files_timestamp
|
||||
fi
|
||||
|
||||
echo "Bootstrapping completed."
|
||||
|
||||
cd "${PREFIX}"
|
||||
exec env - PATH=${PREFIX}/bin PS1="\w # " bash -i
|
||||
2
sysc/tar-1.34/checksums
Normal file
2
sysc/tar-1.34/checksums
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
8f42cf65b50ea6bd30db9bbf69044992501564cff41d2ad381c775eb612bbb60 /image/bin/tar
|
||||
5565ee423acb8408dacc19d9f78902f0d5286b66c1656d90a3bf98488a2b9c67 /image/libexec/rmt
|
||||
103
sysc/tar-1.34/import-gnulib.sh
Executable file
103
sysc/tar-1.34/import-gnulib.sh
Executable file
|
|
@ -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
|
||||
29
sysc/tar-1.34/tar-1.34.sh
Executable file
29
sysc/tar-1.34/tar-1.34.sh
Executable file
|
|
@ -0,0 +1,29 @@
|
|||
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
. ../../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
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
make PREFIX="${PREFIX}" MAKEINFO="true"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make install PREFIX="${PREFIX}" MAKEINFO="true" DESTDIR="${DESTDIR}"
|
||||
}
|
||||
10
sysc/xz-5.0.5/checksums
Normal file
10
sysc/xz-5.0.5/checksums
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
65c4901f5b6975a57dc35ba12364eca0402342bd6ff371242a4a008cbffa9b7c /image/bin/lzmadec
|
||||
e7999dc7968beb5dc005949ecdd56151c2bee22f18899d546ec6c22f7a510f2f /image/bin/lzmainfo
|
||||
2578981fc1284bc4009f03fc78dc23bc888f64dffb59f76d88fa955cfe4de411 /image/bin/xz
|
||||
459c4f26adaed26e11ef67c99a9bc455dff8e84c7fe9231054a62f23f23dcc93 /image/bin/xzdec
|
||||
104548a69cb9ced78dd4fd08f5e8a1b6b07230ada5e6554a07368ed84191da86 /image/bin/xzdiff
|
||||
34db9e45f4ca4bc96b8280ac438ac6c4fab95e44e812e20cf86a2248bf2f7579 /image/bin/xzgrep
|
||||
2ce262d47007d17dc668e9a9a3263f7fe3f145d61971f189c21f59b25498a4e3 /image/bin/xzless
|
||||
a050699ff5484e063154d11bf05a9a4eb6c2d38bac09a975a96b42c8b45a72ef /image/bin/xzmore
|
||||
70011cfa370e3cedeb9c885579d7cac78dc6ff47e7124c7699583411b75018f0 /image/lib/musl/liblzma.a
|
||||
f8ca71f3aa6379e23bb97f0cd0a2b2489d83a9aa5d2d7b938323c4198f487fcb /image/lib/musl/liblzma.la
|
||||
19
sysc/xz-5.0.5/patches/xz_automake.patch
Normal file
19
sysc/xz-5.0.5/patches/xz_automake.patch
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
|
||||
|
||||
SPDX-License-Identifier: Unlicense
|
||||
|
||||
Build with Automake 1.10
|
||||
|
||||
--- configure.ac 2021-03-25 21:25:45.309736487 +0000
|
||||
+++ configure.ac 2021-03-25 21:28:06.683426486 +0000
|
||||
@@ -417,8 +417,8 @@
|
||||
echo "Initializing Automake:"
|
||||
|
||||
# Automake 1.10 should still be enough but you need to omit serial-tests.
|
||||
-dnl AM_INIT_AUTOMAKE([1.10 foreign tar-v7 filename-length-max=99])
|
||||
-AM_INIT_AUTOMAKE([1.12 foreign tar-v7 filename-length-max=99 serial-tests])
|
||||
+AM_INIT_AUTOMAKE([1.10 foreign tar-v7 filename-length-max=99])
|
||||
+dnl AM_INIT_AUTOMAKE([1.12 foreign tar-v7 filename-length-max=99 serial-tests])
|
||||
AC_PROG_LN_S
|
||||
|
||||
AC_PROG_CC_C99
|
||||
17
sysc/xz-5.0.5/xz-5.0.5.sh
Executable file
17
sysc/xz-5.0.5/xz-5.0.5.sh
Executable file
|
|
@ -0,0 +1,17 @@
|
|||
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
autoreconf-2.64 -f
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
./configure \
|
||||
--prefix="${PREFIX}" \
|
||||
--disable-shared \
|
||||
--build=i386-unknown-linux-musl \
|
||||
--libdir="${PREFIX}/lib/musl"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue