wok-current annotate 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
rev   line source
pascal@2502 1 # SliTaz package receipt.
erjo@180 2
erjo@180 3 PACKAGE="gnutls"
slaxemulator@11286 4 VERSION="2.12.14"
erjo@180 5 CATEGORY="security"
erjo@180 6 SHORT_DESC="GNU Transport Layer Security Library"
erjo@784 7 MAINTAINER="erjo@slitaz.org"
pascal@14999 8 LICENSE="GPL3"
slaxemulator@11292 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
erjo@180 10 WEB_SITE="http://www.gnu.org/software/gnutls/"
devl547@11264 11 WGET_URL="http://ftp.gnu.org/gnu/$PACKAGE/$TARBALL"
erjo@180 12
slaxemulator@11295 13 DEPENDS="nettle libgpg-error ncurses readline zlib gcc-lib-base libgnutls \
slaxemulator@11295 14 libtasn1 p11-kit"
slaxemulator@11295 15 BUILD_DEPENDS="libtasn1-dev ncurses-dev readline-dev p11-kit-dev \
pascal@11296 16 nettle-dev libgpg-error-dev libgcrypt-dev"
slaxemulator@11295 17
erjo@180 18 # Rules to configure and make the package.
erjo@180 19 compile_rules()
erjo@180 20 {
erjo@180 21 cd $src
pascal@16053 22 # Apply http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-0092 fix
pascal@16053 23 # from https://www.gitorious.org/gnutls/gnutls/commit/6aa26f78150ccbdf0aec1878a41c17c41d358a3b
pascal@16053 24 patch -p1 < $stuff/CVE-2014-0092.u
slaxemulator@10270 25 ./configure --with-libgcrypt \
jozee@5023 26 --disable-guile \
slaxemulator@9415 27 --with-zlib \
jozee@5023 28 $CONFIGURE_ARGS &&
slaxemulator@10270 29 make && make install
erjo@180 30 }
erjo@180 31
erjo@180 32 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@180 33 genpkg_rules()
erjo@180 34 {
erjo@11631 35 mkdir -p $fs/usr
pascal@14999 36 cp -a $install/usr/bin $fs/usr
erjo@180 37 }
erjo@180 38