mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
- Fix possbile DoS in TLS record decoding [1]
- Fix installation without NLS [2] - Require gmake and perl for build because in some occasions it will rebuild the documentation that works in a proper way with gmake only and needs perl - Bump PORTREVISION Security: CVE-2013-2116 Reported by: mat [2]
This commit is contained in:
parent
27902e0d8f
commit
6fa779c1b7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=339094
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= gnutls
|
||||
PORTVERSION= 2.12.23
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= security net
|
||||
MASTER_SITES= \
|
||||
ftp://ftp.gnutls.org/gcrypt/gnutls/v${PORTVERSION:C/.[0-9]+$//}/
|
||||
@ -19,7 +19,8 @@ LIB_DEPENDS= nettle:${PORTSDIR}/security/nettle \
|
||||
|
||||
CONFLICTS= gnutls-devel-[0-9]*
|
||||
|
||||
USES= pathfix pkgconfig iconv
|
||||
USES= pathfix pkgconfig iconv gmake perl5
|
||||
USE_PERL5= build
|
||||
USE_BZIP2= yes
|
||||
USE_GNOME= ltverhack
|
||||
GNU_CONFIGURE= yes
|
||||
|
11
security/gnutls/files/patch-lib-gnutls_cipher.c
Normal file
11
security/gnutls/files/patch-lib-gnutls_cipher.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- lib/gnutls_cipher.c.orig 2013-02-04 12:53:03.000000000 +0400
|
||||
+++ lib/gnutls_cipher.c 2013-02-04 12:53:03.000000000 +0400
|
||||
@@ -561,6 +561,8 @@
|
||||
return GNUTLS_E_DECRYPTION_FAILED;
|
||||
}
|
||||
pad = ciphertext.data[ciphertext.size - 1]; /* pad */
|
||||
+ if (pad+1 > ciphertext.size-hash_size)
|
||||
+ pad_failed = GNUTLS_E_DECRYPTION_FAILED;
|
||||
|
||||
/* Check the pading bytes (TLS 1.x).
|
||||
* Note that we access all 256 bytes of ciphertext for padding check
|
@ -716,8 +716,8 @@ man/man3/gnutls_x509_rdn_get_oid.3.gz
|
||||
%%NLS%%share/locale/sv/LC_MESSAGES/libgnutls.mo
|
||||
%%NLS%%share/locale/vi/LC_MESSAGES/libgnutls.mo
|
||||
%%NLS%%share/locale/zh_CN/LC_MESSAGES/libgnutls.mo
|
||||
%%NLS%%@dirrmtry share/locale/en@quot/LC_MESSAGES
|
||||
%%NLS%%@dirrmtry share/locale/en@quot
|
||||
%%NLS%%@dirrmtry share/locale/en@boldquot/LC_MESSAGES
|
||||
%%NLS%%@dirrmtry share/locale/en@boldquot
|
||||
@dirrm include/gnutls
|
||||
@dirrmtry share/locale/en@quot/LC_MESSAGES
|
||||
@dirrmtry share/locale/en@quot
|
||||
@dirrmtry share/locale/en@boldquot/LC_MESSAGES
|
||||
@dirrmtry share/locale/en@boldquot
|
||||
|
Loading…
Reference in New Issue
Block a user