diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-11-01 04:05:59 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-11-01 04:05:59 +0000 |
commit | 7c156593f75dfe7503fa67aed5bc7ef508e30c26 (patch) | |
tree | 6dd71b0262a1c3a0129e9a43dea153dc4a56492f /dev-libs | |
parent | cleanup (diff) | |
download | gentoo-2-7c156593f75dfe7503fa67aed5bc7ef508e30c26.tar.gz gentoo-2-7c156593f75dfe7503fa67aed5bc7ef508e30c26.tar.bz2 gentoo-2-7c156593f75dfe7503fa67aed5bc7ef508e30c26.zip |
cleanup
(Portage version: 2.1.2_rc1-r1)
(Signed Manifest commit)
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/openssl/Manifest | 34 | ||||
-rw-r--r-- | dev-libs/openssl/files/digest-openssl-0.9.8b | 3 | ||||
-rw-r--r-- | dev-libs/openssl/files/digest-openssl-0.9.8c-r2 | 3 | ||||
-rw-r--r-- | dev-libs/openssl/openssl-0.9.8b.ebuild | 168 | ||||
-rw-r--r-- | dev-libs/openssl/openssl-0.9.8c-r2.ebuild | 179 |
5 files changed, 14 insertions, 373 deletions
diff --git a/dev-libs/openssl/Manifest b/dev-libs/openssl/Manifest index 445b514edd45..9d82924f5bd3 100644 --- a/dev-libs/openssl/Manifest +++ b/dev-libs/openssl/Manifest @@ -1,3 +1,6 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX gentoo.config-0.9.7g 3356 RMD160 8e83cecd44f2dc6b0863bf10b920cae2490250d7 SHA1 9dc82ecc34677b9b9f2758d3c86ae5a8b4d86720 SHA256 1935ea31cf0d4c4a7f5ed0fa4434e9960c7ccef5cb43abcee26cff09472991eb MD5 5479124566140e079c2493abe59a1c90 files/gentoo.config-0.9.7g 3356 RMD160 8e83cecd44f2dc6b0863bf10b920cae2490250d7 files/gentoo.config-0.9.7g 3356 @@ -77,8 +80,6 @@ SHA256 3219c6a1133f6df42909bcb5d30a097b88529e3964049a24dd3e9836a659f08d files/op DIST openssl-0.9.7j.tar.gz 3290510 RMD160 b8959f59ca9861ce2981641bb74022239677bf7e SHA1 5277fa5a18d52fb0960e279fdbe198823f65da0b SHA256 65a6e88c3397cb68d19dbb576ecf9f9d8dc41423aa9ac3025cd29e3987274460 DIST openssl-0.9.7k.tar.gz 3292692 RMD160 48642f8fa703a59daf0c0d4f0d658770ceaca675 SHA1 90056b8f5e518edc9f74f66784fbdcfd9b784dd2 SHA256 9bbce75d55c03fad47f7ca5e6790facca4b203b28c6c33428d1a471ef73ee622 DIST openssl-0.9.7l.tar.gz 3294357 RMD160 11cc0299cef6bcc4adb9e9a39214f7d9f8abf77d SHA1 f0e4136639b10cbd1227c4f7350ff7ad406e575d SHA256 7ed19859c92e1c13e9f8ed5c3de35c3d48e45bff1b52ffc43845cc0c856fa3d1 -DIST openssl-0.9.8b.tar.gz 3279283 RMD160 861e0e390529e5dca418e277678c93a776b524bc SHA1 99565db630a044fa484d4f91006a31908f262246 SHA256 69efed6275942f9312de61cf69aaef12b06c12f6b10f319672ce026a756f65c0 -DIST openssl-0.9.8c.tar.gz 3313857 RMD160 718e487a7c874fbc79081cbbee4ec5fdc3387aa6 SHA1 d0798e5c7c4509d96224136198fa44f7f90e001d SHA256 896f7830c1921688f22c6fe4fb3d7b75189cefdd79acca5fb0cad2b599139048 DIST openssl-0.9.8d.tar.gz 3315566 RMD160 f2eb6c266009bbbdbdc7f01b6238c55b3fe12073 SHA1 4136fba00303a3d319d2052bfa8e1f09a2e12fc2 SHA256 022194944cc20dad917c86c916db8a4e0050df2de91b9b6740ddd4fb2daf175d EBUILD openssl-0.9.7j.ebuild 5402 RMD160 213c758ef0fe28bac10a1e06710411d4d17accd9 SHA1 96d8e2f04fba4bee7eca82aadb7ac2afe64ef9d9 SHA256 5394f8d6322019a79226e1dd172b81139b61394eec572a715ac35507c7d23220 MD5 857846ba77e82348e130654f7c36e52e openssl-0.9.7j.ebuild 5402 @@ -92,18 +93,10 @@ EBUILD openssl-0.9.7l.ebuild 5355 RMD160 0ae593f90165d5d4128d5c334f6131e86079a47 MD5 cbe7e5074d12a5c51cd4042a4eb87c91 openssl-0.9.7l.ebuild 5355 RMD160 0ae593f90165d5d4128d5c334f6131e86079a47b openssl-0.9.7l.ebuild 5355 SHA256 4082f11aac06b5f0f6cbf64452caab68fd753cb99c7477499ef2e70cba9a288a openssl-0.9.7l.ebuild 5355 -EBUILD openssl-0.9.8b.ebuild 4997 RMD160 6900925606a9c21f3ae136fd400e2cc6961be378 SHA1 b7fcdd25e5a7a46d0897771e0cef19689ebf229b SHA256 c6172cdb7c1ad3728ac08c2474004c824a635ba9151a71751cd36dae8c53c1fd -MD5 4b67c1cdcfc7fe43341536e549eb8db9 openssl-0.9.8b.ebuild 4997 -RMD160 6900925606a9c21f3ae136fd400e2cc6961be378 openssl-0.9.8b.ebuild 4997 -SHA256 c6172cdb7c1ad3728ac08c2474004c824a635ba9151a71751cd36dae8c53c1fd openssl-0.9.8b.ebuild 4997 -EBUILD openssl-0.9.8c-r2.ebuild 5516 RMD160 611d53a1ba338a78a10a56aeec0a046c16f839d4 SHA1 13dc72c0179eadc303db04b5021fe740335aa510 SHA256 69c69ec5ca42dfebb55ef24a9df610f4b2637a0c9a43036896e2f714fd944396 -MD5 4d09331c22c10fbfa527a17b040a6e08 openssl-0.9.8c-r2.ebuild 5516 -RMD160 611d53a1ba338a78a10a56aeec0a046c16f839d4 openssl-0.9.8c-r2.ebuild 5516 -SHA256 69c69ec5ca42dfebb55ef24a9df610f4b2637a0c9a43036896e2f714fd944396 openssl-0.9.8c-r2.ebuild 5516 -EBUILD openssl-0.9.8d.ebuild 5734 RMD160 896817cdc614e3a3f741dcd1042fa8b489ff158e SHA1 e15bbf033c648e3dc8916d1daf195b2acbc364ce SHA256 c55cf48e28baaaf3fa3e7e112b17b9667d8f9c90dc047459ba4e94cb057fffc6 -MD5 3f3690f37bfede5f8f584f2629c56ddc openssl-0.9.8d.ebuild 5734 -RMD160 896817cdc614e3a3f741dcd1042fa8b489ff158e openssl-0.9.8d.ebuild 5734 -SHA256 c55cf48e28baaaf3fa3e7e112b17b9667d8f9c90dc047459ba4e94cb057fffc6 openssl-0.9.8d.ebuild 5734 +EBUILD openssl-0.9.8d.ebuild 5732 RMD160 4137eea34bf141031190e74143ac50d4b3918612 SHA1 d77f2d337c677f6d03b6eaff4e66d3ee70e350ad SHA256 1356206d5c4797a707da63e3c6740bb24f1dfe29b4f1e823c9d85699618c55c7 +MD5 b335ca8726a34bdbb8131bb4fec5f539 openssl-0.9.8d.ebuild 5732 +RMD160 4137eea34bf141031190e74143ac50d4b3918612 openssl-0.9.8d.ebuild 5732 +SHA256 1356206d5c4797a707da63e3c6740bb24f1dfe29b4f1e823c9d85699618c55c7 openssl-0.9.8d.ebuild 5732 MISC ChangeLog 31864 RMD160 aa49f3fff48b70e50b99b784bf7c88e69f48e5b0 SHA1 7d020ae33ac0a4760b7f950757d171fa2e56f044 SHA256 dbe4d1b735c23e3f7e28b4a4d8b2ef462706025bedbe5e67c9674c0292f98637 MD5 bac08336b7d1badb67bedf84f629029e ChangeLog 31864 RMD160 aa49f3fff48b70e50b99b784bf7c88e69f48e5b0 ChangeLog 31864 @@ -121,12 +114,13 @@ SHA256 78233d71c6f98592c4d6550bbd8c711841cb35f7b63d4c80025f013bee3b14f2 files/di MD5 39610e55ee1eab03ffe4555bb15d2ead files/digest-openssl-0.9.7l 247 RMD160 385e662446b28abc0ea79f3df8e64f2cdb934955 files/digest-openssl-0.9.7l 247 SHA256 c34564b3f065d23743e98898b9c9cf83be82d930d5df8642cc14d47ca0fe1fd5 files/digest-openssl-0.9.7l 247 -MD5 812e257663281d64a03b5e8ac9c8386e files/digest-openssl-0.9.8b 247 -RMD160 2fc975be827e72ce6d6c8031a7aba7fe5ebba2d3 files/digest-openssl-0.9.8b 247 -SHA256 22f9cbf40e4a66b32fb3cf0c67cbb72708a7247df3880b01c4f2f74c657d03e1 files/digest-openssl-0.9.8b 247 -MD5 755405d8390e11885b4d78e28e0888d0 files/digest-openssl-0.9.8c-r2 247 -RMD160 e9a1926d3f6af8db77814134256cc9c87ed9c7cf files/digest-openssl-0.9.8c-r2 247 -SHA256 fdcfdfe6232573573e817138ff76277a9161c65fc21fe52b77dfb9a2a1fc863a files/digest-openssl-0.9.8c-r2 247 MD5 c860eede8676360f4cd66b1fcb17345c files/digest-openssl-0.9.8d 247 RMD160 fc03af9cd4ca71ec400924bfd866e09b0a8d59a7 files/digest-openssl-0.9.8d 247 SHA256 f71ab1e8bddbc1f5dfcfafba984d0c2c95088b751768ff691f5fcc911be601a8 files/digest-openssl-0.9.8d 247 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.5 (GNU/Linux) + +iD8DBQFFSB0oamhnQswr0vIRAhdxAJ0XhRaw+93mDuT+/NT8p88w1XxXWwCfSEhu +UAkyaMYRghXPEKfekmkzDDM= +=NPUE +-----END PGP SIGNATURE----- diff --git a/dev-libs/openssl/files/digest-openssl-0.9.8b b/dev-libs/openssl/files/digest-openssl-0.9.8b deleted file mode 100644 index a19637f1b7dc..000000000000 --- a/dev-libs/openssl/files/digest-openssl-0.9.8b +++ /dev/null @@ -1,3 +0,0 @@ -MD5 12cedbeb6813a0d7919dbf1f82134b86 openssl-0.9.8b.tar.gz 3279283 -RMD160 861e0e390529e5dca418e277678c93a776b524bc openssl-0.9.8b.tar.gz 3279283 -SHA256 69efed6275942f9312de61cf69aaef12b06c12f6b10f319672ce026a756f65c0 openssl-0.9.8b.tar.gz 3279283 diff --git a/dev-libs/openssl/files/digest-openssl-0.9.8c-r2 b/dev-libs/openssl/files/digest-openssl-0.9.8c-r2 deleted file mode 100644 index 95a35c845cc7..000000000000 --- a/dev-libs/openssl/files/digest-openssl-0.9.8c-r2 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 78454bec556bcb4c45129428a766c886 openssl-0.9.8c.tar.gz 3313857 -RMD160 718e487a7c874fbc79081cbbee4ec5fdc3387aa6 openssl-0.9.8c.tar.gz 3313857 -SHA256 896f7830c1921688f22c6fe4fb3d7b75189cefdd79acca5fb0cad2b599139048 openssl-0.9.8c.tar.gz 3313857 diff --git a/dev-libs/openssl/openssl-0.9.8b.ebuild b/dev-libs/openssl/openssl-0.9.8b.ebuild deleted file mode 100644 index 82a0b122a1f6..000000000000 --- a/dev-libs/openssl/openssl-0.9.8b.ebuild +++ /dev/null @@ -1,168 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/openssl-0.9.8b.ebuild,v 1.12 2006/09/07 02:26:49 kumba Exp $ - -inherit eutils flag-o-matic toolchain-funcs - -DESCRIPTION="Toolkit for SSL v2/v3 and TLS v1" -HOMEPAGE="http://www.openssl.org/" -SRC_URI="mirror://openssl/source/${P}.tar.gz" - -LICENSE="openssl" -SLOT="0" -KEYWORDS="-* ~amd64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="emacs test bindist zlib" - -RDEPEND="" -DEPEND="${RDEPEND} - sys-apps/diffutils - >=dev-lang/perl-5 - test? ( sys-devel/bc )" -PDEPEND="app-misc/ca-certificates" - -src_unpack() { - unpack ${A} - - cd "${S}" - - epatch "${FILESDIR}"/${PN}-0.9.8-ppc64.patch - epatch "${FILESDIR}"/${PN}-0.9.7e-gentoo.patch - epatch "${FILESDIR}"/${PN}-0.9.8-hppa-fix-detection.patch - epatch "${FILESDIR}"/${PN}-0.9.7-alpha-default-gcc.patch - epatch "${FILESDIR}"/${PN}-0.9.8b-parallel-build.patch - epatch "${FILESDIR}"/${PN}-0.9.8-make-engines-dir.patch - epatch "${FILESDIR}"/${PN}-0.9.8-toolchain.patch - epatch "${FILESDIR}"/${PN}-0.9.8b-doc-updates.patch - - # allow openssl to be cross-compiled - cp "${FILESDIR}"/gentoo.config-0.9.8 gentoo.config || die "cp cross-compile failed" - chmod a+rx gentoo.config - - # Don't build manpages if we don't want them - has noman FEATURES \ - && sed -i '/^install:/s:install_docs::' Makefile.org \ - || sed -i '/^MANDIR=/s:=.*:=/usr/share/man:' Makefile.org - - # Try to derice users - [[ $(gcc-major-version) == "3" ]] \ - && filter-flags -fprefetch-loop-arrays -freduce-all-givs -funroll-loops - [[ $(tc-arch) == ppc* ]] && append-flags -fno-strict-aliasing - append-flags -Wa,--noexecstack - - # using a library directory other than lib requires some magic - sed -i \ - -e "s+\(\$(INSTALL_PREFIX)\$(INSTALLTOP)\)/lib+\1/$(get_libdir)+g" \ - -e "s+libdir=\$\${exec_prefix}/lib+libdir=\$\${exec_prefix}/$(get_libdir)+g" \ - Makefile.org engines/Makefile \ - || die "sed failed" - ./config --test-sanity || die "I AM NOT SANE" -} - -src_compile() { - tc-export CC AR RANLIB - - # Clean out patent-or-otherwise-encumbered code - # MDC-2: 4,908,861 13/03/2007 - # IDEA: 5,214,703 25/05/2010 - # RC5: 5,724,428 03/03/2015 - # EC: ????????? ??/??/2015 - local confopts="" - if use bindist ; then - confopts="no-idea no-rc5 no-mdc2 no-ec" - else - confopts="enable-idea enable-rc5 enable-mdc2 enable-ec" - fi - use zlib && confopts="${confopts} zlib-dynamic" - - local sslout=$(./gentoo.config) - einfo "Use configuration ${sslout:-(openssl knows best)}" - local config="Configure" - [[ -z ${sslout} ]] && config="config" - ./${config} \ - ${sslout} \ - ${confopts} \ - --prefix=/usr \ - --openssldir=/etc/ssl \ - shared threads \ - || die "Configure failed" - - # Clean out hardcoded flags that openssl uses - local CFLAG=$(grep ^CFLAG= Makefile | LC_ALL=C sed \ - -e 's:^CFLAG=::' \ - -e 's:-fomit-frame-pointer ::g' \ - -e 's:-O[0-9] ::g' \ - -e 's:-march=[-a-z0-9]* ::g' \ - -e 's:-mcpu=[-a-z0-9]* ::g' \ - -e 's:-m[a-z0-9]* ::g' \ - ) - sed -i -e "/^CFLAG/s:=.*:=${CFLAG} ${CFLAGS}:" Makefile || die - - # depend is needed to use $confopts - # rehash is needed to prep the certs/ dir - emake -j1 depend || die "depend failed" - emake all rehash || die "make all failed" - - # force until we get all the gentoo.config kinks worked out - if ! has test ${FEATURES} && ! tc-is-cross-compiler ; then - src_test - fi -} - -src_test() { - # make sure sandbox doesnt die on *BSD - addpredict /dev/crypto - - make test || die "make test failed" -} - -src_install() { - make INSTALL_PREFIX="${D}" install || die - dodoc CHANGES* FAQ NEWS README doc/*.txt - dohtml doc/* - - if use emacs ; then - insinto /usr/share/emacs/site-lisp - doins doc/c-indentation.el - fi - - # 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 -printf '%P ' | xargs grep -L '#include') ; do - d=${m%/*} ; m=${m##*/} - mv ${d}/{,ssl-}${m} - ln -s ssl-${m} ${d}/openssl-${m} - # locate any symlinks that point to this man page - for s in $(find ${d} -lname ${m}) ; do - s=${s##*/} - rm -f ${d}/${s} - ln -s ssl-${m} ${d}/ssl-${s} - ln -s ssl-${s} ${d}/openssl-${s} - done - done - - diropts -m0700 - keepdir /etc/ssl/private -} - -pkg_preinst() { - if [[ -e ${ROOT}/usr/$(get_libdir)/libcrypto.so.0.9.7 ]] ; then - cp -pPR "${ROOT}"/usr/$(get_libdir)/lib{crypto,ssl}.so.0.9.7 "${IMAGE}"/usr/$(get_libdir)/ - fi -} - -pkg_postinst() { - if [[ -e ${ROOT}/usr/$(get_libdir)/libcrypto.so.0.9.7 ]] ; then - ewarn "You must re-compile all packages that are linked against" - ewarn "OpenSSL 0.9.7 by using revdep-rebuild from gentoolkit:" - ewarn "# revdep-rebuild --library libssl.so.0.9.7" - ewarn "# revdep-rebuild --library libcrypto.so.0.9.7" - ewarn "After this, you can delete /usr/$(get_libdir)/libssl.so.0.9.7" - ewarn "and /usr/$(get_libdir)/libcrypto.so.0.9.7" - fi -} diff --git a/dev-libs/openssl/openssl-0.9.8c-r2.ebuild b/dev-libs/openssl/openssl-0.9.8c-r2.ebuild deleted file mode 100644 index b33d03b6fa06..000000000000 --- a/dev-libs/openssl/openssl-0.9.8c-r2.ebuild +++ /dev/null @@ -1,179 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/openssl-0.9.8c-r2.ebuild,v 1.3 2006/09/28 14:40:15 vapier Exp $ - -inherit eutils flag-o-matic toolchain-funcs - -DESCRIPTION="Toolkit for SSL v2/v3 and TLS v1" -HOMEPAGE="http://www.openssl.org/" -SRC_URI="mirror://openssl/source/${P}.tar.gz" - -LICENSE="openssl" -SLOT="0" -KEYWORDS="-* alpha amd64 ~arm ~hppa ~m68k ppc ~ppc64 ~s390 ~sh ~sparc x86" -IUSE="bindist emacs sse2 test zlib" - -RDEPEND="" -DEPEND="${RDEPEND} - sys-apps/diffutils - >=dev-lang/perl-5 - test? ( sys-devel/bc )" -PDEPEND="app-misc/ca-certificates" - -src_unpack() { - unpack ${A} - - cd "${S}" - - epatch "${FILESDIR}"/${PN}-0.9.8-ppc64.patch - epatch "${FILESDIR}"/${PN}-0.9.7e-gentoo.patch - epatch "${FILESDIR}"/${PN}-0.9.8-hppa-fix-detection.patch - epatch "${FILESDIR}"/${PN}-0.9.7-alpha-default-gcc.patch - epatch "${FILESDIR}"/${PN}-0.9.8b-parallel-build.patch - epatch "${FILESDIR}"/${PN}-0.9.8-make-engines-dir.patch - epatch "${FILESDIR}"/${PN}-0.9.8-toolchain.patch - epatch "${FILESDIR}"/${PN}-0.9.8b-doc-updates.patch - - # allow openssl to be cross-compiled - cp "${FILESDIR}"/gentoo.config-0.9.8 gentoo.config || die "cp cross-compile failed" - chmod a+rx gentoo.config - - # Don't build manpages if we don't want them - has noman FEATURES \ - && sed -i '/^install:/s:install_docs::' Makefile.org \ - || sed -i '/^MANDIR=/s:=.*:=/usr/share/man:' Makefile.org - - # Try to derice users - [[ $(gcc-major-version) == "3" ]] \ - && filter-flags -fprefetch-loop-arrays -freduce-all-givs -funroll-loops - [[ $(tc-arch) == ppc* ]] && append-flags -fno-strict-aliasing - append-flags -Wa,--noexecstack - - # using a library directory other than lib requires some magic - sed -i \ - -e "s+\(\$(INSTALL_PREFIX)\$(INSTALLTOP)\)/lib+\1/$(get_libdir)+g" \ - -e "s+libdir=\$\${exec_prefix}/lib+libdir=\$\${exec_prefix}/$(get_libdir)+g" \ - Makefile.org engines/Makefile \ - || die "sed failed" - ./config --test-sanity || die "I AM NOT SANE" -} - -src_compile() { - tc-export CC AR RANLIB - - # Clean out patent-or-otherwise-encumbered code - # MDC-2: 4,908,861 13/03/2007 - # IDEA: 5,214,703 25/05/2010 - # RC5: 5,724,428 03/03/2015 - # EC: ????????? ??/??/2015 - local confopts="" - if use bindist ; then - confopts="no-idea no-rc5 no-mdc2 no-ec" - else - confopts="enable-idea enable-rc5 enable-mdc2 enable-ec" - fi - use zlib && confopts="${confopts} zlib-dynamic" - use sse2 || confopts="${confopts} no-sse2" - - local sslout=$(./gentoo.config) - einfo "Use configuration ${sslout:-(openssl knows best)}" - local config="Configure" - [[ -z ${sslout} ]] && config="config" - ./${config} \ - ${sslout} \ - ${confopts} \ - --prefix=/usr \ - --openssldir=/etc/ssl \ - shared threads \ - || die "Configure failed" - - # Clean out hardcoded flags that openssl uses - local CFLAG=$(grep ^CFLAG= Makefile | LC_ALL=C sed \ - -e 's:^CFLAG=::' \ - -e 's:-fomit-frame-pointer ::g' \ - -e 's:-O[0-9] ::g' \ - -e 's:-march=[-a-z0-9]* ::g' \ - -e 's:-mcpu=[-a-z0-9]* ::g' \ - -e 's:-m[a-z0-9]* ::g' \ - ) - sed -i -e "/^CFLAG/s:=.*:=${CFLAG} ${CFLAGS}:" Makefile || die - - # depend is needed to use $confopts - # rehash is needed to prep the certs/ dir - emake -j1 depend || die "depend failed" - emake all rehash || die "make all failed" - - # force until we get all the gentoo.config kinks worked out - if has test ${FEATURES} && ! tc-is-cross-compiler ; then - src_test - fi -} - -src_test() { - # make sure sandbox doesnt die on *BSD - addpredict /dev/crypto - - make test || die "make test failed" -} - -src_install() { - make INSTALL_PREFIX="${D}" install || die - dodoc CHANGES* FAQ NEWS README doc/*.txt - dohtml doc/* - - if use emacs ; then - insinto /usr/share/emacs/site-lisp - doins doc/c-indentation.el - fi - - # 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 -printf '%P ' | xargs grep -L '#include') ; do - d=${m%/*} ; m=${m##*/} - mv ${d}/{,ssl-}${m} - ln -s ssl-${m} ${d}/openssl-${m} - # locate any symlinks that point to this man page - for s in $(find ${d} -lname ${m}) ; do - s=${s##*/} - rm -f ${d}/${s} - ln -s ssl-${m} ${d}/ssl-${s} - ln -s ssl-${s} ${d}/openssl-${s} - done - done - - diropts -m0700 - keepdir /etc/ssl/private -} - -pkg_preinst() { - if [[ -e ${ROOT}/usr/$(get_libdir)/libcrypto.so.0.9.7 ]] ; then - cp -pPR "${ROOT}"/usr/$(get_libdir)/lib{crypto,ssl}.so.0.9.7 "${IMAGE}"/usr/$(get_libdir)/ - fi -} - -pkg_postinst() { - if [[ -e ${ROOT}/usr/$(get_libdir)/libcrypto.so.0.9.7 ]] ; then - ewarn "You must re-compile all packages that are linked against" - ewarn "OpenSSL 0.9.7 by using revdep-rebuild from gentoolkit:" - ewarn "# revdep-rebuild --library libssl.so.0.9.7" - ewarn "# revdep-rebuild --library libcrypto.so.0.9.7" - ewarn "After this, you can delete /usr/$(get_libdir)/libssl.so.0.9.7" - ewarn "and /usr/$(get_libdir)/libcrypto.so.0.9.7" - fi - - if [[ ${CHOST} == i686* ]] ; then - ewarn "Due to the way openssl is architected, you cannot" - ewarn "switch between optimized versions without breaking" - ewarn "ABI. The default i686 0.9.8 ABI was an unoptimized" - ewarn "version with horrible performance. This version uses" - ewarn "the optimized ABI. If you experience segfaults when" - ewarn "using ssl apps (like openssh), just re-emerge the" - ewarn "offending package." - fi -} |