Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 45175 - openssl ebuild SRC_URI enchancment
Summary: openssl ebuild SRC_URI enchancment
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Daniel Ahlberg (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-19 16:06 UTC by BigBug
Modified: 2004-03-30 05:37 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description BigBug 2004-03-19 16:06:52 UTC
Since if there is no installed openssl-0.9.6, the openssl-0.9.6.tar.gz file no more needed by ebuild, maybe good idea to patch ebuild with following patch or something like?


--- /home/ports/dev-libs/openssl/openssl-0.9.7d.ebuild  2004-03-18 01:50:37.000000000 +0200
+++ openssl-0.9.7d.ebuild       2004-03-20 01:49:36.000000000 +0200
@@ -8,8 +8,13 @@
 
 S="${WORKDIR}"
 DESCRIPTION="Toolkit for SSL v2/v3 and TLS v1"
-SRC_URI="mirror://openssl/source/${P}.tar.gz
-       mirror://openssl/source/${OLD_096_P}.tar.gz"
+
+OLD_096_URI=""
+test -f ${ROOT}/usr/lib/libssl.so.0.9.6 && {
+  OLD_096_URI="mirror://openssl/source/${OLD_096_P}.tar.gz"
+}
+
+SRC_URI="mirror://openssl/source/${P}.tar.gz ${OLD_096_URI}"
 HOMEPAGE="http://www.openssl.org/"
 
 RDEPEND="virtual/glibc"


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Daniel Ahlberg (RETIRED) gentoo-dev 2004-03-30 05:37:03 UTC
Sorry, It's not allowed to use conditions in SRC_URI except for use flags.