From 31694907dde18fc70d7b3e3813e5183d35f0e5db Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Wed, 9 Oct 2019 17:24:15 +0000 Subject: Add --enable-pedantic-posix, posix-cd, prepare for 2.5.3.0 Also make wait posix-compliant and update doc. --- package/deps.mak | 3 +++ package/info | 2 +- package/modes | 1 + package/targets.mak | 9 +++++++++ 4 files changed, 14 insertions(+), 1 deletion(-) (limited to 'package') diff --git a/package/deps.mak b/package/deps.mak index e058e9f..0d4b00f 100644 --- a/package/deps.mak +++ b/package/deps.mak @@ -71,6 +71,7 @@ src/libexecline/exlsn_free.o src/libexecline/exlsn_free.lo: src/libexecline/exls src/libexecline/exlsn_importas.o src/libexecline/exlsn_importas.lo: src/libexecline/exlsn_importas.c src/include/execline/execline.h src/include-local/exlsn.h src/libexecline/exlsn_main.o src/libexecline/exlsn_main.lo: src/libexecline/exlsn_main.c src/include/execline/execline.h src/include-local/exlsn.h src/libexecline/exlsn_multidefine.o src/libexecline/exlsn_multidefine.lo: src/libexecline/exlsn_multidefine.c src/include/execline/execline.h src/include-local/exlsn.h +src/posix/posix-cd.o src/posix/posix-cd.lo: src/posix/posix-cd.c background: EXTRA_LIBS := ${SPAWN_LIB} background: src/execline/background.o ${LIBEXECLINE} -lskarnet @@ -171,3 +172,5 @@ libexecline.a.xyzzy: src/libexecline/el_execsequence.lo src/libexecline/el_getst endif libexecline.so.xyzzy: EXTRA_LIBS := -lskarnet libexecline.so.xyzzy: src/libexecline/el_execsequence.lo src/libexecline/el_getstrict.lo src/libexecline/el_parse.lo src/libexecline/el_parse_from_buffer.lo src/libexecline/el_parse_from_string.lo src/libexecline/el_popenv.lo src/libexecline/el_pushenv.lo src/libexecline/el_semicolon.lo src/libexecline/el_spawn0.lo src/libexecline/el_spawn1.lo src/libexecline/el_substandrun.lo src/libexecline/el_substandrun_str.lo src/libexecline/el_substitute.lo src/libexecline/el_transform.lo src/libexecline/el_vardupl.lo src/libexecline/exlsn_define.lo src/libexecline/exlsn_elglob.lo src/libexecline/exlsn_importas.lo src/libexecline/exlsn_multidefine.lo src/libexecline/exlsn_exlp.lo src/libexecline/exlsn_main.lo src/libexecline/exlsn_free.lo src/libexecline/exlp.lo +posix-cd: EXTRA_LIBS := +posix-cd: src/posix/posix-cd.o -lskarnet diff --git a/package/info b/package/info index c721ad5..4a5dd27 100644 --- a/package/info +++ b/package/info @@ -1,4 +1,4 @@ package=execline -version=2.5.2.0 +version=2.5.3.0 category=admin package_macro_name=EXECLINE diff --git a/package/modes b/package/modes index 7852d06..dbe4972 100644 --- a/package/modes +++ b/package/modes @@ -44,3 +44,4 @@ umask 0755 unexport 0755 wait 0755 withstdinas 0755 +posix-cd 0755 diff --git a/package/targets.mak b/package/targets.mak index c076fa3..824fc26 100644 --- a/package/targets.mak +++ b/package/targets.mak @@ -49,3 +49,12 @@ withstdinas LIBEXEC_TARGETS := LIB_DEFS := EXECLINE=execline + +ifeq ($(PEDANTIC_POSIX),1) + +BIN_TARGETS += posix-cd + +$(DESTDIR)$(bindir)/cd: $(DESTDIR)$(bindir)/posix-cd + exec ./tools/install.sh -l posix-cd $(DESTDIR)$(bindir)/cd + +endif -- cgit v1.2.3