Skip to contentSkip to conversation

package/leafnode: Add user 'news', add note about inetd to help text

PATCH New Bernd Kuhls 2 participants 2 messages Oct 4, 2014 – Oct 5, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/leafnode: Add user 'news', add note about inetd to help text

Suggested by Thomas:
http://lists.busybox.net/pipermail/buildroot/2014-October/107727.html

---
 package/leafnode2/Config.in    |    4 ++++
 package/leafnode2/leafnode2.mk |    4 ++++
 2 files changed, 8 insertions(+)
package/leafnode2/Config.in +4 -0
index 30a02c8..b92002d 100644
@@ -6,5 +6,9 @@ config BR2_PACKAGE_LEAFNODE2
 	  Leafnode-2 is a store-and-forward NNTP (or Usenet) proxy
 	  server designed for small sites with just a few active
 	  newsgroups.
+	  Leafnode-2 needs inetd, check chapter 14
+	  http://www.dt.e-technik.uni-dortmund.de/~ma/leafnode/beta/leafnode-readme.txt
+	  for example 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/
package/leafnode2/leafnode2.mk +4 -0
index 3e6bd0b..3bc1c68 100644
@@ -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))
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH 1/1 package/leafnode: Add user 'news', add note about inetd to help text

Dear Bernd Kuhls,

Quoted 8 lines · Bernd Kuhls

Suggested by Thomas:
http://lists.busybox.net/pipermail/buildroot/2014-October/107727.html

---
 package/leafnode2/Config.in    |    4 ++++
 package/leafnode2/leafnode2.mk |    4 ++++
 2 files changed, 8 insertions(+)

Applied, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com