Commit 0bfad66e authored by Natanael Copa's avatar Natanael Copa
Browse files

core/openssl: new aport

parent 5bc21989
pkgname=openssl
pkgver=0.9.8i
pkgrel=0
subpackages="dev doc"
url=http://openssl.org
depends="uclibc"
makedepends="perl"
source="http://www.openssl.org/source/${pkgname}-${pkgver}.tar.gz
http://www.linuxfromscratch.org/patches/blfs/svn/openssl-0.9.8g-fix_manpages-1.patch
openssl-bb-basename.patch
"
build() {
cd $startdir/src/$pkgname-$pkgver
patch -p1 -i ../openssl-0.9.8g-fix_manpages-1.patch || return 1
patch -p1 -i ../openssl-bb-basename.patch || return 1
./config --prefix=/usr --openssldir=/etc/ssl shared
make -j1 || return 1
make INSTALL_PREFIX=$startdir/pkg MANDIR=/usr/share/man install
}
md5sums="561e00f18821c74b2b86c8c7786f9d8b openssl-0.9.8i.tar.gz
04a6a88c2ee4badd4f8649792b73eaf3 openssl-0.9.8g-fix_manpages-1.patch
c6a9857a5dbd30cead0404aa7dd73977 openssl-bb-basename.patch"
--- openssl-0.9.8i.orig/Makefile.org Wed Nov 5 21:43:31 2008
+++ openssl-0.9.8i/Makefile.org Wed Nov 5 22:26:40 2008
@@ -551,7 +551,7 @@
filecase=-i; \
fi; \
set -e; for i in doc/apps/*.pod; do \
- fn=`basename $$i .pod`; \
+ fn=`basename $$i .pod || true`; \
sec=`$(PERL) util/extract-section.pl 1 < $$i`; \
echo "installing man$$sec/$$fn.$${sec}$(MANSUFFIX)"; \
(cd `$(PERL) util/dirname.pl $$i`; \
@@ -568,7 +568,7 @@
done); \
done; \
set -e; for i in doc/crypto/*.pod doc/ssl/*.pod; do \
- fn=`basename $$i .pod`; \
+ fn=`basename $$i .pod || true`; \
sec=`$(PERL) util/extract-section.pl 3 < $$i`; \
echo "installing man$$sec/$$fn.$${sec}$(MANSUFFIX)"; \
(cd `$(PERL) util/dirname.pl $$i`; \
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment