From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Thu, 09 Feb 2023 12:16:44 +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 1pQ4uz-001a8w-E0 for lore@lore.pengutronix.de; Thu, 09 Feb 2023 12:16:44 +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 1pQ4uw-0001Y8-GQ; Thu, 09 Feb 2023 12:16:42 +0100 Received: from mail-am7eur03on2048.outbound.protection.outlook.com ([40.107.105.48] helo=EUR03-AM7-obe.outbound.protection.outlook.com) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pQ4uS-0001Xx-EC for ptxdist@pengutronix.de; Thu, 09 Feb 2023 12:16:13 +0100 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LqCO3yuv4xHTKgQTlmrTxFsouMN8rVoXB1cQLKataJfW9bU0n7tD5PF6bOehCVdSuRFxjc+IynRNu+Ku22OpdakaCxNbaFBn5G3d59MaX48YTxaXGwb1XqknHbdBrLOz01a77OZPLke0ZLyhBlrW2z8W7zdpj2u1FTL1x/rqvoxkc1foBWRMiaXt1InRSF0aVquTItnx8Z1i4oMh+to7z8WM3x0eIlbkfWI+f8SD4yN5rlPmwe14Rx/HimahUC2P5XBe7Bq6W0UldzIRpx+AFMGS/Bm7CCzPVmN6YC6DLIlrhqSI3mLoCMriNpKfpFtShN6CGSG46z54ID5iBPf7OA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=p3L28ZSgt7XduU0lJsZwxGaho86mhHUGXcKSa89ObJI=; b=ber9gkTsmr681dhAJpggz3j7tMvR7XTy5IFPcDp/wh8OHT8O36mvEgp3++IUiCSWED+EtQnpUhuChFku6DiJdClMW0kIHrRaOsaIaEJuzC+xEAKdMFfzCXYIWMZNEYJz/K+OPoLRePNegFSvIaDhswhMpQW3lbZop3wdu20YpRcrNu/SLiqtmaiDdpvwRmlxBhPL3x7WG6dnqb701J/XereodXZtTDwgrM9yvz19eZGqPh4nVn8QMm6i8htUykUCXOgP1EwGYp2X2JlvbKYLuznMj5mAQLih1KHekX31g3vNHY549QB9UWUGRqwOb7jfTHRs6i8E/3CJD4diwL5OVQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=t2data.com; dmarc=pass action=none header.from=t2data.com; dkim=pass header.d=t2data.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=t2datacom.onmicrosoft.com; s=selector1-t2datacom-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=p3L28ZSgt7XduU0lJsZwxGaho86mhHUGXcKSa89ObJI=; b=dzONnBKiezAxnXVLaEub5KGMOzABj33V17aowiIB3HkEigN/rqQ5mjn5I5U6CK9HbAnPxTTsgHsrS+438KoXHisIelfSYRVy4BiG91l00OeWEmjsHxIBBFRMD+f64og280EiMazhhGOIVfQFpCFEoUSGisIXU1FSxUfajWBc1Mo= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=t2data.com; Received: from DB9P251MB0618.EURP251.PROD.OUTLOOK.COM (2603:10a6:10:334::22) by PRAP251MB0707.EURP251.PROD.OUTLOOK.COM (2603:10a6:102:298::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6064.34; Thu, 9 Feb 2023 11:16:09 +0000 Received: from DB9P251MB0618.EURP251.PROD.OUTLOOK.COM ([fe80::d8cf:bdbe:3526:aa50]) by DB9P251MB0618.EURP251.PROD.OUTLOOK.COM ([fe80::d8cf:bdbe:3526:aa50%5]) with mapi id 15.20.6086.018; Thu, 9 Feb 2023 11:16:09 +0000 From: Christian Melki To: ptxdist@pengutronix.de Date: Thu, 9 Feb 2023 12:15:56 +0100 Message-Id: <20230209111556.653774-1-christian.melki@t2data.com> X-Mailer: git-send-email 2.34.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: GVYP280CA0037.SWEP280.PROD.OUTLOOK.COM (2603:10a6:150:f9::19) To DB9P251MB0618.EURP251.PROD.OUTLOOK.COM (2603:10a6:10:334::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB9P251MB0618:EE_|PRAP251MB0707:EE_ X-MS-Office365-Filtering-Correlation-Id: aada5cca-0bc9-4e43-0885-08db0a8f0b6c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 9ArDU/eFY2SE+Xm5ClYGI5pz8bM84th8YTI8j7J1WBi73q3ro7PdvfoqpRwhoJ0e7AXpHEYao4YjpWkGuGIEPJMVkD4/9mi5gv802bPu4yJ4TGjyBcjudiP2keJwmAMqFSdBejF11irrWatnOtT6H2YTzH/HXlPdn3Rw5zU7j+nZuIdGj4qHprxsHW8KnIoWASAmIHHJs5N6sENQtIObAuR05XG7L/clnjgGY9k7Ii1L7JvEtCTM7+h2yxlqAX9KauskuEObDPTjuXJNbm0SyNDTrTWbB/V4Nun1Wr41C57skex+gxUwm3dk7BMipn7LjEjomeaGYH1Tq6wHsHRNeB3pE9452FFW2M9XVNsCQhgLYm0SzUi12lHMFy7nzIGiFP/ixYGhNnjdtDcX9BY+idJKXn7kAnSjfAzsQIOg6qEp1+JWp29QGwj09HUlw9m1elYKqyo32sVl7czAeHwfJQon9KCA1mTSbqZj7oNj4MgeeghlLm3DC+6TmA0FrRTZRnnd1iFyQg0oJ+GG9GwizcaH6pTMRHdFtaDmTMLQp8BksBw2M1hbkouKRHU4ziEg+0jf79kcvfHDE4G1kB0n2uJsrMKgT7YREdUP1AAi9wa7rKRVmPk7j29Iijj54mXyURAr6FDF5K03DZXwcUegHXTcvGxEH+ab4l781lnP5GkH5U8LZZSTQaVKZLeE4TNAnVwIJCeUw/qUxVF+g0x2Hw+gnrTDHXqSfZtozXNUwoA= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB9P251MB0618.EURP251.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(13230025)(376002)(366004)(39830400003)(396003)(136003)(346002)(451199018)(6666004)(86362001)(83380400001)(2616005)(966005)(66946007)(6486002)(8676002)(6916009)(52116002)(41300700001)(44832011)(66556008)(66476007)(36756003)(478600001)(316002)(2906002)(38100700002)(38350700002)(26005)(6512007)(186003)(8936002)(1076003)(6506007)(66899018)(5660300002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?XzIYjJtD+tKwmV7xPwyi0mYyD97VlkM40UuhJcXVFzfsZp52Cgp3x4gRmLxm?= =?us-ascii?Q?dB6hf4hbHeXjfHqilmdLxv25NKZz3tOe/0prUxLaGeioJP0GYbgwfeRk8Ff7?= =?us-ascii?Q?VOt1pRUQptwpZpu3BHznC/fMaa05pQfOt+MhcqoQUE/vNvsX9n6cZdSM7yK2?= =?us-ascii?Q?zi8IDRjxlglJWn8L6kd8UPA+WGPk7SBwLACdTNeZRAt8go5UztxAZBi3l6nh?= =?us-ascii?Q?wQ3ADNOWNEfpiHMyMkPZmKIAIzVhaCXCOEMv6mTcPCKXYJs6aSRMmfxGw1kK?= =?us-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1MBx8XowAmV5Q9Jtleh/1IEc7?= =?us-ascii?Q?ranucJ72UgDqtH/6huyHMXFCjkiyoS7Hnoiq5ihU+g3ZZ/SN5dQ8KRSOfXAn?= =?us-ascii?Q?ehLrR21glTcn2kdtnBzhfcDwFbKPkw4g1Zm9hjKWDfC9r7MICJRz0hEHiwKv?= =?us-ascii?Q?QBAW9ocMmT9eF4C1wwH5eeq6EsnqFpxCwhZQ6xlgHlMhVNPpPwx9BABTI8Qb?= =?us-ascii?Q?W5rSW+ZILZkGnbaWIpGMyuTwKIYDRzggH1MOSVKrC40inGUwzh12v1Q/Dcmd?= =?us-ascii?Q?j3f4xD12CGc9AkQX9s5OtFuyVAI8kQ3CHYiDVgElxE9aYHf/xtwa8M1851PN?= =?us-ascii?Q?ngV0Ad7c3tw4HejzX4UMOMQRalUO3LSml8z+Z/Cxe4SagLPhWR7n6bGlZEbO?= =?us-ascii?Q?NnNbFAyaZho9lzgD3w7yzgRE2Ldymc3TL0iPopJHEEOSiAPT4Jcerqwqb/Nw?= =?us-ascii?Q?5Q=3D=3D?= X-OriginatorOrg: t2data.com X-MS-Exchange-CrossTenant-Network-Message-Id: aada5cca-0bc9-4e43-0885-08db0a8f0b6c X-MS-Exchange-CrossTenant-AuthSource: DB9P251MB0618.EURP251.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Feb 2023 11:16:09.3318 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 27928da5-aacd-4ba1-9566-c748a6863e6c X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: mICp1Ag/3lErHYmebubcXXBAW76bEkr4wk/PI4Lne8xUo/C7C935LqltT6sOLRub5chcW5k6YlC0Xosr8dV/IBT4D9nuu2hTerF1/6Zg25o= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PRAP251MB0707 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.ext.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-2.0 required=4.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Subject: [ptxdist] [PATCH] 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 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 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 --- .../0001-e2fsprogs-Disable-docs.patch | 37 +++++++++++++++++++ .../0002-e2fsprogs-Disable-ldconfig.patch | 29 +++++++++++++++ patches/e2fsprogs-1.47.0/series | 5 +++ rules/e2fsprogs.make | 4 +- 4 files changed, 73 insertions(+), 2 deletions(-) create mode 100644 patches/e2fsprogs-1.47.0/0001-e2fsprogs-Disable-docs.patch create mode 100644 patches/e2fsprogs-1.47.0/0002-e2fsprogs-Disable-ldconfig.patch create mode 100644 patches/e2fsprogs-1.47.0/series 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 000000000..38a8cc8eb --- /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 000000000..100d5bc5e --- /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 000000000..8c305fa95 --- /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 12e632423..87f1004f3 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)) -- 2.34.1