This commit is contained in:
2024-08-22 13:43:17 +02:00
parent bf9444e0b1
commit 9accb199e5
5 changed files with 8 additions and 51 deletions

View File

@ -1,36 +0,0 @@
PORTNAME= netbox-agent
DISTVERSION= 20240822
DISTVERSIONPREFIX= v
CATEGORIES= net 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= ${LOCALBASE}/bin/ipmitool:sysutils/ipmitool \
${LOCALBASE}/sbin/dmidecode:sysutils/dmidecode \
${LOCALBASE}/sbin/lldpctl:net-mgmt/lldpd \
${PYTHON_PKGNAMEPREFIX}distro>=1.8.0:sysutils/py-distro@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}jsonargparse>=3.11.2:devel/py-jsonargparse@${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}psutil>=5.9.0:sysutils/py-psutil@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pynetbox>=7:net-mgmt/py-pynetbox@${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= 6ae055c
USE_PYTHON= autoplist distutils pytest
NO_ARCH= yes
.include <bsd.port.mk>

View File

@ -1,3 +0,0 @@
TIMESTAMP = 1724321105
SHA256 (KlaraSystems-netbox-agent-v20240822-6ae055c_GH0.tar.gz) = 3f61170d3b6a09c96c8e12b62069b9fc1de022701913222e8b2f4b1ef954c318
SIZE (KlaraSystems-netbox-agent-v20240822-6ae055c_GH0.tar.gz) = 92423

View File

@ -1,4 +0,0 @@
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.