Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 246027 Details for
Bug 336012
net-misc/vpnc-0.5.3_p449-r1: re-enable openssl support alias do not force gnutls
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
vpnc-0.5.3_p449-r1.ebuild.patch
vpnc-0.5.3_p449-r1.ebuild.patch (text/plain), 1.72 KB, created by
Martin Mokrejš
on 2010-09-04 18:52:13 UTC
(
hide
)
Description:
vpnc-0.5.3_p449-r1.ebuild.patch
Filename:
MIME Type:
Creator:
Martin Mokrejš
Created:
2010-09-04 18:52:13 UTC
Size:
1.72 KB
patch
obsolete
>--- /usr/portage/net-misc/vpnc/vpnc-0.5.3_p449-r1.ebuild.ori 2010-09-04 19:47:33.000000000 +0200 >+++ /usr/portage/net-misc/vpnc/vpnc-0.5.3_p449-r1.ebuild 2010-09-04 20:43:05.000000000 +0200 >@@ -9,15 +9,34 @@ > LICENSE="GPL-2 BSD" > SLOT="0" > KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86" >-IUSE="resolvconf" >+IUSE="resolvconf gnutls ssl" > > DEPEND=">=dev-libs/libgcrypt-1.1.91 > >=sys-apps/iproute2-2.6.19.20061214 >- net-libs/gnutls" >+ gnutls? ( net-libs/gnutls ) >+ ssl? ( dev-libs/openssl )" > > RDEPEND="${DEPEND} > resolvconf? ( net-dns/openresolv )" > >+src_compile() { >+ if use ssl && ! use gnutls; then >+ sed -i -e 's/#OPENSSL_GPL_VIOLATION=yes/OPENSSL_GPL_VIOLATION=yes/' "${S}"/Makefile \ >+ || die "Failed to enable openssl in Makefile" >+ ewarn "Building with OpenSSL support instead of GnuTLS, this seems to mean that" >+ ewarn "you might not be allowed to re-distibute the binaries due to OpenSSL license," >+ ewarn "more in the Makefile itself and at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=440318" >+ ewarn "In vpnc-0.5.0 support for \"IKE Authmode hybrid\" was introduced but depended on OpenSSL" >+ ewarn "Since vpnc-0.5.3_p449 \"IKE Authmode hybrid\" should also work under GnuTLS" >+ else >+ elog "Will build with GnuTLS (default) instead of OpenSSL so you may even redistribute" >+ elog "binaries, more in the Makefile itself and at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=440318" >+ elog "In vpnc-0.5.0 support for \"IKE Authmode hybrid\" was introduced but depended on OpenSSL" >+ elog "Since vpnc-0.5.3_p449 \"IKE Authmode hybrid\" should also work under GnuTLS" >+ fi >+ emake PREFIX="/usr" DESTDIR="${D}" || die >+} >+ > src_install() { > emake PREFIX="/usr" DESTDIR="${D}" install || die > dodoc README TODO VERSION || 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 336012
:
246027
|
248393