Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=7c5689ac3ba49a94ec7f536a973391efb34d2787
commit 7c5689ac3ba49a94ec7f536a973391efb34d2787 Author: Miklos Vajna <[EMAIL PROTECTED]> Date: Wed Oct 22 17:31:02 2008 +0200 openssl-0.9.8-15-i686 - moved to base (required by wpa_supplicant) diff --git a/source/base/openssl/FrugalBuild b/source/base/openssl/FrugalBuild new file mode 100644 index 0000000..7c7e89b --- /dev/null +++ b/source/base/openssl/FrugalBuild @@ -0,0 +1,39 @@ +# Compiling Time: 0.84 SBU +# Contributor: VMiklos <[EMAIL PROTECTED]> +# Maintainer: voroskoi <[EMAIL PROTECTED]> + +pkgname=openssl +pkgver=0.9.8 +pkgextraver=i +pkgrel=15 +pkgdesc="The Open Source toolkit for Secure Sockets Layer and Transport Layer Security" +url="http://www.openssl.org/source/" +groups=('base' 'chroot-core') +archs=('i686' 'x86_64' 'ppc') +depends=('glibc>=2.8-3') +makedepends=('util-linux-ng>=2.14-2') +up2date="lynx -source http://www.openssl.org/source/ |grep LATEST|sed -n 's/.*-\(.*\)\.t.*/\1/;s/$pkgextraver//;1 p'" +source=($url$pkgname-$pkgver$pkgextraver.tar.gz man_symlinks.diff) +signatures=("$source.asc" '') + +build() +{ + unset MAKEFLAGS + # optimize the build + Fsed '^\("linux-elf".*\) -O3 -fomit-frame-pointer \(.*\)' "\1 $CFLAGS \2" Configure + ./config $Fconfopts --openssldir=/etc/ssl shared || Fdie + + Fpatchall + make || Fdie #Fmake sucks here + make INSTALL_PREFIX=$Fdestdir MANDIR=/usr/man install + + Fln libssl.so.$pkgver /usr/lib/libssl.so.0 # look out!! + Fln libcrypto.so.$pkgver /usr/lib/libcrypto.so.0 # look out!! + + (cd $Fdestdir/usr/man/man1 && rename '' openssl_ *) + (cd $Fdestdir/usr/man/man3 && rename '' openssl_ *) + (cd $Fdestdir/usr/man/man5 && rename '' openssl_ *) + (cd $Fdestdir/usr/man/man7 && rename '' openssl_ *) +} + +# optimization OK diff --git a/source/base/openssl/man_symlinks.diff b/source/base/openssl/man_symlinks.diff new file mode 100644 index 0000000..c486a18 --- /dev/null +++ b/source/base/openssl/man_symlinks.diff @@ -0,0 +1,22 @@ +--- openssl-0.9.8e/Makefile 2007-03-02 12:26:53.000000000 +0100 ++++ openssl-0.9.8e/Makefile.new 2007-03-02 12:47:15.000000000 +0100 +@@ -566,7 +566,7 @@ + (grep -v "[ ]"; true) | \ + (cd $(INSTALL_PREFIX)$(MANDIR)/man$$sec/; \ + while read n; do \ +- $$here/util/point.sh $$fn.$${sec}$(MANSUFFIX) "$$n".$${sec}$(MANSUFFIX); \ ++ $$here/util/point.sh openssl_$$fn.$${sec}$(MANSUFFIX) "$$n".$${sec}$(MANSUFFIX); \ + done); \ + done; \ + set -e; for i in doc/crypto/*.pod doc/ssl/*.pod; do \ +--- openssl-0.9.8e/Makefile 2007-03-02 12:49:34.000000000 +0100 ++++ openssl-0.9.8e/Makefile.new 2007-03-02 12:58:57.000000000 +0100 +@@ -583,7 +583,7 @@ + (grep -v "[ ]"; true) | \ + (cd $(INSTALL_PREFIX)$(MANDIR)/man$$sec/; \ + while read n; do \ +- $$here/util/point.sh $$fn.$${sec}$(MANSUFFIX) "$$n".$${sec}$(MANSUFFIX); \ ++ $$here/util/point.sh openssl_$$fn.$${sec}$(MANSUFFIX) "$$n".$${sec}$(MANSUFFIX); \ + done); \ + done + diff --git a/source/lib/openssl/FrugalBuild b/source/lib/openssl/FrugalBuild deleted file mode 100644 index 900c1d1..0000000 --- a/source/lib/openssl/FrugalBuild +++ /dev/null @@ -1,39 +0,0 @@ -# Compiling Time: 0.84 SBU -# Contributor: VMiklos <[EMAIL PROTECTED]> -# Maintainer: voroskoi <[EMAIL PROTECTED]> - -pkgname=openssl -pkgver=0.9.8 -pkgextraver=i -pkgrel=15 -pkgdesc="The Open Source toolkit for Secure Sockets Layer and Transport Layer Security" -url="http://www.openssl.org/source/" -groups=('lib' 'chroot-core') -archs=('i686' 'x86_64' 'ppc') -depends=('glibc>=2.8-3') -makedepends=('util-linux-ng>=2.14-2') -up2date="lynx -source http://www.openssl.org/source/ |grep LATEST|sed -n 's/.*-\(.*\)\.t.*/\1/;s/$pkgextraver//;1 p'" -source=($url$pkgname-$pkgver$pkgextraver.tar.gz man_symlinks.diff) -signatures=("$source.asc" '') - -build() -{ - unset MAKEFLAGS - # optimize the build - Fsed '^\("linux-elf".*\) -O3 -fomit-frame-pointer \(.*\)' "\1 $CFLAGS \2" Configure - ./config $Fconfopts --openssldir=/etc/ssl shared || Fdie - - Fpatchall - make || Fdie #Fmake sucks here - make INSTALL_PREFIX=$Fdestdir MANDIR=/usr/man install - - Fln libssl.so.$pkgver /usr/lib/libssl.so.0 # look out!! - Fln libcrypto.so.$pkgver /usr/lib/libcrypto.so.0 # look out!! - - (cd $Fdestdir/usr/man/man1 && rename '' openssl_ *) - (cd $Fdestdir/usr/man/man3 && rename '' openssl_ *) - (cd $Fdestdir/usr/man/man5 && rename '' openssl_ *) - (cd $Fdestdir/usr/man/man7 && rename '' openssl_ *) -} - -# optimization OK diff --git a/source/lib/openssl/man_symlinks.diff b/source/lib/openssl/man_symlinks.diff deleted file mode 100644 index c486a18..0000000 --- a/source/lib/openssl/man_symlinks.diff +++ /dev/null @@ -1,22 +0,0 @@ ---- openssl-0.9.8e/Makefile 2007-03-02 12:26:53.000000000 +0100 -+++ openssl-0.9.8e/Makefile.new 2007-03-02 12:47:15.000000000 +0100 -@@ -566,7 +566,7 @@ - (grep -v "[ ]"; true) | \ - (cd $(INSTALL_PREFIX)$(MANDIR)/man$$sec/; \ - while read n; do \ -- $$here/util/point.sh $$fn.$${sec}$(MANSUFFIX) "$$n".$${sec}$(MANSUFFIX); \ -+ $$here/util/point.sh openssl_$$fn.$${sec}$(MANSUFFIX) "$$n".$${sec}$(MANSUFFIX); \ - done); \ - done; \ - set -e; for i in doc/crypto/*.pod doc/ssl/*.pod; do \ ---- openssl-0.9.8e/Makefile 2007-03-02 12:49:34.000000000 +0100 -+++ openssl-0.9.8e/Makefile.new 2007-03-02 12:58:57.000000000 +0100 -@@ -583,7 +583,7 @@ - (grep -v "[ ]"; true) | \ - (cd $(INSTALL_PREFIX)$(MANDIR)/man$$sec/; \ - while read n; do \ -- $$here/util/point.sh $$fn.$${sec}$(MANSUFFIX) "$$n".$${sec}$(MANSUFFIX); \ -+ $$here/util/point.sh openssl_$$fn.$${sec}$(MANSUFFIX) "$$n".$${sec}$(MANSUFFIX); \ - done); \ - done - _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
