Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 186698 - gnutls working on x86-macos
Summary: gnutls working on x86-macos
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Mac OSX (show other bugs)
Hardware: All OS X
: High enhancement (vote)
Assignee: osx porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-26 15:31 UTC by Elias Pipping (RETIRED)
Modified: 2007-08-02 10:12 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
net-libs/gnutls (gnutls-1.6.3.ebuild,1.56 KB, text/plain)
2007-07-26 15:32 UTC, Elias Pipping (RETIRED)
Details
net-libs/gnutls (patch-includes_gnutls_gnutlsxx.h,684 bytes, patch)
2007-07-26 15:32 UTC, Elias Pipping (RETIRED)
Details | Diff
net-libs/gnutls (patch-lib_gnutlsxx.cpp,523 bytes, patch)
2007-07-26 15:32 UTC, Elias Pipping (RETIRED)
Details | Diff
app-crypt/opencdk (opencdk-0.5.13.ebuild,827 bytes, text/plain)
2007-07-26 15:34 UTC, Elias Pipping (RETIRED)
Details
app-crypt/opencdk (opencdk-0.5.7.ebuild,827 bytes, text/plain)
2007-07-26 15:36 UTC, Elias Pipping (RETIRED)
Details
net-libs/gnutls (1.7.15!) (gnutls-1.7.15.ebuild,1.49 KB, text/plain)
2007-07-27 13:20 UTC, Elias Pipping (RETIRED)
Details
patch against gnutls-1.6.3 (gnutls-1.6.3.diff,819 bytes, patch)
2007-08-01 19:20 UTC, Elias Pipping (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Elias Pipping (RETIRED) gentoo-dev 2007-07-26 15:31:26 UTC
gnutls 1.6.3 works on x86-macos.

opencdk and gnutls need to be added to the tree, opencdk works without additional adjustments whereas two patches taken from macports need to be applied to gnutls.:

http://trac.macports.org/projects/macports/browser/trunk/dports/devel/gnutls/files/patch-includes_gnutls_gnutlsxx.h?rev=27269&format=txt
http://trac.macports.org/projects/macports/browser/trunk/dports/devel/gnutls/files/patch-lib_gnutlsxx.cpp?rev=27269&format=txt

I've also added RESTRICT=test to the ebuild of gnutls as it needs to be installed for the test suite to work.

Please test this on different platforms, too.
Comment 1 Elias Pipping (RETIRED) gentoo-dev 2007-07-26 15:32:01 UTC
Created attachment 126079 [details]
net-libs/gnutls
Comment 2 Elias Pipping (RETIRED) gentoo-dev 2007-07-26 15:32:27 UTC
Created attachment 126081 [details, diff]
net-libs/gnutls
Comment 3 Elias Pipping (RETIRED) gentoo-dev 2007-07-26 15:32:48 UTC
Created attachment 126082 [details, diff]
net-libs/gnutls
Comment 4 Elias Pipping (RETIRED) gentoo-dev 2007-07-26 15:34:06 UTC
Created attachment 126083 [details]
app-crypt/opencdk

version not yet in the main tree
Comment 5 Elias Pipping (RETIRED) gentoo-dev 2007-07-26 15:36:42 UTC
Created attachment 126087 [details]
app-crypt/opencdk
Comment 6 Elias Pipping (RETIRED) gentoo-dev 2007-07-26 15:37:59 UTC
Comment on attachment 126087 [details]
app-crypt/opencdk

the ebuild can be used for both 0.5.7 and 0.5.13, only that 0.5.13 is not yet in the main tree
Comment 7 Elias Pipping (RETIRED) gentoo-dev 2007-07-27 13:20:38 UTC
Created attachment 126155 [details]
net-libs/gnutls (1.7.15!)

from 1.7.11 on gnutls works without the above patches. (the good news)

the bad news is that 1.7.x is the unstable branch and more importantly opencdk is not recognized for some reason - the included version is used instead.
Comment 8 Elias Pipping (RETIRED) gentoo-dev 2007-08-01 19:20:51 UTC
Created attachment 126645 [details, diff]
patch against gnutls-1.6.3

replacing the ebuild with a patch against the eapify'd and ecleankw'd ebuild
from the main tree
Comment 9 Elias Pipping (RETIRED) gentoo-dev 2007-08-01 19:22:38 UTC
opencdk 0.5.7 works without modifications
Comment 10 Fabian Groffen gentoo-dev 2007-08-02 10:12:08 UTC
Merged two macports patches in one, and changed them to use __APPLE_CC__ since this is an gcc-apple compiler bug.

Added and stuff.  Thanks!