summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Ahlberg <aliz@gentoo.org>2002-10-29 18:29:07 +0000
committerDaniel Ahlberg <aliz@gentoo.org>2002-10-29 18:29:07 +0000
commitb49023ae4249e876cfd785557dfbd9d0feca7730 (patch)
tree0d1043dc78bae820332a0a46ca659547478a4c6d /net-misc/sendfile
parentInitial ebuild (diff)
downloadhistorical-b49023ae4249e876cfd785557dfbd9d0feca7730.tar.gz
historical-b49023ae4249e876cfd785557dfbd9d0feca7730.tar.bz2
historical-b49023ae4249e876cfd785557dfbd9d0feca7730.zip
Initial import.
Diffstat (limited to 'net-misc/sendfile')
-rw-r--r--net-misc/sendfile/ChangeLog8
-rw-r--r--net-misc/sendfile/files/digest-sendfile-2.1a1
-rw-r--r--net-misc/sendfile/sendfile-2.1a.ebuild45
3 files changed, 54 insertions, 0 deletions
diff --git a/net-misc/sendfile/ChangeLog b/net-misc/sendfile/ChangeLog
new file mode 100644
index 000000000000..7cd1f93ae2cd
--- /dev/null
+++ b/net-misc/sendfile/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for <CATEGORY>/<PACKAGE_NAME>
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/sendfile/ChangeLog,v 1.1 2002/10/29 18:29:07 aliz Exp $
+
+*sendfile-2.1a (29 Oct 2002)
+
+ 29 Oct 2002; Daniel Ahlberg <aliz@gentoo.org> :
+ Initial import. Ebuild submitted by Christopher Sharp <csharp@freeshell.org> in #5738.
diff --git a/net-misc/sendfile/files/digest-sendfile-2.1a b/net-misc/sendfile/files/digest-sendfile-2.1a
new file mode 100644
index 000000000000..d68fe63e73ae
--- /dev/null
+++ b/net-misc/sendfile/files/digest-sendfile-2.1a
@@ -0,0 +1 @@
+MD5 a8aa16b9891468a12c674a3e585128c0 sendfile-2.1a.tar.gz 299821
diff --git a/net-misc/sendfile/sendfile-2.1a.ebuild b/net-misc/sendfile/sendfile-2.1a.ebuild
new file mode 100644
index 000000000000..b3295ceffa2c
--- /dev/null
+++ b/net-misc/sendfile/sendfile-2.1a.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/sendfile/sendfile-2.1a.ebuild,v 1.1 2002/10/29 18:29:07 aliz Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="Sendfile is a SAFT implementation for UNIX and serves as a tool for asynchronous sending of files in the Internet"
+SRC_URI="ftp://ftp.belwue.de/pub/unix/sendfile/${P}.tar.gz"
+HOMEPAGE="http://www.belwue.de/projekte/saft/sendfile-us.html"
+SLOT="0"
+LICENSE="GPL"
+KEYWORDS="~x86"
+
+src_compile() {
+ ./makeconfig "CFLAGS=\"${CFLAGS}\" BINDIR=/usr/bin MANDIR=/usr/share/man \
+ CONFIG=/etc/sendfile SERVERDIR=/usr/sbin" || die
+
+ make all || die
+}
+
+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
+
+ doman doc/sendmsg.1 doc/sendfile.1 doc/receive.1 doc/fetchfile.1
+
+ dodoc doc/AUTHORS doc/COPYING doc/ChangeLog doc/README* doc/THANKS
+}
+
+pkg_postinst() {
+ einfo "To start the sendfile daemon you have to start Inetd."
+ einfo
+}