commit 178368d

hovercats  ·  2026-06-08 03:33:26 +0000 UTC
parent 7cc9ffc
exfatprogs: port to oasis
7 files changed,  +85, -0
+4, -0
1@@ -467,3 +467,7 @@
2 	url = https://github.com/ii8/havoc.git
3 	ignore = all
4 	shallow = true
5+[submodule "pkg/exfatprogs/src"]
6+	path = pkg/exfatprogs/src
7+	url = https://github.com/exfatprogs/exfatprogs.git
8+	shallow = true
+8, -0
1@@ -0,0 +1,8 @@
2+# exfatprogs
3+
4+## config.h
5+Generated with
6+
7+	./configure \
8+	BLKID_LIBS=/src/oakiss/out/pkg/util-linux/libblkid.a \
9+	BLKID_CFLAGS=/src/oakiss/out/pkg/util-linux/include/blkid/
+36, -0
 1@@ -0,0 +1,36 @@
 2+/* #undef AC_APPLE_UNIVERSAL_BUILD */
 3+#define HAVE_BLKID 1
 4+#define HAVE_DLFCN_H 1
 5+/* #undef HAVE_EXT2_BLKID */
 6+/* #undef HAVE_FTS_H */
 7+#define HAVE_INTTYPES_H 1
 8+/* #undef HAVE_LIBFTS */
 9+#define HAVE_STDINT_H 1
10+#define HAVE_STDIO_H 1
11+#define HAVE_STDLIB_H 1
12+#define HAVE_STRINGS_H 1
13+#define HAVE_STRING_H 1
14+#define HAVE_SYS_STAT_H 1
15+#define HAVE_SYS_TYPES_H 1
16+#define HAVE_UNISTD_H 1
17+#define LT_OBJDIR ".libs/"
18+#define PACKAGE "exfatprogs"
19+#define PACKAGE_BUGREPORT "linkinjeon@kernel.org"
20+#define PACKAGE_NAME "exfatprogs"
21+#define PACKAGE_STRING "exfatprogs 1.4.1"
22+#define PACKAGE_TARNAME "exfatprogs"
23+#define PACKAGE_URL "https://github.com/exfatprogs/exfatprogs"
24+#define PACKAGE_VERSION "1.4.1"
25+#define STDC_HEADERS 1
26+#define VERSION "1.4.1"
27+#if defined AC_APPLE_UNIVERSAL_BUILD
28+# if defined __BIG_ENDIAN__
29+#  define WORDS_BIGENDIAN 1
30+# endif
31+#else
32+# ifndef WORDS_BIGENDIAN
33+/* #  undef WORDS_BIGENDIAN */
34+# endif
35+#endif
36+/* #undef _FILE_OFFSET_BITS */
37+/* #undef _LARGE_FILES */
+34, -0
 1@@ -0,0 +1,34 @@
 2+cflags{
 3+	'-I $dir',
 4+	'-I $srcdir/include',
 5+	'-isystem $builddir/pkg/util-linux/include/blkid',
 6+}
 7+
 8+lib('libexfat.a', {
 9+	'lib/exfat_dir.c',
10+	'lib/exfat_fs.c',
11+	'lib/libexfat.c',
12+	'lib/utils.c',
13+})
14+
15+exe('fsck.exfat', {
16+	'fsck/fsck.c',
17+	'fsck/repair.c',
18+	'libexfat.a',
19+})
20+
21+exe('mkfs.exfat', {
22+	'mkfs/crc.c',
23+	'mkfs/mkfs.c',
24+	'mkfs/upcase.c',
25+	'libexfat.a',
26+	'$builddir/pkg/util-linux/libblkid.a.d',
27+})
28+
29+file('bin/fsck.exfat', '755', '$outdir/fsck.exfat')
30+file('bin/mkfs.exfat', '755', '$outdir/mkfs.exfat')
31+
32+man{'manpages/fsck.exfat.8'}
33+man{'manpages/mkfs.exfat.8'}
34+
35+fetch 'git'
+1, -0
1@@ -0,0 +1 @@
2+Subproject commit 61421b7eba3153620fa97c64d04c420fcab2bc3a
+1, -0
1@@ -0,0 +1 @@
2+1.4.1
+1, -0
1@@ -17,6 +17,7 @@ subgen 'dmenu'
2 subgen 'dosfstools'
3 subgen 'e2fsprogs'
4 subgen 'elftoolchain'
5+subgen 'exfatprogs'
6 subgen 'expat'
7 subgen 'ffmpeg'
8 subgen 'file'