diff options
| author | Laurent Bercot <ska-skaware@skarnet.org> | 2026-03-31 01:00:52 +0000 |
|---|---|---|
| committer | Laurent Bercot <ska-skaware@skarnet.org> | 2026-03-31 01:00:52 +0000 |
| commit | d318862a0b7843b09fd029a9ed5c00c86b0ea6bc (patch) | |
| tree | 75a07048b722db62a141345d56fe8c75e77621eb | |
| parent | 23c26bf0e6e79100d18aac72377fd04e722143c4 (diff) | |
| download | s6-frontend-d318862a0b7843b09fd029a9ed5c00c86b0ea6bc.tar.gz | |
Add support for disabling rpath; prepare for 0.0.1.2
| -rw-r--r-- | CONTRIBUTING | 2 | ||||
| -rw-r--r-- | INSTALL | 12 | ||||
| -rw-r--r-- | Makefile | 2 | ||||
| -rw-r--r-- | NEWS | 8 | ||||
| -rwxr-xr-x | configure | 9 | ||||
| -rw-r--r-- | doc/index.html | 18 | ||||
| -rw-r--r-- | doc/upgrade.html | 18 | ||||
| -rw-r--r-- | package/info | 2 | ||||
| -rwxr-xr-x | tools/configure.template | 9 |
9 files changed, 62 insertions, 18 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. @@ -6,12 +6,12 @@ Build Instructions - A POSIX compatible system with a standard C development environment - GNU make version 3.81 or later - - skalibs version 2.14.5.1 or later: https://skarnet.org/software/skalibs/ - - execline version 2.9.8.1 or later: https://skarnet.org/software/execline/ - - s6 version 2.14.0.1 or later: https://skarnet.org/software/s6/ - - s6-rc version 0.6.0.0 or later: https://skarnet.org/software/s6-rc/ - - optional: s6-linux-init version 1.2.0.0 or later: https://skarnet.org/software/s6-linux-init/ - - 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/ + - execline version 2.9.8.2 or later: https://skarnet.org/software/execline/ + - s6 version 2.15.0.0 or later: https://skarnet.org/software/s6/ + - s6-rc version 0.6.0.1 or later: https://skarnet.org/software/s6-rc/ + - optional: s6-linux-init version 1.2.0.1 or later: https://skarnet.org/software/s6-linux-init/ + - optional: nsss version 0.2.1.2 or later: https://skarnet.org/software/nsss/ - optional: util-linux version 2.41.2 or later: https://en.wikipedia.org/wiki/Util-linux @@ -188,7 +188,7 @@ lib%.a.xyzzy: exec $(RANLIB) $@ lib%.so.xyzzy: - exec $(CC) -o $@ $(CFLAGS_ALL) $(CFLAGS_SHARED) $(LDFLAGS_ALL) $(LDFLAGS_SHARED) -Wl,-soname,$(patsubst lib%.so.xyzzy,lib%.so.$(version_M),$@) -Wl,-rpath=$(dynlibdir) $^ $(EXTRA_LIBS) $(LDLIBS) + exec $(CC) -o $@ $(CFLAGS_ALL) $(CFLAGS_SHARED) $(LDFLAGS_ALL) $(LDFLAGS_SHARED) -Wl,-soname,$(patsubst lib%.so.xyzzy,lib%.so.$(version_M),$@) $(LDFLAGS_RPATH) $^ $(EXTRA_LIBS) $(LDLIBS) -lskarnet: $(error Unable to link against skalibs. Check that you are using the correct --with-lib or --with-dynlib options; see ./configure --help) @@ -1,5 +1,13 @@ Changelog for s6-frontend. +In 0.0.1.2 +---------- + + - Documentation updates. + - Adaptation to skalibs-2.15.0.0. + - Support for disabling RPATH at configure time. + + In 0.0.1.1 ---------- @@ -50,6 +50,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] @@ -162,6 +163,7 @@ shlibext=so shared=false static=true allpic=true +rpath=true slashpackage=false abspath=false pcw=false @@ -221,6 +223,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 ; ;; @@ -537,6 +541,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 9a6a2f5..78ee68a 100644 --- a/doc/index.html +++ b/doc/index.html @@ -54,7 +54,7 @@ is often used on its own, in environments that already have an init system (no need for s6-linux-init) and a service manager (no need for s6-rc). For the same purpose of modularity, s6 follows an approach of "one functionality, one tool", sometimes to the extreme: the s6-supervision package, as of -2.14.0.1, hosts 75 binaries. +2.15.0.0, hosts 75 binaries. </p> <p> @@ -87,17 +87,17 @@ parts of an s6-based system. <li> A Linux-based system with a standard C development environment </li> <li> GNU make, version 3.81 or later </li> <li> <a href="//skarnet.org/software/skalibs/">skalibs</a> version -2.14.5.1 or later </li> +2.15.0.0 or later </li> <li> <a href="//skarnet.org/software/execline/">execline</a> version -2.9.8.1 or later </li> +2.9.8.2 or later </li> <li> <a href="//skarnet.org/software/s6/">s6</a> version -2.14.0.1 or later </li> +2.15.0.0 or later </li> <li> <a href="//skarnet.org/software/s6-rc/">s6-rc</a> version -0.6.0.0 or later </li> +0.6.0.1 or later </li> <li> Optional: <a href="//skarnet.org/software/nsss/">nsss</a> version -0.2.1.1 or later </li> +0.2.1.2 or later </li> <li> Optional: <a href="//skarnet.org/software/s6-linux-init/">s6-linux-init</a> version -1.2.0.0 or later </li> +1.2.0.1 or later </li> <li> Optional: <a href="https://en.wikipedia.org/wiki/Util-linux">util-linux</a> version 2.41.2 or later </li> </ul> @@ -126,8 +126,8 @@ across operating systems. </li> <ul> <li> The current released version of s6-frontend is -<a href="s6-frontend-0.0.1.1.tar.gz">0.0.1.1</a>. -You can access its checksum <a href="s6-frontend-0.0.1.1.tar.gz.sha256">here</a>. </li> +<a href="s6-frontend-0.0.1.2.tar.gz">0.0.1.2</a>. +You can access its checksum <a href="s6-frontend-0.0.1.2.tar.gz.sha256">here</a>. </li> <li> Alternatively, you can checkout a copy of the <a href="//git.skarnet.org/cgi-bin/cgit.cgi/s6-frontend/">s6-frontend git repository</a>: diff --git a/doc/upgrade.html b/doc/upgrade.html index cda3df0..e65f536 100644 --- a/doc/upgrade.html +++ b/doc/upgrade.html @@ -18,6 +18,24 @@ <h1> What has changed in s6-frontend </h1> +<h2> in 0.0.1.2 </h2> + +<ul> + <li> Support for disabling RPATH at configure time. </li> + <li> <a href="//skarnet.org/software/skalibs/">skalibs</a> +dependency bumped to 2.15.0.0. </li> + <li> <a href="//skarnet.org/software/nsss/">nsss</a> +optional dependency bumped to 0.2.1.2. </li> + <li> <a href="//skarnet.org/software/execline/">execline</a> +dependency bumped to 2.9.8.2. </li> + <li> <a href="//skarnet.org/software/s6/">s6</a> +dependency bumped to 2.15.0.0. </li> + <li> <a href="//skarnet.org/software/s6-rc/">s6-rc</a> +dependency bumped to 0.6.0.1. </li> + <li> <a href="//skarnet.org/software/s6-linux-init/">s6-linux-init</a> +dependency bumped to 1.2.0.1. </li> +</ul> + <h2> in 0.0.1.1 </h2> <ul> diff --git a/package/info b/package/info index fa8db07..f6019f6 100644 --- a/package/info +++ b/package/info @@ -1,4 +1,4 @@ package=s6-frontend -version=0.0.1.1 +version=0.0.1.2 category=admin package_macro_name=S6_FRONTEND diff --git a/tools/configure.template b/tools/configure.template index ac8ac86..b693f5c 100755 --- a/tools/configure.template +++ b/tools/configure.template @@ -45,6 +45,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] @@ -151,6 +152,7 @@ shlibext=so shared=false static=true allpic=true +rpath=true slashpackage=false abspath=false pcw=false @@ -199,6 +201,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 ; ;; @@ -502,6 +506,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 |
