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
commitb7ee2fa83a4f1ef30a95e4c51534a8c446331e7b (patch)
treeb5a9b49bbf4e93ffed2726887fc4f8c74361e69d /net-misc/sendfile/sendfile-2.1a.ebuild
parentInitial ebuild (diff)
downloadgentoo-2-b7ee2fa83a4f1ef30a95e4c51534a8c446331e7b.tar.gz
gentoo-2-b7ee2fa83a4f1ef30a95e4c51534a8c446331e7b.tar.bz2
gentoo-2-b7ee2fa83a4f1ef30a95e4c51534a8c446331e7b.zip
Initial import.
Diffstat (limited to 'net-misc/sendfile/sendfile-2.1a.ebuild')
-rw-r--r--net-misc/sendfile/sendfile-2.1a.ebuild45
1 files changed, 45 insertions, 0 deletions
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
+}