From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 10 Feb 2023 15:18:33 +0100 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1pQUEV-0036Nv-1i for lore@lore.pengutronix.de; Fri, 10 Feb 2023 15:18:33 +0100 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1pQUES-00013M-Pv; Fri, 10 Feb 2023 15:18:32 +0100 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pQUDP-0005bc-1p; Fri, 10 Feb 2023 15:17:27 +0100 Received: from [2a0a:edc0:0:1101:1d::54] (helo=dude05.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1pQUDN-0040Ai-6F; Fri, 10 Feb 2023 15:17:26 +0100 Received: from mol by dude05.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1pQUDN-00EpUC-OF; Fri, 10 Feb 2023 15:17:25 +0100 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Fri, 10 Feb 2023 15:17:25 +0100 Message-Id: <20230210141725.3534461-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230209111556.653774-1-christian.melki@t2data.com> References: <20230209111556.653774-1-christian.melki@t2data.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [ptxdist] [APPLIED] e2fsprog: Version bump + fixes. 1.46.6 -> 1.47.0 X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: Christian Melki Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false Thanks, applied as 008fa06e37cd9b93d2164704d73b251016448220. Michael [sent from post-receive hook] On Fri, 10 Feb 2023 15:17:25 +0100, Christian Melki wrote: > https://github.com/tytso/e2fsprogs/blob/master/doc/RelNotes/v1.47.0.txt > The biggest change is default backwards incompatibility > with kernels < 4.4. 4.4 LTS was EOL a year ago. > > * Add patch to disable doc building and installing. > Was in need of several tools and the result is pretty much unused. > * Add patch to fix LDCONFIG permission mishap. > Choosen solution is to disable the LDCONFIG call through this patch. > > Signed-off-by: Christian Melki > Message-Id: <20230209111556.653774-1-christian.melki@t2data.com> > Signed-off-by: Michael Olbrich > > diff --git a/patches/e2fsprogs-1.47.0/0001-e2fsprogs-Disable-docs.patch b/patches/e2fsprogs-1.47.0/0001-e2fsprogs-Disable-docs.patch > new file mode 100644 > index 000000000000..38a8cc8ebc00 > --- /dev/null > +++ b/patches/e2fsprogs-1.47.0/0001-e2fsprogs-Disable-docs.patch > @@ -0,0 +1,37 @@ > +From: Christian Melki > +Date: Thu, 9 Feb 2023 09:41:43 +0100 > +Subject: [PATCH] e2fsprogs: Disable docs. > + > +Disable doc building and installing. > + > +Signed-off-by: Christian Melki > +--- > + Makefile.in | 5 ++--- > + 1 file changed, 2 insertions(+), 3 deletions(-) > + > +diff --git a/Makefile.in b/Makefile.in > +index 79b71165002d..0b80c20d4858 100644 > +--- a/Makefile.in > ++++ b/Makefile.in > +@@ -35,7 +35,6 @@ TAR=tar > + all:: subs > + $(MAKE) libs > + @ALL_CMT@ $(MAKE) progs > +-@ALL_CMT@ $(MAKE) docs > + > + all-static:: > + $(MAKE) libs > +@@ -72,11 +71,11 @@ distclean-doc: > + -test -d doc && cd doc && $(MAKE) distclean > + > + install: subs all-libs-recursive install-progs-recursive \ > +- install-shlibs-libs-recursive install-doc-libs > ++ install-shlibs-libs-recursive > + @SUBSET_CMT@ $(MAKE) install-libs > + > + install-strip: subs all-libs-recursive install-strip-progs-recursive \ > +- install-shlibs-strip-libs-recursive install-doc-libs > ++ install-shlibs-strip-libs-recursive > + > + uninstall: uninstall-progs-recursive uninstall-shlibs-libs-recursive uninstall-doc-libs > + > diff --git a/patches/e2fsprogs-1.47.0/0002-e2fsprogs-Disable-ldconfig.patch b/patches/e2fsprogs-1.47.0/0002-e2fsprogs-Disable-ldconfig.patch > new file mode 100644 > index 000000000000..100d5bc5e870 > --- /dev/null > +++ b/patches/e2fsprogs-1.47.0/0002-e2fsprogs-Disable-ldconfig.patch > @@ -0,0 +1,29 @@ > +From: Christian Melki > +Date: Thu, 9 Feb 2023 09:42:26 +0100 > +Subject: [PATCH] e2fsprogs: Disable ldconfig. > + > +ldconfig on shlibs pokes files which are normally not > +accessible for non-root users. > +There are two ways to deal with this. > +1. Patch it, disabling the call. > +2. point ldconfig to something like ac_cv_path_LDCONFIG=true > +This patch inplements the former. > + > +Signed-off-by: Christian Melki > +--- > + lib/Makefile.elf-lib | 2 -- > + 1 file changed, 2 deletions(-) > + > +diff --git a/lib/Makefile.elf-lib b/lib/Makefile.elf-lib > +index f850f3ddb795..ea0bbde82b2f 100644 > +--- a/lib/Makefile.elf-lib > ++++ b/lib/Makefile.elf-lib > +@@ -50,8 +50,6 @@ install-shlibs install:: $(ELF_LIB) installdirs-elf-lib $(DEP_INSTALL_SYMLINK) > + $(E) " SYMLINK $(libdir)/$(ELF_IMAGE).so" > + $(Q) $(INSTALL_SYMLINK) $(ELF_INSTALL_DIR)/$(ELF_SONAME) \ > + $(libdir)/$(ELF_IMAGE).so $(DESTDIR) > +- $(E) " LDCONFIG" > +- $(Q) -$(LDCONFIG) > + > + install-strip: install > + $(E) " STRIP-LIB $(ELF_INSTALL_DIR)/$(ELF_LIB)" > diff --git a/patches/e2fsprogs-1.47.0/series b/patches/e2fsprogs-1.47.0/series > new file mode 100644 > index 000000000000..8c305fa95d9b > --- /dev/null > +++ b/patches/e2fsprogs-1.47.0/series > @@ -0,0 +1,5 @@ > +# generated by git-ptx-patches > +#tag:base --start-number 1 > +0001-e2fsprogs-Disable-docs.patch > +0002-e2fsprogs-Disable-ldconfig.patch > +# f58965e369e408e8446728c89acd0147 - git-ptx-patches magic > diff --git a/rules/e2fsprogs.make b/rules/e2fsprogs.make > index 12e632423c8a..87f1004f3323 100644 > --- a/rules/e2fsprogs.make > +++ b/rules/e2fsprogs.make > @@ -15,8 +15,8 @@ PACKAGES-$(PTXCONF_E2FSPROGS) += e2fsprogs > # > # Paths and names > # > -E2FSPROGS_VERSION := 1.46.6 > -E2FSPROGS_MD5 := ffcc9cbcc9fac7efe3e52d41e36099f3 > +E2FSPROGS_VERSION := 1.47.0 > +E2FSPROGS_MD5 := 6b4f18a33873623041857b4963641ee9 > E2FSPROGS := e2fsprogs-$(E2FSPROGS_VERSION) > E2FSPROGS_SUFFIX := tar.gz > E2FSPROGS_URL := $(call ptx/mirror, SF, e2fsprogs/e2fsprogs/v$(E2FSPROGS_VERSION)/$(E2FSPROGS).$(E2FSPROGS_SUFFIX))