summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Ahlberg <aliz@gentoo.org>2002-10-24 15:03:54 +0000
committerDaniel Ahlberg <aliz@gentoo.org>2002-10-24 15:03:54 +0000
commit061184842da94aaa980cdddec21451f8ae70426f (patch)
tree2f826ec55140becd2a10aaf247f2846515a21c75 /sys-apps/xinetd
parentBug 9137, for future dep in HTML-Mason (Apache mod) (diff)
downloadhistorical-061184842da94aaa980cdddec21451f8ae70426f.tar.gz
historical-061184842da94aaa980cdddec21451f8ae70426f.tar.bz2
historical-061184842da94aaa980cdddec21451f8ae70426f.zip
Version bump.
Diffstat (limited to 'sys-apps/xinetd')
-rw-r--r--sys-apps/xinetd/ChangeLog7
-rw-r--r--sys-apps/xinetd/files/2.3.9/etc.xinetd.d/README.services18
-rw-r--r--sys-apps/xinetd/files/2.3.9/etc.xinetd.d/chargen-tcp13
-rw-r--r--sys-apps/xinetd/files/2.3.9/etc.xinetd.d/chargen-udp14
-rw-r--r--sys-apps/xinetd/files/2.3.9/etc.xinetd.d/daytime-tcp13
-rw-r--r--sys-apps/xinetd/files/2.3.9/etc.xinetd.d/daytime-udp14
-rw-r--r--sys-apps/xinetd/files/2.3.9/etc.xinetd.d/echo-tcp13
-rw-r--r--sys-apps/xinetd/files/2.3.9/etc.xinetd.d/echo-udp14
-rw-r--r--sys-apps/xinetd/files/2.3.9/etc.xinetd.d/time-tcp13
-rw-r--r--sys-apps/xinetd/files/2.3.9/etc.xinetd.d/time-udp14
-rw-r--r--sys-apps/xinetd/files/2.3.9/xinetd.conf13
-rw-r--r--sys-apps/xinetd/files/2.3.9/xinetd.confd3
-rw-r--r--sys-apps/xinetd/files/2.3.9/xinetd.rc641
-rw-r--r--sys-apps/xinetd/files/digest-xinetd-2.3.91
-rw-r--r--sys-apps/xinetd/xinetd-2.3.9.ebuild59
15 files changed, 249 insertions, 1 deletions
diff --git a/sys-apps/xinetd/ChangeLog b/sys-apps/xinetd/ChangeLog
index c01c42481c77..34e238da8fb0 100644
--- a/sys-apps/xinetd/ChangeLog
+++ b/sys-apps/xinetd/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-apps/xinetd
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/xinetd/ChangeLog,v 1.10 2002/10/14 11:19:08 aliz Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/xinetd/ChangeLog,v 1.11 2002/10/24 15:03:54 aliz Exp $
+
+*xinetd-2.3.9 (24 Oct 2002)
+
+ 24 Oct 2002; Daniel Ahlberg <aliz@gentoo.org> :
+ Version bump. Ebuild contributed by Maurizio Disimino <kevin@aptbasilicata.it> in #7792.
*xinetd-2.3.7 (14 Aug 2002)
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
new file mode 100644
index 000000000000..ba35afc106b4
--- /dev/null
+++ b/sys-apps/xinetd/files/2.3.9/etc.xinetd.d/README.services
@@ -0,0 +1,18 @@
+#
+# 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
new file mode 100644
index 000000000000..04b0fbc32834
--- /dev/null
+++ b/sys-apps/xinetd/files/2.3.9/etc.xinetd.d/chargen-tcp
@@ -0,0 +1,13 @@
+# 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
new file mode 100644
index 000000000000..462ba78cd9cf
--- /dev/null
+++ b/sys-apps/xinetd/files/2.3.9/etc.xinetd.d/chargen-udp
@@ -0,0 +1,14 @@
+# 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
new file mode 100644
index 000000000000..2c0cbfee46eb
--- /dev/null
+++ b/sys-apps/xinetd/files/2.3.9/etc.xinetd.d/daytime-tcp
@@ -0,0 +1,13 @@
+# 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
new file mode 100644
index 000000000000..f007611c7cd1
--- /dev/null
+++ b/sys-apps/xinetd/files/2.3.9/etc.xinetd.d/daytime-udp
@@ -0,0 +1,14 @@
+# 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
new file mode 100644
index 000000000000..73d13e7b9550
--- /dev/null
+++ b/sys-apps/xinetd/files/2.3.9/etc.xinetd.d/echo-tcp
@@ -0,0 +1,13 @@
+# 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
new file mode 100644
index 000000000000..2c29096d018a
--- /dev/null
+++ b/sys-apps/xinetd/files/2.3.9/etc.xinetd.d/echo-udp
@@ -0,0 +1,14 @@
+# 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
new file mode 100644
index 000000000000..76e069ea7457
--- /dev/null
+++ b/sys-apps/xinetd/files/2.3.9/etc.xinetd.d/time-tcp
@@ -0,0 +1,13 @@
+# 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
new file mode 100644
index 000000000000..1124655cd56e
--- /dev/null
+++ b/sys-apps/xinetd/files/2.3.9/etc.xinetd.d/time-udp
@@ -0,0 +1,14 @@
+# 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
new file mode 100644
index 000000000000..31ca50077e56
--- /dev/null
+++ b/sys-apps/xinetd/files/2.3.9/xinetd.conf
@@ -0,0 +1,13 @@
+# 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
new file mode 100644
index 000000000000..dd6da7488ad2
--- /dev/null
+++ b/sys-apps/xinetd/files/2.3.9/xinetd.confd
@@ -0,0 +1,3 @@
+# 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
new file mode 100644
index 000000000000..d9627103def1
--- /dev/null
+++ b/sys-apps/xinetd/files/2.3.9/xinetd.rc6
@@ -0,0 +1,41 @@
+#!/sbin/runscript
+# Copyright 1999-2002 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/2.3.9/xinetd.rc6,v 1.1 2002/10/24 15:03:54 aliz 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"
+ /bin/kill -s IOT xinetd &>/dev/null
+ eend $?
+}
diff --git a/sys-apps/xinetd/files/digest-xinetd-2.3.9 b/sys-apps/xinetd/files/digest-xinetd-2.3.9
new file mode 100644
index 000000000000..8ce91d6dda9b
--- /dev/null
+++ b/sys-apps/xinetd/files/digest-xinetd-2.3.9
@@ -0,0 +1 @@
+MD5 d879f6e19468f92abecf2cec7e21e246 xinetd-2.3.9.tar.gz 285611
diff --git a/sys-apps/xinetd/xinetd-2.3.9.ebuild b/sys-apps/xinetd/xinetd-2.3.9.ebuild
new file mode 100644
index 000000000000..cc2b7b8e3b33
--- /dev/null
+++ b/sys-apps/xinetd/xinetd-2.3.9.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/xinetd/xinetd-2.3.9.ebuild,v 1.1 2002/10/24 15:03:54 aliz Exp $
+
+DESCRIPTION="Xinetd is a powerful replacement for inetd, with advanced features"
+HOMEPAGE="http://www.xinetd.org"
+KEYWORDS="~x86 ~ppc ~sparc64"
+SLOT="0"
+LICENSE="BSD"
+SRC_URI="http://www.xinetd.org/${P}.tar.gz"
+
+DEPEND="virtual/glibc
+ tcpd? ( >=sys-apps/tcp-wrappers-7.6-r2 )"
+RDEPEND="${DEPEND} sys-devel/perl"
+
+src_compile() {
+ local myconf
+ use tcpd && myconf="--with-libwrap"
+
+ # the --with-inet6 is now obsolete. Services will default to IPv4 unless configured otherwise.
+
+ econf --with-loadavg ${myconf}
+
+ # Fix CFLAGS
+ sed "/^CFLAGS/s/+=/=/" < Makefile > makefile
+ mv --force makefile Makefile
+
+ emake || die "Failed to compile"
+}
+
+src_install() {
+ into /usr ; dosbin xinetd/xinetd xinetd/itox
+ exeinto /usr/sbin ; doexe xinetd/xconv.pl
+
+ newman xinetd/xinetd.conf.man xinetd.conf.5
+ newman xinetd/xinetd.log.man xinetd.log.8
+ newman xinetd/xinetd.man xinetd.8
+ doman xinetd/itox.8
+
+ newdoc xinetd/sample.conf xinetd.conf.dist.sample
+ newdoc ${FILESDIR}/${PV}/xinetd.conf xinetd.conf.default
+ dodoc AUDIT INSTALL README TODO xinetd/{CHANGELOG,COPYRIGHT}
+
+ insinto /etc/xinetd.d ; doins ${FILESDIR}/${PV}/etc.xinetd.d/*
+ exeinto /etc/init.d ; newexe ${FILESDIR}/${PV}/xinetd.rc6 xinetd
+ insinto /etc/conf.d ; newins ${FILESDIR}/${PV}/xinetd.confd xinetd
+ insinto /etc ; doins ${FILESDIR}/${PV}/xinetd.conf
+}
+
+pkg_postinst(){
+ einfo "This ebuild introduces the /etc/xinetd.d includedir with a default"
+ einfo "/etc/xinetd.conf file. Check your config files if you're upgrading from an older"
+ einfo "ebuild version. You should browse /etc/xinetd.conf and the files in /etc/xinetd.d."
+ ewarn
+ ewarn "PLEASE NOTE: Everything is off by default with access restricted to localhost."
+ ewarn
+ einfo "Check /etc/conf.d/xinetd for the startup options."
+ echo ""
+}