<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Apr 29, 2016 at 1:24 PM, John Crispin <span dir="ltr"><<a href="mailto:john@phrozen.org" target="_blank">john@phrozen.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
comment inline<br>
<br>
On 27/04/2016 11:13, Hans Dedecker wrote:<br>
> Utmp support tracks who is currenlty logged in by logging info to the file /var/run/utmp (supported by busybox)<br>
> Putuline support will use the utmp structure to write to the utmp file<br>
><br>
> Signed-off-by: Hans Dedecker <<a href="mailto:dedeckeh@gmail.com">dedeckeh@gmail.com</a>><br>
> ---<br>
>  package/network/services/dropbear/Config.in | 15 +++++++++++++++<br>
>  package/network/services/dropbear/Makefile  |  5 ++---<br>
>  2 files changed, 17 insertions(+), 3 deletions(-)<br>
><br>
> diff --git a/package/network/services/dropbear/Config.in b/package/network/services/dropbear/Config.in<br>
> index 3316c84..7c2edd7 100644<br>
> --- a/package/network/services/dropbear/Config.in<br>
> +++ b/package/network/services/dropbear/Config.in<br>
> @@ -32,4 +32,19 @@ config DROPBEAR_ECC<br>
><br>
>               Increases binary size by about 23 kB (MIPS).<br>
><br>
> +config DROPBEAR_UTMP<br>
> +     bool "Utmp support"<br>
> +     default n<br>
> +     depends on BUSYBOX_CONFIG_FEATURE_UTMP<br>
> +     help<br>
> +             This enables dropbear utmp support, the file /var/run/utmp is used to<br>
> +             track who is currently logged in.<br>
> +<br>
> +config DROPBEAR_PUTUTLINE<br>
> +     bool "Pututline support"<br>
> +     default n<br>
> +     depends on DROPBEAR_UTMP<br>
> +     help<br>
> +             Dropbear will use pututline() to write the utmp structure into the utmp file.<br>
> +<br>
>  endmenu<br>
> diff --git a/package/network/services/dropbear/Makefile b/package/network/services/dropbear/Makefile<br>
> index 39ab04b..593e0a8 100644<br>
> --- a/package/network/services/dropbear/Makefile<br>
> +++ b/package/network/services/dropbear/Makefile<br>
> @@ -68,12 +68,11 @@ CONFIGURE_ARGS += \<br>
>       --enable-syslog \<br>
>       $(if $(CONFIG_SHADOW_PASSWORDS),,--disable-shadow) \<br>
>       --disable-lastlog \<br>
> -     --disable-utmp \<br>
> -     --disable-utmpx \<br>
> +     $(if $(CONFIG_DROPBEAR_UTMP),,--disable-utmp) \<br>
<br>
what happened to --disable-utmpx ?<br></blockquote><div>Deletion by mistake ...</div><div>Will fix it in a new patch</div><div><br></div><div>Hans </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
        John<br>
<br>
>       --disable-wtmp \<br>
>       --disable-wtmpx \<br>
>       --disable-loginfunc \<br>
> -     --disable-pututline \<br>
> +     $(if $(CONFIG_DROPBEAR_PUTUTLINE),,--disable-pututline) \<br>
>       --disable-pututxline \<br>
>       --disable-zlib \<br>
>       --enable-bundled-libtom<br>
><br>
</blockquote></div><br></div></div>