diff options
author | Martin Holzer <mholzer@gentoo.org> | 2003-05-19 16:49:05 +0000 |
---|---|---|
committer | Martin Holzer <mholzer@gentoo.org> | 2003-05-19 16:49:05 +0000 |
commit | f075ffc0e8778269c0852b7aef5dc2c5e93f8fdd (patch) | |
tree | c2af85771c7778f43cd0bde0960e48dac98d9185 /sys-apps/xinetd/files | |
parent | new version (diff) | |
download | gentoo-2-f075ffc0e8778269c0852b7aef5dc2c5e93f8fdd.tar.gz gentoo-2-f075ffc0e8778269c0852b7aef5dc2c5e93f8fdd.tar.bz2 gentoo-2-f075ffc0e8778269c0852b7aef5dc2c5e93f8fdd.zip |
cleanup
Diffstat (limited to 'sys-apps/xinetd/files')
-rw-r--r-- | sys-apps/xinetd/files/2.3.9/etc.xinetd.d/README.services | 18 | ||||
-rw-r--r-- | sys-apps/xinetd/files/2.3.9/etc.xinetd.d/chargen-tcp | 13 | ||||
-rw-r--r-- | sys-apps/xinetd/files/2.3.9/etc.xinetd.d/chargen-udp | 14 | ||||
-rw-r--r-- | sys-apps/xinetd/files/2.3.9/etc.xinetd.d/daytime-tcp | 13 | ||||
-rw-r--r-- | sys-apps/xinetd/files/2.3.9/etc.xinetd.d/daytime-udp | 14 | ||||
-rw-r--r-- | sys-apps/xinetd/files/2.3.9/etc.xinetd.d/echo-tcp | 13 | ||||
-rw-r--r-- | sys-apps/xinetd/files/2.3.9/etc.xinetd.d/echo-udp | 14 | ||||
-rw-r--r-- | sys-apps/xinetd/files/2.3.9/etc.xinetd.d/time-tcp | 13 | ||||
-rw-r--r-- | sys-apps/xinetd/files/2.3.9/etc.xinetd.d/time-udp | 14 | ||||
-rw-r--r-- | sys-apps/xinetd/files/2.3.9/xinetd.conf | 13 | ||||
-rw-r--r-- | sys-apps/xinetd/files/2.3.9/xinetd.confd | 3 | ||||
-rw-r--r-- | sys-apps/xinetd/files/2.3.9/xinetd.rc6 | 41 | ||||
-rw-r--r-- | sys-apps/xinetd/files/digest-xinetd-2.3.10 | 1 | ||||
-rw-r--r-- | sys-apps/xinetd/files/digest-xinetd-2.3.7 | 1 | ||||
-rw-r--r-- | sys-apps/xinetd/files/digest-xinetd-2.3.9 | 1 | ||||
-rw-r--r-- | sys-apps/xinetd/files/xinetd.rc6 | 24 |
16 files changed, 22 insertions, 188 deletions
diff --git a/sys-apps/xinetd/files/2.3.9/etc.xinetd.d/README.services b/sys-apps/xinetd/files/2.3.9/etc.xinetd.d/README.services deleted file mode 100644 index ba35afc106b4..000000000000 --- a/sys-apps/xinetd/files/2.3.9/etc.xinetd.d/README.services +++ /dev/null @@ -1,18 +0,0 @@ -# -# Extract from man 5 xinetd.conf: -# -Every file inside this directory, excluding files with names -containing a dot ('.') or end-ing with a tilde ('~'), will be -parsed as xinetd configuration files. The files will be parsed -in alphabetical order according to the C locale. This allows -you to specify services one per file. - - -# -# Considerations: -# -You can make packages install an example service configuration -file into this directory to easily help users with integrating -it with xinetd. It would be nice if your package included the -"disable = yes" directive by default. Its probably wise to -have the user decide upon enabling services. diff --git a/sys-apps/xinetd/files/2.3.9/etc.xinetd.d/chargen-tcp b/sys-apps/xinetd/files/2.3.9/etc.xinetd.d/chargen-tcp deleted file mode 100644 index 04b0fbc32834..000000000000 --- a/sys-apps/xinetd/files/2.3.9/etc.xinetd.d/chargen-tcp +++ /dev/null @@ -1,13 +0,0 @@ -# default: off -# description: A chargen server. This is the tcp version. - -service chargen -{ - type = INTERNAL - id = chargen-stream - socket_type = stream - protocol = tcp - user = root - wait = no - disable = yes -} diff --git a/sys-apps/xinetd/files/2.3.9/etc.xinetd.d/chargen-udp b/sys-apps/xinetd/files/2.3.9/etc.xinetd.d/chargen-udp deleted file mode 100644 index 462ba78cd9cf..000000000000 --- a/sys-apps/xinetd/files/2.3.9/etc.xinetd.d/chargen-udp +++ /dev/null @@ -1,14 +0,0 @@ -# default: off -# description: A chargen server. This is the udp version. - -service chargen -{ - type = INTERNAL UNLISTED - id = chargen-dgram - socket_type = dgram - protocol = udp - user = root - wait = yes - port = 19 - disable = yes -} diff --git a/sys-apps/xinetd/files/2.3.9/etc.xinetd.d/daytime-tcp b/sys-apps/xinetd/files/2.3.9/etc.xinetd.d/daytime-tcp deleted file mode 100644 index 2c0cbfee46eb..000000000000 --- a/sys-apps/xinetd/files/2.3.9/etc.xinetd.d/daytime-tcp +++ /dev/null @@ -1,13 +0,0 @@ -# default: off -# description: A daytime server. This is the tcp version. - -service daytime -{ - type = INTERNAL - id = daytime-stream - socket_type = stream - protocol = tcp - user = root - wait = no - disable = yes -} diff --git a/sys-apps/xinetd/files/2.3.9/etc.xinetd.d/daytime-udp b/sys-apps/xinetd/files/2.3.9/etc.xinetd.d/daytime-udp deleted file mode 100644 index f007611c7cd1..000000000000 --- a/sys-apps/xinetd/files/2.3.9/etc.xinetd.d/daytime-udp +++ /dev/null @@ -1,14 +0,0 @@ -# default: off -# description: A daytime server. This is the udp version. - -service daytime -{ - type = INTERNAL UNLISTED - id = daytime-dgram - socket_type = dgram - protocol = udp - user = root - wait = yes - port = 13 - disable = yes -} diff --git a/sys-apps/xinetd/files/2.3.9/etc.xinetd.d/echo-tcp b/sys-apps/xinetd/files/2.3.9/etc.xinetd.d/echo-tcp deleted file mode 100644 index 73d13e7b9550..000000000000 --- a/sys-apps/xinetd/files/2.3.9/etc.xinetd.d/echo-tcp +++ /dev/null @@ -1,13 +0,0 @@ -# default: off -# description: An echo server. This is the tcp version. - -service echo -{ - type = INTERNAL - id = echo-stream - socket_type = stream - protocol = tcp - user = root - wait = no - disable = yes -} diff --git a/sys-apps/xinetd/files/2.3.9/etc.xinetd.d/echo-udp b/sys-apps/xinetd/files/2.3.9/etc.xinetd.d/echo-udp deleted file mode 100644 index 2c29096d018a..000000000000 --- a/sys-apps/xinetd/files/2.3.9/etc.xinetd.d/echo-udp +++ /dev/null @@ -1,14 +0,0 @@ -# default: off -# description: An echo server. This is the udp version. - -service echo -{ - type = INTERNAL UNLISTED - id = echo-dgram - socket_type = dgram - protocol = udp - user = root - wait = yes - port = 7 - disable = yes -} diff --git a/sys-apps/xinetd/files/2.3.9/etc.xinetd.d/time-tcp b/sys-apps/xinetd/files/2.3.9/etc.xinetd.d/time-tcp deleted file mode 100644 index 76e069ea7457..000000000000 --- a/sys-apps/xinetd/files/2.3.9/etc.xinetd.d/time-tcp +++ /dev/null @@ -1,13 +0,0 @@ -# default: off -# description: An RFC 868 time server. This is the tcp version, which is used by rdate. - -service time -{ - type = INTERNAL - id = time-stream - socket_type = stream - protocol = tcp - user = root - wait = no - disable = yes -} diff --git a/sys-apps/xinetd/files/2.3.9/etc.xinetd.d/time-udp b/sys-apps/xinetd/files/2.3.9/etc.xinetd.d/time-udp deleted file mode 100644 index 1124655cd56e..000000000000 --- a/sys-apps/xinetd/files/2.3.9/etc.xinetd.d/time-udp +++ /dev/null @@ -1,14 +0,0 @@ -# default: off -# description: An RFC 868 time server. This is the udp version. - -service time -{ - type = INTERNAL UNLISTED - id = time-dgram - socket_type = dgram - protocol = udp - user = root - wait = yes - port = 37 - disable = yes -} diff --git a/sys-apps/xinetd/files/2.3.9/xinetd.conf b/sys-apps/xinetd/files/2.3.9/xinetd.conf deleted file mode 100644 index 31ca50077e56..000000000000 --- a/sys-apps/xinetd/files/2.3.9/xinetd.conf +++ /dev/null @@ -1,13 +0,0 @@ -# Sample configuration file for xinetd - -defaults -{ - only_from = localhost - instances = 60 - log_type = SYSLOG authpriv info - log_on_success = HOST PID - log_on_failure = HOST - cps = 25 30 -} - -includedir /etc/xinetd.d diff --git a/sys-apps/xinetd/files/2.3.9/xinetd.confd b/sys-apps/xinetd/files/2.3.9/xinetd.confd deleted file mode 100644 index dd6da7488ad2..000000000000 --- a/sys-apps/xinetd/files/2.3.9/xinetd.confd +++ /dev/null @@ -1,3 +0,0 @@ -# Config file for /etc/init.d/xinetd - -XINETD_OPTS="-stayalive -reuse" diff --git a/sys-apps/xinetd/files/2.3.9/xinetd.rc6 b/sys-apps/xinetd/files/2.3.9/xinetd.rc6 deleted file mode 100644 index 5e4308f49290..000000000000 --- a/sys-apps/xinetd/files/2.3.9/xinetd.rc6 +++ /dev/null @@ -1,41 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/xinetd/files/2.3.9/xinetd.rc6,v 1.3 2003/02/14 23:27:15 vapier Exp $ - -opts="start stop reload restart dump check" - -depend() { - need net -} - -start() { - ebegin "Starting xinetd" - start-stop-daemon --start --quiet --exec /usr/sbin/xinetd \ - -- -pidfile /var/run/xinetd.pid ${XINETD_OPTS} - eend $? -} - -stop() { - ebegin "Stopping xinetd" - start-stop-daemon --stop --quiet --pidfile /var/run/xinetd.pid - eend $? -} - -reload(){ - ebegin "Reloading configuration" - killall -HUP xinetd &>/dev/null - eend $? -} - -dump(){ - ebegin "Dumping configuration" - killall -USR1 xinetd &>/dev/null - eend $? -} - -check(){ - ebegin "Performing Consistency Check" - killall -IOT xinetd &>/dev/null - eend $? -} diff --git a/sys-apps/xinetd/files/digest-xinetd-2.3.10 b/sys-apps/xinetd/files/digest-xinetd-2.3.10 deleted file mode 100644 index e2cb6ed6b901..000000000000 --- a/sys-apps/xinetd/files/digest-xinetd-2.3.10 +++ /dev/null @@ -1 +0,0 @@ -MD5 c5178a634c0e621d644119f24d274885 xinetd-2.3.10.tar.gz 284814 diff --git a/sys-apps/xinetd/files/digest-xinetd-2.3.7 b/sys-apps/xinetd/files/digest-xinetd-2.3.7 deleted file mode 100644 index cc30cbb44ffe..000000000000 --- a/sys-apps/xinetd/files/digest-xinetd-2.3.7 +++ /dev/null @@ -1 +0,0 @@ -MD5 e9f6849a92ec7d48aa9f771fa2f94491 xinetd-2.3.7.tar.gz 284269 diff --git a/sys-apps/xinetd/files/digest-xinetd-2.3.9 b/sys-apps/xinetd/files/digest-xinetd-2.3.9 deleted file mode 100644 index 8ce91d6dda9b..000000000000 --- a/sys-apps/xinetd/files/digest-xinetd-2.3.9 +++ /dev/null @@ -1 +0,0 @@ -MD5 d879f6e19468f92abecf2cec7e21e246 xinetd-2.3.9.tar.gz 285611 diff --git a/sys-apps/xinetd/files/xinetd.rc6 b/sys-apps/xinetd/files/xinetd.rc6 index 39e24010271b..b46053b1b646 100644 --- a/sys-apps/xinetd/files/xinetd.rc6 +++ b/sys-apps/xinetd/files/xinetd.rc6 @@ -1,7 +1,9 @@ #!/sbin/runscript # Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/sys-apps/xinetd/files/xinetd.rc6,v 1.12 2003/02/14 23:27:20 vapier Exp $ +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/xinetd/files/xinetd.rc6,v 1.13 2003/05/19 16:48:39 mholzer Exp $ + +opts="start stop reload restart dump check" depend() { need net @@ -19,3 +21,21 @@ stop() { start-stop-daemon --stop --quiet --pidfile /var/run/xinetd.pid eend $? } + +reload(){ + ebegin "Reloading configuration" + killall -HUP xinetd &>/dev/null + eend $? +} + +dump(){ + ebegin "Dumping configuration" + killall -USR1 xinetd &>/dev/null + eend $? +} + +check(){ + ebegin "Performing Consistency Check" + killall -IOT xinetd &>/dev/null + eend $? +} |