libbsd: Branch 'main' - 5 commits

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Jan 25 00:47:46 UTC 2022


 README           |   32 ++++++++++++++++++++++++++++++++
 configure.ac     |    3 ++-
 src/Makefile.am  |    2 +-
 test/Makefile.am |    1 -
 4 files changed, 35 insertions(+), 3 deletions(-)

New commits:
commit eef07993c9e88d79b59a63fb71bec03337bd9c06
Author: Guillem Jover <guillem at hadrons.org>
Date:   Tue Jan 25 01:41:14 2022 +0100

    Revert "build: Add missing proctitle unit test program"
    
    This reverts commit beafad2657c7a57109c28f8bad9cb028c84c7dd5.
    
    This test was already handled later on as part of the BUILD_LIBBSD_CTOR
    conditional. Adding it to the unconditional set made the build fail when
    the system does not have GNU .init_array section support.
    
    Closes: #9
    Analysis-by: Duncan Overbruck <mail at duncano.de>

diff --git a/test/Makefile.am b/test/Makefile.am
index 33d8aea..5ef4f29 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -41,7 +41,6 @@ check_PROGRAMS = \
 	fpurge \
 	md5 \
 	nlist \
-	proctitle \
 	proctitle-init \
 	progname \
 	pwcache \
commit c6d589bc71d48e48912c401d276b3eb6da9b1d8d
Author: Guillem Jover <guillem at hadrons.org>
Date:   Sun Jan 23 21:07:45 2022 +0100

    Document how to build from git and from a tarball release
    
    Closes: #8

diff --git a/README b/README
index 9b2bbdb..4e4b43f 100644
--- a/README
+++ b/README
@@ -37,3 +37,35 @@ The master repository can be browsed at:
 and cloned from:
 
   <https://anongit.freedesktop.org/git/libbsd>
+
+Building from git source
+------------------------
+
+To prepare the libbsd source tree from git before starting the build process
+some required software needs to be installed:
+
+  GNU autoconf >= 2.67
+  GNU automake >= 1.9
+  GNU libtool >= 2.0
+
+After installing the needed software, and running the following command on
+the git tree:
+
+  $ ./autogen
+
+the source should be roughly equivalent to the distributed tar source.
+
+Building from tar source
+------------------------
+
+The minimum software required to configure and build dpkg from a tarball is:
+
+  C89 compiler
+  make
+
+The following software might be required depending on the system:
+
+  libmd (whenever the libc does not provide the needed digest functions)
+
+The build process is done by running the usual «./configure; make». To
+see all available configuration options please run «./configure --help».
commit 2975d809a016301420e7cbfdc7ea3b7d22a40969
Author: Guillem Jover <guillem at hadrons.org>
Date:   Sun Jan 23 18:54:33 2022 +0100

    build: Check for objdump explicitly
    
    We should not assume that something will implicitly check for this tool,
    as we need it ourselves, and this is an internal implementation detail
    of right now libtool.
    
    Fixes: commit f11ab6722367f1cf62704ed3c827b9b68dcb5397

diff --git a/configure.ac b/configure.ac
index 6ef6bc8..b26b3db 100644
--- a/configure.ac
+++ b/configure.ac
@@ -47,6 +47,7 @@ AM_CONDITIONAL([HAVE_LINKER_VERSION_SCRIPT],
   [test "x$libbsd_cv_version_script" = "xyes"])
 
 # Checks for programs.
+AC_CHECK_TOOL([OBJDUMP], [objdump])
 AC_PROG_CC
 AC_PROG_SED
 AC_PROG_INSTALL
commit f11ab6722367f1cf62704ed3c827b9b68dcb5397
Author: Sam James <sam at gentoo.org>
Date:   Sun Jan 23 15:36:55 2022 +0000

    build: Respect $(OBJDUMP)
    
    We already search for it in `./configure` so let's respect
    the result of that search.
    
    This helps with cross-compilation and any other cases
    where one might want to choose a different toolchain.
    
    Closes: !16
    Bug: https://bugs.gentoo.org/831863
    Signed-off-by: Sam James <sam at gentoo.org>
    Signed-off-by: Guillem Jover <guillem at hadrons.org>

diff --git a/src/Makefile.am b/src/Makefile.am
index 2aa5f5b..ea0bdbe 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -141,7 +141,7 @@ TRANSPARENT_LIBMD_DEPENDS = format.ld
 
 format.ld:
 	$(CC) -shared -nostdlib -nostartfiles -x assembler /dev/null -o $@.so
-	objdump -f $@.so | sed -n 's/.*file format \(.*\)/OUTPUT_FORMAT(\1)/;T;p' > $@
+	$(OBJDUMP) -f $@.so | sed -n 's/.*file format \(.*\)/OUTPUT_FORMAT(\1)/;T;p' > $@
 	rm -f $@.so
 endif
 
commit 54796231c7eea5e2a404fd0e08773f68d7f2eead
Author: Guillem Jover <guillem at hadrons.org>
Date:   Sat Jan 22 22:41:51 2022 +0100

    Release libbsd 0.11.4

diff --git a/configure.ac b/configure.ac
index f0ea291..6ef6bc8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -13,7 +13,7 @@ m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])],
 
 LIBBSD_ABI_MAJOR=0
 LIBBSD_ABI_MINOR=11
-LIBBSD_ABI_PATCH=3
+LIBBSD_ABI_PATCH=4
 
 LIBBSD_ABI="$LIBBSD_ABI_MAJOR:$LIBBSD_ABI_MINOR:$LIBBSD_ABI_PATCH"
 AC_SUBST([LIBBSD_ABI])


More information about the libbsd mailing list