wok-4.x view openssl/receipt @ rev 6192
Up: openssl, openssl-dev, libssl, libcrypto, libcrypto-dev to 1.0.0a.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Sep 10 21:40:48 2010 +0000 (2010-09-10) |
parents | 585183e91f91 |
children | 3dc6e4b6990a |
line source
1 # SliTaz package receipt.
3 PACKAGE="openssl"
4 VERSION="1.0.0a"
5 CATEGORY="security"
6 SHORT_DESC="Open source Secure Sockets Layer."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.openssl.org/"
10 WGET_URL="http://www.openssl.org/source/$TARBALL"
11 DEPENDS="libcrypto libssl"
12 BUILD_DEPENDS="perl"
13 TAGS="ssl security"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
20 # fix double free
21 # see http://marc.info/?l=openssl-dev&m=128118163216952&w=2
22 # and http://marc.info/?l=openssl-dev&m=128128256314328&w=2
23 patch -p0 -i ../stuff/fix-double-free.patch
24 ./config --prefix=/usr --openssldir=/etc/ssl shared
25 sed -i 's/\(basename .*\)`/\1 || true `/' Makefile
26 make &&
27 make INSTALL_PREFIX=$PWD/_pkg MANDIR=$PWD/_pkg/usr/share/man install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
34 cp -a $_pkg/etc $fs
35 cp -a $_pkg/usr/bin $fs/usr
36 }