mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-02 01:18:08 +01:00
Ever since an old patch version, it has (for reasonable security reasons) not supported patched with ../ in the filename. Many of our patches have been relying on this behaviour being OK, because we start off with an ancient patch version that didn't perform such checks. As soon as we need this behaviour after we build a newer patch though, we will have problems. So, let's change the policy. Patches are relative to where tarballs are extracted, rather than the "working directory" - e.g. have patches for `coreutils-9.4/src/cp.c` instead of `src/cp.c`. Keeping this consistent has a few implications; - patches are applied from the build/ directory in bash era now, with `-p0` - when patches are manually applied in the bash era, use `-p` as required, usually `-p1` - in kaem era where patches are always manually applied, `-p1` is used
82 lines
2.7 KiB
Diff
82 lines
2.7 KiB
Diff
# SPDX-FileCopyrightText: 2022 fosslinux <fosslinux@aussies.space>
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
Disable gettext, which we do not have at this time, along with pkg-config.
|
|
|
|
--- e2fsprogs-1.45.7/configure.ac 2022-05-18 15:12:53.633061872 +1000
|
|
+++ e2fsprogs-1.45.7/configure.ac 2022-05-18 19:09:13.351790066 +1000
|
|
@@ -860,20 +860,7 @@
|
|
dnl
|
|
MAKEFILE_LIBRARY=$srcdir/lib/Makefile.library
|
|
AC_SUBST_FILE(MAKEFILE_LIBRARY)
|
|
-dnl
|
|
-dnl Add internationalization support, using gettext.
|
|
-dnl
|
|
-GETTEXT_PACKAGE=e2fsprogs
|
|
-PACKAGE=e2fsprogs
|
|
-VERSION="$E2FSPROGS_VERSION"
|
|
-VERSION=0.14.1
|
|
-AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [package name for gettext])
|
|
-AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [version for gettext])
|
|
-AC_SUBST(GETTEXT_PACKAGE)
|
|
-AC_SUBST(PACKAGE)
|
|
-AC_SUBST(VERSION)
|
|
|
|
-AM_GNU_GETTEXT
|
|
dnl
|
|
dnl End of configuration options
|
|
dnl
|
|
@@ -1637,15 +1624,6 @@
|
|
[with_udev_rules_dir=yes])
|
|
AS_IF([test "x${with_udev_rules_dir}" != "xno"],
|
|
[
|
|
- AS_IF([test "x${with_udev_rules_dir}" = "xyes"],
|
|
- [
|
|
- PKG_CHECK_MODULES([udev], [udev],
|
|
- [
|
|
- with_udev_rules_dir="$($PKG_CONFIG --variable=udevdir udev)/rules.d"
|
|
- ], [
|
|
- with_udev_rules_dir=""
|
|
- ])
|
|
- ])
|
|
AC_MSG_CHECKING([for udev rules dir])
|
|
pkg_udev_rules_dir="${with_udev_rules_dir}"
|
|
AS_IF([test -n "${pkg_udev_rules_dir}"],
|
|
@@ -1708,16 +1686,6 @@
|
|
[with_systemd_unit_dir=yes])
|
|
AS_IF([test "x${with_systemd_unit_dir}" != "xno"],
|
|
[
|
|
- AS_IF([test "x${with_systemd_unit_dir}" = "xyes"],
|
|
- [
|
|
- PKG_CHECK_MODULES([systemd], [systemd],
|
|
- [
|
|
- with_systemd_unit_dir="$($PKG_CONFIG --variable=systemdsystemunitdir systemd)"
|
|
- ], [
|
|
- with_systemd_unit_dir=""
|
|
- ])
|
|
- m4_pattern_allow([^PKG_(MAJOR|MINOR|BUILD|REVISION)$])
|
|
- ])
|
|
AC_MSG_CHECKING([for systemd system unit dir])
|
|
systemd_system_unit_dir="${with_systemd_unit_dir}"
|
|
AS_IF([test -n "${systemd_system_unit_dir}"],
|
|
--- e2fsprogs-1.45.7/Makefile.in 2022-05-18 19:41:37.596959349 +1000
|
|
+++ e2fsprogs-1.45.7/Makefile.in 2022-05-18 19:41:41.109050161 +1000
|
|
@@ -20,7 +20,7 @@
|
|
@ALL_CMT@EXT2FS_LIB_SUBDIR= lib/ext2fs
|
|
|
|
LIB_SUBDIRS=lib/et lib/ss $(E2P_LIB_SUBDIR) $(UUID_LIB_SUBDIR) \
|
|
- $(BLKID_LIB_SUBDIR) $(SUPPORT_LIB_SUBDIR) $(EXT2FS_LIB_SUBDIR) intl
|
|
+ $(BLKID_LIB_SUBDIR) $(SUPPORT_LIB_SUBDIR) $(EXT2FS_LIB_SUBDIR)
|
|
|
|
PROG_SUBDIRS=e2fsck $(DEBUGFS_DIR) misc $(RESIZE_DIR) tests/progs po \
|
|
$(E2SCRUB_DIR)
|
|
@@ -22,7 +22,7 @@
|
|
LIB_SUBDIRS=lib/et lib/ss $(E2P_LIB_SUBDIR) $(UUID_LIB_SUBDIR) \
|
|
$(BLKID_LIB_SUBDIR) $(SUPPORT_LIB_SUBDIR) $(EXT2FS_LIB_SUBDIR)
|
|
|
|
-PROG_SUBDIRS=e2fsck $(DEBUGFS_DIR) misc $(RESIZE_DIR) tests/progs po \
|
|
+PROG_SUBDIRS=e2fsck $(DEBUGFS_DIR) misc $(RESIZE_DIR) tests/progs \
|
|
$(E2SCRUB_DIR)
|
|
|
|
SUBDIRS=util $(LIB_SUBDIRS) $(PROG_SUBDIRS) tests
|