aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Gmelin <grembo@FreeBSD.org>2024-02-27 17:39:39 +0000
committerMichael Gmelin <grembo@FreeBSD.org>2024-02-27 17:52:07 +0000
commit65eb9ca8f37ffb5888cce55d0d2cdeec3f2f8a24 (patch)
treed2256eb94bd0cb07aaeee57795037ff2efb05c34
parent34a16be8b45445fdd54f8655c9364a125d60a28d (diff)
downloadports-65eb9ca8f37ffb5888cce55d0d2cdeec3f2f8a24.tar.gz
ports-65eb9ca8f37ffb5888cce55d0d2cdeec3f2f8a24.zip
sysutils/iocage: Fix handling of slashes in jail param
PR: 275738 Reported by: alexey@ocaml.nl
-rw-r--r--sysutils/iocage/Makefile11
-rw-r--r--sysutils/iocage/distinfo4
2 files changed, 12 insertions, 3 deletions
diff --git a/sysutils/iocage/Makefile b/sysutils/iocage/Makefile
index 55f7766c0bda..c3c32a102859 100644
--- a/sysutils/iocage/Makefile
+++ b/sysutils/iocage/Makefile
@@ -1,14 +1,21 @@
PORTNAME= iocage
PORTVERSION= 1.2
-PORTREVISION= 11
+PORTREVISION= 12
CATEGORIES= sysutils python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+# Patches in order of appearance
+# - Do not fetch/install lib32 for i386
+# - Change devfs ruleset handling so...
+# - Only update release property on update of jails
+# - Use streaming reads to avoid blowing memory
+# - Prevent slashes in jail names when checking existence
PATCH_SITES= https://github.com/iocage/iocage/commit/
PATCHFILES= 2883770ae46731a2a94cd41e6d01d32cec6f1f21.patch:-p1 \
753b2f35731423597d7f51f33427b6d619fcd0b5.patch:-p1 \
b47dc2c47ff125d644720b03f598a9caf4e08192.patch:-p1 \
- 2a1685bcaba96917c79a7e4a909dac5c6926826a.patch:-p1
+ 2a1685bcaba96917c79a7e4a909dac5c6926826a.patch:-p1 \
+ c06d0695487dda62c2b81aeb6be5fe91a70d8c83.patch:-p1
MAINTAINER= grembo@FreeBSD.org
COMMENT= FreeBSD jail manager written in Python3
diff --git a/sysutils/iocage/distinfo b/sysutils/iocage/distinfo
index 8004d8758d9d..846587999e9d 100644
--- a/sysutils/iocage/distinfo
+++ b/sysutils/iocage/distinfo
@@ -1,4 +1,4 @@
-TIMESTAMP = 1702576446
+TIMESTAMP = 1709055537
SHA256 (iocage-iocage-1.2_GH0.tar.gz) = 7ff73f4d33090e829e1dd23fa723b7f969b29249e382fc39b7564826de119819
SIZE (iocage-iocage-1.2_GH0.tar.gz) = 722499
SHA256 (2883770ae46731a2a94cd41e6d01d32cec6f1f21.patch) = 7e5ddb65b09131984da1ef6b85f3a18e02e9a558c82bdf7af2f72b20bbaaba79
@@ -9,3 +9,5 @@ SHA256 (b47dc2c47ff125d644720b03f598a9caf4e08192.patch) = 69ffb84b0fee9e5735747c
SIZE (b47dc2c47ff125d644720b03f598a9caf4e08192.patch) = 2091
SHA256 (2a1685bcaba96917c79a7e4a909dac5c6926826a.patch) = c15fc8eb261ae740b4214e4181e2b9ef2f6580b5449486f927e44b629af7b4bc
SIZE (2a1685bcaba96917c79a7e4a909dac5c6926826a.patch) = 1295
+SHA256 (c06d0695487dda62c2b81aeb6be5fe91a70d8c83.patch) = 7f18e4c97af1d761c7df2bc1f968753a5d440454637a639fb3d5593c7f5661bc
+SIZE (c06d0695487dda62c2b81aeb6be5fe91a70d8c83.patch) = 1266