Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 192131 Details for
Bug 241018
net-misc/sendfile: pre-stripped files found
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Use user set CC, CFLAGS and LDFLAGS, and as a side effect don't prestrip files
sendfile_fix_nostrip.patch (text/plain), 2.84 KB, created by
Espen Hustad
on 2009-05-22 16:20:11 UTC
(
hide
)
Description:
Use user set CC, CFLAGS and LDFLAGS, and as a side effect don't prestrip files
Filename:
MIME Type:
Creator:
Espen Hustad
Created:
2009-05-22 16:20:11 UTC
Size:
2.84 KB
patch
obsolete
>--- net-misc/sendfile/sendfile-2.1b.ebuild 2008-06-04 06:20:16.000000000 +0200 >+++ net-misc/sendfile/sendfile-2.1b.ebuild 2009-05-22 18:14:48.315977890 +0200 >@@ -1,7 +1,9 @@ >-# Copyright 1999-2008 Gentoo Foundation >+# 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.ebuild,v 1.1 2008/06/04 04:20:16 darkside 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" >@@ -11,44 +13,47 @@ > KEYWORDS="~amd64 ~ppc ~x86" > IUSE="" > >+DEPEND="" > RDEPEND="virtual/inetd" > > src_compile() { > ./makeconfig \ >- "CFLAGS=\"${CFLAGS}\" \ >+ "CC=$(tc-getCC) \ >+ CFLAGS=\"${CFLAGS}\" \ >+ LDFLAGS=\"${LDFLAGS}\" \ > BINDIR=/usr/bin \ > MANDIR=/usr/share/man \ > CONFIG=/etc/sendfile \ > SERVERDIR=/usr/sbin" || die "./makeconfig failed" > >- make all || die "make all failed" >+ # Disable parallell make as the buildsystem doesn't support it >+ emake -j1 all || die "emake 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 >+ dosbin src/sendfiled || die "dosbin failed" >+ dobin etc/check_sendfile src/sendfile src/sendmsg src/receive src/fetchfile \ >+ src/utf7encode src/wlock etc/sfconf etc/sfdconf || die "dobin failed" >+ >+ dosym /usr/bin/utf7encode /usr/bin/utf7decode || die "dosym failed" >+ >+ dodir /etc/sendfile /var/spool/sendfile /var/spool/sendfile/LOG \ >+ /var/spool/sendfile/OUTGOING || die "dodir failed" >+ fperms 0700 /var/spool/sendfile/LOG || die "fperms 0700 failed" >+ fperms 1777 /var/spool/sendfile/OUTGOING || die "fperms 1777 failed" > > insinto /etc/sendfile >- doins etc/sendfile.deny etc/sendfile.cf >+ doins etc/sendfile.deny etc/sendfile.cf || die "doins sendfile.deny failed" > > insinto /etc/xinetd.d >- doins "${FILESDIR}/sendfiled" || die >+ doins "${FILESDIR}/sendfiled" || die "doins sendfiled failed" > >- doman doc/sendmsg.1 doc/sendfile.1 doc/receive.1 doc/fetchfile.1 >+ doman doc/sendmsg.1 doc/sendfile.1 doc/receive.1 doc/fetchfile.1 || die "doman failed" > >- dodoc doc/AUTHORS doc/ChangeLog doc/README* doc/THANKS >+ dodoc doc/AUTHORS doc/ChangeLog doc/README* doc/THANKS || die "dodoc failed" > } > > pkg_postinst() { >- einfo "To start the sendfile daemon you have to start xinetd" >+ elog "To start the sendfile daemon you have to start xinetd" > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 241018
: 192131