mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-18 19:49:40 +00:00
security/i2p: update to 0.9.40
PR: 237809 Submitted by: Neel Chauhan <neel@neelc.org> (maintainer)
This commit is contained in:
parent
9ecfcd3649
commit
65d4f0186f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=501144
@ -2,7 +2,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= i2p
|
||||
DISTVERSION= 0.9.38
|
||||
DISTVERSION= 0.9.40
|
||||
CATEGORIES= security java net-p2p
|
||||
MASTER_SITES= SF/${PORTNAME:tl}/${PORTVERSION} \
|
||||
http://download.i2p2.no/releases/${PORTVERSION}/ \
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1548602826
|
||||
SHA256 (i2psource_0.9.38.tar.bz2) = 65fe327fdd11272a764c9e1c6ae1f38b151cea9003216b861c7ff2b281ca2970
|
||||
SIZE (i2psource_0.9.38.tar.bz2) = 30702106
|
||||
TIMESTAMP = 1557365594
|
||||
SHA256 (i2psource_0.9.40.tar.bz2) = 5d31e0a324dfe429135ac17595b3cab3e81d85d4aa7a720db402dec47bfeda23
|
||||
SIZE (i2psource_0.9.40.tar.bz2) = 30808508
|
||||
|
@ -0,0 +1,11 @@
|
||||
--- apps/i2pcontrol/java/com/thetransactioncompany/jsonrpc2/package-info.java.orig 2019-04-17 11:52:29.174848000 -0400
|
||||
+++ apps/i2pcontrol/java/com/thetransactioncompany/jsonrpc2/package-info.java 2019-04-17 11:55:57.085931000 -0400
|
||||
@@ -13,7 +13,7 @@
|
||||
* exception of <i>batching / multicall</i>. This feature is deliberately left
|
||||
* out as it tends to confuse users (judging by posts in the JSON-RPC forum).
|
||||
*
|
||||
- * <p>See the <a href="http://www.jsonrpc.org/specification"></a>JSON-RPC 2.0
|
||||
+ * <p>See the <a href="http://www.jsonrpc.org/specification">JSON-RPC 2.0
|
||||
* specification</a> for more information or write to the
|
||||
* <a href="https://groups.google.com/forum/#!forum/json-rpc">user group</a> if
|
||||
* you have questions.
|
@ -0,0 +1,35 @@
|
||||
--- apps/i2pcontrol/java/org/mindrot/jbcrypt/BCrypt.java.orig 2019-04-17 11:58:51.939865000 -0400
|
||||
+++ apps/i2pcontrol/java/org/mindrot/jbcrypt/BCrypt.java 2019-04-17 11:58:57.299331000 -0400
|
||||
@@ -32,25 +32,25 @@
|
||||
* call the hashpw method with a random salt, like this:
|
||||
* <p>
|
||||
* <code>
|
||||
- * String pw_hash = BCrypt.hashpw(plain_password, BCrypt.gensalt()); <br />
|
||||
+ * String pw_hash = BCrypt.hashpw(plain_password, BCrypt.gensalt());
|
||||
* </code>
|
||||
* <p>
|
||||
* To check whether a plaintext password matches one that has been
|
||||
* hashed previously, use the checkpw method:
|
||||
* <p>
|
||||
* <code>
|
||||
- * if (BCrypt.checkpw(candidate_password, stored_hash))<br />
|
||||
- * System.out.println("It matches");<br />
|
||||
- * else<br />
|
||||
- * System.out.println("It does not match");<br />
|
||||
+ * if (BCrypt.checkpw(candidate_password, stored_hash))
|
||||
+ * System.out.println("It matches");
|
||||
+ * else
|
||||
+ * System.out.println("It does not match");
|
||||
* </code>
|
||||
* <p>
|
||||
* The gensalt() method takes an optional parameter (log_rounds)
|
||||
* that determines the computational complexity of the hashing:
|
||||
* <p>
|
||||
* <code>
|
||||
- * String strong_salt = BCrypt.gensalt(10)<br />
|
||||
- * String stronger_salt = BCrypt.gensalt(12)<br />
|
||||
+ * String strong_salt = BCrypt.gensalt(10)
|
||||
+ * String stronger_salt = BCrypt.gensalt(12)
|
||||
* </code>
|
||||
* <p>
|
||||
* The amount of work increases exponentially (2**log_rounds), so
|
@ -1,19 +0,0 @@
|
||||
--- apps/streaming/java/src/net/i2p/client/streaming/impl/I2PSocketManagerFull.java.orig 2018-06-26 11:12:11 UTC
|
||||
+++ apps/streaming/java/src/net/i2p/client/streaming/impl/I2PSocketManagerFull.java
|
||||
@@ -28,6 +28,7 @@ import net.i2p.client.streaming.I2PServerSocket;
|
||||
import net.i2p.client.streaming.I2PSocket;
|
||||
import net.i2p.client.streaming.I2PSocketManager;
|
||||
import net.i2p.client.streaming.I2PSocketOptions;
|
||||
+import net.i2p.client.streaming.RouterRestartException;
|
||||
import net.i2p.crypto.SigAlgo;
|
||||
import net.i2p.crypto.SigType;
|
||||
import net.i2p.data.Certificate;
|
||||
@@ -354,7 +355,7 @@ public class I2PSocketManagerFull implements I2PSocket
|
||||
* @throws ConnectException (since 0.9.17; I2PServerSocket interface always declared it)
|
||||
* @throws SocketTimeoutException if a timeout was previously set with setSoTimeout and the timeout has been reached.
|
||||
*/
|
||||
- public I2PSocket receiveSocket() throws I2PException, ConnectException, SocketTimeoutException {
|
||||
+ public I2PSocket receiveSocket() throws I2PException, RouterRestartException, ConnectException, SocketTimeoutException {
|
||||
verifySession();
|
||||
Connection con = _connectionManager.getConnectionHandler().accept(_connectionManager.getSoTimeout());
|
||||
I2PSocketFull sock = new I2PSocketFull(con, _context);
|
Loading…
Reference in New Issue
Block a user