iocage is a jail/container manager amalgamating some of the best
features and technologies the FreeBSD operating system has
to offer. It is geared for ease of use with a simple and easy
to understand command syntax.
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py311-iocage listed in the above command, you can pick from the names under the Packages section.
===> The following configuration options are available for py311-iocage-1.13:
====> Options available for the radio GIT_PACKAGE: you can only select none or one of them
GIT=on: depend on devel/git
GIT_LITE=off: depend on lite flavor of devel/git (bare minimum git experience)
===> Use 'make config' to modify these settings
sysutils/iocage: Fix build and runtime issues
This switches the build to pyproject.yml and hatchling to avoid
various setuptools issues.
It adds a workaround for problems with py-click, which
prevented some command line options from working properly
(especially formatting output for scripting using '-h').
While there, import small github hosted patch into the tree.
PR: 295084, 295723
Reported by: andreas@turriff.net, echoxxzz@gmail.com
sysutils/iocage: fix "make test"
* Add some missing TEST_DEPENDS
* Since we have no port for pytest-pep8, patch the port to remove that
from the test function.
Sponsored by: ConnectWise
Approved by: grembo (maintainer)
Differential Revision: https://reviews.freebsd.org/D56713
sysutils/iocage: Clean up TEST_DEPENDS after the removal of py-pytest4 and
dependent ports
It can be converted to USE_PYTHON=pytest if this port tests fine with py-pytest.
Reported by: adamw
Approved by: portmgr (blanket)
With hat: python
python: bump all USE_PYTHON=distutils consumers after RUN_DEPENDS removal
Any missed ports, feel free to bump.
Any ports that need setuptools at runtime can have the devel/py-setuptools
manually added back to RUN_DEPENDS, but understand that this practice
is deprecated; see CHANGES for details.
sysutils/iocage: Add hardening measures on untar
This adds hardening measures while untaring archives fetched
over the network (including FreeBSD tarballs and iocage plugins),
as implemented by TrueNAS.
This reduces the impact of intentionally malicious or accidentally
broken archives.
Please note that users are still advised to only fetch from
trusted sources and make use of TLS to prevent MITM attacks.
While there, add patch to store man pages in the correct location.
Obtained from: https://github.com/truenas/iocage/pull/358
filesystems: add new category for file systems and related utilities
The filesystems category houses file systems and file system utilities.
It is added mainly to turn the sysutils/fusefs-* pseudo-category into
a proper one, but is also useful for the sundry of other file systems
related ports found in the tree.
Ports that seem like they belong there are moved to the new category.
Two ports, sysutils/fusefs-funionfs and sysutils/fusefs-fusepak are
not moved as they currently don't fetch and don't have TIMESTAMP set
in their distinfo, but that is required to be able to push a rename
of the port by the pre-receive hook.
Approved by: portmgr (rene)
Reviewed by: mat
Pull Request: https://github.com/freebsd/freebsd-ports/pull/302
PR: 281988
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>
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568>
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
devel/py-pytest-{pep8,translations}: switch to pytest4
These plugins are not compatible with recent pytest.
Consumers (sysutils/iocage and www/py-flask-security) were switched
to pytest4 as well. Note that py-flask-security tests were and still
are broken due to unrelated problem - py-sqlalchemy12 and
py-sqlalchemy14 conflict.
PR: 256624
Fix CONFLICTS entries of multiple ports
There have been lots of missing CONFLICTS_INSTALL entries, either
because conflicting ports were added without updating existing ports,
due to name changes of generated packages, due to mis-understanding
the format and semantics of the conflicts entries, or just due to
typoes in package names.
This patch is the result of a comparison of all files contained in
the official packages with each other. This comparison was based on
packages built with default options and may therefore have missed
further conflicts with optionally installed files.
Where possible, version numbers in conflicts entries have been
generalized, some times taking advantage of the fact that a port
(Only the first 15 lines of the commit message are shown above )
*/*: Remove redundant '-[0-9]*' from CONFLICTS
The conflict checks compare the patterns first against the package
names without version (as reported by "pkg query "%n"), then - if
there was no match - agsinst the full package names including the
version (as reported by "pkg query "%n-%v").
Many CONFLICTS definitions used patterns like "bash-[0-9]*" to filter
for the bash package in any version. But that pattern is functionally
identical with just "bash".
Approved by: portmgr (blanket)
sysutils/iocage: Update CONFLICTS specification
This port used to restrict its CONFLICTS entry to py-iocage built
for Python-2.7, but it does obviously conflict with that ports built
for any Python version.
This port is marked as NO_ARCH=yes and I do assumed that there is
only an install conflict, but have not tested that assumption and
therefore not changed the CONFLICTS to CONFLICTS_INSTALL.
Approved by: grembo (maintainer)
sysutils/iocage: Add test target, no pytest-runner
Move test dependencies to TEST_DEPENDS and add test target.
Patch out pytest-runner locally.
PR: 251447
Reported by: koobs
sysutils/iocage: Remove pytest-runner runtime dep
py-pytest-runner is deprecated, but upstream is still using it.
Having this as a runtime dependency was always a bit questionable.
PR: 251447
Reported by: Mina Galic <me@igalic.co>
sysutils/iocage: unbreak by adding missing dependencies.
The iocage cli was not able to locate commands if missing dependencies
were not installed.
Obtained from: https://github.com/iocage/iocage/issues/1256
Fix accidental removal of devfs_rulesets on jail stop
Pulls in a bugfix[0] that has been merged upstream[1].
This bug caused manually configured devfs_rulesets to get deleted on jail
stop, causing jails to come up with a default devfs rules on next start,
which can be a nuisance or even dangerous, depending on the specific setup.
Also adds a minimum devfs_ruleset id for dynamically created devfs rulesets
and fixes a devfs_ruleset resource leak when using plugins.
Take maintainership, as suggested by araujo@ (thanks for taking care of that
port for so long!).
[0]https://github.com/iocage/iocage/pull/1106
[1]https://github.com/iocage/iocage/commit/753b2f35731423597d7f51f33427b6d619fcd0b5
PR: 243510
Approved by: araujo (maintainer)
MFH: 2020Q1
- Drop support for devel/dulwich. [0]
- The port works fine with devel/git too, we should first check if there
is git installed, instead to assume we need to install git-lite. [1]
- Bump PORTREVISION.
Submitted by: dvl [0]
Reported by: many [1]
Fix `iocage upgrade' for 11.3-RELEASE and upcoming 12.1-RELEASE[0]
Also:
- Fix dependencies when upgrading <12 jails running on a 12-RELEASE jailhost
(depend on `merge' from devel/rcs57).
- Fix to unbreak updating multiple jails at once[1].
- Patch to `setup.py' to make `make check-plist' pass[2].
- Move `NO_ARCH' to make portlint happy
See:
[0]https://github.com/iocage/iocage/pull/1027 and
https://github.com/iocage/iocage/commit/f66d9f0724daa03dc08cebc3f30b04abc7e97f82
[1]https://github.com/iocage/iocage/commit/47d7c28ad2db76eaba797921555bbf68a476eb9b#diff-134cbca4d064a61a693d1199494d24df
[2]https://github.com/iocage/iocage/issues/1043
PR: 240177
Approved by: araujo (maintainer timeout)
Convert Python ports to FLAVORS.
Ports using USE_PYTHON=distutils are now flavored. They will
automatically get flavors (py27, py34, py35, py36) depending on what
versions they support.
There is also a USE_PYTHON=flavors for ports that do not use distutils
but need FLAVORS to be set. A USE_PYTHON=noflavors can be set if
using distutils but flavors are not wanted.
A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
added to cope with Python ports that did not have the Python
PKGNAMEPREFIX but are flavored.
USES=python now also exports a PY_FLAVOR variable that contains the
(Only the first 15 lines of the commit message are shown above )
Rename py3-iocage to iocage as by now we don't have more conflicts with
the old iocage version and also in favor of python flavors that will
land soon, it makes sense to do it now.
Sponsored by: iXsystems, Inc.
Remove expired ports:
2017-02-05 sysutils/puppet38: Upstream support ended, see
http://tinyurl.com/puppet3eol
2017-03-31 editors/libreoffice4: Deprecated by upstream
2017-03-31 databases/rubygem-redis-actionpack4: Use
databases/rubygem-redis-actionpack instead
2017-03-31 devel/rubygem-nio4r1: Use devel/rubygem-nio4r instead
2017-03-31 devel/liborcus07: Deprecated by upstream, use devel/liborcus
2017-03-31 devel/mdds0: Deprecated by upstream, use devel/mdds
2017-03-31 security/openvpn23-polarssl: Replaced by new upstream relesae 2.4.x
2017-03-31 security/openvpn23: Replaced by new upstream relesae 2.4.x
2017-03-31 textproc/p5-XML-XSH: Deprecated by upstream
2017-03-31 www/rubygem-jquery-atwho-rails-rails4: Use
www/rubygem-jquery-atwho-rails instead
2017-03-31 www/p5-Catalyst-Plugin-Singleton: Deprecated by upstream
2017-04-01 x11/lumina-i18n: Obsolete, i18n files included in x11/lumina
2017-04-01 sysutils/jail2: Starting with 10.0 functionality has been merged into
base.
2017-04-01 sysutils/iocage-devel: Outdated version. Please use
sysutils/py-iocage instead
2017-04-01 sysutils/iocage: Outdated version. Please use sysutils/py-iocage
instead
2017-04-05 databases/puppetdb: Depends on expired sysutils/puppet38, use
puppetdb[34] instead
2017-04-05 databases/puppetdb-terminus: Depends on expired sysutils/puppet38,
use puppetdb-terminus[34]
2017-04-08 databases/pglesslog: Does not build with recent PostgreSQL versions
2017-04-08 textproc/go-text: Go libraries should not be packaged
2017-04-08 devel/go-pretty: Go libraries should not be packaged
2017-04-08 databases/godis: Go libraries should not be packaged
2017-04-10 www/moodle29: Upstream support EoL, please migrate to moodle32
Update USE_GITHUB so it does not require GH_COMMIT.
Using this new scheme allows only setting the _tag_ or _commit hash_ in
GH_TAGNAME and not having to know the hash for a tag. This scheme will
download a tarball that has a different checksum than before due to a changed
directory name for extraction.
The following MASTER_SITES are provided to retain the old checksum and
directory structure (that require GH_COMMIT):
GH -> GHL
GITHUB -> GITHUB_LEGACY
Differential Revision: https://reviews.freebsd.org/D748
Submitted by: amdmi3
Reviewed by: mat, swills, antoine, bdrewery
With hat: portmgr