logo

oasis

Own branch of Oasis Linux (upstream: <https://git.sr.ht/~mcf/oasis/>) git clone https://anongit.hacktivis.me/git/oasis.git
commit: dc7887f6b8c35a599e203052a0bcda0ea6a2e1d9
parent 43fe67e5cbb60e035fffc44cf9566765f8d07fc7
Author: hovercats <hovercatswithlasereyes@protonmail.com>
Date:   Wed,  3 Jan 2024 15:33:36 +0100

file: 5.45

Diffstat:

Apkg/file/README.md11+++++++++++
Mpkg/file/config.h71+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------
Mpkg/file/gen.lua6+++---
Mpkg/file/magic.txt10+++++++++-
Mpkg/file/ver2+-
5 files changed, 83 insertions(+), 17 deletions(-)

diff --git a/pkg/file/README.md b/pkg/file/README.md @@ -0,0 +1,11 @@ +# file + +## config.h +Generated with +``` +./configure \ + --disable-xzlib \ + --disable-bzlib \ + --disable-zstdlib \ + --disable-lzlib +``` diff --git a/pkg/file/config.h b/pkg/file/config.h @@ -27,15 +27,18 @@ #define HAVE_INTTYPES_H 1 /* #undef HAVE_LIBBZ2 */ /* #undef HAVE_LIBGNURX */ +/* #undef HAVE_LIBLZ */ /* #undef HAVE_LIBLZMA */ /* #undef HAVE_LIBSECCOMP */ #define HAVE_LIBZ 1 +/* #undef HAVE_LIBZSTD */ #define HAVE_LOCALTIME_R 1 +/* #undef HAVE_LZLIB_H */ /* #undef HAVE_LZMA_H */ #define HAVE_MBRTOWC 1 #define HAVE_MBSTATE_T 1 #define HAVE_MEMMEM 1 -#define HAVE_MEMORY_H 1 +/* #undef HAVE_MINIX_CONFIG_H */ #define HAVE_MKOSTEMP 1 #define HAVE_MKSTEMP 1 #define HAVE_MMAP 1 @@ -46,6 +49,7 @@ #define HAVE_SIG_T 1 #define HAVE_SPAWN_H 1 #define HAVE_STDINT_H 1 +#define HAVE_STDIO_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRCASESTR 1 #define HAVE_STRINGS_H 1 @@ -88,34 +92,82 @@ #define HAVE_WORKING_VFORK 1 /* #undef HAVE_XLOCALE_H */ #define HAVE_ZLIB_H 1 +/* #undef HAVE_ZSTD_ERRORS_H */ +/* #undef HAVE_ZSTD_H */ #define LT_OBJDIR ".libs/" +/* #undef LZLIBSUPPORT */ /* #undef MAJOR_IN_MKDEV */ #define MAJOR_IN_SYSMACROS 1 #define PACKAGE "file" #define PACKAGE_BUGREPORT "christos@astron.com" #define PACKAGE_NAME "file" -#define PACKAGE_STRING "file 5.42" +#define PACKAGE_STRING "file 5.45" #define PACKAGE_TARNAME "file" #define PACKAGE_URL "" -#define PACKAGE_VERSION "5.42" +#define PACKAGE_VERSION "5.45" #define STDC_HEADERS 1 /* #undef TM_IN_SYS_TIME */ #ifndef _ALL_SOURCE # define _ALL_SOURCE 1 #endif +#ifndef _DARWIN_C_SOURCE +# define _DARWIN_C_SOURCE 1 +#endif +#ifndef __EXTENSIONS__ +# define __EXTENSIONS__ 1 +#endif #ifndef _GNU_SOURCE # define _GNU_SOURCE 1 #endif +#ifndef _HPUX_ALT_XOPEN_SOCKET_API +# define _HPUX_ALT_XOPEN_SOCKET_API 1 +#endif +#ifndef _MINIX +/* # undef _MINIX */ +#endif +#ifndef _NETBSD_SOURCE +# define _NETBSD_SOURCE 1 +#endif +#ifndef _OPENBSD_SOURCE +# define _OPENBSD_SOURCE 1 +#endif +#ifndef _POSIX_SOURCE +/* # undef _POSIX_SOURCE */ +#endif +#ifndef _POSIX_1_SOURCE +/* # undef _POSIX_1_SOURCE */ +#endif #ifndef _POSIX_PTHREAD_SEMANTICS # define _POSIX_PTHREAD_SEMANTICS 1 #endif +#ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ +# define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 +#endif +#ifndef __STDC_WANT_IEC_60559_BFP_EXT__ +# define __STDC_WANT_IEC_60559_BFP_EXT__ 1 +#endif +#ifndef __STDC_WANT_IEC_60559_DFP_EXT__ +# define __STDC_WANT_IEC_60559_DFP_EXT__ 1 +#endif +#ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__ +# define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 +#endif +#ifndef __STDC_WANT_IEC_60559_TYPES_EXT__ +# define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 +#endif +#ifndef __STDC_WANT_LIB_EXT2__ +# define __STDC_WANT_LIB_EXT2__ 1 +#endif +#ifndef __STDC_WANT_MATH_SPEC_FUNCS__ +# define __STDC_WANT_MATH_SPEC_FUNCS__ 1 +#endif #ifndef _TANDEM_SOURCE # define _TANDEM_SOURCE 1 #endif -#ifndef __EXTENSIONS__ -# define __EXTENSIONS__ 1 +#ifndef _XOPEN_SOURCE +/* # undef _XOPEN_SOURCE */ #endif -#define VERSION "5.42" +#define VERSION "5.45" #if defined AC_APPLE_UNIVERSAL_BUILD # if defined __BIG_ENDIAN__ # define WORDS_BIGENDIAN 1 @@ -127,15 +179,10 @@ #endif /* #undef XZLIBSUPPORT */ #define ZLIBSUPPORT 1 -#ifndef _DARWIN_USE_64_BIT_INODE -# define _DARWIN_USE_64_BIT_INODE 1 -#endif +/* #undef ZSTDLIBSUPPORT */ /* #undef _FILE_OFFSET_BITS */ /* #undef _LARGEFILE_SOURCE */ /* #undef _LARGE_FILES */ -/* #undef _MINIX */ -/* #undef _POSIX_1_SOURCE */ -/* #undef _POSIX_SOURCE */ /* #undef _UINT32_T */ /* #undef _UINT64_T */ /* #undef _UINT8_T */ diff --git a/pkg/file/gen.lua b/pkg/file/gen.lua @@ -1,4 +1,4 @@ -local version = '5.42' +local version = '5.45' cflags{ '-Wall', '-Wno-maybe-uninitialized', -- false positive in src/readelf.c @@ -28,8 +28,8 @@ pkg.deps = {'$gendir/headers', 'pkg/zlib/headers'} lib('libmagic.a', [[src/( buffer.c magic.c apprentice.c softmagic.c ascmagic.c - encoding.c compress.c is_csv.c is_json.c is_tar.c readelf.c print.c - fsmagic.c funcs.c apptype.c der.c + encoding.c compress.c is_csv.c is_json.c is_simh.c is_tar.c readelf.c + print.c fsmagic.c funcs.c apptype.c der.c cdf.c cdf_time.c readcdf.c fmtcheck.c diff --git a/pkg/file/magic.txt b/pkg/file/magic.txt @@ -42,6 +42,7 @@ bout bsdi bsi btsnoop +burp bytecode c-lang c64 @@ -80,8 +81,8 @@ dif diff digital dolby -dsf dump +dwarfs dyadic ebml edid @@ -97,6 +98,7 @@ etf fcs filesystems finger +firmware flash flif fonts @@ -109,6 +111,7 @@ fusecompress games gcc gconv +gentoo geo geos gimp @@ -233,6 +236,7 @@ pgp pgp-binary-keys pkgadd plan9 +playdate plus5 pmem polyml @@ -248,12 +252,14 @@ python qt revision riff +ringdove rpi rpm rpmsg rst rtf ruby +rust sc sccs scientific @@ -279,7 +285,9 @@ sql ssh ssl statistics +subtitle sun +svf sylk symbos sysex diff --git a/pkg/file/ver b/pkg/file/ver @@ -1 +1 @@ -5.42 r0 +5.45 r0