Explorar el Código

Merge pull request #947 from MikePetullo/master

krb5: update to 1.13.1
Ted Hess hace 10 años
padre
commit
75fa8ea9ac
Se han modificado 2 ficheros con 51 adiciones y 8 borrados
  1. 15
    5
      net/krb5/Makefile
  2. 36
    3
      net/krb5/patches/001-fix-build.patch

+ 15
- 5
net/krb5/Makefile Ver fichero

@@ -1,12 +1,24 @@
1
+#
2
+# Copyright (C) 2009-2015 OpenWrt.org
3
+#
4
+# This is free software, licensed under the GNU General Public License v2.
5
+# See /LICENSE for more information.
6
+#
7
+
1 8
 include $(TOPDIR)/rules.mk
2 9
 
3 10
 PKG_NAME:=krb5
4
-PKG_VERSION:=1.12.1
11
+PKG_VERSION:=1.13.1
5 12
 PKG_RELEASE:=1
6 13
 
14
+PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org>
15
+
16
+PKG_LICENSE:=MIT
17
+PKG_LICENSE_FILES:=NOTICE
18
+
7 19
 PKG_SOURCE:=krb5-$(PKG_VERSION)-signed.tar
8
-PKG_SOURCE_URL:=http://web.mit.edu/kerberos/dist/krb5/1.12/
9
-PKG_MD5SUM:=524b1067b619cb5bf780759b6884c3f5
20
+PKG_SOURCE_URL:=http://web.mit.edu/kerberos/dist/krb5/1.13/
21
+PKG_MD5SUM:=567586cdf02aa8c842c2fab7a94f3c1f
10 22
 
11 23
 PKG_BUILD_PARALLEL:=1
12 24
 PKG_INSTALL:=1
@@ -21,7 +33,6 @@ define Package/krb5/Default
21 33
 	CATEGORY:=Network
22 34
 	TITLE:=Kerberos
23 35
 	URL:=http://web.mit.edu/kerberos/
24
-	MAINTAINER:=W. Michael Petullo <mike@flyn.org>
25 36
 endef
26 37
 
27 38
 define Package/krb5-libs
@@ -31,7 +42,6 @@ define Package/krb5-libs
31 42
 	DEPENDS:=+libncurses
32 43
 	TITLE:=Kerberos 5 Shared Libraries
33 44
 	URL:=http://web.mit.edu/kerberos/
34
-	MAINTAINER:=W. Michael Petullo <mike@flyn.org>
35 45
 endef
36 46
 
37 47
 define Package/krb5-server

+ 36
- 3
net/krb5/patches/001-fix-build.patch Ver fichero

@@ -1,6 +1,6 @@
1
-diff -u --recursive krb5-1.12.1-vanilla/src/lib/krad/packet.c krb5-1.12.1/src/lib/krad/packet.c
2
---- krb5-1.12.1-vanilla/src/lib/krad/packet.c	2014-07-18 00:10:11.916603406 -0400
3
-+++ krb5-1.12.1/src/lib/krad/packet.c	2014-07-18 00:20:23.471574387 -0400
1
+diff -u --recursive krb5-1.13.1-vanilla/src/lib/krad/packet.c krb5-1.13.1/src/lib/krad/packet.c
2
+--- krb5-1.13.1-vanilla/src/lib/krad/packet.c	2015-02-22 10:08:38.213087138 -0500
3
++++ krb5-1.13.1/src/lib/krad/packet.c	2015-02-22 10:13:25.223709951 -0500
4 4
 @@ -253,7 +253,7 @@
5 5
  {
6 6
      krb5_error_code retval;
@@ -10,3 +10,36 @@ diff -u --recursive krb5-1.12.1-vanilla/src/lib/krad/packet.c krb5-1.12.1/src/li
10 10
      size_t attrset_len;
11 11
  
12 12
      pkt = packet_new();
13
+diff -u --recursive krb5-1.13.1-vanilla/src/lib/krb5/ccache/cc_file.c krb5-1.13.1/src/lib/krb5/ccache/cc_file.c
14
+--- krb5-1.13.1-vanilla/src/lib/krb5/ccache/cc_file.c	2015-02-22 10:08:38.211087133 -0500
15
++++ krb5-1.13.1/src/lib/krb5/ccache/cc_file.c	2015-02-22 10:14:15.410819464 -0500
16
+@@ -401,7 +401,7 @@
17
+ {
18
+     krb5_error_code ret;
19
+     struct k5buf buf;
20
+-    size_t maxsize;
21
++    size_t maxsize = 0;
22
+ 
23
+     *princ = NULL;
24
+     k5_cc_mutex_assert_locked(context, &((fcc_data *)id->data)->lock);
25
+@@ -1088,7 +1088,7 @@
26
+     krb5_fcc_cursor *fcursor = *cursor;
27
+     fcc_data *data = id->data;
28
+     struct k5buf buf;
29
+-    size_t maxsize;
30
++    size_t maxsize = 0;
31
+ 
32
+     memset(creds, 0, sizeof(*creds));
33
+     k5_cc_mutex_lock(context, &data->lock);
34
+diff -u --recursive krb5-1.13.1-vanilla/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c krb5-1.13.1/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
35
+--- krb5-1.13.1-vanilla/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c	2015-02-22 10:08:38.190087088 -0500
36
++++ krb5-1.13.1/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c	2015-02-22 10:17:37.981263250 -0500
37
+@@ -3593,7 +3593,7 @@
38
+ {
39
+     CK_ULONG i, r;
40
+     unsigned char *cp;
41
+-    size_t label_len;
42
++    size_t label_len = 0;
43
+     CK_ULONG count = 0;
44
+     CK_SLOT_ID_PTR slotlist;
45
+     CK_TOKEN_INFO tinfo;