sysutils/iocage: Use streaming reads on image import

This avoids out of memory conditions when importing a jail.

PR:		275767
Reported by:	James B. Byrne <byrnejb@harte-lyne.ca>
This commit is contained in:
Michael Gmelin 2023-12-14 18:55:20 +01:00
parent 60ae83008e
commit 88044b4614
2 changed files with 6 additions and 3 deletions

View file

@ -1,13 +1,14 @@
PORTNAME= iocage
PORTVERSION= 1.2
PORTREVISION= 10
PORTREVISION= 11
CATEGORIES= sysutils python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
PATCH_SITES= https://github.com/iocage/iocage/commit/
PATCHFILES= 2883770ae46731a2a94cd41e6d01d32cec6f1f21.patch:-p1 \
753b2f35731423597d7f51f33427b6d619fcd0b5.patch:-p1 \
b47dc2c47ff125d644720b03f598a9caf4e08192.patch:-p1
b47dc2c47ff125d644720b03f598a9caf4e08192.patch:-p1 \
2a1685bcaba96917c79a7e4a909dac5c6926826a.patch:-p1
MAINTAINER= grembo@FreeBSD.org
COMMENT= FreeBSD jail manager written in Python3

View file

@ -1,4 +1,4 @@
TIMESTAMP = 1659106842
TIMESTAMP = 1702576446
SHA256 (iocage-iocage-1.2_GH0.tar.gz) = 7ff73f4d33090e829e1dd23fa723b7f969b29249e382fc39b7564826de119819
SIZE (iocage-iocage-1.2_GH0.tar.gz) = 722499
SHA256 (2883770ae46731a2a94cd41e6d01d32cec6f1f21.patch) = 7e5ddb65b09131984da1ef6b85f3a18e02e9a558c82bdf7af2f72b20bbaaba79
@ -7,3 +7,5 @@ SHA256 (753b2f35731423597d7f51f33427b6d619fcd0b5.patch) = 3471a05e35e5c452e738bc
SIZE (753b2f35731423597d7f51f33427b6d619fcd0b5.patch) = 12673
SHA256 (b47dc2c47ff125d644720b03f598a9caf4e08192.patch) = 69ffb84b0fee9e5735747ce450c002c4dff53380c06c34eee59da26e5b2e4c33
SIZE (b47dc2c47ff125d644720b03f598a9caf4e08192.patch) = 2091
SHA256 (2a1685bcaba96917c79a7e4a909dac5c6926826a.patch) = c15fc8eb261ae740b4214e4181e2b9ef2f6580b5449486f927e44b629af7b4bc
SIZE (2a1685bcaba96917c79a7e4a909dac5c6926826a.patch) = 1295