FreeBSD Bugzilla – Attachment 193528 Details for
Bug 227719
[NEW PORT] net-mgmt/py-napalm-logs: Cross-vendor normalisation for network syslog messages
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
py-napalm-logs-0.5.0.shar
py-napalm-logs-0.5.0.shar (text/plain), 4.86 KB, created by
Kai Knoblich
on 2018-05-19 10:42:06 UTC
(
hide
)
Description:
py-napalm-logs-0.5.0.shar
Filename:
MIME Type:
Creator:
Kai Knoblich
Created:
2018-05-19 10:42:06 UTC
Size:
4.86 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># py-napalm-logs/ ># py-napalm-logs/pkg-descr ># py-napalm-logs/distinfo ># py-napalm-logs/files ># py-napalm-logs/files/pkg-message.in ># py-napalm-logs/files/patch-napalm__logs_config_____init____.py ># py-napalm-logs/Makefile ># >echo c - py-napalm-logs/ >mkdir -p py-napalm-logs/ > /dev/null 2>&1 >echo x - py-napalm-logs/pkg-descr >sed 's/^X//' >py-napalm-logs/pkg-descr << '875f2b92532414a067355d30d35eb589' >XParses syslog messages from network devices and produce JSON serializable >XPython objects, in a vendor agnostic shape. The output objects are structured >Xfollowing the OpenConfig or IETF YANG model specifications. >X >XWWW: https://github.com/napalm-automation/napalm-logs >875f2b92532414a067355d30d35eb589 >echo x - py-napalm-logs/distinfo >sed 's/^X//' >py-napalm-logs/distinfo << '7475019d6a623758cf3d04034811bb81' >XTIMESTAMP = 1526723764 >XSHA256 (napalm-logs-0.5.0.tar.gz) = a4d9e06795844e7f375f2152163556d83a3685dc2f6efde379daca02a89acd43 >XSIZE (napalm-logs-0.5.0.tar.gz) = 42289 >7475019d6a623758cf3d04034811bb81 >echo c - py-napalm-logs/files >mkdir -p py-napalm-logs/files > /dev/null 2>&1 >echo x - py-napalm-logs/files/pkg-message.in >sed 's/^X//' >py-napalm-logs/files/pkg-message.in << '9a1d539a06e7467bc9b215c0dc6dfc79' >X=============================================================================== >X >X===================== >X Paths / CLI version >X===================== >X >Xnapalm-logs has been installed into: >X >X%%PREFIX%%/bin/napalm-logs-%%PYTHON_VER%% >X >XThe default path for the configuration file is: >X >X%%PREFIX%%/etc/napalm/logs >X >XThe default path for logfiles (will be created automatically on first run) is: >X >X/var/log/napalm/logs >X >X================================== >X Message encryption / CLI version >X================================== >X >XIf the messaging between server/client should be encrypted, one will require a >Xcertificate and a key otherwise the program will throw an exception and exits. >X >XGenerate a certificate with the following command: >X >X$ openssl req -nodes -x509 -newkey rsa:4096 -keyout napalm-logs.key -out napalm-logs.crt -days 365 >X >XIf no encryption is required, please read further below how to start the server >Xwithout a certificate. >X >X=================================== >X Starting the server / CLI version >X=================================== >X >Xa) with encrypted messaging: >X >X# napalm-logs-%%PYTHON_VER%% --certificate napalm-logs.cert --keyfile napalm-logs.key >X >Xb) with unencrypted messaging: >X >X# napalm-logs-%%PYTHON_VER%% --disable-security >X >XIn both cases the server will listen on >X >X 0.0.0.0:514 [UDP / incoming syslog messages] >X 0.0.0.0:49017 [TCP / incoming client requests] >X >XIn case a) when security is enabled, the server will listen also on: >X >X 0.0.0.0:49018 [TCP / incoming authentication requests] >X >XPlease read https://napalm-logs.readthedocs.io/en/latest for further >Xinformation. >X >X============================================================================== >9a1d539a06e7467bc9b215c0dc6dfc79 >echo x - py-napalm-logs/files/patch-napalm__logs_config_____init____.py >sed 's/^X//' >py-napalm-logs/files/patch-napalm__logs_config_____init____.py << 'a26bd669838bdf46fe968caa030a8e56' >X--- napalm_logs/config/__init__.py.orig 2018-05-19 10:13:50 UTC >X+++ napalm_logs/config/__init__.py >X@@ -11,7 +11,8 @@ import napalm_logs.ext.six as six >X >X # config >X ROOT_DIR = '/' >X-CONFIG_FILE = os.path.join(ROOT_DIR, 'etc', 'napalm', 'logs') >X+#CONFIG_FILE = os.path.join(ROOT_DIR, 'etc', 'napalm', 'logs') >X+CONFIG_FILE = os.path.join('%%PREFIX%%', 'etc', 'napalm', 'logs') >X ADDRESS = '0.0.0.0' >X PORT = 514 >X LISTENER = 'udp' >a26bd669838bdf46fe968caa030a8e56 >echo x - py-napalm-logs/Makefile >sed 's/^X//' >py-napalm-logs/Makefile << '2ba5b5bb2152d2eece762043b054c9d4' >X# $FreeBSD$ >X >XPORTNAME= napalm-logs >XDISTVERSION= 0.5.0 >XCATEGORIES= net-mgmt python >XMASTER_SITES= CHEESESHOP >XPKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} >X >XMAINTAINER= freebsd_ports@k-worx.org >XCOMMENT= Cross-vendor normalisation for network syslog messages >X >XLICENSE= APACHE20 >X >XBUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pip>0:devel/py-pip@${PY_FLAVOR} >XRUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pynacl>0:security/py-pynacl@${PY_FLAVOR} \ >X ${PYTHON_PKGNAMEPREFIX}pyzmq>0:net/py-pyzmq@${PY_FLAVOR} \ >X ${PYTHON_PKGNAMEPREFIX}u-msgpack-python>0:devel/py-u-msgpack-python@${PY_FLAVOR} \ >X ${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${PY_FLAVOR} >X >XUSES= python >XUSE_PYTHON= distutils concurrent autoplist >XNO_ARCH= yes >X >XSUB_FILES= pkg-message >XSUB_LIST= PREFIX=${PREFIX} PYTHON_VER=${PYTHON_VER} >X >Xpost-patch: >X @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' \ >X ${WRKSRC}/napalm_logs/config/__init__.py >X >X.include <bsd.port.mk> >2ba5b5bb2152d2eece762043b054c9d4 >exit >
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 Raw
Actions:
View
Attachments on
bug 227719
:
192754
| 193528