diff options
author | Jeremy Olexa <darkside@gentoo.org> | 2008-06-04 04:20:17 +0000 |
---|---|---|
committer | Jeremy Olexa <darkside@gentoo.org> | 2008-06-04 04:20:17 +0000 |
commit | 493687e112f9604c86319d6b098be83fd8684eab (patch) | |
tree | ba9cf721ce167f577ab7e30ee8b433fd77698540 /net-misc/sendfile | |
parent | Version bump and general QA fixes (see bug #119583). (diff) | |
download | gentoo-2-493687e112f9604c86319d6b098be83fd8684eab.tar.gz gentoo-2-493687e112f9604c86319d6b098be83fd8684eab.tar.bz2 gentoo-2-493687e112f9604c86319d6b098be83fd8684eab.zip |
Version bump. bug #100399. Added tips from Patrick Mairif & Muelli in this version.
(Portage version: 2.1.4.4)
Diffstat (limited to 'net-misc/sendfile')
-rw-r--r-- | net-misc/sendfile/ChangeLog | 11 | ||||
-rw-r--r-- | net-misc/sendfile/files/sendfiled | 11 | ||||
-rw-r--r-- | net-misc/sendfile/sendfile-2.1b.ebuild | 54 |
3 files changed, 74 insertions, 2 deletions
diff --git a/net-misc/sendfile/ChangeLog b/net-misc/sendfile/ChangeLog index 18ba1f016470..194d64013392 100644 --- a/net-misc/sendfile/ChangeLog +++ b/net-misc/sendfile/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-misc/sendfile -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/sendfile/ChangeLog,v 1.9 2007/05/14 19:45:45 bangert Exp $ +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/sendfile/ChangeLog,v 1.10 2008/06/04 04:20:16 darkside Exp $ + +*sendfile-2.1b (04 Jun 2008) + + 04 Jun 2008; Jeremy Olexa <darkside@gentoo.org> +files/sendfiled, + +sendfile-2.1b.ebuild: + Version bump. bug #100399. Added tips from Patrick Mairif & Muelli in this + version. 14 May 2007; Thilo Bangert <bangert@gentoo.org> metadata.xml: add <herd>no-herd</herd> diff --git a/net-misc/sendfile/files/sendfiled b/net-misc/sendfile/files/sendfiled new file mode 100644 index 000000000000..335887c4b9c8 --- /dev/null +++ b/net-misc/sendfile/files/sendfiled @@ -0,0 +1,11 @@ +service saft +{ + socket_type = stream + protocol = tcp + wait = no + user = root + server = /usr/sbin/sendfiled + #the following is required, even for local host communications. + #only_from = 127.0.0.1 + disable = yes #change this to actually run sendfiled +} diff --git a/net-misc/sendfile/sendfile-2.1b.ebuild b/net-misc/sendfile/sendfile-2.1b.ebuild new file mode 100644 index 000000000000..394476fb8d1c --- /dev/null +++ b/net-misc/sendfile/sendfile-2.1b.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/sendfile/sendfile-2.1b.ebuild,v 1.1 2008/06/04 04:20:16 darkside Exp $ + +DESCRIPTION="SAFT implementation for UNIX and serves as a tool for asynchronous sending of files in the Internet" +HOMEPAGE="http://fex.rus.uni-stuttgart.de/saft/sendfile.html" +SRC_URI="http://fex.rus.uni-stuttgart.de/download/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RDEPEND="virtual/inetd" + +src_compile() { + ./makeconfig \ + "CFLAGS=\"${CFLAGS}\" \ + BINDIR=/usr/bin \ + MANDIR=/usr/share/man \ + CONFIG=/etc/sendfile \ + SERVERDIR=/usr/sbin" || die "./makeconfig failed" + + make all || die "make all failed" +} + +src_install() { + into /usr + dosbin src/sendfiled + dobin etc/check_sendfile src/sendfile src/sendmsg src/receive src/fetchfile + dobin src/utf7encode src/wlock etc/sfconf etc/sfdconf + dosym /usr/bin/utf7encode /usr/bin/utf7decode + + dodir /etc/sendfile + dodir /var/spool/sendfile + dodir /var/spool/sendfile/LOG + dodir /var/spool/sendfile/OUTGOING + fperms 0700 /var/spool/sendfile/LOG + fperms 1777 /var/spool/sendfile/OUTGOING + + insinto /etc/sendfile + doins etc/sendfile.deny etc/sendfile.cf + + insinto /etc/xinetd.d + doins "${FILESDIR}/sendfiled" || die + + doman doc/sendmsg.1 doc/sendfile.1 doc/receive.1 doc/fetchfile.1 + + dodoc doc/AUTHORS doc/ChangeLog doc/README* doc/THANKS +} + +pkg_postinst() { + einfo "To start the sendfile daemon you have to start xinetd" +} |