Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 40308 Details for
Bug 64823
suidperl suggestion
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to add suid USE flag
perl-5.8.4-r1-suid.patch (text/plain), 1.28 KB, created by
Andy Grundman
on 2004-09-24 10:26:03 UTC
(
hide
)
Description:
Patch to add suid USE flag
Filename:
MIME Type:
Creator:
Andy Grundman
Created:
2004-09-24 10:26:03 UTC
Size:
1.28 KB
patch
obsolete
>--- perl-5.8.4-r1.ebuild.orig 2004-09-22 14:07:53.000000000 -0400 >+++ perl-5.8.4-r1.ebuild 2004-09-24 13:19:31.470333455 -0400 >@@ -17,7 +17,7 @@ > LICENSE="Artistic GPL-2" > SLOT="0" > KEYWORDS="x86 ~ppc sparc mips alpha arm ~hppa amd64 ~ia64 ~ppc64 ~s390" >-IUSE="berkdb doc gdbm ithreads uclibc" >+IUSE="berkdb doc gdbm ithreads uclibc suid" > > DEPEND="!uclibc? ( sys-apps/groff ) > berkdb? ( sys-libs/db ) >@@ -172,6 +172,11 @@ > ewarn "Perl will not be built with berkdb support, use gcc if you needed it..." > myconf="${myconf} -Ui_db -Ui_ndbm" > fi >+ if use suid >+ then >+ ewarn "Perl will be built with suid support. This may be a security risk!" >+ myconf="${myconf} -Dd_dosuid " >+ fi > > # These are temporary fixes. Need to edit the build so that that libraries created > # only get compiled with -fPIC, since they get linked into shared objects, they >@@ -191,7 +196,6 @@ > -Dlocincpth=' ' \ > -Doptimize="${CFLAGS}" \ > -Duselargefiles \ >- -Dd_dosuid \ > -Dd_semctl_semun \ > -Dscriptdir=/usr/bin \ > -Dman1dir=/usr/share/man/man1 \ >@@ -257,8 +261,6 @@ > # delete suidperl entirely. if this causes outrage, here's where > # to fix. > >- rm ${D}/usr/bin/sperl${PV} >- rm ${D}/usr/bin/suidperl > rm ${D}/usr/bin/perl > ln -s perl${PV} ${D}/usr/bin/perl >
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 64823
: 40308