From 44359388fb853533026d12ae2bf598a9da7f1d98 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Mon, 30 Mar 2026 23:46:13 +0000 Subject: Add --disable-path support; prepare for 2.9.8.2 --- CONTRIBUTING | 2 +- INSTALL | 4 ++-- NEWS | 8 ++++++++ configure | 9 +++++++++ doc/index.html | 8 ++++---- doc/upgrade.html | 9 +++++++++ package/info | 2 +- tools/configure.template | 9 +++++++++ 8 files changed, 43 insertions(+), 8 deletions(-) diff --git a/CONTRIBUTING b/CONTRIBUTING index 3173998..bc10b3c 100644 --- a/CONTRIBUTING +++ b/CONTRIBUTING @@ -10,7 +10,7 @@ * I, the contributor, am the copyright owner of these changes * I submit these changes according to the project's license -with no additionam requirements +with no additional requirements * I understand these changes in full and will be able to respond to review comments. diff --git a/INSTALL b/INSTALL index b68c75d..c034499 100644 --- a/INSTALL +++ b/INSTALL @@ -6,8 +6,8 @@ Build Instructions - A POSIX-compliant C development environment - GNU make version 3.81 or later - - skalibs version 2.14.5.1 or later: https://skarnet.org/software/skalibs/ - - Optional: nsss version 0.2.1.1 or later: https://skarnet.org/software/nsss/ + - skalibs version 2.15.0.0 or later: https://skarnet.org/software/skalibs/ + - Optional: nsss version 0.2.1.2 or later: https://skarnet.org/software/nsss/ This software will run on any operating system that implements POSIX.1-2024, available at: diff --git a/NEWS b/NEWS index f799df9..875de8c 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,13 @@ Changelog for execline. +In 2.9.8.2 +---------- + + - Bugfixes. + - redirfd rewrite. + - Adaptation to skalibs-2.15.0.0. + + In 2.9.8.1 ---------- diff --git a/configure b/configure index a55117d..323ce07 100755 --- a/configure +++ b/configure @@ -46,6 +46,7 @@ Optional features: --disable-allstatic do not prefer linking against static libraries [enabled] --enable-static-libc make entirely static binaries [disabled] --disable-all-pic do not build executables or static libs as PIC [enabled] + --disable-rpath do not embed RPATH in libraries [enabled] --enable-pkgconfig Build and install .pc files for pkg-config [disabled] --enable-slashpackage[=ROOT] assume /package installation at ROOT [disabled] --enable-absolute-paths hardcode absolute BINDIR/foobar paths in binaries [disabled] @@ -155,6 +156,7 @@ shlibext=so shared=false static=true allpic=true +rpath=true slashpackage=false abspath=false pcw=false @@ -206,6 +208,8 @@ for arg ; do --disable-static-libc|--enable-static-libc=no) evenmorestatic=false ;; --enable-all-pic|--enable-all-pic=yes) allpic=true ;; --disable-all-pic|--enable-all-pic=no) allpic=false ;; + --enable-rpath|--enable-rpath=yes) rpath=true ;; + --disable-rpath|--enable-rpath=no) rpath=false ;; --enable-pkgconfig|--enable-pkgconfig=yes) pcw=true ;; --disable-pkgconfig|--enable-pkgconfig=no) pcw=false ;; --enable-slashpackage=*) sproot=${arg#*=} ; slashpackage=true ; ;; @@ -517,6 +521,11 @@ if $shared ; then else echo "DO_SHARED :=" fi +if $rpath ; then + echo "LDFLAGS_RPATH := -Wl,-rpath=${dynlibdir}" +else + echo "LDFLAGS_RPATH :=" +fi if $pcw ; then echo "DO_PKGCONFIG := 1" else diff --git a/doc/index.html b/doc/index.html index 2028667..d9b3f4f 100644 --- a/doc/index.html +++ b/doc/index.html @@ -51,7 +51,7 @@ shell's syntax, and has no security issues.
  • A POSIX-compliant system with a standard C development environment
  • GNU make, version 3.81 or later.
  • skalibs version -2.14.5.1 or later. It's a build-time requirement. It's also a run-time +2.15.0.0 or later. It's a build-time requirement. It's also a run-time requirement if you link against the shared version of the skalibs library.
  • @@ -64,7 +64,7 @@ library.
  • If you're using musl and want nsswitch-like functionality: nsss version -0.2.1.1 or later (build-time and boot-time)
  • +0.2.1.2 or later (build-time and boot-time)

    Licensing

    @@ -77,8 +77,8 @@ want nsswitch-like functionality:

    Download