1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

security/zaproxy: Update cache files because gradle was updated

- Fix open options menu
PR:		276730
Reported by:	salvadore
This commit is contained in:
Jose Alonso Cardenas Marquez 2024-03-23 19:22:20 -05:00
parent 3a5e14064f
commit 84b72a1703
No known key found for this signature in database
GPG Key ID: 335B9246BA5E30F4
3 changed files with 29 additions and 5 deletions

View File

@ -1,6 +1,7 @@
PORTNAME= zaproxy
DISTVERSIONPREFIX= v
DISTVERSION= 2.14.0
PORTREVISION= 1
CATEGORIES= security java
MAINTAINER= acm@FreeBSD.org

View File

@ -1,7 +1,7 @@
TIMESTAMP = 1697561594
SHA256 (zaproxy-2.14.0-deps.tar.gz) = b26f5ed89c10de95b3cb1d39224c8cb9f4e154b3a78c0bcc75106c152c2d9feb
SIZE (zaproxy-2.14.0-deps.tar.gz) = 332187220
SHA256 (zaproxy-2.14.0-plugins.tar.gz) = d6ca3c5179347c02c2addad85c9f29758143e2aaf5bb9c4e6752684982daef0c
SIZE (zaproxy-2.14.0-plugins.tar.gz) = 232482983
TIMESTAMP = 1711238273
SHA256 (zaproxy-2.14.0-deps.tar.gz) = 961ed29f92d165bd06ed8b54821760fbf339069f80a6e26d3c9d77ea3fa0f2d2
SIZE (zaproxy-2.14.0-deps.tar.gz) = 369588532
SHA256 (zaproxy-2.14.0-plugins.tar.gz) = 93d2f25beecd882ea8af173665372faab82c0b8c1e0389e3dbededc2909e3517
SIZE (zaproxy-2.14.0-plugins.tar.gz) = 232482946
SHA256 (zaproxy-zaproxy-v2.14.0_GH0.tar.gz) = e775b827f2c1aa8ed93dae5c2677399fedbe8c64cbdd21e0122c3799706ca0ea
SIZE (zaproxy-zaproxy-v2.14.0_GH0.tar.gz) = 5541732

View File

@ -0,0 +1,23 @@
--- zap/src/main/java/org/parosproxy/paros/Constant.java.orig 2024-03-24 00:03:43 UTC
+++ zap/src/main/java/org/parosproxy/paros/Constant.java
@@ -1405,9 +1405,19 @@ public final class Constant {
return matcher.find();
}
+ // Determine FreeBSD Operating System
+ // ZAP: Changed to final.
+ private static final Pattern patternFreeBSD = Pattern.compile("freebsd", Pattern.CASE_INSENSITIVE);
+
+ public static boolean isFreeBSD() {
+ String os_name = System.getProperty("os.name");
+ Matcher matcher = patternFreeBSD.matcher(os_name);
+ return matcher.find();
+ }
+
// Determine Linux Operating System
// ZAP: Changed to final.
- private static final Pattern patternLinux = Pattern.compile("linux", Pattern.CASE_INSENSITIVE);
+ private static final Pattern patternLinux = Pattern.compile("linux|freebsd", Pattern.CASE_INSENSITIVE);
public static boolean isLinux() {
String os_name = System.getProperty("os.name");