diff options
author | Caleb Tennis <caleb@gentoo.org> | 2005-08-12 13:43:56 +0000 |
---|---|---|
committer | Caleb Tennis <caleb@gentoo.org> | 2005-08-12 13:43:56 +0000 |
commit | 3631d93e8a6d9116ccb4a3313f56d1ad644c0d79 (patch) | |
tree | 3f242d0c9097fccdfc7070226c8e3d1988d54eab /dev-libs/openssl | |
parent | Stable on mips. (diff) | |
download | historical-3631d93e8a6d9116ccb4a3313f56d1ad644c0d79.tar.gz historical-3631d93e8a6d9116ccb4a3313f56d1ad644c0d79.tar.bz2 historical-3631d93e8a6d9116ccb4a3313f56d1ad644c0d79.zip |
remove old version package masked for security reasons
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'dev-libs/openssl')
-rw-r--r-- | dev-libs/openssl/ChangeLog | 7 | ||||
-rw-r--r-- | dev-libs/openssl/Manifest | 62 | ||||
-rw-r--r-- | dev-libs/openssl/files/digest-openssl-0.9.7c-r1 | 2 | ||||
-rw-r--r-- | dev-libs/openssl/files/openssl-0.9.7c-gentoo.diff | 32 | ||||
-rw-r--r-- | dev-libs/openssl/files/openssl-0.9.7c-tempfile.patch | 78 | ||||
-rw-r--r-- | dev-libs/openssl/openssl-0.9.7c-r1.ebuild | 234 |
6 files changed, 30 insertions, 385 deletions
diff --git a/dev-libs/openssl/ChangeLog b/dev-libs/openssl/ChangeLog index 79c66d58be19..fcfe229c2a4b 100644 --- a/dev-libs/openssl/ChangeLog +++ b/dev-libs/openssl/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-libs/openssl # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/ChangeLog,v 1.130 2005/08/07 12:21:57 matsuu Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/ChangeLog,v 1.131 2005/08/12 13:43:55 caleb Exp $ + + 12 Aug 2005; Caleb Tennis <caleb@gentoo.org> + -files/openssl-0.9.7c-gentoo.diff, -files/openssl-0.9.7c-tempfile.patch, + -openssl-0.9.7c-r1.ebuild: + remove old version that was package.masked for security reasons 07 Aug 2005; MATSUU Takuto <matsuu@gentoo.org> files/gentoo.config-0.9.7g, files/openssl-0.9.7g-superh.patch: diff --git a/dev-libs/openssl/Manifest b/dev-libs/openssl/Manifest index 534f6943e3dd..1462c15e2efb 100644 --- a/dev-libs/openssl/Manifest +++ b/dev-libs/openssl/Manifest @@ -1,50 +1,36 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - +MD5 6fbe613b51aae6d38f151388b4125695 openssl-0.9.7d-r2.ebuild 9016 MD5 8d7f8781163db66038adf0b641b9b12c openssl-0.9.8.ebuild 5324 -MD5 37236013e0d26d43c6bff35a8a48e8ec metadata.xml 220 -MD5 ee3873d64d138d4ac015bea7c8123a58 openssl-0.9.7c-r1.ebuild 7064 MD5 60c5e8df5d366b67c905c00a8aeb3c72 openssl-0.9.7e-r1.ebuild 8559 MD5 68620bfc8489164f3cd05a42729cbd4b openssl-0.9.7e.ebuild 7888 -MD5 6fbe613b51aae6d38f151388b4125695 openssl-0.9.7d-r2.ebuild 9016 -MD5 685c33f8a3f1980105944ab3c23a346c openssl-0.9.6m.ebuild 3074 -MD5 af80f4a47063c53756035ce8dc11358a ChangeLog 20795 +MD5 328aa78a92d477d720c98b2bbdadf527 ChangeLog 21012 +MD5 37236013e0d26d43c6bff35a8a48e8ec metadata.xml 220 MD5 b91b6b7600491807429dc884497ca2d8 openssl-0.9.7g.ebuild 5411 -MD5 592d5a5b643b835123af4a44caffc75e files/digest-openssl-0.9.8 66 -MD5 53599279769faf50e5247b68d2907b10 files/openssl-0.9.7e-no-fips.patch 1344 -MD5 91854bcd6c83f040927d490b104bb5a0 files/openssl-0.9.7d-smime.patch 641 -MD5 4a170a962292bdd019fe303ba981e3ab files/openssl-0.9.8-ppc64.patch 1463 -MD5 acab4ad88a6c249a7cde0511a0961a2c files/digest-openssl-0.9.7e 134 -MD5 acab4ad88a6c249a7cde0511a0961a2c files/digest-openssl-0.9.7e-r1 134 -MD5 7483d6f0412e857e9063dce4aecf2991 files/openssl-0.9.7c-gentoo.diff 936 -MD5 82e3908837b5066c7ec907812de8da25 files/openssl-0.9.7e-ptr-casting.patch 440 -MD5 90fac5947e771433132723442dc90ab0 files/openssl-0.9.7g-no-fips.patch 333 +MD5 685c33f8a3f1980105944ab3c23a346c openssl-0.9.6m.ebuild 3074 MD5 e476b45b7b15df41a0e3f06c187201ee files/openssl-0.9.8-parallel-build.patch 649 -MD5 f886f4a6a62eb4ec7bc718952d76900d files/openssl-0.9.7e-gentoo.patch 460 -MD5 f804ea4df3b388d22451cde6e9458f2b files/openssl-0.9.7c-tempfile.patch 2178 -MD5 86106e28e408bdd53dd64ad0ecab7f1d files/openssl-0.9.7e-x86_64-bn-asm.patch 3881 -MD5 744b358cd3b68b2ca6561c214c541fc0 files/addppc64support.diff 1327 -MD5 cebd09d1819c07b0fab14ad90b0da884 files/openssl-0.9.6m-gentoo.diff 1591 -MD5 257fcbed4f939cd3e0113af18df66a92 files/openssl-0.9.7g-ABI-compat.patch 1880 -MD5 1a7aabb860415c7be612863579d67b4d files/digest-openssl-0.9.7g 67 -MD5 2e6ed24d513a8f2b1b6f03709ab5ba18 files/digest-openssl-0.9.6m 67 -MD5 ef2c8d5afa47da8a58e464f43e6ecc67 files/openssl-0.9.7g-mem-clr-ptr-cast.patch 637 +MD5 bef2724dccc11edf27916526d9c08576 files/openssl-0.9.7-arm-big-endian.patch 1074 MD5 cde67bc688a59d0178f1a6e1bb1db7cf files/openssl-0.9.7g-ptr-casting.patch 714 -MD5 f8ff492f66404c732e4661cc4443a2e8 files/openssl-0.9.7-alpha-default-gcc.patch 533 +MD5 257fcbed4f939cd3e0113af18df66a92 files/openssl-0.9.7g-ABI-compat.patch 1880 +MD5 82e3908837b5066c7ec907812de8da25 files/openssl-0.9.7e-ptr-casting.patch 440 MD5 8c5ab963e60bc0744408eebf48596981 files/openssl-0.9.8-make-engines-dir.patch 461 -MD5 bef2724dccc11edf27916526d9c08576 files/openssl-0.9.7-arm-big-endian.patch 1074 +MD5 86106e28e408bdd53dd64ad0ecab7f1d files/openssl-0.9.7e-x86_64-bn-asm.patch 3881 +MD5 f886f4a6a62eb4ec7bc718952d76900d files/openssl-0.9.7e-gentoo.patch 460 MD5 7483d6f0412e857e9063dce4aecf2991 files/openssl-0.9.7d-gentoo.diff 936 -MD5 f8b9ae9e3ed08f964620aa832aec4d0c files/digest-openssl-0.9.7c-r1 134 +MD5 be045f45d974ec215ec4986c6c7b6ffb files/openssl-0.9.7g-ppc64.patch 856 +MD5 2e6ed24d513a8f2b1b6f03709ab5ba18 files/digest-openssl-0.9.6m 67 +MD5 acab4ad88a6c249a7cde0511a0961a2c files/digest-openssl-0.9.7e 134 +MD5 1a7aabb860415c7be612863579d67b4d files/digest-openssl-0.9.7g 67 +MD5 53599279769faf50e5247b68d2907b10 files/openssl-0.9.7e-no-fips.patch 1344 +MD5 42382797e3cefc7b26da8770347cf555 files/gentoo.config-0.9.7g 3233 +MD5 91854bcd6c83f040927d490b104bb5a0 files/openssl-0.9.7d-smime.patch 641 +MD5 ef2c8d5afa47da8a58e464f43e6ecc67 files/openssl-0.9.7g-mem-clr-ptr-cast.patch 637 MD5 897d293325315cdeeb390745ed5cdd1b files/digest-openssl-0.9.7d-r2 134 +MD5 acab4ad88a6c249a7cde0511a0961a2c files/digest-openssl-0.9.7e-r1 134 +MD5 f8ff492f66404c732e4661cc4443a2e8 files/openssl-0.9.7-alpha-default-gcc.patch 533 MD5 4e6c2cbbc1ff9e36ff6d83b6c5356b7c files/openssl-0.9.7-hppa-fix-detection.patch 1718 -MD5 be045f45d974ec215ec4986c6c7b6ffb files/openssl-0.9.7g-ppc64.patch 856 +MD5 cebd09d1819c07b0fab14ad90b0da884 files/openssl-0.9.6m-gentoo.diff 1591 +MD5 90fac5947e771433132723442dc90ab0 files/openssl-0.9.7g-no-fips.patch 333 +MD5 744b358cd3b68b2ca6561c214c541fc0 files/addppc64support.diff 1327 +MD5 592d5a5b643b835123af4a44caffc75e files/digest-openssl-0.9.8 66 +MD5 4a170a962292bdd019fe303ba981e3ab files/openssl-0.9.8-ppc64.patch 1463 MD5 b1b3eafc93c66f16be0730d45a659526 files/openssl-0.9.7g-superh.patch 1380 MD5 b901850df9952252974316e78775673b files/openssl-0.9.6-mips.diff 1487 -MD5 42382797e3cefc7b26da8770347cf555 files/gentoo.config-0.9.7g 3233 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.2 (GNU/Linux) - -iD8DBQFC+tGngIKl8Uu19MoRAvmuAJ9Wm7nSznt2DVFBfcLqHFA8OY08kQCfacBq -YmYx6StvVjylHqJlRW9CWt8= -=WZ/J ------END PGP SIGNATURE----- diff --git a/dev-libs/openssl/files/digest-openssl-0.9.7c-r1 b/dev-libs/openssl/files/digest-openssl-0.9.7c-r1 deleted file mode 100644 index 7b9fa6c555b3..000000000000 --- a/dev-libs/openssl/files/digest-openssl-0.9.7c-r1 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 c54fb36218adaaaba01ef733cd88c8ec openssl-0.9.7c.tar.gz 2791797 -MD5 843a65ddc56634f0e30a4f9474bb5b27 openssl-0.9.6l.tar.gz 2183726 diff --git a/dev-libs/openssl/files/openssl-0.9.7c-gentoo.diff b/dev-libs/openssl/files/openssl-0.9.7c-gentoo.diff deleted file mode 100644 index 501a946d7b2c..000000000000 --- a/dev-libs/openssl/files/openssl-0.9.7c-gentoo.diff +++ /dev/null @@ -1,32 +0,0 @@ -diff -r -c -C 2 openssl-0.9.6g-orig/test/Makefile openssl-0.9.6g/test/Makefile -*** openssl-0.9.6g-orig/test/Makefile Thu Sep 26 15:20:47 2002 ---- openssl-0.9.6g/test/Makefile Thu Sep 26 15:23:26 2002 -*************** -*** 28,32 **** - DLIBCRYPTO= ../libcrypto.a - DLIBSSL= ../libssl.a -! LIBCRYPTO= -L.. -lcrypto - LIBSSL= -L.. -lssl - ---- 28,32 ---- - DLIBCRYPTO= ../libcrypto.a - DLIBSSL= ../libssl.a -! LIBCRYPTO= -L.. -lcrypto -lcrypt - LIBSSL= -L.. -lssl - -diff -r -c -C 2 openssl-0.9.6g-orig/test/Makefile.ssl openssl-0.9.6g/test/Makefile.ssl -*** openssl-0.9.6g-orig/test/Makefile.ssl Thu Sep 26 15:20:47 2002 ---- openssl-0.9.6g/test/Makefile.ssl Thu Sep 26 15:23:26 2002 -*************** -*** 28,32 **** - DLIBCRYPTO= ../libcrypto.a - DLIBSSL= ../libssl.a -! LIBCRYPTO= -L.. -lcrypto - LIBSSL= -L.. -lssl - ---- 28,32 ---- - DLIBCRYPTO= ../libcrypto.a - DLIBSSL= ../libssl.a -! LIBCRYPTO= -L.. -lcrypto -lcrypt - LIBSSL= -L.. -lssl - diff --git a/dev-libs/openssl/files/openssl-0.9.7c-tempfile.patch b/dev-libs/openssl/files/openssl-0.9.7c-tempfile.patch deleted file mode 100644 index a94821a84491..000000000000 --- a/dev-libs/openssl/files/openssl-0.9.7c-tempfile.patch +++ /dev/null @@ -1,78 +0,0 @@ -diff -ur openssl-0.9.7c.orig/apps/der_chop openssl-0.9.7c/apps/der_chop ---- openssl-0.9.7c.orig/apps/der_chop 2003-09-30 14:38:15.000000000 +0200 -+++ openssl-0.9.7c/apps/der_chop 2004-09-13 13:46:06.000000000 +0200 -@@ -65,7 +65,7 @@ - } - else - { -- $file="/tmp/a$$.DER"; -+ $file=`mktemp -t a$$.DER.XXXXXX` || die $!; - open(OUT,">$file") || die "unable to open $file:$!\n"; - for (;;) - { -@@ -139,7 +139,7 @@ - { - local($str)=@_; - local(*OUT,*IN,@a,$t,$d,$ret); -- local($file)="/tmp/b$$.DER"; -+ local($file)=`mktemp -t b$$.DER.XXXXXX` || die $!; - local(@ret); - - open(OUT,">$file"); -@@ -225,7 +225,7 @@ - sub do_private_key - { - local($data,@struct)=@_; -- local($file)="/tmp/b$$.DER"; -+ local($file)=`mktemp -t b$$.DER.XXXXXX` || die $!; - local($off,$d,$hl,$len,$_,$b,@p,$s); - - ($type)=($struct[4] =~ /OBJECT_IDENTIFIER :(.*)\s*$/); -@@ -260,7 +260,7 @@ - sub do_certificate - { - local($data,@struct)=@_; -- local($file)="/tmp/b$$.DER"; -+ local($file)=`mktemp -t b$$.DER.XXXXXX` || die $!; - local($off,$d,$hl,$len,$_,$b,@p,$s); - - ($off,$d,$hl,$len)=&parse_line($struct[2]); -diff -ur openssl-0.9.7c.orig/apps/der_chop.in openssl-0.9.7c/apps/der_chop.in ---- openssl-0.9.7c.orig/apps/der_chop.in 1999-05-26 00:31:49.000000000 +0200 -+++ openssl-0.9.7c/apps/der_chop.in 2004-09-13 13:43:46.000000000 +0200 -@@ -65,7 +65,7 @@ - } - else - { -- $file="/tmp/a$$.DER"; -+ $file=`mktemp -t a$$.DER.XXXXXX` || die $!; - open(OUT,">$file") || die "unable to open $file:$!\n"; - for (;;) - { -@@ -139,7 +139,7 @@ - { - local($str)=@_; - local(*OUT,*IN,@a,$t,$d,$ret); -- local($file)="/tmp/b$$.DER"; -+ local($file)=`mktemp -t b$$.DER.XXXXXX` || die $!; - local(@ret); - - open(OUT,">$file"); -@@ -225,7 +225,7 @@ - sub do_private_key - { - local($data,@struct)=@_; -- local($file)="/tmp/b$$.DER"; -+ local($file)=`mktemp -t b$$.DER.XXXXXX` || die $!; - local($off,$d,$hl,$len,$_,$b,@p,$s); - - ($type)=($struct[4] =~ /OBJECT_IDENTIFIER :(.*)\s*$/); -@@ -260,7 +260,7 @@ - sub do_certificate - { - local($data,@struct)=@_; -- local($file)="/tmp/b$$.DER"; -+ local($file)=`mktemp -t b$$.DER.XXXXXX` || die $!; - local($off,$d,$hl,$len,$_,$b,@p,$s); - - ($off,$d,$hl,$len)=&parse_line($struct[2]); diff --git a/dev-libs/openssl/openssl-0.9.7c-r1.ebuild b/dev-libs/openssl/openssl-0.9.7c-r1.ebuild deleted file mode 100644 index 3b3983ecf0cf..000000000000 --- a/dev-libs/openssl/openssl-0.9.7c-r1.ebuild +++ /dev/null @@ -1,234 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/openssl/openssl-0.9.7c-r1.ebuild,v 1.30 2005/07/05 23:45:20 azarah Exp $ - -inherit eutils flag-o-matic - -OLD_096_P="${PN}-0.9.6l" - -DESCRIPTION="Toolkit for SSL v2/v3 and TLS v1" -HOMEPAGE="http://www.openssl.org/" -SRC_URI="mirror://openssl/source/${P}.tar.gz - mirror://openssl/source/${OLD_096_P}.tar.gz" - -LICENSE="openssl" -SLOT="0" -KEYWORDS="x86 ppc alpha sparc mips hppa amd64 ia64 ppc64 s390" -IUSE="" - -RDEPEND="virtual/libc" -DEPEND="${RDEPEND} - >=dev-lang/perl-5 - >=sys-apps/sed-4" - -S="${WORKDIR}" - -src_unpack() { - unpack ${A} - - # openssl-0.9.7 - cd ${WORKDIR}/${P} - - epatch ${FILESDIR}/${P}-gentoo.diff - - if [ "${ARCH}" = "hppa" ]; then - # Tells to compile a static version of openssl - sed -i -e \ - 's!^"linux-parisc"\(.*\)::BN\(.*\)::!"linux-parisc"\1:-ldl:BN\2::::::::::dlfcn:linux-shared:-fPIC::.so.\\$(SHLIB_MAJOR).\\$(SHLIB_MINOR)!' \ - Configure - # Fix detection of parisc running 64 bit kernel - sed -i -e 's/parisc-\*-linux2/parisc\*-\*-linux2/' config - fi - if [ "${ARCH}" = "alpha" -a "${CC}" != "ccc" ]; then - # ccc compiled openssl will break things linked against - # a gcc compiled openssl, the configure will automatically detect - # ccc and use it, so stop that if user hasnt asked for it. - sed -i -e \ - 's!CC=ccc!CC=gcc!' config - fi - - local gcc_version=$(gcc -dumpversion | cut -d. -f1,2) - if [ "${gcc_version}" == "3.3" ] || [ "${gcc_version}" == "3.2" ] ; then - filter-flags -fprefetch-loop-arrays -freduce-all-givs - fi - - # replace CFLAGS - OLDIFS=$IFS - IFS=" -" - for a in $( grep -n -e "^\"linux-" Configure ); do - LINE=$( echo $a | awk -F: '{print $1}' ) - CUR_CFLAGS=$( echo $a | awk -F: '{print $3}' ) - NEW_CFLAGS="$( echo $CUR_CFLAGS | sed -r -e "s|-O[23]||" -e "s/-fomit-frame-pointer//" -e "s/-mcpu=[-a-z0-9]+//" -e "s/-m486//" ) $CFLAGS" - sed -i "${LINE}s/$CUR_CFLAGS/$NEW_CFLAGS/" Configure - done - IFS=$OLDIFS - - # openssl-0.9.6 - test -f ${ROOT}/usr/lib/libssl.so.0.9.6 && { - cd ${WORKDIR}/${OLD_096_P} - - epatch ${FILESDIR}/${OLD_096_P}-gentoo.diff - - case ${ARCH} in - mips) - epatch ${FILESDIR}/openssl-0.9.6-mips.diff - ;; - arm) - # patch linker to add -ldl or things linking aginst libcrypto fail - sed -i -e \ - 's!^"linux-elf-arm"\(.*\)::BN\(.*\)!"linux-elf-arm"\1:-ldl:BN\2!' \ - Configure - ;; - hppa) - # Tells to compile a static version of openssl - sed -i -e \ - 's!^"linux-parisc"\(.*\)::BN\(.*\)::!"linux-parisc"\1:-ldl:BN\2::::::::::dlfcn:linux-shared:-fPIC::.so.\\$(SHLIB_MAJOR).\\$(SHLIB_MINOR)!' \ - Configure - # Fix detection of parisc running 64 bit kernel - sed -i -e 's/parisc-\*-linux2/parisc\*-\*-linux2/' config - esac - - # replace CFLAGS - OLDIFS=$IFS - IFS=" -" - for a in $( grep -n -e "^\"linux-" Configure ); do - LINE=$( echo $a | awk -F: '{print $1}' ) - CUR_CFLAGS=$( echo $a | awk -F: '{print $3}' ) - NEW_CFLAGS="$( echo $CUR_CFLAGS | sed -r -e "s|-O[23]||" -e "s/-fomit-frame-pointer//" -e "s/-mcpu=[-a-z0-9]+//" -e "s/-m486//" ) $CFLAGS" - sed -i "${LINE}s/$CUR_CFLAGS/$NEW_CFLAGS/" Configure - done - IFS=$OLDIFS - } -} - -src_compile() { - # openssl-0.9.7 - cd ${WORKDIR}/${P} - - # Build correctly for mips, mips64, & mipsel - if use mips; then - if [ "`echo ${CHOST} | grep "mipsel"`" ]; then - mipsarch="linux-mipsel" - else - mipsarch="linux-mips" - fi - - ./Configure ${mipsarch} --prefix=/usr --openssldir=/etc/ssl \ - shared threads || die - # We have to force the target for hppa because detection - # is broken on SMP box - elif [ "`uname -m`" = "parisc" -o "`uname -m`" = "parisc64" ]; then - ./Configure linux-parisc --prefix=/usr --openssldir=/etc/ssl \ - shared threads || die - # force sparcv8 on sparc32 profile - elif [ "$PROFILE_ARCH" = "sparc" ]; then - ./Configure linux-sparcv8 --prefix=/usr --openssldir=/etc/ssl \ - shared threads || die - else - ./config --prefix=/usr --openssldir=/etc/ssl shared threads || die - fi - - einfo "Compiling ${P}" - make all || die - if ! use ppc64; then - make test || die - fi - - # openssl-0.9.6 - test -f ${ROOT}/usr/lib/libssl.so.0.9.6 && { - cd ${WORKDIR}/${OLD_096_P} - - # force sparcv8 on sparc32 profile - if [ "$PROFILE_ARCH" = "sparc" ]; then - SSH_TARGET="linux-sparcv8" - elif [ "`uname -m`" = "parisc" -o "`uname -m`" = "parisc64" ]; then - SSH_TARGET="linux-parisc" - elif use mips; then - if [ "`echo ${CHOST} | grep "mipsel"`" ]; then - SSH_TARGET="linux-mipsel" - else - SSH_TARGET="linux-mips" - fi - fi - - case ${CHOST} in - alphaev56*|alphaev6*) - SSH_TARGET="linux-alpha+bwx-${CC:-gcc}" - ;; - alpha*) - SSH_TARGET="linux-alpha-${CC:-gcc}" ;; - esac - - if [ ${SSH_TARGET} ]; then - einfo "Forcing ${SSH_TARGET} compile" - ./Configure ${SSH_TARGET} --prefix=/usr \ - --openssldir=/etc/ssl shared threads || die - else - ./config --prefix=/usr --openssldir=/etc/ssl shared threads || die - fi - - einfo "Compiling ${OLD_096_P}" - make all || die - make test || die - } -} - -src_install() { - # openssl-0.9.7 - cd ${WORKDIR}/${P} - make INSTALL_PREFIX=${D} MANDIR=/usr/share/man install || die - dodoc CHANGES* FAQ LICENSE NEWS README - dodoc doc/*.txt - dohtml doc/* - insinto /usr/share/emacs/site-lisp - doins doc/c-indentation.el - - # create the certs directory. Previous openssl builds - # would need to create /usr/lib/ssl/certs but this looks - # to be the more FHS compliant setup... -raker - insinto /etc/ssl/certs - doins certs/*.pem - LD_LIBRARY_PATH="${D}"/usr/$(get_libdir)/ \ - OPENSSL=${D}/usr/bin/openssl /usr/bin/perl tools/c_rehash ${D}/etc/ssl/certs - - # The man pages rand.3 and passwd.1 conflict with other packages - # Rename them to ssl-* and also make a symlink from openssl-* to ssl-* - cd ${D}/usr/share/man/man1 - mv passwd.1 ssl-passwd.1 - ln -sf ssl-passwd.1 openssl-passwd.1 - cd ${D}/usr/share/man/man3 - mv rand.3 ssl-rand.3 - ln -sf ssl-rand.3 openssl-rand.3 - - # openssl-0.9.6 - test -f ${ROOT}/usr/lib/libssl.so.0.9.6 && { - cd ${WORKDIR}/${OLD_096_P} - make || die - dolib.so ${WORKDIR}/${OLD_096_P}/libcrypto.so.0.9.6||die "libcrypto.so.0.9.6 not found" - dolib.so ${WORKDIR}/${OLD_096_P}/libssl.so.0.9.6|| die "libssl.so.0.9.6 not found" - } - - fperms a+x /usr/lib/pkgconfig #34088 -} - -pkg_postinst() { - local BN_H="${ROOT}$(gcc-config -L)/include/openssl/bn.h" - # Breaks things one some boxen, bug #13795. The problem is that - # if we have a 'gcc fixed' version in $(gcc-config -L) from 0.9.6, - # then breaks as it was defined as 'int BN_mod(...)' and in 0.9.7 it - # is a define with BN_div(...) - <azarah@gentoo.org> (24 Sep 2003) - if [ -f "${BN_H}" ] && [ -n "$(grep '^int[[:space:]]*BN_mod(' "${BN_H}")" ] - then - rm -f "${BN_H}" - fi - - test -f ${ROOT}/usr/lib/libssl.so.0.9.6 && { - einfo "You can now re-compile all packages that are linked against" - einfo "OpenSSL 0.9.6 by using revdep-rebuild from gentoolkit:" - einfo "# revdep-rebuild --soname libssl.so.0.9.6" - einfo "# revdep-rebuild --soname libcrypto.so.0.9.6" - einfo "After this, you can delete /usr/lib/libssl.so.0.9.6 and /usr/lib/libcrypto.so.0.9.6" - } -} |