summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-05-10 00:01:14 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-05-10 00:01:14 +0100
commit17e5f1ea4a2e1c5664f96480ca46348d008e8711 (patch)
tree7166d1b58a582290a4ad23ff5882cca911b8035c /sys-fs
parenta0ce545d52f231499bf9f3644493113d8af58ec9 (diff)
gentoo auto-resync : 10:05:2024 - 00:01:13
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/Manifest.gzbin22241 -> 22240 bytes
-rw-r--r--sys-fs/progsreiserfs/Manifest3
-rw-r--r--sys-fs/progsreiserfs/files/progsreiserfs-0.3.1_rc8-c99-configure.patch93
-rw-r--r--sys-fs/progsreiserfs/files/progsreiserfs-0.3.1_rc8-musl-getopt_internal-fix.patch36
-rw-r--r--sys-fs/progsreiserfs/progsreiserfs-0.3.1_rc8-r1.ebuild68
5 files changed, 200 insertions, 0 deletions
diff --git a/sys-fs/Manifest.gz b/sys-fs/Manifest.gz
index 8ae32ffe6869..2eff6c0ed69c 100644
--- a/sys-fs/Manifest.gz
+++ b/sys-fs/Manifest.gz
Binary files differ
diff --git a/sys-fs/progsreiserfs/Manifest b/sys-fs/progsreiserfs/Manifest
index 57039adb5be2..eb674c8237be 100644
--- a/sys-fs/progsreiserfs/Manifest
+++ b/sys-fs/progsreiserfs/Manifest
@@ -1,4 +1,7 @@
AUX progsreiserfs-0.3.1_rc8-autotools.patch 275 BLAKE2B 74893b9f8bb59af8cc6dc38580fea353de69390210b29a01d31a6f17c1b03cc3ac1b4a05f7d99a69cf88ffcc98738cbdbc722a7d8810cbcbd560f663520e2005 SHA512 f1729ab9f61c29da2d94c4d4f8613153e28894e494a58c473ef66697820e0ff0e55b4915c9c8afef36d77dbb17501dcb6606c92ddbf2e7ecdb7c11d735e7a5d4
+AUX progsreiserfs-0.3.1_rc8-c99-configure.patch 2049 BLAKE2B c20970703063cc8ccf7e047501662d989d3c3fbe1929c51613e7f7e83161081c28359ef35828d3a2ad4be241c75516a3d6c59495e030949f83deacc708f710b3 SHA512 6c555cc75515ecd5cb12eaea4aa3caef29538fd023a8f72119a25cc08190c2bf1d51c8e73a9eac2927eee00ca794bb7f1cf2295204a31048c67efd9e2c8f614a
+AUX progsreiserfs-0.3.1_rc8-musl-getopt_internal-fix.patch 1064 BLAKE2B efacb997fa18236b20a589e7e210048d1051dabfc90f400c437c72998d91cbe474739340c16b94018082a8fb0bcfcbbd99343903156b62b0156da17b103612ac SHA512 3769a855b765e97ef48a8e22bee6c9f78e7c9cd679b0c794229712e337e6793c154a36b044011fbb15a39a5ca895841430615f7348dfda11d9329a57f1fe04b7
DIST progsreiserfs-0.3.1-rc8.tar.gz 399279 BLAKE2B 536d18ce186c9a3b796c01cdad5f622befdffcc975a82ad24d0f2dbbc3b3bac8530231bd51d460033f9ab0bf1577d533faf17f4ea5548b175a708ddc924c50f0 SHA512 65266ab5a598b2073e6893da6554bdfe43796be3bd608eb7c4f687c3ef6ed395ce67def49b62d2b3705dfdeb38bd5f5d1c91fec6ad7323788d490058b015c26d
+EBUILD progsreiserfs-0.3.1_rc8-r1.ebuild 1446 BLAKE2B 849a92925319b5a0a4e8560e31d046c703d3e0c6f9be57d8f35cbd4c64a6f6488e19e0c3afabaca7d3c18292c65a4bbdca8ba09255bfb93230bd766aec8dce6a SHA512 cbe687441135f4ea8ce950aa1f14d2d5f5f1134e6862229b0d708757bc8646349f1c66cb06fbd3336c7c66b4c7c2c9dda77b817a03d65a525924ed14a863d263
EBUILD progsreiserfs-0.3.1_rc8.ebuild 1330 BLAKE2B 29d2401fe6d0a48bcf3b4cc0a1695c09f5665e4238b9d96660ee3ed458ddf414e1efe001088268b459bd17d7445bb0180fa23e9ea99e12b62fafde52d3b2f8bd SHA512 b907c2b50bff8632dc4894dd5c22de9808f7c5fac6cde45f2b92ab5079e064937cd156a47a5744e36c072eac1e5942ba8fcde9e3669f19295a5bdd1e66d8f06f
MISC metadata.xml 426 BLAKE2B e8542ac08694bf7893d92fb0fc133b3f1bfa231990dcbce1159140a3d49180440fb90ee5779da91f86f9db16a5748c7013ea70908e80ec5a67e0b350bdabaa2f SHA512 3dddd37daef3dcfc975dec6f52b971a8d4d7346888263d5e6908e98740481f80ce042921771d1889cd1b49f5c6621928da760124d42b1a351beb43fd7c4c4b07
diff --git a/sys-fs/progsreiserfs/files/progsreiserfs-0.3.1_rc8-c99-configure.patch b/sys-fs/progsreiserfs/files/progsreiserfs-0.3.1_rc8-c99-configure.patch
new file mode 100644
index 000000000000..23fec252657b
--- /dev/null
+++ b/sys-fs/progsreiserfs/files/progsreiserfs-0.3.1_rc8-c99-configure.patch
@@ -0,0 +1,93 @@
+configure-only as cannot regenerate with new autotools :(
+--- a/configure
++++ b/configure
+@@ -7486,6 +7486,7 @@ else
+ #line 7486 "configure"
+ #include "confdefs.h"
+ #include <ctype.h>
++#include <stdlib.h>
+ #if ((' ' & 0x0FF) == 0x020)
+ # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
+ # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
+@@ -9698,6 +9699,7 @@ else
+ #line 9698 "configure"
+ #include "confdefs.h"
+ #include <ctype.h>
++#include <stdlib.h>
+ #if ((' ' & 0x0FF) == 0x020)
+ # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
+ # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
+--- a/configure
++++ b/configure
+@@ -2279,6 +2279,7 @@ rm -f conftest.$ac_objext conftest.$ac_ext
+ cat >conftest.$ac_ext <<_ACEOF
+ #line 2280 "configure"
+ #include "confdefs.h"
++#include <stdlib.h>
+ $ac_declaration
+ int
+ main ()
+@@ -3088,6 +3089,7 @@ else
+ #include "confdefs.h"
+
+ #include <stdio.h>
++ #include <stdlib.h>
+ #include <sys/types.h>
+ #include <unistd.h>
+
+@@ -6541,6 +6543,7 @@ else
+ #endif
+
+ #include <stdio.h>
++#include <stdlib.h>
+
+ #ifdef RTLD_GLOBAL
+ # define LT_DLGLOBAL RTLD_GLOBAL
+@@ -6638,6 +6641,7 @@ else
+ #endif
+
+ #include <stdio.h>
++#include <stdlib.h>
+
+ #ifdef RTLD_GLOBAL
+ # define LT_DLGLOBAL RTLD_GLOBAL
+@@ -8165,6 +8169,7 @@ else
+ cat >conftest.$ac_ext <<_ACEOF
+ #line 8165 "configure"
+ #include "confdefs.h"
++#include <stdlib.h>
+ int
+ find_stack_direction ()
+ {
+@@ -8368,6 +8373,7 @@ $ac_includes_default
+
+ #include <fcntl.h>
+ #include <sys/mman.h>
++#include <stdlib.h>
+
+ #if !STDC_HEADERS && !HAVE_STDLIB_H
+ char *malloc ();
+@@ -9957,6 +9963,7 @@ else
+ cat >conftest.$ac_ext <<_ACEOF
+ #line 9956 "configure"
+ #include "confdefs.h"
++#include <stdlib.h>
+ int
+ main ()
+ {
+@@ -10438,6 +10445,7 @@ else
+ cat >conftest.$ac_ext <<_ACEOF
+ #line 10437 "configure"
+ #include "confdefs.h"
++#include <stdlib.h>
+ int
+ find_stack_direction ()
+ {
+@@ -10745,6 +10753,7 @@ $ac_includes_default
+
+ #include <fcntl.h>
+ #include <sys/mman.h>
++#include <stdlib.h>
+
+ #if !STDC_HEADERS && !HAVE_STDLIB_H
+ char *malloc ();
diff --git a/sys-fs/progsreiserfs/files/progsreiserfs-0.3.1_rc8-musl-getopt_internal-fix.patch b/sys-fs/progsreiserfs/files/progsreiserfs-0.3.1_rc8-musl-getopt_internal-fix.patch
new file mode 100644
index 000000000000..06ba7e357a55
--- /dev/null
+++ b/sys-fs/progsreiserfs/files/progsreiserfs-0.3.1_rc8-musl-getopt_internal-fix.patch
@@ -0,0 +1,36 @@
+Bug: https://bugs.gentoo.org/898616
+From: Brahmajit Das <brahmajit.xyz@gmail.com>
+Date: Tue, 13 Jun 2023 05:23:45 +0000
+Subject: [PATCH] getopt1.c: wrap the getopt_long and getopt_long_only
+ functions around include directive
+
+The header guard HAVE_GETOPT_LONG_ONLY can be used to check if the
+functions are available or not, as the functions getopt_long and
+getopt_long_only defined in getopt1.c uses the function _getopt_internal
+which is glibc specific and cannot be used on other libc systems (for
+example musl).
+Hence we're wrapping those two functions with this include guard.
+
+Bug: https://bugs.gentoo.org/898616
+Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
+--- a/progsreiserfs/libmisc/getopt1.c
++++ b/progsreiserfs/libmisc/getopt1.c
+@@ -63,6 +63,7 @@
+ #define NULL 0
+ #endif
+
++#ifndef HAVE_GETOPT_LONG_ONLY
+ int
+ getopt_long(argc, argv, options, long_options, opt_index)
+ int argc;
+@@ -89,6 +90,7 @@ int
+ {
+ return _getopt_internal(argc, argv, options, long_options, opt_index, 1);
+ }
++#endif
+
+ #endif /* Not ELIDE_CODE. */
+
+--
+2.41.0
+
diff --git a/sys-fs/progsreiserfs/progsreiserfs-0.3.1_rc8-r1.ebuild b/sys-fs/progsreiserfs/progsreiserfs-0.3.1_rc8-r1.ebuild
new file mode 100644
index 000000000000..7032c07d8a37
--- /dev/null
+++ b/sys-fs/progsreiserfs/progsreiserfs-0.3.1_rc8-r1.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit flag-o-matic libtool
+
+MY_P=${PN}-${PV/_/-}
+
+DESCRIPTION="Library for accessing and manipulating reiserfs partitions"
+HOMEPAGE="http://reiserfs.linux.kiev.ua/"
+SRC_URI="http://reiserfs.linux.kiev.ua/snapshots/${MY_P}.tar.gz"
+S="${WORKDIR}"/${MY_P}
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="debug examples nls static-libs"
+
+DEPEND="
+ sys-apps/util-linux
+ nls? (
+ sys-devel/gettext
+ virtual/libintl
+ )
+"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-autotools.patch
+ "${FILESDIR}"/${PN}-0.3.1_rc8-musl-getopt_internal-fix.patch
+ "${FILESDIR}"/${PN}-0.3.1_rc8-c99-configure.patch
+)
+
+src_prepare() {
+ default
+
+ elibtoolize
+}
+
+src_configure() {
+ filter-lfs-flags
+
+ econf \
+ $(use_enable static-libs static) \
+ --disable-Werror \
+ $(use_enable nls) \
+ $(use_enable debug)
+}
+
+src_install() {
+ default
+
+ if use examples; then
+ docinto examples
+ dodoc demos/*.c
+ fi
+
+ find "${ED}" -name '*.la' -delete || die
+
+ rm -r "${ED}"/usr/{sbin,share/man} || die
+}
+
+pkg_postinst() {
+ ewarn "progsreiserfs has been proven dangerous in the past, generating bad"
+ ewarn "partitions and destroying data on resize/cpfs operations."
+ ewarn "Because of this, we do NOT provide their binaries, but only their"
+ ewarn "libraries instead, as these are needed for other applications."
+}