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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.11 - (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.10: +1 -1 lines
FILE REMOVED
Remove old.

(Portage version: 2.1.11.2/cvs/Linux x86_64)

1 # Copyright 1999-2006 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.1a.ebuild,v 1.10 2006/10/14 21:51:59 tester Exp $
4
5 DESCRIPTION="SAFT implementation for UNIX and serves as a tool for asynchronous sending of files in the Internet"
6 HOMEPAGE="http://www.belwue.de/projekte/saft/sendfile-us.html"
7 SRC_URI="ftp://ftp.belwue.de/pub/unix/sendfile/${P}.tar.gz"
8
9 LICENSE="GPL-2"
10 SLOT="0"
11 KEYWORDS="~amd64 ppc x86"
12 IUSE=""
13
14 src_compile() {
15 ./makeconfig \
16 "CFLAGS=\"${CFLAGS}\" \
17 BINDIR=/usr/bin \
18 MANDIR=/usr/share/man \
19 CONFIG=/etc/sendfile \
20 SERVERDIR=/usr/sbin" || die
21
22 make all || die
23 }
24
25 src_install() {
26 into /usr
27 dosbin src/sendfiled
28 dobin etc/check_sendfile src/sendfile src/sendmsg src/receive src/fetchfile
29 dobin src/utf7encode src/wlock etc/sfconf etc/sfdconf
30 dosym /usr/bin/utf7encode /usr/bin/utf7decode
31
32 dodir /etc/sendfile
33 dodir /var/spool/sendfile
34 dodir /var/spool/sendfile/LOG
35 dodir /var/spool/sendfile/OUTGOING
36 fperms 0700 /var/spool/sendfile/LOG
37 fperms 1777 /var/spool/sendfile/OUTGOING
38
39 insinto /etc/sendfile
40 doins etc/sendfile.deny etc/sendfile.cf
41
42 doman doc/sendmsg.1 doc/sendfile.1 doc/receive.1 doc/fetchfile.1
43
44 dodoc doc/AUTHORS doc/ChangeLog doc/README* doc/THANKS
45 }
46
47 pkg_postinst() {
48 einfo "To start the sendfile daemon you have to start Inetd."
49 }

  ViewVC Help
Powered by ViewVC 1.1.20