netbox agent
This commit is contained in:
31
net/netbox-agent/Makefile
Normal file
31
net/netbox-agent/Makefile
Normal file
@ -0,0 +1,31 @@
|
||||
PORTNAME= netbox-agent
|
||||
DISTVERSION= 20240821
|
||||
DISTVERSIONPREFIX= v
|
||||
CATEGORIES= misc python
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= kiwi@oav.net
|
||||
COMMENT= Netbox Agent
|
||||
WWW= https://github.com/KlaraSystems/netbox-agent
|
||||
|
||||
LICENSE= APACHE20
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pynetbox>=7:net-mgmt/py-pynetbox@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}netaddr>=1.0:net/py-netaddr@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}netifaces-plus>=0.11:net/py-netifaces-plus@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}psutils>=5.9.0:sysutils/py-psutil@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}python-slugify>=8.0.1:textproc/py-python-slugify@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}sysctl>=0.3.0:devel/py-sysctl@${PY_FLAVOR}
|
||||
|
||||
USES= python
|
||||
# PyPi sdist do not have tests
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= KlaraSystems
|
||||
GH_TAGNAME= 86d2a03
|
||||
|
||||
USE_PYTHON= autoplist distutils pytest
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
.include <bsd.port.mk>
|
||||
3
net/netbox-agent/distinfo
Normal file
3
net/netbox-agent/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1724235222
|
||||
SHA256 (KlaraSystems-netbox-agent-v20240821-86d2a03_GH0.tar.gz) = 5166c34b100db8ebd655b1ca6a80b6bb02c986e6eef518dc3fdf5d343b8d5af2
|
||||
SIZE (KlaraSystems-netbox-agent-v20240821-86d2a03_GH0.tar.gz) = 92426
|
||||
4
net/netbox-agent/pkg-descr
Normal file
4
net/netbox-agent/pkg-descr
Normal file
@ -0,0 +1,4 @@
|
||||
This project aims to create hardware automatically into Netbox based on
|
||||
standard tools (dmidecode, lldpd, parsing /sys/, etc).
|
||||
The goal is to generate an existing infrastructure on Netbox and have the
|
||||
ability to update it regularly by executing the agent.
|
||||
Reference in New Issue
Block a user