summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/xinetd')
-rw-r--r--sys-apps/xinetd/files/etc.xinetd.d/README.services18
-rw-r--r--sys-apps/xinetd/files/etc.xinetd.d/chargen-tcp13
-rw-r--r--sys-apps/xinetd/files/etc.xinetd.d/chargen-udp14
-rw-r--r--sys-apps/xinetd/files/etc.xinetd.d/daytime-tcp13
-rw-r--r--sys-apps/xinetd/files/etc.xinetd.d/daytime-udp14
-rw-r--r--sys-apps/xinetd/files/etc.xinetd.d/echo-tcp13
-rw-r--r--sys-apps/xinetd/files/etc.xinetd.d/echo-udp14
-rw-r--r--sys-apps/xinetd/files/etc.xinetd.d/time-tcp13
-rw-r--r--sys-apps/xinetd/files/etc.xinetd.d/time-udp14
-rw-r--r--sys-apps/xinetd/files/xinetd-2.3.13-gcc4.patch28
-rw-r--r--sys-apps/xinetd/files/xinetd.conf13
-rw-r--r--sys-apps/xinetd/xinetd-2.3.13.ebuild65
12 files changed, 0 insertions, 232 deletions
diff --git a/sys-apps/xinetd/files/etc.xinetd.d/README.services b/sys-apps/xinetd/files/etc.xinetd.d/README.services
deleted file mode 100644
index ba35afc106b4..000000000000
--- a/sys-apps/xinetd/files/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/etc.xinetd.d/chargen-tcp b/sys-apps/xinetd/files/etc.xinetd.d/chargen-tcp
deleted file mode 100644
index 04b0fbc32834..000000000000
--- a/sys-apps/xinetd/files/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/etc.xinetd.d/chargen-udp b/sys-apps/xinetd/files/etc.xinetd.d/chargen-udp
deleted file mode 100644
index 462ba78cd9cf..000000000000
--- a/sys-apps/xinetd/files/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/etc.xinetd.d/daytime-tcp b/sys-apps/xinetd/files/etc.xinetd.d/daytime-tcp
deleted file mode 100644
index 2c0cbfee46eb..000000000000
--- a/sys-apps/xinetd/files/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/etc.xinetd.d/daytime-udp b/sys-apps/xinetd/files/etc.xinetd.d/daytime-udp
deleted file mode 100644
index f007611c7cd1..000000000000
--- a/sys-apps/xinetd/files/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/etc.xinetd.d/echo-tcp b/sys-apps/xinetd/files/etc.xinetd.d/echo-tcp
deleted file mode 100644
index 73d13e7b9550..000000000000
--- a/sys-apps/xinetd/files/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/etc.xinetd.d/echo-udp b/sys-apps/xinetd/files/etc.xinetd.d/echo-udp
deleted file mode 100644
index 2c29096d018a..000000000000
--- a/sys-apps/xinetd/files/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/etc.xinetd.d/time-tcp b/sys-apps/xinetd/files/etc.xinetd.d/time-tcp
deleted file mode 100644
index 76e069ea7457..000000000000
--- a/sys-apps/xinetd/files/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/etc.xinetd.d/time-udp b/sys-apps/xinetd/files/etc.xinetd.d/time-udp
deleted file mode 100644
index 1124655cd56e..000000000000
--- a/sys-apps/xinetd/files/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/xinetd-2.3.13-gcc4.patch b/sys-apps/xinetd/files/xinetd-2.3.13-gcc4.patch
deleted file mode 100644
index 80a7bfda84a9..000000000000
--- a/sys-apps/xinetd/files/xinetd-2.3.13-gcc4.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-Fixes from upstream CVS for gcc-4.x.
-
-http://bugs.gentoo.org/show_bug.cgi?id=86128
-
---- xinetd/service.c
-+++ xinetd/service.c
-@@ -764,8 +764,8 @@
- return FAILED;
-
- if ( last == NULL ) {
-- last = SAIN( SVC_LAST_DGRAM_ADDR(sp) ) =
-- SAIN( calloc( 1, sizeof(union xsockaddr) ) );
-+ last = SAIN( calloc( 1, sizeof(union xsockaddr) ) );
-+ SVC_LAST_DGRAM_ADDR(sp) = (union xsockaddr *)last;
- }
-
- (void) time( &current_time ) ;
-@@ -791,8 +791,8 @@
- return FAILED;
-
- if( last == NULL ) {
-- last = SAIN6(SVC_LAST_DGRAM_ADDR(sp)) =
-- SAIN6(calloc( 1, sizeof(union xsockaddr) ) );
-+ last = SAIN6(calloc( 1, sizeof(union xsockaddr) ) );
-+ SVC_LAST_DGRAM_ADDR( sp ) = (union xsockaddr *)last;
- }
-
- (void) time( &current_time ) ;
diff --git a/sys-apps/xinetd/files/xinetd.conf b/sys-apps/xinetd/files/xinetd.conf
deleted file mode 100644
index bce93fdc548f..000000000000
--- a/sys-apps/xinetd/files/xinetd.conf
+++ /dev/null
@@ -1,13 +0,0 @@
-# /etc/xinetd.conf: 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/xinetd-2.3.13.ebuild b/sys-apps/xinetd/xinetd-2.3.13.ebuild
deleted file mode 100644
index a179012f0803..000000000000
--- a/sys-apps/xinetd/xinetd-2.3.13.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/xinetd/xinetd-2.3.13.ebuild,v 1.15 2008/12/20 09:45:38 pva Exp $
-
-inherit eutils
-
-DESCRIPTION="powerful replacement for inetd"
-HOMEPAGE="http://www.xinetd.org/"
-SRC_URI="http://www.xinetd.org/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86"
-IUSE="tcpd"
-
-DEPEND="tcpd? ( >=sys-apps/tcp-wrappers-7.6-r2 )"
-RDEPEND="${DEPEND}
- dev-lang/perl"
-PROVIDE="virtual/inetd"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}"/${P}-gcc4.patch
-}
-
-src_compile() {
- local myconf
- use tcpd && myconf="--with-libwrap"
- econf --with-loadavg ${myconf} || die "econf failed"
-
- # Fix CFLAGS
- sed -i -e "/^CFLAGS/s/+=/=/" Makefile
- emake || die "Failed to compile"
-}
-
-src_install() {
- into /usr ; dosbin xinetd/xinetd xinetd/itox || die
- 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}/xinetd.conf xinetd.conf.default || die
- dodoc AUDIT INSTALL README TODO CHANGELOG COPYRIGHT
-
- insinto /etc/xinetd.d ; doins ${FILESDIR}/etc.xinetd.d/* || die
- exeinto /etc/init.d ; newexe ${FILESDIR}/xinetd.rc6 xinetd || die
- insinto /etc/conf.d ; newins ${FILESDIR}/xinetd.confd xinetd || die
- insinto /etc ; doins ${FILESDIR}/xinetd.conf || die
-}
-
-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 ""
-}