wok-4.x view gnutls/receipt @ rev 12446

glibc: typo in CVE-2015-0235 patch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jan 29 11:47:30 2015 +0100 (2015-01-29)
parents 9532fd8edd29
children
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 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://www.gnu.org/software/gnutls/"
10 WGET_URL="http://ftp.gnu.org/gnu/$PACKAGE/$TARBALL"
12 DEPENDS="nettle libgpg-error ncurses readline zlib gcc-lib-base libgnutls \
13 libtasn1 p11-kit"
14 BUILD_DEPENDS="libtasn1-dev ncurses-dev readline-dev p11-kit-dev \
15 nettle-dev libgpg-error-dev libgcrypt-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 # Apply http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-0092 fix
22 # from https://www.gitorious.org/gnutls/gnutls/commit/6aa26f78150ccbdf0aec1878a41c17c41d358a3b
23 patch -p1 < $stuff/CVE-2014-0092.u
24 ./configure --with-libgcrypt \
25 --disable-guile \
26 --with-zlib \
27 $CONFIGURE_ARGS &&
28 make && make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr
35 cp -a $_pkg/usr/bin $fs/usr
36 }