diff options
author | Jeroen Roovers <jer@gentoo.org> | 2009-09-04 16:05:46 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2009-09-04 16:05:46 +0000 |
commit | 0fa35caf4549316977173f9055aedb908d4c97ba (patch) | |
tree | 4f905666ffab530f408c6522a34e64f1af90db65 /net-misc/sendfile | |
parent | Remove old (diff) | |
download | historical-0fa35caf4549316977173f9055aedb908d4c97ba.tar.gz historical-0fa35caf4549316977173f9055aedb908d4c97ba.tar.bz2 historical-0fa35caf4549316977173f9055aedb908d4c97ba.zip |
Respect CC, LDFLAGS (thereby also preventing stripping, bug #241018).
Package-Manager: portage-2.2_rc40/cvs/Linux i686
Diffstat (limited to 'net-misc/sendfile')
-rw-r--r-- | net-misc/sendfile/ChangeLog | 9 | ||||
-rw-r--r-- | net-misc/sendfile/Manifest | 3 | ||||
-rw-r--r-- | net-misc/sendfile/sendfile-2.1b-r1.ebuild | 58 |
3 files changed, 67 insertions, 3 deletions
diff --git a/net-misc/sendfile/ChangeLog b/net-misc/sendfile/ChangeLog index 194d64013392..b7f1def28d1c 100644 --- a/net-misc/sendfile/ChangeLog +++ b/net-misc/sendfile/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-misc/sendfile -# 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 $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/sendfile/ChangeLog,v 1.11 2009/09/04 16:05:46 jer Exp $ + +*sendfile-2.1b-r1 (04 Sep 2009) + + 04 Sep 2009; Jeroen Roovers <jer@gentoo.org> +sendfile-2.1b-r1.ebuild: + Respect CC, LDFLAGS (thereby also preventing stripping, bug #241018). *sendfile-2.1b (04 Jun 2008) diff --git a/net-misc/sendfile/Manifest b/net-misc/sendfile/Manifest index 9ac8735a8a7e..4714b5e3d006 100644 --- a/net-misc/sendfile/Manifest +++ b/net-misc/sendfile/Manifest @@ -2,6 +2,7 @@ AUX sendfiled 311 RMD160 97ec5f42a78a5fb2df2e79d99c371c3f2bfb8dce SHA1 771f21429 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 +EBUILD sendfile-2.1b-r1.ebuild 1598 RMD160 a9985162e98cf880230352d9ee77abf12e335d5f SHA1 fed3bac511013e937f82c6642e7d53445c02ee6d SHA256 6925fe7565aa6eace7327993531fa1e52a4902353c56e6f52d23c9d9918a9e46 EBUILD sendfile-2.1b.ebuild 1529 RMD160 00a4f24427051f00ecf7c5ce5651ef0e4c8046f6 SHA1 454a21d1677e5990f604176abb882fc4bdc686e4 SHA256 5142de03003129bd2dfa1d325c43b5dcf28c0f432eac7aebebeffc8ef1623563 -MISC ChangeLog 1118 RMD160 fcf4d26871480a61e30a20b96413cb8352df79f8 SHA1 19da79da886d48ef49e9cc69c49a9ed7d60c3501 SHA256 eb3db1d4f19023b50b867eda30d46328c538363587d7de8e2545a05df7f3509e +MISC ChangeLog 1292 RMD160 ea0b020efd6312629d9bdc17797cced987e61aad SHA1 257e930b13e3f86306cf580897e1f2d3849b162a SHA256 13f03579d372827363bb8bd4a36adee854fd42dc9a7bc327b75e57ae48d6815c MISC metadata.xml 231 RMD160 c13056229989c3d4f448a7c7abcff3f4ee7ce13c SHA1 2d63dfb700b223f8f37c078692a81b2237896bce SHA256 4595c2615fd7c9095517949b1a920d4457f92801eb9d46307b18aafe58ec2a8a diff --git a/net-misc/sendfile/sendfile-2.1b-r1.ebuild b/net-misc/sendfile/sendfile-2.1b-r1.ebuild new file mode 100644 index 000000000000..ab2f359ae43f --- /dev/null +++ b/net-misc/sendfile/sendfile-2.1b-r1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/sendfile/sendfile-2.1b-r1.ebuild,v 1.1 2009/09/04 16:05:46 jer Exp $ + +inherit toolchain-funcs + +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}\" \ + CC=$(tc-getCC) \ + LDFLAGS=\"${LDFLAGS}\" \ + 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" +} |