From patchwork Thu Jul 1 16:15:20 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 4480 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4GG3GV5lQGz3wxc for ; Thu, 1 Jul 2021 16:15:30 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4GG3GT40PMzwd; Thu, 1 Jul 2021 16:15:29 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4GG3GT2VYLz2yS0; Thu, 1 Jul 2021 16:15:29 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4GG3GR4Tklz2xX7 for ; Thu, 1 Jul 2021 16:15:27 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4GG3GR0zMXzpZ; Thu, 1 Jul 2021 16:15:27 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1625156127; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=AitYVcjCd5wR/cMGeMnfZcS1QdzyyH82xz3h99CtPIs=; b=lPrqBMomMWCBQhSWuHgDWVGyaT+lqm5gf4XErQuo+5CFsWzgirYli2O5vuy/jd6iagUIOr u8V9yEXDeFWXVZBA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1625156127; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=AitYVcjCd5wR/cMGeMnfZcS1QdzyyH82xz3h99CtPIs=; b=Wdz+xPlFFIlbo45qqEr5M999/PawjDFdNKFeyfhGWIDNrS6oxZSKYJk7AbraPqHhISp0Mk Fk3FhmjbDUuy6EeWJfoxWQ3amK81nV8BK9GlxdBxhXwJMdJ9aeNNdrGYNzup8qaqCkXTpH RWY2kycqAzPw26jtigSBw6t+6IPrzJSdEe1h7rz0EkyMlcMRlnTjtP0Vw1XaObcRd9I1fc hVf+C6GRokq8PmkraKJ6TUwVDaU8XcSdNqRgUOTRJ/C49E2k72uGY5WJ1awzun/TWqmIcr Cu2MeDPVGDLoPgiSS+1L7Xl8eWl5ZBmCia0QPHN2M5Acs9ra7hoyAbFubVj/Hg== From: Adolf Belka To: development@lists.ipfire.org Subject: [PATCH] gdbm: Update to version 1.20 Date: Thu, 1 Jul 2021 18:15:20 +0200 Message-Id: <20210701161520.939700-1-adolf.belka@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" - Update from 1.8.3 (2002) to 1.20 (2021) - Update rootfile - There is no longer a make process for make install-compat To have the compat libraries you have to add --enable-libgdbm-compat to the configure command but then you don't get the non compat libraries. So the full configure, make, make install has to be run twice with --enable-libgdbm-compat added to the second instance. - Both static and shared libs are built by default so added --disable-static to both build instances - Nothing flagged from find-dependencies run against the old library versions - Changelog is too large to include here but full details can be found from the ChangeLog file in the source tarball. Signed-off-by: Adolf Belka --- config/rootfiles/common/gdbm | 25 ++++++++++++++----------- lfs/gdbm | 17 +++++++++++++---- 2 files changed, 27 insertions(+), 15 deletions(-) diff --git a/config/rootfiles/common/gdbm b/config/rootfiles/common/gdbm index a8289432d..db3814f22 100644 --- a/config/rootfiles/common/gdbm +++ b/config/rootfiles/common/gdbm @@ -1,16 +1,19 @@ +#usr/bin/gdbm_dump +#usr/bin/gdbm_load +#usr/bin/gdbmtool #usr/include/dbm.h #usr/include/gdbm.h #usr/include/ndbm.h -#usr/info/gdbm.info -#usr/lib/libgdbm.a #usr/lib/libgdbm.la -usr/lib/libgdbm.so -usr/lib/libgdbm.so.3 -usr/lib/libgdbm.so.3.0.0 -#usr/lib/libgdbm_compat.a +#usr/lib/libgdbm.so +usr/lib/libgdbm.so.6 +usr/lib/libgdbm.so.6.0.0 #usr/lib/libgdbm_compat.la -usr/lib/libgdbm_compat.so -usr/lib/libgdbm_compat.so.3 -usr/lib/libgdbm_compat.so.3.0.0 -#usr/man/man3 -#usr/man/man3/gdbm.3 +#usr/lib/libgdbm_compat.so +usr/lib/libgdbm_compat.so.4 +usr/lib/libgdbm_compat.so.4.0.0 +#usr/share/info/gdbm.info +#usr/share/man/man1/gdbm_dump.1 +#usr/share/man/man1/gdbm_load.1 +#usr/share/man/man1/gdbmtool.1 +#usr/share/man/man3/gdbm.3 diff --git a/lfs/gdbm b/lfs/gdbm index 23d17dad1..6f96d2f3c 100644 --- a/lfs/gdbm +++ b/lfs/gdbm @@ -24,7 +24,7 @@ include Config -VER = 1.8.3 +VER = 1.20 THISAPP = gdbm-$(VER) DL_FILE = $(THISAPP).tar.gz @@ -40,7 +40,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_MD5 = 1d1b1d5c0245b1c00aff92da751e9aa1 +$(DL_FILE)_MD5 = 006c19b8b60828fd6916a16f3496bd3c install : $(TARGET) @@ -71,9 +71,18 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) $(UPDATE_AUTOMAKE) - cd $(DIR_APP) && ./configure --prefix=/usr --disable-nls + cd $(DIR_APP) && ./configure \ + --prefix=/usr \ + --disable-nls \ + --disable-static + cd $(DIR_APP) && make $(MAKETUNING) + cd $(DIR_APP) && make BINOWN=root BINGRP=root install + cd $(DIR_APP) && ./configure \ + --prefix=/usr \ + --disable-nls \ + --disable-static \ + --enable-libgdbm-compat cd $(DIR_APP) && make $(MAKETUNING) cd $(DIR_APP) && make BINOWN=root BINGRP=root install - cd $(DIR_APP) && make BINOWN=root BINGRP=root install-compat @rm -rf $(DIR_APP) @$(POSTBUILD)