Fixes
This commit is contained in:
@ -1,11 +1,12 @@
|
|||||||
PORTNAME= netbox-agent
|
PORTNAME= netbox-agent
|
||||||
DISTVERSION= 20240822
|
|
||||||
DISTVERSIONPREFIX= v
|
DISTVERSIONPREFIX= v
|
||||||
CATEGORIES= net python
|
DISTVERSION= 0.7.2-77
|
||||||
|
DISTVERSIONSUFFIX=-g6ae055c
|
||||||
|
CATEGORIES= net-mgmt python
|
||||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||||
|
|
||||||
MAINTAINER= kiwi@oav.net
|
MAINTAINER= kiwi@oav.net
|
||||||
COMMENT= Netbox Agent
|
COMMENT= Agent for the Netbox network automation
|
||||||
WWW= https://github.com/KlaraSystems/netbox-agent
|
WWW= https://github.com/KlaraSystems/netbox-agent
|
||||||
|
|
||||||
LICENSE= APACHE20
|
LICENSE= APACHE20
|
||||||
@ -24,10 +25,9 @@ RUN_DEPENDS= ${LOCALBASE}/bin/ipmitool:sysutils/ipmitool \
|
|||||||
${PYTHON_PKGNAMEPREFIX}sysctl>=0.3.0:devel/py-sysctl@${PY_FLAVOR}
|
${PYTHON_PKGNAMEPREFIX}sysctl>=0.3.0:devel/py-sysctl@${PY_FLAVOR}
|
||||||
|
|
||||||
USES= python
|
USES= python
|
||||||
# PyPi sdist do not have tests
|
|
||||||
USE_GITHUB= yes
|
USE_GITHUB= yes
|
||||||
GH_ACCOUNT= KlaraSystems
|
GH_ACCOUNT= KlaraSystems
|
||||||
GH_TAGNAME= 6ae055c
|
#GH_TAGNAME= 6ae055c
|
||||||
|
|
||||||
USE_PYTHON= autoplist distutils pytest
|
USE_PYTHON= autoplist distutils pytest
|
||||||
|
|
||||||
|
|||||||
@ -1,3 +1,3 @@
|
|||||||
TIMESTAMP = 1724321105
|
TIMESTAMP = 1724326843
|
||||||
SHA256 (KlaraSystems-netbox-agent-v20240822-6ae055c_GH0.tar.gz) = 3f61170d3b6a09c96c8e12b62069b9fc1de022701913222e8b2f4b1ef954c318
|
SHA256 (KlaraSystems-netbox-agent-v0.7.2-77-g6ae055c_GH0.tar.gz) = 2168a07512dacc39675ff6952b72cf08b621fbf743cc9e5f9a0b8a1f5383f838
|
||||||
SIZE (KlaraSystems-netbox-agent-v20240822-6ae055c_GH0.tar.gz) = 92423
|
SIZE (KlaraSystems-netbox-agent-v0.7.2-77-g6ae055c_GH0.tar.gz) = 92483
|
||||||
|
|||||||
@ -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>
|
|
||||||
@ -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
|
|
||||||
@ -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.
|
|
||||||
Reference in New Issue
Block a user