Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 315459 Details for
Bug 421289
dev-db/mongodb-2.0.6: Add support for USE="ssl"
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch ebuild to build with --ssl optionally
add-ssl-flag.patch (text/plain), 1.41 KB, created by
Uwe L. Korn
on 2012-06-15 21:29:35 UTC
(
hide
)
Description:
Patch ebuild to build with --ssl optionally
Filename:
MIME Type:
Creator:
Uwe L. Korn
Created:
2012-06-15 21:29:35 UTC
Size:
1.41 KB
patch
obsolete
>diff --git a/dev-db/mongodb/files/mongodb-2.0-fix-scons-ssl.patch b/dev-db/mongodb/files/mongodb-2.0-fix-scons-ssl.patch >new file mode 100644 >index 0000000..3d1f547 >--- /dev/null >+++ b/dev-db/mongodb/files/mongodb-2.0-fix-scons-ssl.patch >@@ -0,0 +1,13 @@ >+--- a/SConstruct 2012-06-15 19:11:21.467673722 +0200 >++++ b/SConstruct 2012-06-15 19:11:32.547674031 +0200 >+@@ -780,8 +780,7 @@ >+ if has_option( "ssl" ): >+ env.Append( CPPDEFINES=["MONGO_SSL"] ) >+ env.Append( LIBS=["ssl"] ) >+- if darwin: >+- env.Append( LIBS=["crypto"] ) >++ env.Append( LIBS=["crypto"] ) >+ >+ try: >+ umask = os.umask(022) >+ >diff --git a/dev-db/mongodb/mongodb-2.0.6.ebuild b/dev-db/mongodb/mongodb-2.0.6.ebuild >index 0d2df6e..d521f29 100644 >--- a/dev-db/mongodb/mongodb-2.0.6.ebuild >+++ b/dev-db/mongodb/mongodb-2.0.6.ebuild >@@ -17,7 +17,7 @@ SRC_URI="http://downloads.mongodb.org/src/${MY_P}.tar.gz > LICENSE="AGPL-3 Apache-2.0" > SLOT="0" > KEYWORDS="~amd64 ~x86" >-IUSE="mms-agent static-libs v8" >+IUSE="mms-agent static-libs v8 ssl" > > PDEPEND="mms-agent? ( dev-python/pymongo )" > RDEPEND="!v8? ( <dev-lang/spidermonkey-1.8[unicode] ) >@@ -42,11 +42,15 @@ pkg_setup() { > else > scons_opts+=" --usesm" > fi >+ >+ if use ssl; then >+ scons_opts+=" --ssl" >+ fi > } > > src_prepare() { > epatch "${FILESDIR}/${PN}-2.0-fix-scons.patch" >- >+ epatch "${FILESDIR}/${PN}-2.0-fix-scons-ssl.patch" > # drop -Werror > sed -i -e '/Werror/d' SConstruct || die >
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 421289
: 315459 |
316115
|
316119