wok view gnutls/receipt @ rev 16053
gnutls: CVE-2014-0092 fix
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 10 15:55:04 2014 +0000 (2014-03-10) |
parents | 2b9f96603415 |
children | e62fe73c97ae |
line source
1 # SliTaz package receipt.
3 PACKAGE="gnutls"
4 VERSION="2.12.14"
5 CATEGORY="security"
6 SHORT_DESC="GNU Transport Layer Security Library"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.gnu.org/software/gnutls/"
11 WGET_URL="http://ftp.gnu.org/gnu/$PACKAGE/$TARBALL"
13 DEPENDS="nettle libgpg-error ncurses readline zlib gcc-lib-base libgnutls \
14 libtasn1 p11-kit"
15 BUILD_DEPENDS="libtasn1-dev ncurses-dev readline-dev p11-kit-dev \
16 nettle-dev libgpg-error-dev libgcrypt-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 # Apply http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-0092 fix
23 # from https://www.gitorious.org/gnutls/gnutls/commit/6aa26f78150ccbdf0aec1878a41c17c41d358a3b
24 patch -p1 < $stuff/CVE-2014-0092.u
25 ./configure --with-libgcrypt \
26 --disable-guile \
27 --with-zlib \
28 $CONFIGURE_ARGS &&
29 make && make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr
36 cp -a $install/usr/bin $fs/usr
37 }