diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-10-30 03:37:27 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-10-30 03:37:27 +0000 |
commit | adb09320ae049f547ee89e307ec13fcb29769bbc (patch) | |
tree | a8db16b65f00ef53f22a1bce3730ace8e0b5f539 /sys-apps | |
parent | old (diff) | |
download | gentoo-2-adb09320ae049f547ee89e307ec13fcb29769bbc.tar.gz gentoo-2-adb09320ae049f547ee89e307ec13fcb29769bbc.tar.bz2 gentoo-2-adb09320ae049f547ee89e307ec13fcb29769bbc.zip |
Version bump #110806 by Skywalker.
(Portage version: 2.0.53_rc6)
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/xinetd/ChangeLog | 11 | ||||
-rw-r--r-- | sys-apps/xinetd/files/digest-xinetd-2.3.14 | 1 | ||||
-rw-r--r-- | sys-apps/xinetd/files/xinetd-2.3.14-DESTDIR.patch | 27 | ||||
-rw-r--r-- | sys-apps/xinetd/files/xinetd-2.3.14-config.patch | 9 | ||||
-rw-r--r-- | sys-apps/xinetd/files/xinetd-2.3.14-install-contrib.patch | 24 | ||||
-rw-r--r-- | sys-apps/xinetd/xinetd-2.3.14.ebuild | 57 |
6 files changed, 127 insertions, 2 deletions
diff --git a/sys-apps/xinetd/ChangeLog b/sys-apps/xinetd/ChangeLog index 06ffe7716cd4..c7b7b8345120 100644 --- a/sys-apps/xinetd/ChangeLog +++ b/sys-apps/xinetd/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sys-apps/xinetd -# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/xinetd/ChangeLog,v 1.36 2005/01/02 23:57:51 ciaranm Exp $ +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/xinetd/ChangeLog,v 1.37 2005/10/30 03:37:26 vapier Exp $ + +*xinetd-2.3.14 (30 Oct 2005) + + 30 Oct 2005; Mike Frysinger <vapier@gentoo.org> + +files/xinetd-2.3.14-DESTDIR.patch, +files/xinetd-2.3.14-config.patch, + +files/xinetd-2.3.14-install-contrib.patch, +xinetd-2.3.14.ebuild: + Version bump #110806 by Skywalker. 02 Jan 2005; Ciaran McCreesh <ciaranm@gentoo.org> : Change encoding to UTF-8 for GLEP 31 compliance diff --git a/sys-apps/xinetd/files/digest-xinetd-2.3.14 b/sys-apps/xinetd/files/digest-xinetd-2.3.14 new file mode 100644 index 000000000000..519b5efb62ce --- /dev/null +++ b/sys-apps/xinetd/files/digest-xinetd-2.3.14 @@ -0,0 +1 @@ +MD5 567382d7972613090215c6c54f9b82d9 xinetd-2.3.14.tar.gz 301703 diff --git a/sys-apps/xinetd/files/xinetd-2.3.14-DESTDIR.patch b/sys-apps/xinetd/files/xinetd-2.3.14-DESTDIR.patch new file mode 100644 index 000000000000..2ebdf4c4f1b0 --- /dev/null +++ b/sys-apps/xinetd/files/xinetd-2.3.14-DESTDIR.patch @@ -0,0 +1,27 @@ +--- Makefile.in.orig 2005-10-29 22:08:54.000000000 -0400 ++++ Makefile.in 2005-10-29 22:09:32.000000000 -0400 +@@ -75,15 +75,15 @@ + + install: build + for i in $(DAEMONDIR) $(BINDIR) $(MANDIR)/man5 $(MANDIR)/man8 ; do \ +- test -d $$i || mkdir -p $$i ; done +- $(INSTALL_CMD) -m 755 xinetd/xinetd $(DAEMONDIR) +- $(INSTALL_CMD) -m 755 xinetd/itox $(DAEMONDIR) +- $(INSTALL_CMD) -m 755 $(SRCDIR)/xinetd/xconv.pl $(DAEMONDIR) +- $(INSTALL_CMD) -m 644 $(SRCDIR)/xinetd/xinetd.conf.man $(MANDIR)/man5/xinetd.conf.5 +- $(INSTALL_CMD) -m 644 $(SRCDIR)/xinetd/xinetd.log.man $(MANDIR)/man8/xinetd.log.8 +- $(INSTALL_CMD) -m 644 $(SRCDIR)/xinetd/xinetd.man $(MANDIR)/man8/xinetd.8 +- $(INSTALL_CMD) -m 644 $(SRCDIR)/xinetd/itox.8 $(MANDIR)/man8/itox.8 +- $(INSTALL_CMD) -m 644 $(SRCDIR)/xinetd/xconv.pl.8 $(MANDIR)/man8/xconv.pl.8 ++ test -d $(DESTDIR)$$i || mkdir -p $(DESTDIR)$$i ; done ++ $(INSTALL_CMD) -m 755 xinetd/xinetd $(DESTDIR)$(DAEMONDIR) ++ $(INSTALL_CMD) -m 755 xinetd/itox $(DESTDIR)$(DAEMONDIR) ++ $(INSTALL_CMD) -m 755 $(SRCDIR)/xinetd/xconv.pl $(DESTDIR)$(DAEMONDIR) ++ $(INSTALL_CMD) -m 644 $(SRCDIR)/xinetd/xinetd.conf.man $(DESTDIR)$(MANDIR)/man5/xinetd.conf.5 ++ $(INSTALL_CMD) -m 644 $(SRCDIR)/xinetd/xinetd.log.man $(DESTDIR)$(MANDIR)/man8/xinetd.log.8 ++ $(INSTALL_CMD) -m 644 $(SRCDIR)/xinetd/xinetd.man $(DESTDIR)$(MANDIR)/man8/xinetd.8 ++ $(INSTALL_CMD) -m 644 $(SRCDIR)/xinetd/itox.8 $(DESTDIR)$(MANDIR)/man8/itox.8 ++ $(INSTALL_CMD) -m 644 $(SRCDIR)/xinetd/xconv.pl.8 $(DESTDIR)$(MANDIR)/man8/xconv.pl.8 + @echo "You must put your xinetd.conf in /etc/xinetd.conf" + @echo "There is a sample config file in xinetd/sample.conf and you can" + @echo "use xconv.pl to convert your old inetd.conf file to an xinetd format" diff --git a/sys-apps/xinetd/files/xinetd-2.3.14-config.patch b/sys-apps/xinetd/files/xinetd-2.3.14-config.patch new file mode 100644 index 000000000000..c368dea56e1b --- /dev/null +++ b/sys-apps/xinetd/files/xinetd-2.3.14-config.patch @@ -0,0 +1,9 @@ +--- contrib/xinetd.conf ++++ contrib/xinetd.conf +@@ -22,5 +22,5 @@ + # + # no_access = +-# only_from = ++ only_from = localhost + # max_load = 0 + cps = 50 10 diff --git a/sys-apps/xinetd/files/xinetd-2.3.14-install-contrib.patch b/sys-apps/xinetd/files/xinetd-2.3.14-install-contrib.patch new file mode 100644 index 000000000000..c1717e43902f --- /dev/null +++ b/sys-apps/xinetd/files/xinetd-2.3.14-install-contrib.patch @@ -0,0 +1,24 @@ +--- xinetd-2.3.14/Makefile.in ++++ xinetd-2.3.14/Makefile.in +@@ -9,6 +9,7 @@ + DESTDIR = + prefix = @prefix@ + exec_prefix = @exec_prefix@ ++ETCDIR = @sysconfdir@ + DAEMONDIR = @sbindir@ + MANDIR = @mandir@ + topdir = @top_srcdir@ +@@ -97,7 +98,12 @@ + rm -f $(MANDIR)/man8/xinetd.log.8 + rm -f $(MANDIR)/man8/xinetd.8 + rm -f $(MANDIR)/man8/itox.8 +- ++ ++install-contrib: ++ test -d $(DESTDIR)$(ETCDIR)/xinetd.d || mkdir -p $(DESTDIR)$(ETCDIR)/xinetd.d ++ $(INSTALL_CMD) -m 644 contrib/xinetd.conf $(DESTDIR)$(ETCDIR) ++ $(INSTALL_CMD) -m 644 contrib/xinetd.d/* $(DESTDIR)$(ETCDIR)/xinetd.d ++ + distclean: clean + rm -f config.cache config.log Makefile config.status xinetd/itox + rm -f config.h @srcdir@/libs/include/* @srcdir@/libs/man/* diff --git a/sys-apps/xinetd/xinetd-2.3.14.ebuild b/sys-apps/xinetd/xinetd-2.3.14.ebuild new file mode 100644 index 000000000000..1cc36cdbf7d4 --- /dev/null +++ b/sys-apps/xinetd/xinetd-2.3.14.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/xinetd/xinetd-2.3.14.ebuild,v 1.1 2005/10/30 03:37:26 vapier 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}" + cp Makefile.in{,.orig} + epatch "${FILESDIR}"/${P}-DESTDIR.patch + epatch "${FILESDIR}"/${P}-install-contrib.patch + epatch "${FILESDIR}"/${P}-config.patch +} + +src_compile() { + econf \ + $(use_with tcpd libwrap) \ + --with-loadavg \ + || die "econf failed" + emake || die "Failed to compile" +} + +src_install() { + make install install-contrib DESTDIR="${D}" || die "failed install" + + newinitd "${FILESDIR}"/xinetd.rc6 xinetd || die + newconfd "${FILESDIR}"/xinetd.confd xinetd || die + + newdoc contrib/xinetd.conf xinetd.conf.dist.sample + dodoc AUDIT INSTALL README TODO CHANGELOG +} + +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 "" +} |