2008-10-24 06:46:29 +02:00
|
|
|
# Template file for 'openssl'
|
|
|
|
pkgname=openssl
|
2009-02-04 03:40:25 +01:00
|
|
|
openssl_version=0.9.8
|
2009-11-07 19:03:49 +01:00
|
|
|
version=${openssl_version}l
|
2008-10-28 23:57:52 +01:00
|
|
|
distfiles="http://www.openssl.org/source/$pkgname-$version.tar.gz"
|
2008-10-24 06:46:29 +02:00
|
|
|
build_style=configure
|
2009-02-04 03:40:25 +01:00
|
|
|
configure_script="./config"
|
2008-10-24 06:46:29 +02:00
|
|
|
configure_args="--prefix=/usr
|
2008-10-25 01:36:39 +02:00
|
|
|
--install_prefix=$XBPS_DESTDIR/$pkgname-$version --openssldir=/etc/ssl
|
2008-10-24 06:46:29 +02:00
|
|
|
zlib-dynamic shared threads"
|
|
|
|
make_build_target="all"
|
|
|
|
short_desc="Secure Socket Layer and cryptographic library"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2009-11-07 19:03:49 +01:00
|
|
|
checksum=ecd054e9eed2e9c1620ba15257e6fc4d882c9a4aea663d23b769e2138de8c91a
|
2008-10-24 06:46:29 +02:00
|
|
|
long_desc="
|
|
|
|
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."
|
|
|
|
|
2008-10-29 22:45:09 +01:00
|
|
|
# Does not build with -j.
|
|
|
|
disable_parallel_build=yes
|
2008-12-14 01:48:36 +01:00
|
|
|
conf_files="/etc/ssl/openssl.cnf"
|
2009-11-22 08:31:44 +01:00
|
|
|
subpackages="openssl-devel"
|
2009-02-25 06:15:20 +01:00
|
|
|
|
2010-01-15 06:08:22 +01:00
|
|
|
Add_dependency run glibc
|
|
|
|
Add_dependency run zlib
|
2009-02-25 06:15:20 +01:00
|
|
|
Add_dependency build perl
|
2010-01-15 06:08:22 +01:00
|
|
|
Add_dependency build zlib-devel
|
2008-10-24 06:46:29 +02:00
|
|
|
|
2008-10-27 06:12:30 +01:00
|
|
|
post_install()
|
|
|
|
{
|
|
|
|
# Grr. Stupid Makefile, remove stuff installed in wrong dir.
|
2009-03-11 06:31:56 +01:00
|
|
|
rm -rf $DESTDIR/usr/usr
|
2009-02-04 03:40:25 +01:00
|
|
|
|
|
|
|
# Fix for correct SONAME in shared libs.
|
2009-03-11 06:31:56 +01:00
|
|
|
cd $DESTDIR/usr/lib || exit 1
|
2009-02-04 03:40:25 +01:00
|
|
|
for f in libssl libcrypto; do
|
|
|
|
ln -sf $f.so.${openssl_version} $f.so.7
|
|
|
|
done
|
2009-08-01 00:39:23 +02:00
|
|
|
# Remove passwd.1 manpage, it's supplied by the shadow pkg.
|
|
|
|
rm -f ${DESTDIR}/usr/share/man/man1/passwd.1
|
2008-10-27 06:12:30 +01:00
|
|
|
}
|