Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 542988

Summary: net-fs/samba-3.5.22 - add CVE-2015-0240 patch
Product: Gentoo Linux Reporter: Zhuchenko Valery <zvn>
Component: Current packagesAssignee: Gentoo's SAMBA Team <samba>
Status: RESOLVED OBSOLETE    
Severity: normal CC: bkohler, jstein
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=541182
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: modified ebuild

Description Zhuchenko Valery 2015-03-12 05:02:21 UTC
Created attachment 398694 [details]
modified ebuild

Patch for samba 3.5.22 (which stay in portage tree):
https://download.samba.org/pub/samba/patches/security/samba-3.5.22-CVE-2015-0240.patch 

Please, modify ebuild for this version:

--- samba-3.5.22.ebuild	2013-10-11 18:07:46.000000000 +0400
+++ samba-3.5.22-r1.ebuild	2015-03-10 08:56:00.000000000 +0400
@@ -117,6 +117,7 @@
 		-e 's|LDSHFLAGS="|LDSHFLAGS="\\${LDFLAGS} |g' \
 		configure || die "sed failed"
 
+	epatch "${CONFDIR}"/${PN}-3.5.22-CVE-2015-0240.patch
 	epatch "${CONFDIR}"/${PN}-3.5.6-kerberos-dummy.patch
 	use smbtav2 && cd "${WORKDIR}/${P}" && epatch "${WORKDIR}"/smb_traffic_analyzer_v2.diff
 	cd "${WORKDIR}/${MY_P}" && epatch "${CONFDIR}"/${PN}-3.5.8-uclib-build.patch
Comment 1 Jonas Stein gentoo-dev 2016-12-08 11:43:56 UTC
can we close this?