diff options
| author | Laurent Bercot <ska-skaware@skarnet.org> | 2026-03-31 11:43:21 +0000 |
|---|---|---|
| committer | Laurent Bercot <ska-skaware@skarnet.org> | 2026-03-31 11:43:21 +0000 |
| commit | 70ebb8c075df3170618c6766df36194e8cfdd17a (patch) | |
| tree | e2773ef22cc4b7900840bcfc9e3817afcb8bb950 | |
| parent | 42bb8907ebcd23049d79c33e697dd32474eaab00 (diff) | |
| download | shibari-70ebb8c075df3170618c6766df36194e8cfdd17a.tar.gz | |
Add support for disabling rpath; prepare for 0.0.2.2
| -rw-r--r-- | CONTRIBUTING | 2 | ||||
| -rw-r--r-- | COPYING | 2 | ||||
| -rw-r--r-- | INSTALL | 6 | ||||
| -rw-r--r-- | Makefile | 2 | ||||
| -rw-r--r-- | NEWS | 7 | ||||
| -rwxr-xr-x | configure | 9 | ||||
| -rw-r--r-- | doc/index.html | 10 | ||||
| -rw-r--r-- | doc/upgrade.html | 12 | ||||
| -rw-r--r-- | package/info | 2 | ||||
| -rwxr-xr-x | tools/configure.template | 9 |
10 files changed, 49 insertions, 12 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. @@ -1,4 +1,4 @@ -Copyright (c) 2023-2025 Laurent Bercot <ska-skaware@skarnet.org> +Copyright (c) 2023-2026 Laurent Bercot <ska-skaware@skarnet.org> Permission to use, copy, modify, and distribute this software for any purpose with or without fee is hereby granted, provided that the above @@ -6,9 +6,9 @@ Build Instructions - A POSIX-compliant C development environment - GNU make version 3.81 or later - - skalibs version 2.14.5.0 or later: https://skarnet.org/software/skalibs/ - - s6 version 2.13.3.0 or later: https://skarnet.org/software/s6/ - - for now: s6-dns version 2.4.1.1 or later: https://skarnet.org/software/s6-dns/ + - skalibs version 2.15.0.0 or later: https://skarnet.org/software/skalibs/ + - s6 version 2.15.0.0 or later: https://skarnet.org/software/s6/ + - for now: s6-dns version 2.4.1.2 or later: https://skarnet.org/software/s6-dns/ This software will run on any operating system that implements POSIX.1-2024, available at: @@ -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,12 @@ Changelog for shibari. +In 0.0.2.2 +---------- + + - Support for disabling RPATH at configure time. + - Adaptation to skalibs-2.15.0.0. + + In 0.0.2.1 ---------- @@ -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 diff --git a/doc/index.html b/doc/index.html index df473d2..864d0d2 100644 --- a/doc/index.html +++ b/doc/index.html @@ -53,15 +53,15 @@ So, might as well make it pleasant. <li> A POSIX-compliant 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.0 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. </li> <li> <a href="//skarnet.org/software/s6/">s6</a> version -2.13.3.0 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 s6 library. That library is used for the access control and client location features in <a href="shibari-server-udp.html">shibari-server-udp</a>. </li> <li> (for now) <a href="//skarnet.org/software/s6-dns/">s6-dns</a> version -2.4.1.1 or later. It's a build-time requirement. It's also a run-time +2.4.1.2 or later. It's a build-time requirement. It's also a run-time requirement if you link against the shared version of the s6-dns library. </li> </ul> @@ -75,8 +75,8 @@ requirement if you link against the shared version of the s6-dns library. </li> <h3> Download </h3> <ul> - <li> The current released version of shibari is <a href="shibari-0.0.2.1.tar.gz">0.0.2.1</a>. -You can access its checksum <a href="shibari-0.0.2.1.tar.gz.sha256">here</a>. </li> + <li> The current released version of shibari is <a href="shibari-0.0.2.2.tar.gz">0.0.2.2</a>. +You can access its checksum <a href="shibari-0.0.2.2.tar.gz.sha256">here</a>. </li> <li> You can checkout a copy of the <a href="//git.skarnet.org/cgi-bin/cgit.cgi/shibari/">shibari git repository</a>: diff --git a/doc/upgrade.html b/doc/upgrade.html index 0344799..a461d04 100644 --- a/doc/upgrade.html +++ b/doc/upgrade.html @@ -18,6 +18,18 @@ <h1> What has changed in shibari </h1> +<h2> in 0.0.2.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/s6/">s6</a> +dependency bumped to 2.15.0.0 </li> + <li> <a href="//skarnet.org/software/s6-dns/">s6-dns</a> +dependency bumped to 2.4.1.2 </li> +</ul> + <h2> in 0.0.2.1 </h2> <ul> diff --git a/package/info b/package/info index 0c4a81a..c8d12a7 100644 --- a/package/info +++ b/package/info @@ -1,4 +1,4 @@ package=shibari -version=0.0.2.1 +version=0.0.2.2 category=web package_macro_name=SHIBARI 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 |
