openssl: update to 1.0.1c.
This commit is contained in:
parent
900593b2e5
commit
869a79789a
4 changed files with 34 additions and 34 deletions
|
@ -6,8 +6,6 @@ long_desc="
|
||||||
|
|
||||||
This package includes the OpenSSL libssl and libcrypto shared libraries."
|
This package includes the OpenSSL libssl and libcrypto shared libraries."
|
||||||
|
|
||||||
replaces="openssl<1.0.0a_2"
|
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vmove "usr/lib/lib*.so*" usr/lib
|
vmove "usr/lib/lib*.so*" usr/lib
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,19 +1,14 @@
|
||||||
# Template file for 'openssl-devel'.
|
# Template file for 'openssl-devel'.
|
||||||
#
|
#
|
||||||
depends="zlib-devel libssl"
|
depends="zlib-devel libssl>=$version"
|
||||||
short_desc="Secure Socket Layer and cryptographic library - development files"
|
short_desc="Secure Socket Layer and cryptographic library - development files"
|
||||||
long_desc="${long_desc}
|
long_desc="${long_desc}
|
||||||
|
|
||||||
This package contains files for development, headers, static libs, etc."
|
This package contains files for development, headers, static libs, etc."
|
||||||
|
|
||||||
|
do_install() {
|
||||||
do_install()
|
vmove usr/include usr
|
||||||
{
|
vmove "usr/lib/*.a" usr/lib
|
||||||
mkdir -p ${DESTDIR}/usr/lib
|
vmove usr/lib/pkgconfig usr/lib
|
||||||
mkdir -p ${DESTDIR}/usr/share/man
|
vmove usr/share/man/man3 usr/share/man
|
||||||
|
|
||||||
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
|
|
||||||
mv ${SRCPKGDESTDIR}/usr/lib/*.*a ${DESTDIR}/usr/lib
|
|
||||||
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
|
|
||||||
mv ${SRCPKGDESTDIR}/usr/share/man/man3 ${DESTDIR}/usr/share/man
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
libssl.so.1
|
libssl.so.1
|
||||||
libcrypto.so.1
|
libcrypto.so.1
|
||||||
libdl.so.2
|
|
||||||
libz.so.1
|
|
||||||
libc.so.6
|
libc.so.6
|
||||||
|
|
|
@ -1,48 +1,57 @@
|
||||||
# Template file for 'openssl'
|
# Template file for 'openssl'
|
||||||
pkgname=openssl
|
pkgname=openssl
|
||||||
_openssl_version=1.0.0
|
_openssl_version=1.0.1
|
||||||
version=${_openssl_version}i
|
version=${_openssl_version}c
|
||||||
homepage="http://www.openssl.org/"
|
revision=1
|
||||||
distfiles="${homepage}/source/$pkgname-$version.tar.gz"
|
fulldepends="perl"
|
||||||
makedepends="zlib-devel"
|
conf_files="/etc/ssl/openssl.cnf"
|
||||||
fulldepends="perl>=0"
|
subpackages="libssl openssl-devel"
|
||||||
revision=2
|
|
||||||
short_desc="Secure Socket Layer and cryptographic library - runtime utilities"
|
short_desc="Secure Socket Layer and cryptographic library - runtime utilities"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
license="BSD"
|
license="BSD"
|
||||||
checksum=548262d15777c504be1ab9bb8fabef1e14a3de54837a6593c8f403dd843d5e57
|
homepage="http://www.openssl.org/"
|
||||||
|
distfiles="https://www.openssl.org/source/$pkgname-$version.tar.gz"
|
||||||
|
checksum=2a9eb3cd4e8b114eb9179c0d3884d61658e7d8e8bf4984798a5f5bd48e325ebe
|
||||||
long_desc="
|
long_desc="
|
||||||
The OpenSSL Project is a collaborative effort to develop a robust,
|
The OpenSSL Project is a collaborative effort to develop a robust,
|
||||||
commercial-grade, full-featured, and Open Source toolkit implementing the
|
commercial-grade, full-featured, and Open Source toolkit implementing the
|
||||||
Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1)
|
Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1)
|
||||||
protocols as well as a full-strength general purpose cryptography library."
|
protocols as well as a full-strength general purpose cryptography library."
|
||||||
|
|
||||||
disable_parallel_build=yes
|
|
||||||
|
|
||||||
conf_files="/etc/ssl/openssl.cnf"
|
|
||||||
subpackages="libssl openssl-devel"
|
|
||||||
make_dirs="
|
make_dirs="
|
||||||
/etc/ssl/certs 0755 root root
|
/etc/ssl/certs 0755 root root
|
||||||
/etc/ssl/private 0750 root root"
|
/etc/ssl/private 0750 root root"
|
||||||
|
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
./config --prefix=/usr --openssldir=/etc/ssl --libdir=lib \
|
local _opts
|
||||||
zlib shared threads -Wa,--noexecstack
|
|
||||||
|
if [ "${XBPS_MACHINE}" = "x86_64" ]; then
|
||||||
|
_target="linux-x86_64"
|
||||||
|
_opts="enable-ec_nistp_64_gcc_128"
|
||||||
|
elif [ "${XBPS_MACHINE}" = "i686" ]; then
|
||||||
|
_target="linux-elf"
|
||||||
|
fi
|
||||||
|
|
||||||
|
./Configure --prefix=/usr --openssldir=/etc/ssl --libdir=lib \
|
||||||
|
shared zlib enable-md2 threads ${_opts} \
|
||||||
|
${_target} -Wa,--noexecstack \
|
||||||
|
"${CFLAGS}" "${LDFLAGS}" -DOPENSSL_NO_TLS1_2_CLIENT
|
||||||
}
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
make ${makejobs}
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
|
local _sover="1.0.0"
|
||||||
|
|
||||||
make INSTALL_PREFIX=${DESTDIR} MANDIR=/usr/share/man install
|
make INSTALL_PREFIX=${DESTDIR} MANDIR=/usr/share/man install
|
||||||
|
|
||||||
chmod 755 ${DESTDIR}/usr/lib/engines/*.so
|
chmod 755 ${DESTDIR}/usr/lib/engines/*.so
|
||||||
for _solib_ in libssl.so libcrypto.so; do
|
for _solib_ in libssl.so libcrypto.so; do
|
||||||
chmod 755 ${DESTDIR}/usr/lib/${_solib_}.${_openssl_version}
|
chmod 755 ${DESTDIR}/usr/lib/${_solib_}.${_sover}
|
||||||
cd ${DESTDIR}/usr/lib && \
|
cd ${DESTDIR}/usr/lib && \
|
||||||
ln -sf ${_solib_}.${_openssl_version} ${_solib_}.1 && \
|
ln -sf ${_solib_}.${_sover} ${_solib_}.1 && \
|
||||||
ln -sf ${_solib_}.${_openssl_version} ${_solib_}
|
ln -sf ${_solib_}.${_sover} ${_solib_}
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue