notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Ukraine
Port details
py-ciscoconfparse Parse, audit, query, build and modify Cisco IOS-style configurations
1.5.51 net-mgmt on this many watch lists=2 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 1.5.51Version of this port present on the latest quarterly branch.
Maintainer: kai@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2018-03-25 04:59:23
Last Update: 2022-03-07 18:13:20
Commit Hash: ee36702
People watching this port, also watch:: py38-psycopg2, ncftp, tcpdump, zip
Also Listed In: python
License: GPLv3+
Description:
SVNWeb : git : Homepage
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}ciscoconfparse>0:net-mgmt/py-ciscoconfparse@${PY_FLAVOR}
To install the port:
cd /usr/ports/net-mgmt/py-ciscoconfparse/ && make install clean
To add the package, run one of these commands:
  • pkg install net-mgmt/py-ciscoconfparse
  • pkg install py38-ciscoconfparse
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 py38-ciscoconfparse listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py38-ciscoconfparse
Package flavors (<flavor>: <package>)
  • py38: py38-ciscoconfparse
distinfo:
Packages (timestamps in pop-ups are UTC):
py27-ciscoconfparse
ABIlatestquarterly
FreeBSD:11:aarch641.3.201.5.4
FreeBSD:11:amd64--
FreeBSD:11:armv6-1.5.4
FreeBSD:11:i386--
FreeBSD:11:mips--
FreeBSD:11:mips64-1.5.4
FreeBSD:12:aarch641.3.20-
FreeBSD:12:amd64--
FreeBSD:12:armv61.3.201.5.6
FreeBSD:12:armv71.3.201.5.6
FreeBSD:12:i386--
FreeBSD:12:mips--
FreeBSD:12:mips641.3.201.5.4
FreeBSD:12:powerpc64--
FreeBSD:13:aarch64--
FreeBSD:13:amd64--
FreeBSD:13:armv6--
FreeBSD:13:armv7--
FreeBSD:13:i386--
FreeBSD:13:mips--
FreeBSD:13:mips64--
FreeBSD:13:powerpc64--
FreeBSD:14:aarch64--
FreeBSD:14:amd64--
FreeBSD:14:armv6--
FreeBSD:14:armv7--
FreeBSD:14:i386--
FreeBSD:14:mips--
FreeBSD:14:mips64--
FreeBSD:14:powerpc64--
 
py36-ciscoconfparse
ABIlatestquarterly
FreeBSD:11:aarch641.3.20-
FreeBSD:11:amd64--
FreeBSD:11:armv6--
FreeBSD:11:i386--
FreeBSD:11:mips--
FreeBSD:11:mips64--
FreeBSD:12:aarch641.3.20-
FreeBSD:12:amd64--
FreeBSD:12:armv61.3.20-
FreeBSD:12:armv71.3.20-
FreeBSD:12:i386--
FreeBSD:12:mips--
FreeBSD:12:mips641.3.20-
FreeBSD:12:powerpc64--
FreeBSD:13:aarch64--
FreeBSD:13:amd64--
FreeBSD:13:armv6--
FreeBSD:13:armv7--
FreeBSD:13:i386--
FreeBSD:13:mips--
FreeBSD:13:mips64--
FreeBSD:13:powerpc64--
FreeBSD:14:aarch64--
FreeBSD:14:amd64--
FreeBSD:14:armv6--
FreeBSD:14:armv7--
FreeBSD:14:i386--
FreeBSD:14:mips--
FreeBSD:14:mips64--
FreeBSD:14:powerpc64--
 
py37-ciscoconfparse
ABIlatestquarterly
FreeBSD:11:aarch64-1.5.4
FreeBSD:11:amd64--
FreeBSD:11:armv6-1.5.4
FreeBSD:11:i386--
FreeBSD:11:mips--
FreeBSD:11:mips64-1.5.4
FreeBSD:12:aarch64--
FreeBSD:12:amd64--
FreeBSD:12:armv6-1.5.6
FreeBSD:12:armv7-1.5.6
FreeBSD:12:i386--
FreeBSD:12:mips--
FreeBSD:12:mips64-1.5.4
FreeBSD:12:powerpc64-1.5.30
FreeBSD:13:aarch64--
FreeBSD:13:amd64--
FreeBSD:13:armv61.5.24-
FreeBSD:13:armv71.5.24-
FreeBSD:13:i386--
FreeBSD:13:mips--
FreeBSD:13:mips64--
FreeBSD:13:powerpc641.5.22-
FreeBSD:14:aarch64--
FreeBSD:14:amd64--
FreeBSD:14:armv6--
FreeBSD:14:armv7--
FreeBSD:14:i386--
FreeBSD:14:mips--
FreeBSD:14:mips64--
FreeBSD:14:powerpc641.5.30-
 
py38-ciscoconfparse
ABIlatestquarterly
FreeBSD:11:aarch64--
FreeBSD:11:amd641.5.301.5.30
FreeBSD:11:armv6--
FreeBSD:11:i3861.5.301.5.30
FreeBSD:11:mips--
FreeBSD:11:mips64--
FreeBSD:12:aarch64-1.5.51
FreeBSD:12:amd641.5.511.5.51
FreeBSD:12:armv6--
FreeBSD:12:armv7--
FreeBSD:12:i3861.5.511.5.51
FreeBSD:12:mips--
FreeBSD:12:mips64--
FreeBSD:12:powerpc64--
FreeBSD:13:aarch641.5.511.5.51
FreeBSD:13:amd641.5.511.5.51
FreeBSD:13:armv6--
FreeBSD:13:armv7--
FreeBSD:13:i3861.5.511.5.51
FreeBSD:13:mips--
FreeBSD:13:mips64--
FreeBSD:13:powerpc64-1.5.30
FreeBSD:14:aarch641.5.51-
FreeBSD:14:amd641.5.51-
FreeBSD:14:armv6--
FreeBSD:14:armv7--
FreeBSD:14:i3861.5.51-
FreeBSD:14:mips--
FreeBSD:14:mips64--
FreeBSD:14:powerpc64--
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py38-loguru>0 : devel/py-loguru@py38
  2. py38-setuptools>0 : devel/py-setuptools@py38
  3. python3.8 : lang/python38
Runtime dependencies:
  1. py38-colorama>0 : devel/py-colorama@py38
  2. py38-dnspython>0 : dns/py-dnspython@py38
  3. py38-loguru>0 : devel/py-loguru@py38
  4. py38-passlib>0 : security/py-passlib@py38
  5. py38-setuptools>0 : devel/py-setuptools@py38
  6. python3.8 : lang/python38
This port is required by:
for Run
  1. net-mgmt/py-napalm

Configuration Options:
Options name:

USES:

pkg-message:
If upgrading from < 1.4.3:
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/c/ciscoconfparse/
  2. https://pypi.org/packages/source/c/ciscoconfparse/
Collapse this list.

Number of commits found: 34

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
07 Mar 2022 18:13:20
 files touched by this commit commit hash:ee36702e183920b2f80ba0221df2c360bf55825d  1.5.51
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
net-mgmt/py-ciscoconfparse: Fix build with setuptools 58.0.0+

With  hat:	python
03 Nov 2021 06:47:18
 files touched by this commit commit hash:9f0f2bb1b34b6c0d00166c673eda29b15b30642d  1.5.51
Kai Knoblich (kai) search for other commits by this committer
net-mgmt/py-ciscoconfparse: Update to 1.5.51

* Limit the Python version to 3.7+ due devel/py-loguru, which requires
  Python 3.7+ as well.

Changelog since 1.5.30:

https://github.com/mpenning/ciscoconfparse/compare/v1.5.30...v1.5.51

MFH:		No (contains mostly feature additions)
07 Apr 2021 08:09:01
 files touched by this commit commit hash:cf118ccf875508b9a1c570044c93cfcc82bd455c  1.5.30
Mathieu Arnold (mat) search for other commits by this committer
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
06 Apr 2021 14:31:07
 files touched by this commit commit hash:305f148f482daf30dcf728039d03d019f88344eb  1.5.30
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
24 Mar 2021 14:07:45
Original commit files touched by this commit Revision:569122  1.5.30
kai search for other commits by this committer
net-mgmt/py-ciscoconfparse: Update to 1.5.30

Changelog:

* Add helper-function: "as_text_list()", improve performance of ".delete()"
* Fix "__int__()" and "__index__()" on "IPv4Obj()" and "IPv6Obj()"
25 Jan 2021 15:48:25
Original commit files touched by this commit Revision:562569  1.5.28
kai search for other commits by this committer
net-mgmt/py-ciscoconfparse: Update to 1.5.28

Changelog since 1.5.24:

* Enhance "ccp_util.CiscoRange()" to parse a wider variety of string inputs
* Remove slow code from "ccp_util.CiscoRange()"
* Make "ccp_util.L4Object().__repr__()" more friendly
* Use "unittest.mock" for tests if available
* Fix the issue with the "L4Object_asa_{lt01,lt02,range}" tests
* Fix multiple unreported bugs in "ccp_util.L4Object()"
11 Jan 2021 11:13:55
Original commit files touched by this commit Revision:561210  1.5.24
kai search for other commits by this committer
net-mgmt/py-ciscoconfparse: Update to 1.5.24

* Remove now obsolete conditionals for Python 2.7 while I'm here.

Changelog:

* Prevent "find_object_branches()" method from using any branches with
  "None" in the value.
28 Dec 2020 23:02:15
Original commit files touched by this commit Revision:559531  1.5.22
antoine search for other commits by this committer
Drop python 2.7 support from a few ports

With hat:	portmgr
09 Dec 2020 11:14:18
Original commit files touched by this commit Revision:557368  1.5.22
kai search for other commits by this committer
net-mgmt/py-ciscoconfparse: Update to 1.5.22

Changelog since 1.5.20:

* Avoid overwrite of standard function "input" in "parse_line_braces()"
* Fix references to non-existent "IOSConfigLine"
30 Nov 2020 12:55:40
Original commit files touched by this commit Revision:556635  1.5.20
kai search for other commits by this committer
net-mgmt/py-ciscoconfparse: Update to 1.15.20

Changelog:

* Add warnings for unsupported features in conjunction with JunOS.
20 Nov 2020 08:50:48
Original commit files touched by this commit Revision:555750  1.5.19
kai search for other commits by this committer
net-mgmt/py-ciscoconfparse: Update to 1.5.19

Changelog since 1.5.6:

* Fix "IPv4Obj" and "IPv6Obj" which cannot use logical compare ops with
  certain Python objects.
* Fix Python 2.7 packaging.
* Revise some methods of "IPv4Obj" and "IPv6Obj" which impacts the sorting
  behavior.
14 Jul 2020 06:34:47
Original commit files touched by this commit Revision:542197  1.5.6
kai search for other commits by this committer
net-mgmt/py-ciscoconfparse: Update to 1.5.6

Changelog since 1.5.4:

* Improve "find_object_branches()" speed; reformat with black
* Beta-test new function: "find_object_branches()"
15 May 2020 07:17:16
Original commit files touched by this commit Revision:535273  1.5.4
kai search for other commits by this committer
net-mgmt/py-ciscoconfparse: Update to 1.5.4

Changelog since 1.5.1:

* Introduction of new methods to the IPv4Obj()/IPv6Obj() classes and changed
  return values of those.

* Add support for int(), bin() and hex() on the IPv4Obj() and IPv6Obj()
  classes.

* Fix "packed" and "exploded" methods of IPv6Obj(), add "IPv4Obj().packed"
  and "IPv4Obj().exploded"
30 Mar 2020 15:26:07
Original commit files touched by this commit Revision:529896  1.5.1
kai search for other commits by this committer
net-mgmt/py-ciscoconfparse: Update to 1.5.1

Changelog since 1.4.11:

* Remove embedded JunOS debugging
* Complete rewrite of JunOS parser and deprecate support for Python 3.4
11 Dec 2019 19:27:55
Original commit files touched by this commit Revision:519831  1.4.11
kai search for other commits by this committer
net-mgmt/py-ciscoconfparse: Update to 1.4.11

Changelog:

* Explicitly close() open filehandles

MFH:		2019Q4
06 Dec 2019 15:30:41
Original commit files touched by this commit Revision:519150  1.4.10
kai search for other commits by this committer
net-mgmt/py-ciscoconfparse: Update to 1.4.10

Changelog since 1.4.7:

* Add support for parsing "pathlib.Path" objects which contain a
  configuration
* Add ".as_cidr_net" and ".as_cidr_addr" on "IPv4Obj" and "IPv6Obj"
* Add support for name and track on IPv6 routes
12 Sep 2019 10:28:26
Original commit files touched by this commit Revision:511872  1.4.7
kai search for other commits by this committer
net-mgmt/py-ciscoconfparse: Update to 1.4.7

Changelog since 1.4.5:

* Add support for NXOS "vrf" with "dhcp helper-address"
* Add support for NXOS "dhcp-helper-address" (with factory=True)
08 Sep 2019 11:59:45
Original commit files touched by this commit Revision:511563  1.4.5
kai search for other commits by this committer
net-mgmt/py-ciscoconfparse: Update to 1.4.5

Changelog since 1.4.3:

* Add support for NXOS in "find_interface_objects()" method
* Fix "append_line()" function when parsing ASA configurations
* Fix broken regular expressions in "has_ip_pim()" methods
24 Aug 2019 21:14:24
Original commit files touched by this commit Revision:509756  1.4.3
kai search for other commits by this committer
net-mgmt/py-ciscoconfparse: Update to 1.4.3

* Add "do-test" target to make future QA easier

Changelog since 1.3.43:

* Add parser for various NXOS features
* Fix issue with "ip_helper_adddresses" function that wasn't able to handle
  'global' helpers
* Implement "re_search_children()" directly on the "CiscoConfParse()" object
* Fix NXOS HRSP issue with "has_ip_hsrp" function
15 Jul 2019 10:03:59
Original commit files touched by this commit Revision:506653  1.3.43
kai search for other commits by this committer
net-mgmt/py-ciscoconfparse: Update to 1.3.43

Changelog:

* Fix possible syntax error "from __future__ imports must occur at the
  beginning of the file" in some build environments.
29 Jun 2019 16:25:14
Original commit files touched by this commit Revision:505360  1.3.42
kai search for other commits by this committer
net-mgmt/py-ciscoconfparse: Update to 1.3.42

Changelog since 1.3.39:

* HRSP timers now return a float (used to return int).
* NXOS support for HSRP.
06 Jun 2019 05:02:17
Original commit files touched by this commit Revision:503565  1.3.39
kai search for other commits by this committer
net-mgmt/py-ciscoconfparse: Update to 1.3.39

Changelog since 1.3.37:

* Allow re_match_iter_typed() to use default=True
* Add CiscoConfParse().re_match_iter_typed()
18 May 2019 12:59:16
Original commit files touched by this commit Revision:501962  1.3.37
kai search for other commits by this committer
net-mgmt/py-ciscoconfparse: Update to 1.3.37

Changelog:

* Further improve support for Python 3 when using in virtual environments in
  conjunction with pip.
26 Apr 2019 22:24:32
Original commit files touched by this commit Revision:500173  1.3.36
kai search for other commits by this committer
net-mgmt/py-ciscoconfparse: Update to 1.3.36

Changes since 1.3.33:

* Refine JunOS parsing
* Refine IOS macro parsing
* Add support for IOS macros

Approved by:	mentors (implicit)
10 Apr 2019 07:37:14
Original commit files touched by this commit Revision:498534  1.3.33
kai search for other commits by this committer
net-mgmt/py-ciscoconfparse: Update to 1.3.33

Changelog:

* Fix bug with parse.delete_lines() where only every second sequential match
  was deleted.

Approved by:	mentors (implicit)
25 Mar 2019 15:59:43
Original commit files touched by this commit Revision:496829  1.3.32
kai search for other commits by this committer
net-mgmt/py-ciscoconfparse: Update to 1.3.32

Changelog:

* Fix CiscoRange() should automatically prune duplicates added to the list
* Fix ciscoconfparse.ccp_util.CiscoRange() should support emtpy ranges
* Fix ciscoconfparse.models_cisco needs an explicit MAX_VLAN constant
* Fix IOSCfgLine().re_match_typed() doesn't have an 'untyped_default'
  boolean
* Fix trunk_vlans_allowed returns only two lines

Approved by:	miwi (mentor)
Differential Revision:	https://reviews.freebsd.org/D19684
24 Feb 2019 20:53:10
Original commit files touched by this commit Revision:493813  1.3.30
kai search for other commits by this committer
net-mgmt/py-ciscoconfparse: Update to 1.3.30

Changelog:

* Fix unicode cast to be compatible with Python 3
* Fix collections import in Python 3
* Fix bug exposed in Python 3.7

Approved by:	tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D19313
08 Feb 2019 18:32:53
Original commit files touched by this commit Revision:492443  1.3.29
kai search for other commits by this committer
net-mgmt/py-ciscoconfparse: Update to 1.3.29

Notable changes since 1.3.20:

* Fix open() syntax with Python 3.5
* Add IP helper-address parsing in models_cisco.py

Reviewed by:	tcberner (mentor)
Approved by:	tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D19121
01 Feb 2019 18:55:18
Original commit files touched by this commit Revision:491837  1.3.20
kai search for other commits by this committer
Change my maintainer email address to my new one at the FreeBSD project.

Reviewed by:	miwi (mentor)
Approved by:	miwi (mentor)
Differential Revision: https://reviews.freebsd.org/D19050
09 Jul 2018 18:36:11
Original commit files touched by this commit Revision:474278  1.3.20
miwi search for other commits by this committer
- Update to 1.3.20

PR:		228844
Submitted by:	maintainer
Sponsored by:	iXsystems Inc.
26 Apr 2018 00:29:10
Original commit files touched by this commit Revision:468314  1.3.15
dbaio search for other commits by this committer
net-mgmt/py-ciscoconfparse: Update to 1.3.15

PR:		227690
Submitted by:	Kai Knoblich <freebsd_ports@k-worx.org> (maintainer)
17 Apr 2018 13:34:50
Original commit files touched by this commit Revision:467601  1.3.12
krion search for other commits by this committer
Update to 1.3.12

PR:		227575
Submitted by:	maintainer
02 Apr 2018 00:03:19
Original commit files touched by this commit Revision:466194  1.3.11
dbaio search for other commits by this committer
net-mgmt/py-ciscoconfparse: Update to 1.3.11

Dependency devel/py-ipaddr is only necessary with Python 2.

While here, update LICENSE.

PR:		227162
Submitted by:	Kai <freebsd_ports@k-worx.org> (maintainer)
25 Mar 2018 04:56:13
Original commit files touched by this commit Revision:465496  1.3.10
yuri search for other commits by this committer
New port: net-mgmt/py-ciscoconfparse: Parse, audit, query, build and modify
Cisco IOS-style configurations

PR:		226901
Submitted by:	Kai <freebsd_ports@k-worx.org>

Number of commits found: 34