Commit bbcefa06 authored by Rene Ladan's avatar Rene Ladan
Browse files

sysutils/datadog-integrations: Remove expired port

2024-07-11 sysutils/datadog-integrations: Depends on expired sysutils/datadog-agent
parent e67ee10c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -3384,3 +3384,4 @@ devel/py-yaml|devel/py-pyyaml|2024-07-07|Move devel/py-yaml to devel/py-pyyaml
devel/py-pyyaml5|devel/py-pyyaml|2024-07-07|Remove obsoleted port. Use devel/py-pyyaml instead
x11-toolkits/wlroots-devel|x11-toolkits/wlroots|2024-07-12|Out of date: use x11-toolkits/wlroots for now
x11-servers/xwayland-devel|x11-servers/xwayland|2024-07-12|Out of date: use x11-servers/xwayland for now
sysutils/datadog-integrations||2024-07-13|Has expired: Depends on expired sysutils/datadog-agent
+0 −1
Original line number Diff line number Diff line
@@ -278,7 +278,6 @@
    SUBDIR += dar
    SUBDIR += darling-dmg
    SUBDIR += datadog-agent
    SUBDIR += datadog-integrations
    SUBDIR += dateutils
    SUBDIR += dc3dd
    SUBDIR += dcfldd
+0 −130
Original line number Diff line number Diff line
PORTNAME=	datadog-integrations
DISTVERSION=	7.24.0
PORTREVISION=	3
CATEGORIES=	sysutils

MAINTAINER=	uros@gruber.si
COMMENT=	Datadog Agent Integrations
WWW=		https://www.datadoghq.com/

LICENSE=	BSD4CLAUSE
LICENSE_FILE=	${WRKSRC}/LICENSE

DEPRECATED=	Depends on expired sysutils/datadog-agent
EXPIRATION_DATE=2024-07-11

BUILD_DEPENDS=	${PY_SETUPTOOLS}

RUN_DEPENDS=	datadog-agent>=7.24.1:sysutils/datadog-agent \
		${PYTHON_PKGNAMEPREFIX}botocore>0:devel/py-botocore@${PY_FLAVOR} \
		${PYTHON_PKGNAMEPREFIX}pysocks>0:net/py-pysocks@${PY_FLAVOR} \
		${PYTHON_PKGNAMEPREFIX}python-dateutil>0:devel/py-python-dateutil@${PY_FLAVOR} \
		${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz@${PY_FLAVOR} \
		${PYTHON_PKGNAMEPREFIX}typing-extensions>0:devel/py-typing-extensions@${PY_FLAVOR} \
		${PYTHON_PKGNAMEPREFIX}requests-unixsocket>0:www/py-requests-unixsocket@${PY_FLAVOR} \
		${PYTHON_PKGNAMEPREFIX}simplejson>0:devel/py-simplejson@${PY_FLAVOR} \
		${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \
		${PYTHON_PKGNAMEPREFIX}requests-toolbelt>0:www/py-requests-toolbelt@${PY_FLAVOR} \
		${PYTHON_PKGNAMEPREFIX}pyyaml>=0:devel/py-pyyaml@${PY_FLAVOR} \
		${PYTHON_PKGNAMEPREFIX}uptime>0:sysutils/py-uptime@${PY_FLAVOR} \
		${PYTHON_PKGNAMEPREFIX}typing-extensions>0:devel/py-typing-extensions@${PY_FLAVOR}

USES=		python
USE_PYTHON=	cryptography
USE_GITHUB=	yes
GH_ACCOUNT=	DataDog
GH_PROJECT=	integrations-core

ETCDIR=		${PREFIX}/etc/datadog

NO_ARCH=	yes
NO_BUILD=	yes

USERS=		datadog
GROUPS=		${USERS}

PLIST_SUB+=	USER=${USERS} \
		GROUP=${GROUPS}

OPTIONS_DEFINE=	APACHE CONSUL COREDNS DIRECTORY DISK DNS MYSQL NETWORK NGINX PHP POSTFIX PROCESS REDIS SSH SYS_CORE SYS_SWAP TCP TLS

OPTIONS_SUB=	yes

APACHE_DESC=	Apache check integration
CONSUL_DESC=	Consul check integration
COREDNS_DESC=	CoreDNS check integration
DIRECTORY_DESC=	Directory check integration
DISK_DESC=	Disk check integration
DNS_DESC=	DNS check integration
MYSQL_DESC=	MySQL check integration
NETWORK_DESC=	Network check integration
NGINX_DESC=	Nginx check integration
PHP_DESC=	PHP-fpm check integration
POSTFIX_DESC=	Postfix check integration
PROCESS_DESC=	Process check integration
REDIS_DESC=	Redis check integration
SSH_DESC=	SSH check integration
SYS_CORE_DESC=	System Core check integration
SYS_SWAP_DESC=	System Swap check integration
TCP_DESC=	TCP check integration
TLS_DESC=	TLS check integration

APACHE_VARS=	integrations+=apache conffiles+=apache
CONSUL_VARS=	integrations+=consul conffiles+=consul
COREDNS_VARS=	integrations+=coredns conffiles+=coredns
DIRECTORY_VARS=	integrations+=directory conffiles+=directory
DISK_VARS=	integrations+=disk conffiles+=disk
DNS_VARS=	integrations+=dns_check conffiles+=dns_check
MYSQL_VARS=	integrations+=mysql conffiles+=mysql
NETWORK_VARS=	integrations+=network conffiles+=network
NGINX_VARS=	integrations+=nginx conffiles+=nginx
PHP_VARS=	integrations+=php_fpm conffiles+=php_fpm
POSTFIX_VARS=	integrations+=postfix conffiles+=postfix
PROCESS_VARS=	integrations+=process conffiles+=process
REDIS_VARS=	integrations+=redisdb conffiles+=redisdb
SSH_VARS=	integrations+=ssh_check conffiles+=ssh_check
SYS_CORE_VARS=	integrations+=system_core conffiles+=system_core
SYS_SWAP_VARS=	integrations+=system_swap conffiles+=system_swap
TCP_VARS=	integrations+=tcp_check conffiles+=tcp_check
TLS_VARS=	integrations+=tls conffiles+=tls

# find integrations-core -name setup.py | awk -F\/ '{print $2}' | sort | uniq | grep -v datadog_checks_dev | tr '\n' ' '
INTEGRATIONS=	datadog_checks_base

# find integrations-core -name conf.yaml.example | awk -F\/ '{print $2}' | sort | uniq | grep -v datadog_checks_dev | tr '\n' ' '
CONFFILES=

DIRECTORY_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}scandir>0:sysutils/py-scandir@${PY_FLAVOR}
DISK_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}psutil>0:sysutils/py-psutil@${PY_FLAVOR}
DNS_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}dnspython>0:dns/py-dnspython@${PY_FLAVOR}
MYSQL_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pymysql>0:databases/py-pymysql@${PY_FLAVOR}
NETWORK_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}psutil>0:sysutils/py-psutil@${PY_FLAVOR}
PHP_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}flup6>0:www/py-flup6@${PY_FLAVOR}
PROCESS_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}psutil>0:sysutils/py-psutil@${PY_FLAVOR}
REDIS_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}redis>0:databases/py-redis@${PY_FLAVOR}
SSH_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}paramiko>0:security/py-paramiko@${PY_FLAVOR}
SYS_CORE_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}psutil>0:sysutils/py-psutil@${PY_FLAVOR}
SYS_SWAP_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}psutil>0:sysutils/py-psutil@${PY_FLAVOR}
TLS_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}service-identity>0:security/py-service-identity@${PY_FLAVOR}

.include <bsd.port.options.mk>

do-install:
	${MKDIR} ${STAGEDIR}${ETCDIR}
	${MKDIR} ${STAGEDIR}${ETCDIR}/conf.d

# Install core-integrations
.for dir in ${INTEGRATIONS}
	(cd ${WRKSRC}/${dir}; \
	${PYTHON_CMD} setup.py bdist; \
	${TAR} -xzf dist/*.tar.gz -C ${STAGEDIR})
.endfor

post-install:
# Install core-integrations
.for dir in ${CONFFILES}
	(cd ${WRKSRC}/${dir}; \
	${MV} datadog_checks/${dir}/data ${STAGEDIR}${ETCDIR}/conf.d/${dir}.d)
.endfor

.include <bsd.port.mk>
+0 −3
Original line number Diff line number Diff line
TIMESTAMP = 1610384472
SHA256 (DataDog-integrations-core-7.24.0_GH0.tar.gz) = fdb04d75b10e18610570aeea8f316cdc71511512bfd7617984e54cde93d0c426
SIZE (DataDog-integrations-core-7.24.0_GH0.tar.gz) = 29726898
+0 −18
Original line number Diff line number Diff line
--- datadog_checks_base/datadog_checks/base/__init__.py.orig	2020-10-29 10:27:27 UTC
+++ datadog_checks_base/datadog_checks/base/__init__.py
@@ -3,7 +3,6 @@
 # Licensed under a 3-clause BSD style license (see LICENSE)
 from .__about__ import __version__
 from .checks import AgentCheck
-from .checks.openmetrics import OpenMetricsBaseCheck
 from .config import is_affirmative
 from .errors import ConfigurationError
 from .utils.common import ensure_bytes, ensure_unicode, to_native_string, to_string
@@ -24,7 +23,6 @@ __all__ = [
     '__version__',
     'AgentCheck',
     'KubeLeaderElectionBaseCheck',
-    'OpenMetricsBaseCheck',
     'PDHBaseCheck',
     'ConfigurationError',
     'ensure_bytes',
Loading