Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 238897 Details for
Bug 328355
dev-libs/openssl: ABI slot for 0.9.8
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Try #2
openssl-0.9.8o-r1.ebuild.patch (text/plain), 3.08 KB, created by
Samuli Suominen (RETIRED)
on 2010-07-15 15:02:55 UTC
(
hide
)
Description:
Try #2
Filename:
MIME Type:
Creator:
Samuli Suominen (RETIRED)
Created:
2010-07-15 15:02:55 UTC
Size:
3.08 KB
patch
obsolete
>--- openssl-0.9.8o.ebuild 2010-07-15 10:23:13.000000000 +0300 >+++ openssl-0.9.8o-r1.ebuild 2010-07-15 17:59:07.000000000 +0300 >@@ -2,6 +2,7 @@ > # Distributed under the terms of the GNU General Public License v2 > # $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/openssl-0.9.8o.ebuild,v 1.6 2010/06/21 20:43:49 maekke Exp $ > >+EAPI=1 > inherit eutils flag-o-matic toolchain-funcs > > DESCRIPTION="Toolkit for SSL v2/v3 and TLS v1" >@@ -9,18 +10,24 @@ > SRC_URI="mirror://openssl/source/${P}.tar.gz" > > LICENSE="openssl" >-SLOT="0" >-KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd" >+SLOT="0.9.8" >+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd" > IUSE="bindist gmp kerberos sse2 test zlib" > > RDEPEND="gmp? ( dev-libs/gmp ) > zlib? ( sys-libs/zlib ) >- kerberos? ( app-crypt/mit-krb5 )" >+ kerberos? ( app-crypt/mit-krb5 ) >+ !=dev-libs/openssl-0.9.8*:0" > DEPEND="${RDEPEND} > sys-apps/diffutils > >=dev-lang/perl-5 > test? ( sys-devel/bc )" >-PDEPEND="app-misc/ca-certificates" >+ >+pkg_setup() { >+ if [[ -e ${ROOT}/usr/$(get_libdir)/lib{crypto,ssl}.so.0.9.8 ]]; then >+ rm -f "${ROOT}"/usr/$(get_libdir)/lib{crypto,ssl}.so.0.9.8 >+ fi >+} > > src_unpack() { > unpack ${A} >@@ -114,9 +121,8 @@ > Makefile || die > > # depend is needed to use $confopts >- # rehash is needed to prep the certs/ dir > emake -j1 depend || die "depend failed" >- emake -j1 all rehash || die "make all failed" >+ emake -j1 build_libs || die "make build_libs failed" > } > > src_test() { >@@ -124,48 +130,5 @@ > } > > src_install() { >- emake -j1 INSTALL_PREFIX="${D}" install || die >- dodoc CHANGES* FAQ NEWS README doc/*.txt doc/c-indentation.el >- dohtml -r doc/* >- >- # create the certs directory >- dodir /etc/ssl/certs >- cp -RP certs/* "${D}"/etc/ssl/certs/ || die "failed to install certs" >- rm -r "${D}"/etc/ssl/certs/{demo,expired} >- >- # Namespace openssl programs to prevent conflicts with other man pages >- cd "${D}"/usr/share/man >- local m d s >- for m in $(find . -type f | xargs grep -L '#include') ; do >- d=${m%/*} ; d=${d#./} ; m=${m##*/} >- # fix up references to renamed man pages >- sed -i '/^[.]SH "SEE ALSO"/,/^[.][^I]/s:\([^(, I]*([15])\):ssl-\1:g' ${d}/${m} >- [[ ${m} == openssl.1* ]] && continue >- [[ -n $(find -L ${d} -type l) ]] && die "erp, broken links already!" >- mv ${d}/{,ssl-}${m} >- ln -s ssl-${m} ${d}/openssl-${m} >- # locate any symlinks that point to this man page ... we assume >- # that any broken links are due to the above renaming >- for s in $(find -L ${d} -type l) ; do >- s=${s##*/} >- rm -f ${d}/${s} >- ln -s ssl-${m} ${d}/ssl-${s} >- ln -s ssl-${s} ${d}/openssl-${s} >- done >- done >- [[ -n $(find -L ${d} -type l) ]] && die "broken manpage links found :(" >- >- dodir /etc/sandbox.d #254521 >- echo 'SANDBOX_PREDICT="/dev/crypto"' > "${D}"/etc/sandbox.d/10openssl >- >- diropts -m0700 >- keepdir /etc/ssl/private >-} >- >-pkg_preinst() { >- preserve_old_lib /usr/$(get_libdir)/lib{crypto,ssl}.so.0.9.{6,7} >-} >- >-pkg_postinst() { >- preserve_old_lib_notify /usr/$(get_libdir)/lib{crypto,ssl}.so.0.9.{6,7} >+ dolib.so lib{crypto,ssl}.so.0.9.8 || 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 328355
:
238845
| 238897