# SliTaz package receipt. PACKAGE="openssl" VERSION="1.1.1n" CATEGORY="security" SHORT_DESC="Open source Secure Sockets Layer." MAINTAINER="pascal.bellard@slitaz.org" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://www.openssl.org/" WGET_URL="http://www.openssl.org/source/$TARBALL" DEPENDS="libcrypto libssl" BUILD_DEPENDS="perl zlib-dev" TAGS="ssl security" # Rules to configure and make the package. compile_rules() { cd $src patch -p0 < $stuff/ca-dir.patch # MAKEFLAGS make openssl build fail. unset MAKEFLAGS # Add -Wa,--noexecstack here so that libcrypto's assembler modules will be # marked as not requiring an executable stack (compatibility improvement). ./config --prefix=/usr --openssldir=/etc/ssl shared zlib enable-md2 \ no-ssl3-method -Wa,--noexecstack && sed -i 's/\(basename .*\)`/\1 || true `/' Makefile && make && make DESTDIR=$install MANDIR=/usr/share/man install_sw install_ssldirs } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib cp -a $install/etc $fs cp -a $install/usr/bin $fs/usr cp -a $install/usr/lib/engines* $fs/usr/lib }