Commit 2f10cbf0 authored by Daniel Sabogal's avatar Daniel Sabogal Committed by Natanael Copa

main/gnutls: security upgrade to 3.4.15 (GNUTLS-SA-2016-3)

Remove unused patches
parent 42dfc526
...@@ -2,16 +2,15 @@ ...@@ -2,16 +2,15 @@
# Contributor: Michael Mason <ms13sp@gmail.com> # Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org> # Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gnutls pkgname=gnutls
pkgver=3.4.14 pkgver=3.4.15
pkgrel=1 pkgrel=0
pkgdesc="A TLS protocol implementation" pkgdesc="A TLS protocol implementation"
url="http://www.gnutls.org/" url="http://www.gnutls.org/"
arch="all" arch="all"
license="GPL" license="GPL"
depends= depends=""
depends_dev="nettle-dev zlib-dev libtasn1-dev p11-kit-dev" depends_dev="nettle-dev zlib-dev libtasn1-dev p11-kit-dev"
makedepends="$depends_dev texinfo" makedepends="$depends_dev texinfo"
install=
subpackages="$pkgname-dbg $pkgname-doc $pkgname-dev $pkgname-utils $pkgname-c++:xx" subpackages="$pkgname-dbg $pkgname-doc $pkgname-dev $pkgname-utils $pkgname-c++:xx"
_v=${pkgver%.*} _v=${pkgver%.*}
case $pkgver in case $pkgver in
...@@ -20,19 +19,10 @@ esac ...@@ -20,19 +19,10 @@ esac
source="ftp://ftp.gnutls.org/gcrypt/gnutls/v${_v}/$pkgname-$pkgver.tar.xz source="ftp://ftp.gnutls.org/gcrypt/gnutls/v${_v}/$pkgname-$pkgver.tar.xz
" "
_builddir="$srcdir/$pkgname-$pkgver" builddir="$srcdir/$pkgname-$pkgver"
prepare() {
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() { build() {
cd "$_builddir" cd "$builddir"
LIBS="-lgmp" ./configure \ LIBS="-lgmp" ./configure \
--build=$CBUILD \ --build=$CBUILD \
--host=$CHOST \ --host=$CHOST \
...@@ -46,12 +36,12 @@ build() { ...@@ -46,12 +36,12 @@ build() {
--disable-guile \ --disable-guile \
--disable-valgrind-tests \ --disable-valgrind-tests \
|| return 1 || return 1
make make || return 1
} }
package() { package() {
cd "$_builddir" make -j1 DESTDIR="$pkgdir" \
make -j1 DESTDIR="$pkgdir" install -C "$builddir" install
} }
utils() { utils() {
...@@ -66,6 +56,6 @@ xx() { ...@@ -66,6 +56,6 @@ xx() {
mv "$pkgdir"/usr/lib/lib*xx.so.* "$subpkgdir"/usr/lib/ mv "$pkgdir"/usr/lib/lib*xx.so.* "$subpkgdir"/usr/lib/
} }
md5sums="ad3e269a6793424d5d21c9626e1c9ef1 gnutls-3.4.14.tar.xz" md5sums="4ea5b239bd8bf1b734dda02997b36459 gnutls-3.4.15.tar.xz"
sha256sums="35deddf2779b76ac11057de38bf380b8066c05de21b94263ad5b6dfa75dfbb23 gnutls-3.4.14.tar.xz" sha256sums="eb2a013905f5f2a0cbf7bcc1d20c85a50065063ee87bd33b496c4e19815e3498 gnutls-3.4.15.tar.xz"
sha512sums="d75f6b4dea2dc742cd7f60ee0ee540d41b69991aaa937ca0138cfdf4a1e0dfaaa3863464303bfa5799e14ee02de252f71c59a7a9e57b96ff8af653e419edfd4e gnutls-3.4.14.tar.xz" sha512sums="03157f2da22890ecd080ad58144a9aabe933382c0b7e969b7b194a0248bb5e6e25207078c0a92755650d0004970eb1c0cf0140dbdbf2e615808f9978e965a5e5 gnutls-3.4.15.tar.xz"
This diff is collapsed.
--- ./lib/nettle/Makefile.in.orig 2013-06-10 17:39:26.019517541 +0000
+++ ./lib/nettle/Makefile.in 2013-06-10 17:39:38.629643690 +0000
@@ -214,7 +214,7 @@
CONFIG_CLEAN_FILES =
CONFIG_CLEAN_VPATH_FILES =
LTLIBRARIES = $(noinst_LTLIBRARIES)
-libcrypto_la_LIBADD =
+libcrypto_la_LIBADD = -lgmp
am_libcrypto_la_OBJECTS = pk.lo mpi.lo mac.lo cipher.lo rnd.lo init.lo \
egd.lo
libcrypto_la_OBJECTS = $(am_libcrypto_la_OBJECTS)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment