Author: luka Date: 2016-05-11 00:36:38 +0200 (Wed, 11 May 2016) New Revision: 49333
Modified: trunk/package/network/services/dropbear/Config.in trunk/package/network/services/dropbear/Makefile Log: dropbear: Make utmp and putuline support configurable via seperate config options Utmp support tracks who is currenlty logged in by logging info to the file /var/run/utmp (supported by busybox) Putuline support will use the utmp structure to write to the utmp file Signed-off-by: Hans Dedecker <[email protected]> Modified: trunk/package/network/services/dropbear/Config.in =================================================================== --- trunk/package/network/services/dropbear/Config.in 2016-05-10 22:36:36 UTC (rev 49332) +++ trunk/package/network/services/dropbear/Config.in 2016-05-10 22:36:38 UTC (rev 49333) @@ -32,4 +32,19 @@ Increases binary size by about 23 kB (MIPS). +config DROPBEAR_UTMP + bool "Utmp support" + default n + depends on BUSYBOX_CONFIG_FEATURE_UTMP + help + This enables dropbear utmp support, the file /var/run/utmp is used to + track who is currently logged in. + +config DROPBEAR_PUTUTLINE + bool "Pututline support" + default n + depends on DROPBEAR_UTMP + help + Dropbear will use pututline() to write the utmp structure into the utmp file. + endmenu Modified: trunk/package/network/services/dropbear/Makefile =================================================================== --- trunk/package/network/services/dropbear/Makefile 2016-05-10 22:36:36 UTC (rev 49332) +++ trunk/package/network/services/dropbear/Makefile 2016-05-10 22:36:38 UTC (rev 49333) @@ -68,12 +68,11 @@ --enable-syslog \ $(if $(CONFIG_SHADOW_PASSWORDS),,--disable-shadow) \ --disable-lastlog \ - --disable-utmp \ - --disable-utmpx \ + $(if $(CONFIG_DROPBEAR_UTMP),,--disable-utmp) \ --disable-wtmp \ --disable-wtmpx \ --disable-loginfunc \ - --disable-pututline \ + $(if $(CONFIG_DROPBEAR_PUTUTLINE),,--disable-pututline) \ --disable-pututxline \ --disable-zlib \ --enable-bundled-libtom _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
