mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-mobilephone/smssend, dev-libs/skyutils: fix SSLv3 support.
In commits 790eacc and ac28332, I added an "sslv3" USE flag to
dev-libs/skyutils and revisioned app-mobilephone/smssend to depend on
it. This fix was insufficient; any other programs linking to
libskyutils would suffer the same problem, as Michał Górny pointed
out.
Two new revisions of the affected packages remove the "sslv3" option
for dev-libs/skyutils, and make it depend on openssl[sslv3] when the
user asks for SSL support. Note: this required the removal of LibreSSL
support on skyutils. The new revision of app-mobilephone/smssend now
depends on the fixed revision of skyutils.
An additional fix was made, and now smssend depends on
skyutils[ssl]. Without SSL support in libskyutils, many SMS providers
simply don't work.
Gentoo-Bug: 588326
This commit is contained in:
@@ -16,7 +16,9 @@ SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-libs/skyutils-2.7[sslv3]"
|
||||
# -r5 of skyutils fixes a runtime crash, bug 588326.
|
||||
# Without SSL support in skyutils, some providers fail.
|
||||
DEPEND=">=dev-libs/skyutils-2.8-r5[ssl]"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-verizon.diff" )
|
||||
@@ -6,10 +6,4 @@
|
||||
This library contains many useful functions such as chained lists,
|
||||
string manipulation, socket, and the HTTP protocol.
|
||||
</longdescription>
|
||||
|
||||
<use>
|
||||
<flag name="sslv3">
|
||||
Require OpenSSL to be built with the old SSLv3 protocol enabled.
|
||||
</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
|
||||
@@ -13,13 +13,9 @@ SRC_URI="mirror://gentoo/${P}.tar.gz"
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="libressl ssl sslv3"
|
||||
REQUIRED_USE="sslv3? ( ssl? ( !libressl ) )"
|
||||
IUSE="ssl"
|
||||
|
||||
DEPEND="ssl? (
|
||||
!libressl? ( dev-libs/openssl:0=[sslv3?] )
|
||||
libressl? ( dev-libs/libressl:0= )
|
||||
)"
|
||||
DEPEND="ssl? ( dev-libs/openssl:0=[sslv3] )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
Reference in New Issue
Block a user