From ce26b4061e8d328bbd252ba77e9a330914dc4fd2 Mon Sep 17 00:00:00 2001 From: Leonid Plyushch Date: Tue, 15 Oct 2019 14:01:59 +0300 Subject: [PATCH] fakeroot: show post-installation notice --- packages/fakeroot/build.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/packages/fakeroot/build.sh b/packages/fakeroot/build.sh index bdc7be536..ec66ed1a2 100644 --- a/packages/fakeroot/build.sh +++ b/packages/fakeroot/build.sh @@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="Tool for simulating superuser privileges (with tcp ipc)" TERMUX_PKG_LICENSE="GPL-2.0" TERMUX_PKG_MAINTAINER="Leonid Plyushch " TERMUX_PKG_VERSION=1.24 +TERMUX_PKG_REVISION=1 TERMUX_PKG_SRCURL=https://deb.debian.org/debian/pool/main/f/fakeroot/fakeroot_${TERMUX_PKG_VERSION}.orig.tar.gz TERMUX_PKG_SHA256=2e045b3160370b8ab4d44d1f8d267e5d1d555f1bb522d650e7167b09477266ed TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-ipc=tcp" @@ -11,3 +12,15 @@ TERMUX_PKG_BUILD_DEPENDS="libcap" termux_step_post_make_install() { ln -sfr "${TERMUX_PREFIX}/lib/libfakeroot-0.so" "${TERMUX_PREFIX}/lib/libfakeroot.so" } + +termux_step_create_debscripts() { + { + echo "#!$TERMUX_PREFIX/bin/sh" + echo "echo" + echo "echo 'Fakeroot doesn't give you any real root permissions. Utility is primarily intended to be used for development purposes.'" + echo "echo 'More info about usage at https://wiki.debian.org/FakeRoot.'" + echo "echo" + echo "echo 'Programs requiring real root permissions will not run under fakeroot. Do not post bug reports about this.'" + echo "echo" + } > ./postinst +}