Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 41367 Details for
Bug 66774
net-misc/rdist noexec option broken-- looks for a.out, not ELF binaries
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to rdist-6.1.5-r1.ebuild to fix noexec option, plus bonus stuff
rdist.patch (text/plain), 1.65 KB, created by
splite
on 2004-10-08 08:17:31 UTC
(
hide
)
Description:
patch to rdist-6.1.5-r1.ebuild to fix noexec option, plus bonus stuff
Filename:
MIME Type:
Creator:
splite
Created:
2004-10-08 08:17:31 UTC
Size:
1.65 KB
patch
obsolete
>--- /usr/portage/net-misc/rdist/rdist-6.1.5-r1.ebuild 2004-07-14 22:39:54.000000000 -0500 >+++ rdist-6.1.5-r1.ebuild 2004-10-07 09:55:56.462995496 -0500 >@@ -9,28 +9,45 @@ > LICENSE="RDist" > SLOT="1" > KEYWORDS="x86 sparc alpha ia64 ~ppc" >-IUSE="" >+IUSE="crypt" > >-DEPEND="dev-util/yacc >=sys-apps/sed-4" >-RDEPEND="" # yacc only needed for compile >+DEPEND="sys-devel/bison >=sys-apps/sed-4" >+RDEPEND="crypt? ( virtual/ssh )" > > src_unpack() { > unpack ${A} && cd ${S} || die > >- # Fix for bug 41781: Build with yacc instead of bison and change >- # the following #define (10 Mar 2004 agriffis) >+ # Fix for varargs bug 41781 (10 Mar 2004 agriffis) > sed -i -e 's/^\(#define ARG_TYPE\).*/\1 ARG_STDARG/' config/os-linux.h > assert "sed ARG_TYPE failed" >+ >+ # Linux switched from a.out to ELF years ago... >+ sed -i -e 's/^\(#define EXE_TYPE\).*/\1 EXE_ELF/' config/os-linux.h >+ assert "sed EXE_TYPE failed" >+ >+ # crypto lovers prefer ssh to rsh >+ if use crypt; then >+ sed -i -e 's,^\(#define _PATH_REMSH\).*,\1 "/usr/bin/ssh",' config/os-linux.h >+ assert "sed _PATH_REMSH failed" >+ fi >+ >+ # remove yacc-isms eshewed by modern bisons >+ sed -i -e '/^%type/ s/,//g' -e 's/= {/{/g' src/gram.y >+ assert "fixup of gram.y failed" > } > > src_compile() { >- emake || die "emake failed" >+ emake YACC='bison -y' || die "emake failed" > } > > src_install() { > dodir /usr/bin /usr/share/man/man{1,8} >- make install BIN_DIR=${D}/usr/bin || die "make install failed" >+ make install \ >+ BIN_GROUP=root \ >+ BIN_DIR=${D}/usr/bin \ >+ || die "make install failed" > make install.man \ >+ MAN_GROUP=root \ > MAN_1_DIR=${D}/usr/share/man/man1 MAN_8_DIR=${D}/usr/share/man/man8 \ > || die "make install.man failed" > }
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 66774
:
41367
|
49049
|
49051