package/leafnode2: Add user 'news', add note about inetd to help text
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sat, 4 Oct 2014 21:59:17 +0000 (23:59 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 5 Oct 2014 12:34:03 +0000 (14:34 +0200)
Suggested by Thomas:
http://lists.busybox.net/pipermail/buildroot/2014-October/107727.html

[Thomas: minor formatting improvements]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/leafnode2/Config.in
package/leafnode2/leafnode2.mk

index 30a02c84b3ff68b2b5a7a431f07f1af306278d3a..ec5fa804e25c7f3a084bd941f76995a21b90717c 100644 (file)
@@ -7,4 +7,10 @@ config BR2_PACKAGE_LEAFNODE2
          server designed for small sites with just a few active
          newsgroups.
 
+         Leafnode-2 needs inetd, check chapter 14 of the documentation at
+         http://www.dt.e-technik.uni-dortmund.de/~ma/leafnode/beta/leafnode-readme.txt
+
+         For example, you can add this line to inetd.conf:
+         nntp    stream  tcp     nowait  news    /usr/sbin/leafnode
+
          http://www.dt.e-technik.uni-dortmund.de/~ma/leafnode/beta/
index 3e6bd0bb49b042feb0b3ea4d84237772967d623c..3bc1c684583d0a4b87eef46bb1d67156590c41ca 100644 (file)
@@ -32,4 +32,8 @@ endef
 
 LEAFNODE2_PRE_BUILD_HOOKS += LEAFNODE2_BUILD_SORTNL_TOOL
 
+define LEAFNODE2_USERS
+       news -1 news -1 * - - - Leafnode2 daemon
+endef
+
 $(eval $(autotools-package))