aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2026-11-30 21:14:47 +0000
committerRene Ladan <rene@FreeBSD.org>2026-11-30 21:14:47 +0000
commit29a364bc3af23016980e09b5e835601bb75fa1bb (patch)
treef8e29bf43d496138ffca4499fb507f8d7af49184
parent5f495247788a180c36f0a1cc7ca0b0b011a58a3a (diff)
net-mgmt/py-ciscoconfparse: Remove expired port
2026-11-30 net-mgmt/py-ciscoconfparse: Upstream repo archived on 5th March 2025. Please use net-mgmt/py-ciscoconfparse2 instead
-rw-r--r--MOVED1
-rw-r--r--net-mgmt/Makefile1
-rw-r--r--net-mgmt/py-ciscoconfparse/Makefile42
-rw-r--r--net-mgmt/py-ciscoconfparse/distinfo3
-rw-r--r--net-mgmt/py-ciscoconfparse/files/patch-pyproject.toml40
-rw-r--r--net-mgmt/py-ciscoconfparse/files/patch-tests_conftest.py15
-rw-r--r--net-mgmt/py-ciscoconfparse/pkg-descr22
-rw-r--r--net-mgmt/py-ciscoconfparse/pkg-message17
8 files changed, 1 insertions, 140 deletions
diff --git a/MOVED b/MOVED
index 759f514319af..ea70c90c0055 100644
--- a/MOVED
+++ b/MOVED
@@ -5887,3 +5887,4 @@ devel/cltune||2026-11-30|Has expired: Last release 9 years ago, does not build w
devel/cpprestsdk||2026-11-30|Has expired: Deprecated upstream, does not build with CMake 4
misc/libsweep-lidar||2026-11-30|Has expired: Abandoned upstream, does not build with CMake 4
security/spass-qt5||2026-11-30|Has expired: Abandoned upstream, does not build with CMake 4
+net-mgmt/py-ciscoconfparse|net-mgmt/py-ciscoconfparse2|2026-11-30|Has expired: Upstream repo archived on 5th March 2025. Please use net-mgmt/py-ciscoconfparse2 instead
diff --git a/net-mgmt/Makefile b/net-mgmt/Makefile
index 1a5586bf14ea..4fcc1ea1d203 100644
--- a/net-mgmt/Makefile
+++ b/net-mgmt/Makefile
@@ -328,7 +328,6 @@
SUBDIR += py-adal
SUBDIR += py-aggregate6
SUBDIR += py-arouteserver
- SUBDIR += py-ciscoconfparse
SUBDIR += py-ciscoconfparse2
SUBDIR += py-dnsdiag
SUBDIR += py-gstat_exporter
diff --git a/net-mgmt/py-ciscoconfparse/Makefile b/net-mgmt/py-ciscoconfparse/Makefile
deleted file mode 100644
index 39c52cc33f90..000000000000
--- a/net-mgmt/py-ciscoconfparse/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-PORTNAME= ciscoconfparse
-DISTVERSION= 1.9.52
-CATEGORIES= net-mgmt python
-MASTER_SITES= PYPI
-PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-
-MAINTAINER= kai@FreeBSD.org
-COMMENT= Parse, audit, query, build and modify Cisco IOS-style configurations
-WWW= https://www.pennington.net/py/ciscoconfparse/
-
-LICENSE= GPLv3+
-LICENSE_FILE= ${WRKSRC}/LICENSE
-
-DEPRECATED= Upstream repo archived on 5th March 2025. Please use net-mgmt/py-ciscoconfparse2 instead
-EXPIRATION_DATE=2026-11-30
-
-BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.6.1:devel/py-poetry-core@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}packaging>=23.0:devel/py-packaging@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}wheel>=0.38.4:devel/py-wheel@${PY_FLAVOR}
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}deprecated>=1.2.14:devel/py-deprecated@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}dnspython>=2.4.2,1<3,1:dns/py-dnspython@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}hier-config>=2.2.3<3:net-mgmt/py-hier-config@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}loguru>=0.7.2:devel/py-loguru@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}passlib>=1.7.4<2:security/py-passlib@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}toml>=0.10.2:textproc/py-toml@${PY_FLAVOR}
-
-USES= python
-USE_PYTHON= autoplist pep517 pytest
-# Test fails due missing files:
-# - fixtures/configs/sample_01.{asa,f5,ios,iosxr,junos,nxosf}
-PYTEST_BROKEN_TESTS= testIPv6Obj_IPv4_embedded_in_IPv6_04 \
- testParse_parse_syntax_f5_as_junos_nofactory_ioscfg_01 \
- testParse_syntax \
- testVal_JunosCfgLine_child_02 \
- testVal_JunosCfgLine_child_03 \
- testVal_JunosCfgLine_child_04
-
-TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
-
-NO_ARCH= yes
-
-.include <bsd.port.mk>
diff --git a/net-mgmt/py-ciscoconfparse/distinfo b/net-mgmt/py-ciscoconfparse/distinfo
deleted file mode 100644
index e1658aa19104..000000000000
--- a/net-mgmt/py-ciscoconfparse/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1761990081
-SHA256 (ciscoconfparse-1.9.52.tar.gz) = 28b13af4f12aadf60b4ced921a72cc5e5514ce4a89aceba10a7239e2551d9a0a
-SIZE (ciscoconfparse-1.9.52.tar.gz) = 389869
diff --git a/net-mgmt/py-ciscoconfparse/files/patch-pyproject.toml b/net-mgmt/py-ciscoconfparse/files/patch-pyproject.toml
deleted file mode 100644
index 8dea2a38ee01..000000000000
--- a/net-mgmt/py-ciscoconfparse/files/patch-pyproject.toml
+++ /dev/null
@@ -1,40 +0,0 @@
-* Use the more lightweight py-poetry-core.
-
-* Avoid the installation of the test suite into the top of Python's site-lib.
-
-* Relax some version requirements and set an upper bound for py-hier-config
- because the 3.x release contains breaking changes.
-
---- pyproject.toml.orig 2024-11-22 10:15:59 UTC
-+++ pyproject.toml
-@@ -2,9 +2,8 @@
-
- [build-system]
- # See -> PEP 517
--requires = ["poetry>=1.5.1", "poetry-core>=1.6.1", "wheel>=0.38.4", "packaging>=23.0"]
-+requires = ["poetry-core>=1.6.1", "wheel>=0.38.4", "packaging>=23.0"]
- build-backend = "poetry.core.masonry.api"
--requires-python = ">=3.8.0"
-
- ##############################################################################
- #
-@@ -38,7 +37,6 @@ packages = [
- packages = [
- # Syntax -> https://python-poetry.org/docs/pyproject/#packages
- { include = "ciscoconfparse/*" },
-- { include = "tests/*" },
- ]
- # See -> https://python-poetry.org/docs/pyproject/#include-and-exclude
- include = [
-@@ -80,9 +78,9 @@ dnspython = "^2.4.2"
- python = ">=3.8,<4.0.0"
- passlib = "^1.7.4"
- dnspython = "^2.4.2"
--loguru = "0.7.2"
-+loguru = ">=0.7.2"
- toml = ">=0.10.2"
--hier_config = "2.2.3"
-+hier_config = ">=2.2.3,<3"
- deprecated = ">=1.2.14"
-
- [tool.poetry.urls]
diff --git a/net-mgmt/py-ciscoconfparse/files/patch-tests_conftest.py b/net-mgmt/py-ciscoconfparse/files/patch-tests_conftest.py
deleted file mode 100644
index bd921d5146d1..000000000000
--- a/net-mgmt/py-ciscoconfparse/files/patch-tests_conftest.py
+++ /dev/null
@@ -1,15 +0,0 @@
-* Enable test suite compatibility with py-pytest 9+
-
---- tests/conftest.py.orig 2026-08-21 16:06:50 UTC
-+++ tests/conftest.py
-@@ -1424,10 +1424,6 @@ def parse_n01_factory(request):
- yield parse_n01_factory
-
-
--@pytest.mark.skipif(sys.version_info[0] >= 3, reason="No Python3 MockSSH support")
--@pytest.mark.skipif(
-- "windows" in platform.system().lower(), reason="No Windows MockSSH support"
--)
- @pytest.fixture(scope="session")
- def cisco_sshd_mocked(request):
- """Mock Cisco IOS SSH"""
diff --git a/net-mgmt/py-ciscoconfparse/pkg-descr b/net-mgmt/py-ciscoconfparse/pkg-descr
deleted file mode 100644
index ccca8f6ecb89..000000000000
--- a/net-mgmt/py-ciscoconfparse/pkg-descr
+++ /dev/null
@@ -1,22 +0,0 @@
-ciscoconfparse parses through Cisco IOS-style configurations. It can:
-
-- Audit existing router / switch / firewall / wlc configurations
-- Retrieve portions of the configuration
-- Modify existing configurations
-- Build new configurations
-
-It can also parse other vendor configurations:
-
-- Juniper Networks JunOS
-- F5 Networks configurations
-- Palo Alto Networks Firewall configurations
-
-The module handles anything that has a Cisco IOS style of configuration, e.g.:
-
-- Cisco IOS/IOS-XE/IOS-XR/Aironet/ASA/CatOS/Nexus
-- Arista EOS
-- Brocade
-- HP Switches
-- Force 10 Switches
-- Dell PowerConnect Switches
-- Enterasys, Extreme Networks, Screenos
diff --git a/net-mgmt/py-ciscoconfparse/pkg-message b/net-mgmt/py-ciscoconfparse/pkg-message
deleted file mode 100644
index 8e9432d11d27..000000000000
--- a/net-mgmt/py-ciscoconfparse/pkg-message
+++ /dev/null
@@ -1,17 +0,0 @@
-[
-{ type: upgrade
- maximum_version: "1.4.3"
- message: <<EOD
-Since the 1.4.2 release the behavior of "ip_helper_addresses()" function has
-changed. Parsing helper-addresses under factory=True won't work anymore as
-expected.
-
-Also the method named "find_objects_w_all_children()" has changed since the
-1.4.0 release. Former releases used the keyword "all_children" which has been
-replaced with "recurse".
-
-If you use one of those features mentioned above, please migrate your scripts
-to the new format.
-EOD
-}
-]