mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-02 06:03:50 +00:00
Update 1.9.1 --> 1.9.2. This is a bugfix release.
Feature safe: yes
This commit is contained in:
parent
b76b977b7c
commit
a564f94724
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=285932
@ -6,8 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= krb5
|
||||
PORTVERSION= 1.9.1
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 1.9.2
|
||||
CATEGORIES= security
|
||||
MASTER_SITES= http://web.mit.edu/kerberos/dist/${PORTNAME}/${PORTVERSION:C/^[0-9]*\.[0-9]*/&X/:C/X\.[0-9]*$//:C/X//}/
|
||||
#PATCH_SITES= http://web.mit.edu/kerberos/advisories/
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (krb5-1.9.1-signed.tar) = 525e258aa7401427a5a9edee0051f83b6151bf96a979ca526393932c90484c8e
|
||||
SIZE (krb5-1.9.1-signed.tar) = 11888640
|
||||
SHA256 (krb5-1.9.2-signed.tar) = 96b213345b02862b5fef61ef1dd26f643f07e4207496c35179cea35ddb7ae68c
|
||||
SIZE (krb5-1.9.2-signed.tar) = 12185600
|
||||
|
@ -2,8 +2,7 @@
|
||||
+++ ../doc/Makefile 2007-10-25 14:04:48.000000000 -0700
|
||||
@@ -1,8 +1,8 @@
|
||||
SRCDIR=../src
|
||||
-DVI=texi2dvi4a2ps # texi2dvi
|
||||
+DVI=texi2dvi # texi2dvi
|
||||
DVI=texi2dvi
|
||||
DVIPS=dvips -o "$@"
|
||||
PSPDF=ps2pdf
|
||||
-INFO=makeinfo
|
||||
|
@ -1,21 +0,0 @@
|
||||
--- lib/rpc/clnt_tcp.c.orig 2011-09-06 02:05:14.000000000 +0000
|
||||
+++ lib/rpc/clnt_tcp.c 2011-09-06 02:10:30.000000000 +0000
|
||||
@@ -187,9 +187,16 @@
|
||||
ct->ct_sock = *sockp;
|
||||
ct->ct_wait.tv_usec = 0;
|
||||
ct->ct_waitset = FALSE;
|
||||
- if (raddr == NULL)
|
||||
- memset(&ct->ct_addr, 0, sizeof(ct->ct_addr));
|
||||
+ if (raddr == NULL) {
|
||||
+ /* Get the remote address from the socket, if it's IPv4. */
|
||||
+ struct sockaddr_in sin;
|
||||
+ socklen_t len = sizeof(sin);
|
||||
+ int ret = getpeername(ct->ct_sock, (struct sockaddr *)&sin, &len);
|
||||
+ if (ret == 0 && len == sizeof(sin) && sin.sin_family == AF_INET)
|
||||
+ ct->ct_addr = sin;
|
||||
else
|
||||
+ memset(&ct->ct_addr, 0, sizeof(ct->ct_addr));
|
||||
+ } else
|
||||
ct->ct_addr = *raddr;
|
||||
|
||||
/*
|
Loading…
Reference in New Issue
Block a user