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 | e590025d55cc068e8767ba19bb0c50a6d48f0a01 (patch) | |
tree | ff332094de2bbbece687e414def32a5e4dbbc84f /sys-apps/xinetd | |
parent | old (diff) | |
download | historical-e590025d55cc068e8767ba19bb0c50a6d48f0a01.tar.gz historical-e590025d55cc068e8767ba19bb0c50a6d48f0a01.tar.bz2 historical-e590025d55cc068e8767ba19bb0c50a6d48f0a01.zip |
Version bump #110806 by Skywalker.
Package-Manager: portage-2.0.53_rc6
Diffstat (limited to 'sys-apps/xinetd')
-rw-r--r-- | sys-apps/xinetd/ChangeLog | 11 | ||||
-rw-r--r-- | sys-apps/xinetd/Manifest | 10 | ||||
-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 |
7 files changed, 137 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/Manifest b/sys-apps/xinetd/Manifest index 32cab71630d9..90b38586182b 100644 --- a/sys-apps/xinetd/Manifest +++ b/sys-apps/xinetd/Manifest @@ -1,3 +1,6 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + MD5 ab68f826254e9a7c9e80dad789730460 ChangeLog 5626 MD5 3b6428878ffb5338d7eaff85ccbe6f6a files/digest-xinetd-2.3.13 65 MD5 1664118097dcca0bdd6c3f9dc6da4b86 files/digest-xinetd-2.3.14 65 @@ -20,3 +23,10 @@ MD5 5e5499c1d0e11aa5ef488642d7c3e5db files/xinetd.rc6 868 MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164 MD5 0ab919c245efca6ef554559091b2ae33 xinetd-2.3.13.ebuild 1999 MD5 a623795bb4b7660f0e0fda4cf3d1529e xinetd-2.3.14.ebuild 1655 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.2 (GNU/Linux) + +iD8DBQFDZEAOgIKl8Uu19MoRAo0eAJkB2VFLzQBObZS7sVa7xobRxjocXACfQ02a +e25KwWUthGZP8LAyUrO+nNg= +=GhGg +-----END PGP SIGNATURE----- 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 "" +} |