Port details |
- py-napalm-logs Cross-vendor normalisation for network syslog messages
- 0.9.0_2 net-mgmt =2 0.9.0_1Version of this port present on the latest quarterly branch.
- Maintainer: kai@FreeBSD.org
- Port Added: 2018-05-19 18:41:23
- Last Update: 2024-07-07 08:05:33
- Commit Hash: 1a80ec7
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- Also Listed In: python
- License: APACHE20
- WWW:
- https://github.com/napalm-automation/napalm-logs
- Description:
- Parses syslog messages from network devices and produce JSON serializable
Python objects, in a vendor agnostic shape. The output objects are structured
following the OpenConfig or IETF YANG model specifications.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}napalm-logs>0:net-mgmt/py-napalm-logs@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/net-mgmt/py-napalm-logs/ && make install clean
- To add the package, run one of these commands:
- pkg install net-mgmt/py-napalm-logs
- pkg install py311-napalm-logs
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-napalm-logs listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py311-napalm-logs
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1585471862
SHA256 (napalm-automation-napalm-logs-0.9.0_GH0.tar.gz) = d3946e2defe5acd7354023b3cd05ff7d149f95ca398ba088559fb1d11525dd99
SIZE (napalm-automation-napalm-logs-0.9.0_GH0.tar.gz) = 845405
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py311-setuptools>=63.1.0 : devel/py-setuptools@py311
- python3.11 : lang/python311
- Test dependencies:
-
- py311-pytest>0 : devel/py-pytest@py311
- python3.11 : lang/python311
- Runtime dependencies:
-
- py311-pynacl>0 : security/py-pynacl@py311
- py311-pyzmq>0 : net/py-pyzmq@py311
- py311-u-msgpack-python>0 : devel/py-u-msgpack-python@py311
- py311-pyyaml>=0 : devel/py-pyyaml@py311
- py311-prometheus-client>0 : net-mgmt/py-prometheus-client@py311
- py311-setuptools>=63.1.0 : devel/py-setuptools@py311
- python3.11 : lang/python311
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- net-mgmt_py-napalm-logs
- USES:
- python
- pkg-message:
- For install:
- Paths / CLI version
napalm-logs has been installed into:
/usr/local/bin/napalm-logs-3.11
The default path for the configuration file is:
/usr/local/etc/napalm/logs
The default path for logfiles (will be created automatically on first run) is:
/var/log/napalm/logs
Message encryption / CLI version
If the messaging between server/client should be encrypted, one will require a
certificate and a key otherwise the program will throw an exception and exits.
Generate a certificate with the following command:
$ openssl req -nodes -x509 -newkey rsa:4096 -keyout napalm-logs.key -out napalm-logs.crt -days 365
If no encryption is required, please read further below how to start the server
without a certificate.
Starting the server / CLI version
a) with encrypted messaging:
# napalm-logs-3.11 --certificate napalm-logs.cert --keyfile napalm-logs.key
b) with unencrypted messaging:
# napalm-logs-3.11 --disable-security
In both cases the server will listen on
0.0.0.0:514 [UDP / incoming syslog messages]
0.0.0.0:49017 [TCP / incoming client requests]
In case a) when security is enabled, the server will listen also on:
0.0.0.0:49018 [TCP / incoming authentication requests]
Please read https://napalm-logs.readthedocs.io/en/latest for further
information.
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
0.9.0_2 07 Jul 2024 08:05:33 |
Po-Chuan Hsieh (sunpoet) |
devel/py-pyyaml: Move devel/py-yaml to devel/py-pyyaml
- Bump PORTREVISION of dependent ports for dependency change |
0.9.0_1 20 May 2024 10:33:03 |
Vsevolod Stakhov (vsevolod) |
security/libsodium: update to 1.0.19, bump dependent ports
PR: 278259
Reported by: Andrey Korobkov <alster-vinterdalen.se> |
0.9.0 27 Jun 2023 19:34:34 |
Rene Ladan (rene) |
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> |
07 Sep 2022 21:58:51 |
Stefan Eßer (se) |
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) |
0.9.0 07 Sep 2022 21:10:59 |
Stefan Eßer (se) |
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 ) |
0.9.0 07 Apr 2021 08:09:01 |
Mathieu Arnold (mat) |
One more small cleanup, forgotten yesterday.
Reported by: lwhsu |
0.9.0 06 Apr 2021 14:31:07 |
Mathieu Arnold (mat) |
Remove # $FreeBSD$ from Makefiles. |
0.9.0 28 Dec 2020 23:02:15 |
antoine |
Drop python 2.7 support from a few ports
With hat: portmgr |
0.9.0 09 Apr 2020 07:40:12 |
kai |
net-mgmt/py-napalm-logs: Update to 0.9
* Switch to GitHub for a while to make use of the test suite.
* Add a "do-test" target to make future QA easier.
Changelog since 0.7:
https://napalm-logs.com/en/latest/releases/0.9.0.html
https://napalm-logs.com/en/latest/releases/0.8.0.html
MFH: 2020Q2 (blanket: Fix runtime issues with Python 3.7) |
0.7.0_1 14 Aug 2019 08:48:51 |
mat |
Convert to UCL & cleanup pkg-message (categories n)
(and missed 3 missed files from previous categories.) |
0.7.0_1 10 Apr 2019 06:18:32 |
antoine |
Bump a few PORTREVISIONs after r498529
With hat: portmgr |
0.7.0 01 Feb 2019 18:55:18 |
kai |
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 |
0.7.0 29 Jan 2019 16:14:31 |
miwi |
- Update to 0.7.0
- Removed BUILD_DEPENDS because devel/py-pip is no longer required for building
the package
- Pacify portlint
PR: 234057
Submitted by: maintainer
Sponsored by: iXsystems Inc. |
0.6.0 02 Sep 2018 15:38:41 |
swills |
net-mgmt/py-napalm-logs: Update to 0.6.0
PR: 231092
Submitted by: Kai <freebsd_ports@k-worx.org> (maintainer) |
0.5.0 19 May 2018 18:41:08 |
miwi |
Parses syslog messages from network devices and produce JSON serializable
Python objects, in a vendor agnostic shape. The output objects are structured
following the OpenConfig or IETF YANG model specifications.
WWW: https://github.com/napalm-automation/napalm-logs
PR: 227719
Submitted by: freebsd_ports@k-worx.org
Sponsored by: iXsystems Inc. |