FreeBSD Bugzilla – Attachment 252256 Details for
Bug 269298
sysutils/iocage: Update to 1.8, new upstream
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
git patch for sysutils/iocage 1.7 on new home
0001-iocage-project-migrated-to-freebsd-s-GH-org.patch (text/plain), 8.73 KB, created by
geoffroy desvernay
on 2024-07-24 12:13:39 UTC
(
hide
)
Description:
git patch for sysutils/iocage 1.7 on new home
Filename:
MIME Type:
Creator:
geoffroy desvernay
Created:
2024-07-24 12:13:39 UTC
Size:
8.73 KB
patch
obsolete
>From 534c700175de86f3b6591abb5f156f2bbf79d581 Mon Sep 17 00:00:00 2001 >From: Geoffroy Desvernay <dgeo@centrale-marseille.fr> >Date: Wed, 29 May 2024 15:00:35 +0200 >Subject: [PATCH] iocage project migrated to freebsd's GH org > >Version updated to 1.7 > - fix empty HTTP_PROXY > - linsysfs support > - allow_nfsd new param > - fix `iocage list -h` output > - add devel/py-six dependency > - New home and new release (since 2019!) > Many bugfixes (including port's patches) included. > >https://github.com/freebsd/iocage >--- > sysutils/iocage/Makefile | 34 ++++++------------- > sysutils/iocage/distinfo | 16 ++------- > .../files/patch-iocage__lib_ioc__common.py | 11 ------ > .../patch-iocage__lib_ioc__exceptions.py | 11 ------ > .../files/patch-iocage__lib_ioc__json.py | 11 ------ > sysutils/iocage/files/patch-setup.py | 11 ------ > 6 files changed, 13 insertions(+), 81 deletions(-) > delete mode 100644 sysutils/iocage/files/patch-iocage__lib_ioc__common.py > delete mode 100644 sysutils/iocage/files/patch-iocage__lib_ioc__exceptions.py > delete mode 100644 sysutils/iocage/files/patch-iocage__lib_ioc__json.py > delete mode 100644 sysutils/iocage/files/patch-setup.py > >diff --git a/sysutils/iocage/Makefile b/sysutils/iocage/Makefile >index c7215b853300..696d28a3f1b5 100644 >--- a/sysutils/iocage/Makefile >+++ b/sysutils/iocage/Makefile >@@ -1,46 +1,29 @@ > PORTNAME= iocage >-PORTVERSION= 1.2 >-PORTREVISION= 13 >+PORTVERSION= 1.7 > 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 \ >- c06d0695487dda62c2b81aeb6be5fe91a70d8c83.patch:-p1 >- > MAINTAINER= grembo@FreeBSD.org > COMMENT= FreeBSD jail manager written in Python3 >-WWW= https://github.com/iocage/iocage >+WWW= https://github.com/freebsd/iocage > > LICENSE= BSD2CLAUSE > LICENSE_FILE= ${WRKSRC}/LICENSE > >-TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} \ >+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}libzfs>=1.0.2:devel/py-libzfs@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} \ > ${PYTHON_PKGNAMEPREFIX}pytest4>0:devel/py-pytest4@${PY_FLAVOR} \ > ${PYTHON_PKGNAMEPREFIX}pytest4-cov>0:devel/py-pytest4-cov@${PY_FLAVOR} \ > ${PYTHON_PKGNAMEPREFIX}pytest-pep8>0:devel/py-pytest-pep8@${PY_FLAVOR} > RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}netifaces>0:net/py-netifaces@${PY_FLAVOR} \ > ${PYTHON_PKGNAMEPREFIX}click>=6.7:devel/py-click@${PY_FLAVOR} \ >- ${PYTHON_PKGNAMEPREFIX}tqdm>=4.10.0:misc/py-tqdm@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}six>=1.15.0:devel/py-six@${PY_FLAVOR} \ > ${PYTHON_PKGNAMEPREFIX}coloredlogs>0:devel/py-coloredlogs@${PY_FLAVOR} \ >- ca_root_nss>0:security/ca_root_nss \ > ${PYTHON_PKGNAMEPREFIX}texttable>=0.8.7:textproc/py-texttable@${PY_FLAVOR} \ > ${PYTHON_PKGNAMEPREFIX}requests>=2.11.1:www/py-requests@${PY_FLAVOR} \ >- ${PYTHON_PKGNAMEPREFIX}libzfs>=1.0.2:devel/py-libzfs@${PY_FLAVOR} \ > ${PYTHON_PKGNAMEPREFIX}dnspython>0:dns/py-dnspython@${PY_FLAVOR} \ > ${PYTHON_PKGNAMEPREFIX}gitpython>0:devel/py-gitpython@${PY_FLAVOR} \ >- ${PYTHON_PKGNAMEPREFIX}jsonschema>0:devel/py-jsonschema@${PY_FLAVOR} \ >- ${PYTHON_PKGNAMEPREFIX}typing-extensions>0:devel/py-typing-extensions@${PY_FLAVOR} \ >- merge:devel/rcs57 >+ ${PYTHON_PKGNAMEPREFIX}jsonschema>0:devel/py-jsonschema@${PY_FLAVOR} > > USES= python > USE_GITHUB= yes >@@ -49,12 +32,15 @@ USE_PYTHON= autoplist distutils > CONFLICTS= py*-iocage py*-iocage-devel > NO_ARCH= yes > >+GH_ACCOUNT= freebsd >+ > PLIST_FILES= ${PYTHONPREFIX_SITELIBDIR}/${PORTNAME}_lib-${PORTVERSION}-py${PYTHON_VER}.egg-info/PKG-INFO \ > ${PYTHONPREFIX_SITELIBDIR}/${PORTNAME}_lib-${PORTVERSION}-py${PYTHON_VER}.egg-info/SOURCES.txt \ > ${PYTHONPREFIX_SITELIBDIR}/${PORTNAME}_lib-${PORTVERSION}-py${PYTHON_VER}.egg-info/dependency_links.txt \ > ${PYTHONPREFIX_SITELIBDIR}/${PORTNAME}_lib-${PORTVERSION}-py${PYTHON_VER}.egg-info/entry_points.txt \ > ${PYTHONPREFIX_SITELIBDIR}/${PORTNAME}_lib-${PORTVERSION}-py${PYTHON_VER}.egg-info/requires.txt \ >- ${PYTHONPREFIX_SITELIBDIR}/${PORTNAME}_lib-${PORTVERSION}-py${PYTHON_VER}.egg-info/top_level.txt >+ ${PYTHONPREFIX_SITELIBDIR}/${PORTNAME}_lib-${PORTVERSION}-py${PYTHON_VER}.egg-info/top_level.txt \ >+ ${PYTHONPREFIX_SITELIBDIR}/${PORTNAME}_lib/plugin_manifest.json > > OPTIONS_DEFAULT= GIT > OPTIONS_RADIO= GIT_PACKAGE >diff --git a/sysutils/iocage/distinfo b/sysutils/iocage/distinfo >index 846587999e9d..20ec74243f3c 100644 >--- a/sysutils/iocage/distinfo >+++ b/sysutils/iocage/distinfo >@@ -1,13 +1,3 @@ >-TIMESTAMP = 1709055537 >-SHA256 (iocage-iocage-1.2_GH0.tar.gz) = 7ff73f4d33090e829e1dd23fa723b7f969b29249e382fc39b7564826de119819 >-SIZE (iocage-iocage-1.2_GH0.tar.gz) = 722499 >-SHA256 (2883770ae46731a2a94cd41e6d01d32cec6f1f21.patch) = 7e5ddb65b09131984da1ef6b85f3a18e02e9a558c82bdf7af2f72b20bbaaba79 >-SIZE (2883770ae46731a2a94cd41e6d01d32cec6f1f21.patch) = 1201 >-SHA256 (753b2f35731423597d7f51f33427b6d619fcd0b5.patch) = 3471a05e35e5c452e738bc9dc244b58b27bf5657024e926e59c4ec60c1b95869 >-SIZE (753b2f35731423597d7f51f33427b6d619fcd0b5.patch) = 12673 >-SHA256 (b47dc2c47ff125d644720b03f598a9caf4e08192.patch) = 69ffb84b0fee9e5735747ce450c002c4dff53380c06c34eee59da26e5b2e4c33 >-SIZE (b47dc2c47ff125d644720b03f598a9caf4e08192.patch) = 2091 >-SHA256 (2a1685bcaba96917c79a7e4a909dac5c6926826a.patch) = c15fc8eb261ae740b4214e4181e2b9ef2f6580b5449486f927e44b629af7b4bc >-SIZE (2a1685bcaba96917c79a7e4a909dac5c6926826a.patch) = 1295 >-SHA256 (c06d0695487dda62c2b81aeb6be5fe91a70d8c83.patch) = 7f18e4c97af1d761c7df2bc1f968753a5d440454637a639fb3d5593c7f5661bc >-SIZE (c06d0695487dda62c2b81aeb6be5fe91a70d8c83.patch) = 1266 >+TIMESTAMP = 1718716961 >+SHA256 (freebsd-iocage-1.7_GH0.tar.gz) = 4a23fc73f590dbe86f4de1575fb2370918cc919dd9efade8401f2292b2878c47 >+SIZE (freebsd-iocage-1.7_GH0.tar.gz) = 758251 >diff --git a/sysutils/iocage/files/patch-iocage__lib_ioc__common.py b/sysutils/iocage/files/patch-iocage__lib_ioc__common.py >deleted file mode 100644 >index 1216797ef225..000000000000 >--- a/sysutils/iocage/files/patch-iocage__lib_ioc__common.py >+++ /dev/null >@@ -1,11 +0,0 @@ >---- iocage_lib/ioc_common.py.orig 2024-07-10 17:23:47 UTC >-+++ iocage_lib/ioc_common.py >-@@ -77,7 +77,7 @@ def callback(_log, callback_exception): >- else: >- if not isinstance(message, str) and isinstance( >- message, >-- collections.Iterable >-+ collections.abc.Iterable >- ): >- message = '\n'.join(message) >- >diff --git a/sysutils/iocage/files/patch-iocage__lib_ioc__exceptions.py b/sysutils/iocage/files/patch-iocage__lib_ioc__exceptions.py >deleted file mode 100644 >index 1588ef95399f..000000000000 >--- a/sysutils/iocage/files/patch-iocage__lib_ioc__exceptions.py >+++ /dev/null >@@ -1,11 +0,0 @@ >---- iocage_lib/ioc_exceptions.py.orig 2024-07-10 17:22:46 UTC >-+++ iocage_lib/ioc_exceptions.py >-@@ -31,7 +31,7 @@ class ExceptionWithMsg(Exception): >- def __init__(self, message): >- if not isinstance(message, str) and not isinstance( >- message, >-- collections.Iterable >-+ collections.abc.Iterable >- ): >- message = [message] >- >diff --git a/sysutils/iocage/files/patch-iocage__lib_ioc__json.py b/sysutils/iocage/files/patch-iocage__lib_ioc__json.py >deleted file mode 100644 >index 864cc6cf7c49..000000000000 >--- a/sysutils/iocage/files/patch-iocage__lib_ioc__json.py >+++ /dev/null >@@ -1,11 +0,0 @@ >---- iocage_lib/ioc_json.py.orig 2022-05-09 15:10:29 UTC >-+++ iocage_lib/ioc_json.py >-@@ -543,7 +543,7 @@ class IOCZFS(object): >- 'zfs', >- 'get', >- '-pHo', >-- 'property, value', >-+ 'property,value', >- 'all', >- identifier >- ], stdout=su.PIPE, stderr=su.PIPE >diff --git a/sysutils/iocage/files/patch-setup.py b/sysutils/iocage/files/patch-setup.py >deleted file mode 100644 >index 050d3da7ee13..000000000000 >--- a/sysutils/iocage/files/patch-setup.py >+++ /dev/null >@@ -1,11 +0,0 @@ >---- setup.py.orig 2019-09-26 07:23:24 UTC >-+++ setup.py >-@@ -58,7 +58,7 @@ setup( >- 'dnspython>=1.15.0', >- 'libzfs' >- ], >-- setup_requires=['pytest-runner'], >-+# setup_requires=['pytest-runner'], >- entry_points={'console_scripts': ['iocage = iocage_lib:cli']}, >- data_files=_data, >- tests_require=['pytest', 'pytest-cov', 'pytest-pep8'] >-- >2.45.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 269298
:
251061
|
251065
|
251114
|
251118
|
251184
|
251537
|
252256
|
253680
|
253681
|
253682