diff --git a/package/base/netkit-base/inetd.conf b/package/base/netkit-base/inetd.conf index 7878d4b41..b9742c4c7 100644 --- a/package/base/netkit-base/inetd.conf +++ b/package/base/netkit-base/inetd.conf @@ -37,6 +37,8 @@ ntalk dgram udp wait root /usr/sbin/tcpd in.talkd ident stream tcp wait nobody /usr/sbin/tcpd in.identd -w -e -t120 +# nntp stream tcp nowait news /usr/sbin/tcpd /usr/sbin/leafnode + # rsync stream tcp nowait root /usr/sbin/tcpd /usr/bin/rsync --daemon # tftp dgram udp wait nobody /usr/sbin/tcpd in.tftpd /tftpboot # imap stream tcp nowait root /usr/sbin/tcpd /usr/bin/imapd diff --git a/package/tsa/leafnode/leafnode.conf b/package/tsa/leafnode/leafnode.conf new file mode 100644 index 000000000..40cf924ab --- /dev/null +++ b/package/tsa/leafnode/leafnode.conf @@ -0,0 +1,25 @@ +# --- ROCK-COPYRIGHT-NOTE-BEGIN --- +# +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# Please add additional copyright information _after_ the line containing +# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +# +# ROCK Linux: rock-src/package/tsa/leafnode/leafnode.conf +# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. A copy of the GNU General Public +# License can be found at Documentation/COPYING. +# +# Many people helped and are helping developing ROCK Linux. Please +# have a look at http://www.rocklinux.org/ and the Documentation/TEAM +# file for details. +# +# --- ROCK-COPYRIGHT-NOTE-END --- + +var_remove_regex confopt ' ' '--sysconfdir=.*' +var_append confopt ' ' '--sysconfdir=/etc/leafnode' + diff --git a/package/tsa/leafnode/leafnode.desc b/package/tsa/leafnode/leafnode.desc new file mode 100644 index 000000000..3e9b8a23a --- /dev/null +++ b/package/tsa/leafnode/leafnode.desc @@ -0,0 +1,45 @@ + +[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN --- +[COPY] +[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. +[COPY] Please add additional copyright information _after_ the line containing +[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +[COPY] +[COPY] ROCK Linux: rock-src/package/tsa/leafnode/leafnode.desc +[COPY] ROCK Linux is Copyright (C) 1998 - 2004 Clifford Wolf +[COPY] +[COPY] This program is free software; you can redistribute it and/or modify +[COPY] it under the terms of the GNU General Public License as published by +[COPY] the Free Software Foundation; either version 2 of the License, or +[COPY] (at your option) any later version. A copy of the GNU General Public +[COPY] License can be found at Documentation/COPYING. +[COPY] +[COPY] Many people helped and are helping developing ROCK Linux. Please +[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM +[COPY] file for details. +[COPY] +[COPY] --- ROCK-COPYRIGHT-NOTE-END --- + +[I] An NNTP server for small leaf sites. + +[T] Leafnode is a news server, suitable for small, limited-bandwidth sites with +[T] only a few users (and useful for offline news reading). Leafnode keeps +[T] track of which groups are being read and downloads only articles in those +[T] groups. Leafnode has been designed to require no maintenance and to be easy +[T] to set up. + +[U] http://leafnode.sourceforge.net/ + +[A] Matthias Andree +[M] Sebastian Jaenicke + +[C] extra/server +[F] CORE + +[L] MIT +[S] Stable +[V] 1.10.6 +[P] X -----5---9 800.000 + +[D] 3005312464 leafnode-1.10.6.rel.tar.bz2 http://dl.sourceforge.net/leafnode/ diff --git a/package/tsa/leafnode/postsysfiles.in b/package/tsa/leafnode/postsysfiles.in new file mode 100644 index 000000000..0874941d5 --- /dev/null +++ b/package/tsa/leafnode/postsysfiles.in @@ -0,0 +1,4 @@ + +safe_groupadd news 15 +safe_useradd news 15 15 "Usenet News" /var/spool/news /bin/false "*" +