wok view openssl/receipt @ rev 7072
Up: PyQt-xll-gpl to 4.8.1.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Nov 02 14:04:14 2010 +0000 (2010-11-02) |
parents | 2ea5d6f17cd8 |
children | 787bbe00cf9d |
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 zlib-dev"
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 zlib enable-md2
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 }