jailkit-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Jailkit-dev] Patch for fix Jailkit installation after building


From: Olivier Sessink
Subject: Re: [Jailkit-dev] Patch for fix Jailkit installation after building
Date: Wed, 3 Feb 2021 14:58:06 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

thanks, fixed in cvs!

Olivier

On 22-01-2021 01:31, brodokk wrote:
> Hi,
>
> I wanted to build Jailkit from source but it failed with the following error:
>
> /usr/bin/install -c -d -m 755 /usr/share/man/man7/
> /usr/bin/install -c -m 0644 jailkit.7.gz /usr/share/man/man7/
> /usr/bin/install: cannot stat 'jailkit.7.gz': No such file or directory
> make[1]: *** [Makefile:82: install] Error 1
> make[1]: Leaving directory '/tmp/jailkit/man'
> make: *** [Makefile:63: install] Error 2
>
> After checking the code and the logs entry (I mean the commits but I don't 
> know
> the correct name on CVS), I see than you had tried to rename the
> file from man/jailkit.8 to man/jailkit.7 but it's seems to be a fail, at least
> for my part.
>
> I have done two patchs to fix this, I hope I do it correctly because I don't
> write and use Makefiles very often.
>
> Here is the first patch for the man/Makefile file:
>
> --- man/Makefile.in   2020-08-31 10:50:49.000000000 +0000
> +++ man/Makefile.in   2021-01-22 00:00:23.730967074 +0000
> @@ -1,11 +1,10 @@
> -INSTALL = @INSTALL@
> -prefix = @prefix@
> -datadir = @datadir@
> -datarootdir = @datarootdir@
> -mandir = @mandir@
> +INSTALL = /usr/bin/install -c
> +prefix = /usr
> +datadir = ${datarootdir}
> +datarootdir = ${prefix}/share
> +mandir = ${datarootdir}/man
>  
>  SRCS = \
> -     jailkit.7 \
>       jk_chrootsh.8 \
>       jk_uchroot.8 \
>       jk_lsh.8 \
> @@ -18,11 +17,10 @@
>       jk_list.8 \
>       jk_update.8
>  
> -@HAVEPROCMAIL_TRUE@SRCS += jk_procmailwrapper.8
> +#SRCS += jk_procmailwrapper.8
>  
>  MANS = $(SRCS:.8=.8.gz)
>  
> -
>  #%.8.gz : %.8
>  #    gzip -9 > $@ < $<
>  
> @@ -71,7 +69,7 @@
>  jk_update.8.gz: jk_update.8
>       gzip -9 < jk_update.8 > $@
>  
> -jailkit: ${MANS}
> +jailkit: ${MANS} jailkit.7.gz
>  
>  all: jailkit
>
> And here is the second one to fix the man page number in the first line of
> the man/jailkit.7 file:
>
> --- man/jailkit.7     2020-08-31 10:47:07.000000000 +0000
> +++ man/jailkit.7     2021-01-21 23:54:07.800751872 +0000
> @@ -1,4 +1,4 @@
> -.TH jailkit 8 07-02-2010 JAILKIT jailkit
> +.TH jailkit 7 07-02-2010 JAILKIT jailkit
>  
>  .SH NAME
>  jailkit \- utilities for jailing a user or process
>
> And It would be cool if you make a new release because I'm impacted by the
> bug from last year: 
> https://lists.libreplanet.org/archive/html/jailkit-dev/2020-01/msg00000.html
>
> But in any case thanks for this tool that makes my life easier,
>

-- 
Bluefish website http://bluefish.openoffice.nl/
Blog http://oli4444.wordpress.com/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]