general: Added packages.

This commit is contained in:
Dylan Araps 2019-05-18 19:06:11 +03:00
parent 8a637a6299
commit f491a8661a
37 changed files with 366 additions and 12 deletions

1
repo/autoconf/checksums Normal file
View File

@ -0,0 +1 @@
954bd69b391edc12d6a4a51a2dd1476543da5c6bbf05a95b59dc0dd6fd4c2969 autoconf-2.69.tar.gz

83
repo/autoconf/manifest Normal file
View File

@ -0,0 +1,83 @@
/var/db/puke/autoconf/version
/var/db/puke/autoconf/build
/var/db/puke/autoconf/checksums
/var/db/puke/autoconf/manifest
/var/db/puke/autoconf/sources
/var/db/puke/autoconf/depends
/var/db/puke/autoconf
/var/db/puke
/var/db
/var
/usr/bin/autoheader
/usr/bin/autoscan
/usr/bin/autoreconf
/usr/bin/ifnames
/usr/bin/autom4te
/usr/bin/autoconf
/usr/bin/autoupdate
/usr/bin
/usr/share/man/man1/autoheader.1
/usr/share/man/man1/config.sub.1
/usr/share/man/man1/ifnames.1
/usr/share/man/man1/autom4te.1
/usr/share/man/man1/autoupdate.1
/usr/share/man/man1/autoconf.1
/usr/share/man/man1/autoscan.1
/usr/share/man/man1/config.guess.1
/usr/share/man/man1/autoreconf.1
/usr/share/man/man1
/usr/share/man
/usr/share/info/autoconf.info
/usr/share/info/dir
/usr/share/info/standards.info
/usr/share/info
/usr/share/autoconf/autoscan/autoscan.list
/usr/share/autoconf/autoscan
/usr/share/autoconf/autotest/specific.m4
/usr/share/autoconf/autotest/autotest.m4
/usr/share/autoconf/autotest/general.m4
/usr/share/autoconf/autotest/autotest.m4f
/usr/share/autoconf/autotest
/usr/share/autoconf/autom4te.cfg
/usr/share/autoconf/INSTALL
/usr/share/autoconf/Autom4te/General.pm
/usr/share/autoconf/Autom4te/Channels.pm
/usr/share/autoconf/Autom4te/C4che.pm
/usr/share/autoconf/Autom4te/XFile.pm
/usr/share/autoconf/Autom4te/Request.pm
/usr/share/autoconf/Autom4te/Configure_ac.pm
/usr/share/autoconf/Autom4te/Getopt.pm
/usr/share/autoconf/Autom4te/ChannelDefs.pm
/usr/share/autoconf/Autom4te/FileUtils.pm
/usr/share/autoconf/Autom4te
/usr/share/autoconf/autoconf/specific.m4
/usr/share/autoconf/autoconf/c.m4
/usr/share/autoconf/autoconf/autotest.m4
/usr/share/autoconf/autoconf/general.m4
/usr/share/autoconf/autoconf/autoconf.m4
/usr/share/autoconf/autoconf/erlang.m4
/usr/share/autoconf/autoconf/oldnames.m4
/usr/share/autoconf/autoconf/autoconf.m4f
/usr/share/autoconf/autoconf/autoheader.m4
/usr/share/autoconf/autoconf/autoscan.m4
/usr/share/autoconf/autoconf/lang.m4
/usr/share/autoconf/autoconf/fortran.m4
/usr/share/autoconf/autoconf/types.m4
/usr/share/autoconf/autoconf/headers.m4
/usr/share/autoconf/autoconf/programs.m4
/usr/share/autoconf/autoconf/libs.m4
/usr/share/autoconf/autoconf/status.m4
/usr/share/autoconf/autoconf/functions.m4
/usr/share/autoconf/autoconf/autoupdate.m4
/usr/share/autoconf/autoconf/go.m4
/usr/share/autoconf/autoconf
/usr/share/autoconf/m4sugar/version.m4
/usr/share/autoconf/m4sugar/m4sugar.m4
/usr/share/autoconf/m4sugar/m4sugar.m4f
/usr/share/autoconf/m4sugar/foreach.m4
/usr/share/autoconf/m4sugar/m4sh.m4
/usr/share/autoconf/m4sugar/m4sh.m4f
/usr/share/autoconf/m4sugar
/usr/share/autoconf
/usr/share
/usr

1
repo/automake/checksums Normal file
View File

@ -0,0 +1 @@
608a97523f97db32f1f5d5615c98ca69326ced2054c9f82e65bade7fc4c9dea8 automake-1.16.1.tar.gz

15
repo/binutils/build Executable file
View File

@ -0,0 +1,15 @@
#!/bin/sh -e
./configure \
--prefix=/usr \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--enable-targets=x86_64-pep \
--disable-multilib \
--disable-werror \
--disable-nls \
--with-mmap \
--with-system-zlib
make
make DESTDIR="$1" install

3
repo/binutils/depends Normal file
View File

@ -0,0 +1,3 @@
bison
flex
zlib

1
repo/binutils/sources Normal file
View File

@ -0,0 +1 @@
https://ftp.gnu.org/gnu/binutils/binutils-2.32.tar.bz2

1
repo/binutils/version Normal file
View File

@ -0,0 +1 @@
2.32 1

10
repo/bison/build Executable file
View File

@ -0,0 +1,10 @@
#!/bin/sh -e
./configure \
--prefix=/usr \
--datadir=/usr/share \
--infodir=/usr/share/info \
--mandir=/usr/share/man
make
make DESTDIR="$1" install

2
repo/bison/depends Normal file
View File

@ -0,0 +1,2 @@
perl
m4

1
repo/bison/sources Normal file
View File

@ -0,0 +1 @@
https://ftp.gnu.org/gnu/bison/bison-3.3.2.tar.xz

1
repo/bison/version Normal file
View File

@ -0,0 +1 @@
3.3.2 1

13
repo/flex/build Executable file
View File

@ -0,0 +1,13 @@
#!/bin/sh -e
./configure \
--prefix=/usr \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--disable-static \
--enable-shared \
ac_cv_func_malloc_0_nonnull=yes \
ac_cv_func_realloc_0_nonnull=yes
make
make DESTDIR="$1" install

2
repo/flex/depends Normal file
View File

@ -0,0 +1,2 @@
m4
bison

1
repo/flex/sources Normal file
View File

@ -0,0 +1 @@
https://github.com/westes/flex/releases/download/v2.6.4/flex-2.6.4.tar.gz

1
repo/flex/version Normal file
View File

@ -0,0 +1 @@
2.6.4 1

12
repo/gmp/build Executable file
View File

@ -0,0 +1,12 @@
#!/bin/sh -e
./configure \
--prefix=/usr \
--infodir=/usr/share/info \
--mandir=/usr/share/man \
--localstatedir=/var/state/gmp \
--enable-cxx \
--with-pic
make
make DESTDIR="$1" install

1
repo/gmp/depends Normal file
View File

@ -0,0 +1 @@
m4

1
repo/gmp/sources Normal file
View File

@ -0,0 +1 @@
https://gmplib.org/download/gmp/gmp-6.1.2.tar.xz

1
repo/gmp/version Normal file
View File

@ -0,0 +1 @@
6.1.2 1

8
repo/libelf/build Executable file
View File

@ -0,0 +1,8 @@
#!/bin/sh -e
./configure \
--prefix=/usr \
--disable-nls
make
make prefix="$1/usr" install

1
repo/libelf/sources Normal file
View File

@ -0,0 +1 @@
https://fossies.org/linux/misc/old/libelf-0.8.13.tar.gz

1
repo/libelf/version Normal file
View File

@ -0,0 +1 @@
0.8.13 1

View File

@ -1,23 +1,23 @@
/usr/share/info/m4.info
/usr/share/info/m4.info-1
/usr/share/info/dir
/usr/share/info/m4.info-2
/usr/share/man/man1/m4.1
/usr/bin/m4
/var/db/puke/m4/sources
/var/db/puke/m4/manifest
/var/db/puke/m4/checksums
/var/db/puke/m4/patches/fix-glibc-2.28.patch
/var/db/puke/m4/build
/var/db/puke/m4/version
/var/db/puke/m4/build
/var/db/puke/m4/patches/fix-glibc-2.28.patch
/var/db/puke/m4/patches
/var/db/puke/m4/checksums
/var/db/puke/m4/manifest
/var/db/puke/m4/sources
/var/db/puke/m4
/var/db/puke
/var/db
/var
/usr/bin/m4
/usr/bin
/usr/share/man/man1/m4.1
/usr/share/man/man1
/usr/share/man
/usr/share/info/m4.info-2
/usr/share/info/dir
/usr/share/info/m4.info-1
/usr/share/info/m4.info
/usr/share/info
/usr/share
/usr/bin
/usr

11
repo/mpc1/build Executable file
View File

@ -0,0 +1,11 @@
#!/bin/sh -e
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--enable-shared
make
make DESTDIR="$1" install

2
repo/mpc1/depends Normal file
View File

@ -0,0 +1,2 @@
gmp
mpfr

1
repo/mpc1/sources Normal file
View File

@ -0,0 +1 @@
https://ftp.gnu.org/gnu/mpc/mpc-1.1.0.tar.gz

1
repo/mpc1/version Normal file
View File

@ -0,0 +1 @@
1.1.0 1

8
repo/mpfr/build Executable file
View File

@ -0,0 +1,8 @@
#!/bin/sh -e
./configure \
--prefix=/usr \
--enable-shared
make
make DESTDIR="$1" install

1
repo/mpfr/depends Normal file
View File

@ -0,0 +1 @@
gmp

1
repo/mpfr/sources Normal file
View File

@ -0,0 +1 @@
http://www.mpfr.org/mpfr-3.1.5/mpfr-3.1.5.tar.xz

1
repo/mpfr/version Normal file
View File

@ -0,0 +1 @@
3.1.5 1

10
repo/sharutils/build Executable file
View File

@ -0,0 +1,10 @@
#!/bin/sh -e
patch -p1 -i CVE-2018-1000097.patch
patch -p1 -i fix-glibc-2.27.patch
./configure \
--prefix=/usr
make
make DESTDIR="$1" install

1
repo/sharutils/depends Normal file
View File

@ -0,0 +1 @@
perl

View File

@ -0,0 +1,15 @@
From: Petr Pisar
Subject: Fix CVE-2018-1000097, heap buffer overflow in unshar
Bug-Debian: https://bugs.debian.org/893525
--- a/src/unshar.c
+++ b/src/unshar.c
@@ -240,7 +240,7 @@
off_t position = ftello (file);
/* Read next line, fail if no more and no previous process. */
- if (!fgets (rw_buffer, BUFSIZ, file))
+ if (!fgets (rw_buffer, rw_base_size, file))
{
if (!start)
error (0, 0, _("Found no shell commands in %s"), name);

View File

@ -0,0 +1,137 @@
From 4af4a4a71827c0bc5e0ec67af23edef4f15cee8e Mon Sep 17 00:00:00 2001
From: Paul Eggert <eggert@cs.ucla.edu>
Date: Mon, 5 Mar 2018 10:56:29 -0800
Subject: [PATCH] fflush: adjust to glibc 2.28 libio.h removal
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Problem reported by Daniel P. Berrangé in:
https://lists.gnu.org/r/bug-gnulib/2018-03/msg00000.html
* lib/fbufmode.c (fbufmode):
* lib/fflush.c (clear_ungetc_buffer_preserving_position)
(disable_seek_optimization, rpl_fflush):
* lib/fpurge.c (fpurge):
* lib/freadable.c (freadable):
* lib/freading.c (freading):
* lib/freadptr.c (freadptr):
* lib/freadseek.c (freadptrinc):
* lib/fseeko.c (fseeko):
* lib/fseterr.c (fseterr):
* lib/fwritable.c (fwritable):
* lib/fwriting.c (fwriting):
Check _IO_EOF_SEEN instead of _IO_ftrylockfile.
* lib/stdio-impl.h (_IO_IN_BACKUP) [_IO_EOF_SEEN]:
Define if not already defined.
[yann.morin.1998@free.fr: partially backport from upstream gnulib]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
---
lib/fflush.c | 6 +++---
lib/fpurge.c | 2 +-
lib/freading.c | 2 +-
lib/fseeko.c | 4 ++--
lib/stdio-impl.h | 6 ++++++
7 files changed, 15 insertions(+), 9 deletions(-)
diff --git a/lib/fflush.c b/build-aux/gnulib/lib/fflush.c
index 983ade0ff..a6edfa105 100644
--- a/lib/fflush.c
+++ b/lib/fflush.c
@@ -33,7 +33,7 @@
#undef fflush
-#if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
+#if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
/* Clear the stream's ungetc buffer, preserving the value of ftello (fp). */
static void
@@ -72,7 +72,7 @@ clear_ungetc_buffer (FILE *fp)
#endif
-#if ! (defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */)
+#if ! (defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */)
# if (defined __sferror || defined __DragonFly__ || defined __ANDROID__) && defined __SNPT
/* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin, Minix 3, Android */
@@ -148,7 +148,7 @@ rpl_fflush (FILE *stream)
if (stream == NULL || ! freading (stream))
return fflush (stream);
-#if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
+#if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
clear_ungetc_buffer_preserving_position (stream);
diff --git a/lib/fpurge.c b/build-aux/gnulib/lib/fpurge.c
index b1d417c7a..3aedcc373 100644
--- a/lib/fpurge.c
+++ b/lib/fpurge.c
@@ -62,7 +62,7 @@ fpurge (FILE *fp)
/* Most systems provide FILE as a struct and the necessary bitmask in
<stdio.h>, because they need it for implementing getc() and putc() as
fast macros. */
-# if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
+# if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
fp->_IO_read_end = fp->_IO_read_ptr;
fp->_IO_write_ptr = fp->_IO_write_base;
/* Avoid memory leak when there is an active ungetc buffer. */
diff --git a/lib/freading.c b/build-aux/gnulib/lib/freading.c
index 73c28acdd..c24d0c88a 100644
--- a/lib/freading.c
+++ b/lib/freading.c
@@ -31,7 +31,7 @@ freading (FILE *fp)
/* Most systems provide FILE as a struct and the necessary bitmask in
<stdio.h>, because they need it for implementing getc() and putc() as
fast macros. */
-# if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
+# if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
return ((fp->_flags & _IO_NO_WRITES) != 0
|| ((fp->_flags & (_IO_NO_READS | _IO_CURRENTLY_PUTTING)) == 0
&& fp->_IO_read_base != NULL));
diff --git a/lib/fseeko.c b/build-aux/gnulib/lib/fseeko.c
index 0101ab55f..193f4e8ce 100644
--- a/lib/fseeko.c
+++ b/lib/fseeko.c
@@ -47,7 +47,7 @@ fseeko (FILE *fp, off_t offset, int whence)
#endif
/* These tests are based on fpurge.c. */
-#if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
+#if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
if (fp->_IO_read_end == fp->_IO_read_ptr
&& fp->_IO_write_ptr == fp->_IO_write_base
&& fp->_IO_save_base == NULL)
@@ -123,7 +123,7 @@ fseeko (FILE *fp, off_t offset, int whence)
return -1;
}
-#if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
+#if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */
fp->_flags &= ~_IO_EOF_SEEN;
fp->_offset = pos;
#elif defined __sferror || defined __DragonFly__ || defined __ANDROID__
diff --git a/lib/stdio-impl.h b/build-aux/gnulib/lib/stdio-impl.h
index 78d896e9f..05c5752a2 100644
--- a/lib/stdio-impl.h
+++ b/lib/stdio-impl.h
@@ -18,6 +18,12 @@
the same implementation of stdio extension API, except that some fields
have different naming conventions, or their access requires some casts. */
+/* Glibc 2.28 made _IO_IN_BACKUP private. For now, work around this
+ problem by defining it ourselves. FIXME: Do not rely on glibc
+ internals. */
+#if !defined _IO_IN_BACKUP && defined _IO_EOF_SEEN
+# define _IO_IN_BACKUP 0x100
+#endif
/* BSD stdio derived implementations. */
--
2.14.1

3
repo/sharutils/sources Normal file
View File

@ -0,0 +1,3 @@
ftp://ftp.gnu.org/gnu/sharutils/sharutils-4.15.2.tar.xz
patches/CVE-2018-1000097.patch
patches/fix-glibc-2.27.patch

1
repo/sharutils/version Normal file
View File

@ -0,0 +1 @@
4.15.2 1