/[gentoo-x86]/net-misc/sendfile/sendfile-2.1b.ebuild
Gentoo

Contents of /net-misc/sendfile/sendfile-2.1b.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed Jun 27 17:10:30 2012 UTC (7 years, 5 months ago) by kensington
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Remove old.

(Portage version: 2.1.11.2/cvs/Linux x86_64)

1 # Copyright 1999-2008 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/sendfile/sendfile-2.1b.ebuild,v 1.1 2008/06/04 04:20:16 darkside Exp $
4
5 DESCRIPTION="SAFT implementation for UNIX and serves as a tool for asynchronous sending of files in the Internet"
6 HOMEPAGE="http://fex.rus.uni-stuttgart.de/saft/sendfile.html"
7 SRC_URI="http://fex.rus.uni-stuttgart.de/download/${P}.tar.gz"
8
9 LICENSE="GPL-2"
10 SLOT="0"
11 KEYWORDS="~amd64 ~ppc ~x86"
12 IUSE=""
13
14 RDEPEND="virtual/inetd"
15
16 src_compile() {
17 ./makeconfig \
18 "CFLAGS=\"${CFLAGS}\" \
19 BINDIR=/usr/bin \
20 MANDIR=/usr/share/man \
21 CONFIG=/etc/sendfile \
22 SERVERDIR=/usr/sbin" || die "./makeconfig failed"
23
24 make all || die "make all failed"
25 }
26
27 src_install() {
28 into /usr
29 dosbin src/sendfiled
30 dobin etc/check_sendfile src/sendfile src/sendmsg src/receive src/fetchfile
31 dobin src/utf7encode src/wlock etc/sfconf etc/sfdconf
32 dosym /usr/bin/utf7encode /usr/bin/utf7decode
33
34 dodir /etc/sendfile
35 dodir /var/spool/sendfile
36 dodir /var/spool/sendfile/LOG
37 dodir /var/spool/sendfile/OUTGOING
38 fperms 0700 /var/spool/sendfile/LOG
39 fperms 1777 /var/spool/sendfile/OUTGOING
40
41 insinto /etc/sendfile
42 doins etc/sendfile.deny etc/sendfile.cf
43
44 insinto /etc/xinetd.d
45 doins "${FILESDIR}/sendfiled" || die
46
47 doman doc/sendmsg.1 doc/sendfile.1 doc/receive.1 doc/fetchfile.1
48
49 dodoc doc/AUTHORS doc/ChangeLog doc/README* doc/THANKS
50 }
51
52 pkg_postinst() {
53 einfo "To start the sendfile daemon you have to start xinetd"
54 }

  ViewVC Help
Powered by ViewVC 1.1.20