Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 112211 Details for
Bug 158958
www-servers/yaws: insecure https webroot and local DoS
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to yaws-1.68.ebuild to fix configuration
yaws-1.68.ebuild.patch (text/plain), 1.07 KB, created by
Christopher Covington
on 2007-03-05 21:06:51 UTC
(
hide
)
Description:
patch to yaws-1.68.ebuild to fix configuration
Filename:
MIME Type:
Creator:
Christopher Covington
Created:
2007-03-05 21:06:51 UTC
Size:
1.07 KB
patch
obsolete
>--- yaws-1.68.ebuild 2007-03-05 21:03:29.000000000 +0100 >+++ yaws-1.68.ebuild.new 2007-03-05 21:38:58.000000000 +0100 >@@ -19,19 +19,26 @@ > find ${S} -depth -type d -name .xvpics -exec rm -rf '{}' \; > } > >+src_compile() { >+ econf --prefix=/usr >+ emake >+} >+ > src_install() { > make DESTDIR=${D} install || die >- # Use /var/log and not /var/lib/log for Yaws logging directory >- rm -rf ${D}/var/lib/log >- sed -i 's,/var/lib/log,/var/log,g' \ >- ${D}/etc/yaws.conf > keepdir /var/log/yaws > # We need to keep these directories so that the example yaws.conf works > # properly > keepdir /usr/lib/yaws/examples/ebin > keepdir /usr/lib/yaws/examples/include > dodoc ChangeLog LICENSE README >+ insinto /etc >+ newins ${FILESDIR}/yaws.conf_gentoo yaws.conf >+ newinitd scripts/gentoo/init.d.yaws yaws > newinitd scripts/gentoo/init.d.yaws yaws >- sed -i 's,%prefix%,/usr,' scripts/gentoo/conf.d.yaws >- newconfd scripts/gentoo/conf.d.yaws yaws >+} >+ >+pkg_postinst() { >+ einfo "An example YAWS configuration has been setup to run on" >+ einfo " 127.0.0.1:1337. Please edit /etc/yaws.conf to suit your needs." > }
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 158958
:
111935
|
112210
| 112211 |
112214
|
135643