summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Olexa <darkside@gentoo.org>2008-06-04 04:20:17 +0000
committerJeremy Olexa <darkside@gentoo.org>2008-06-04 04:20:17 +0000
commitf23ccfedd2e6764c0775949c28dd20275c2feb99 (patch)
treebae30eed3f3bca11c06db7b9ab0047531d274e03 /net-misc/sendfile
parentVersion bump and general QA fixes (see bug #119583). (diff)
downloadhistorical-f23ccfedd2e6764c0775949c28dd20275c2feb99.tar.gz
historical-f23ccfedd2e6764c0775949c28dd20275c2feb99.tar.bz2
historical-f23ccfedd2e6764c0775949c28dd20275c2feb99.zip
Version bump. bug #100399. Added tips from Patrick Mairif & Muelli in this version.
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'net-misc/sendfile')
-rw-r--r--net-misc/sendfile/ChangeLog11
-rw-r--r--net-misc/sendfile/Manifest5
-rw-r--r--net-misc/sendfile/files/sendfiled11
-rw-r--r--net-misc/sendfile/sendfile-2.1b.ebuild54
4 files changed, 78 insertions, 3 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/Manifest b/net-misc/sendfile/Manifest
index 2b38654143a5..9ac8735a8a7e 100644
--- a/net-misc/sendfile/Manifest
+++ b/net-misc/sendfile/Manifest
@@ -1,4 +1,7 @@
+AUX sendfiled 311 RMD160 97ec5f42a78a5fb2df2e79d99c371c3f2bfb8dce SHA1 771f214296f3521184418eddba8a8666b538ccd3 SHA256 7efa6cbce68ecaccdd601181e41cd86a973fdc8cd13c72987043513f6fcf2ee2
DIST sendfile-2.1a.tar.gz 299821 RMD160 21e2ffb09cb8910578f685bf2f3ee1bef92f70f1 SHA1 a31353a8f8fa406a8c6d7aa8c757860426f42436 SHA256 0a202d9d2c68e44bb2fa26677cf913185f20704a23e40119144ab9670959c00d
+DIST sendfile-2.1b.tar.gz 342757 RMD160 4bc23f4bc7ec26c5ff3625e0dec6f369d0203a00 SHA1 4c4842ae1c44bfbfe4c8d1b3646ebb4b29bcd341 SHA256 f16aefa718a6201933d1f2cf6947b91db838cfd4e7fce885fa9f0d4ac997b9de
EBUILD sendfile-2.1a.ebuild 1397 RMD160 6939196933e84d462d0b27017c90ea722f8cf1ad SHA1 e6b06a9b72cb33fce9e49938af5c381f2d6bcc1c SHA256 13c162c85cb0a16fb115e6dadf9a799ea2c9a6737cbd5743664d82246129e5d2
-MISC ChangeLog 904 RMD160 21292099217beb814fa02caf2bf47374daf18c4d SHA1 9cb3f9f5a5debcc926cc502fa7b2dcda366c7afb SHA256 5ad82efa4cbb1fd05d44fd2ae694e6b1d4794e905a6d01c2f9dabb023e2640f1
+EBUILD sendfile-2.1b.ebuild 1529 RMD160 00a4f24427051f00ecf7c5ce5651ef0e4c8046f6 SHA1 454a21d1677e5990f604176abb882fc4bdc686e4 SHA256 5142de03003129bd2dfa1d325c43b5dcf28c0f432eac7aebebeffc8ef1623563
+MISC ChangeLog 1118 RMD160 fcf4d26871480a61e30a20b96413cb8352df79f8 SHA1 19da79da886d48ef49e9cc69c49a9ed7d60c3501 SHA256 eb3db1d4f19023b50b867eda30d46328c538363587d7de8e2545a05df7f3509e
MISC metadata.xml 231 RMD160 c13056229989c3d4f448a7c7abcff3f4ee7ce13c SHA1 2d63dfb700b223f8f37c078692a81b2237896bce SHA256 4595c2615fd7c9095517949b1a920d4457f92801eb9d46307b18aafe58ec2a8a
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"
+}