public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Adolf Belka <adolf.belka@ipfire.org>
To: development@lists.ipfire.org
Subject: [PATCH] gdbm: Update to version 1.20
Date: Thu, 01 Jul 2021 18:15:20 +0200	[thread overview]
Message-ID: <20210701161520.939700-1-adolf.belka@ipfire.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 3155 bytes --]

- 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 <adolf.belka(a)ipfire.org>
---
 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)
-- 
2.32.0


                 reply	other threads:[~2021-07-01 16:15 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210701161520.939700-1-adolf.belka@ipfire.org \
    --to=adolf.belka@ipfire.org \
    --cc=development@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox