mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-04 06:15:24 +00:00
security/sslsplit: update to 0.5.3
This commit is contained in:
parent
d7786fd380
commit
d2be822e9b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=480222
@ -1,7 +1,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= sslsplit
|
||||
PORTVERSION= 0.5.2
|
||||
PORTVERSION= 0.5.3
|
||||
CATEGORIES= security
|
||||
MASTER_SITES= http://mirror.roe.ch/rel/sslsplit/
|
||||
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1518753106
|
||||
SHA256 (sslsplit-0.5.2.tar.bz2) = f32c7fd760a45bb521adb8d96c819173fcaed1964bf114e666fcd7cf7ff043a8
|
||||
SIZE (sslsplit-0.5.2.tar.bz2) = 453797
|
||||
TIMESTAMP = 1537491329
|
||||
SHA256 (sslsplit-0.5.3.tar.bz2) = 6c4cbc42cd7fb023fed75b82a436d8c1c4beaeb317a2ef41c00403684e0885dd
|
||||
SIZE (sslsplit-0.5.3.tar.bz2) = 457248
|
||||
|
@ -1,26 +0,0 @@
|
||||
--- proc.c.orig 2017-03-21 00:13:06.166567000 -0700
|
||||
+++ proc.c 2017-03-21 00:14:38.957451000 -0700
|
||||
@@ -175,7 +175,11 @@
|
||||
|
||||
struct xinpgen *xig, *exig, *txig;
|
||||
struct xtcpcb *xtp;
|
||||
+#if __FreeBSD_version >= 1200026
|
||||
+ struct xinpcb *inp;
|
||||
+#else
|
||||
struct inpcb *inp;
|
||||
+#endif
|
||||
struct xsocket *so;
|
||||
|
||||
if (proc_freebsd_getfiles(&xfiles, &nxfiles) == -1) {
|
||||
@@ -197,7 +201,11 @@
|
||||
return -1;
|
||||
}
|
||||
inp = &xtp->xt_inp;
|
||||
+#if __FreeBSD_version >= 1200026
|
||||
+ so = &inp->xi_socket;
|
||||
+#else
|
||||
so = &xtp->xt_socket;
|
||||
+#endif
|
||||
|
||||
if (!(so->so_state & SS_ISCONNECTED))
|
||||
/* we are only interested in connected sockets */
|
Loading…
Reference in New Issue
Block a user