Work towards getting subversion with all dependencies built. The remaining

problem is that apr-util won't build yet, due to it relying on the sources of apr being around. We need support for source packages to solve that, so that will be the next step.
This commit is contained in:
Oliver Tappe
2013-04-14 22:06:31 +00:00
parent 93daa4e027
commit 66cce01b0c
7 changed files with 258 additions and 70 deletions

View File

@@ -1,31 +1,56 @@
SUMMARY="full-strength general purpose cryptography library (including SSL v2/v3 and TLS v1)"
DESCRIPTION="full-strength general purpose cryptography library (including SSL v2/v3 and TLS v1)"
SUMMARY="Full-strength general purpose cryptography library (with SSL/TLS)"
DESCRIPTION="
The OpenSSL Project is a collaborative effort to develop a robust,
commercial-grade, full-featured, and Open Source toolkit implementing the
Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1)
protocols as well as a full-strength general purpose cryptography library.
The project is managed by a worldwide community of volunteers that use the
Internet to communicate, plan, and develop the OpenSSL toolkit and its
related documentation.
OpenSSL is based on the excellent SSLeay library developed by Eric A. Young
and Tim J. Hudson. The OpenSSL toolkit is licensed under an Apache-style
licence, which basically means that you are free to get and use it for
commercial and non-commercial purposes subject to some simple license
conditions.
"
HOMEPAGE="http://www.openssl.org/"
SRC_URI="http://www.openssl.org/source/openssl-1.0.0d.tar.gz"
CHECKSUM_MD5="40b6ea380cc8a5bf9734c2f8bf7e701e"
REVISION="2"
REVISION="3"
ARCHITECTURES="x86_gcc2 ?x86"
PROVIDES="openssl = $portVersion compat >= 1
PROVIDES="
openssl = $portVersion compat >= 1
cmd:c_rehash = $portVersion compat >= 1
cmd:openssl = $portVersion compat >= 1
lib:libcrypto = $portVersion compat >= 1
lib:libssl = $portVersion compat >= 1"
REQUIRES="haiku >= $haikuVersion
zlib >= 1.2.3"
BUILD_REQUIRES="cmd:gcc
lib:libssl = $portVersion compat >= 1
"
REQUIRES="
haiku >= $haikuVersion
zlib >= 1.2.3
"
BUILD_REQUIRES="
$REQUIRES
cmd:gcc
cmd:ld
cmd:make
cmd:sed"
BUILD_PREREQUIRES="haiku-devel >= $haikuVersion"
cmd:perl >= 5
cmd:sed
"
BUILD_PREREQUIRES="
haiku-devel >= $haikuVersion
"
SOURCE_DIR="$portVersionedName"
BUILD()
{
sed -i "s@MANDIR=\$(OPENSSLDIR)\/man@MANDIR=$manDir@g" Make*
./config --prefix=$prefix zlib shared \
--openssldir=$dataRootDir/ssl
# Fix hardcoded directory for manpages
sed -i "s@MANDIR=.*\$@MANDIR=$manDir@g" Make*
./config --prefix=$prefix zlib shared --openssldir=$dataRootDir/ssl
make
}