wok-current view gnutls/receipt @ rev 16080
ARM: xorg-server-light use same vers than main xorg
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Mar 15 13:11:09 2014 +0100 (2014-03-15) |
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 }