net-mgmt/prometheus2: Set CONFLICTS_INSTALL against prometheus 1 and 3

This commit is contained in:
Danilo Egea Gondolfo 2025-04-24 13:00:40 +01:00
parent 3666763ec6
commit aec3adf330

View File

@ -1,7 +1,7 @@
PORTNAME= prometheus PORTNAME= prometheus
DISTVERSIONPREFIX= v DISTVERSIONPREFIX= v
DISTVERSION= 2.55.1 DISTVERSION= 2.55.1
PORTREVISION= 4 PORTREVISION= 5
CATEGORIES= net-mgmt CATEGORIES= net-mgmt
MASTER_SITES= https://raw.githubusercontent.com/${GH_ACCOUNT}/${GH_PROJECT}/${DISTVERSIONFULL}/:gomod \ MASTER_SITES= https://raw.githubusercontent.com/${GH_ACCOUNT}/${GH_PROJECT}/${DISTVERSIONFULL}/:gomod \
https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/${DISTVERSIONFULL}/:ui https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/${DISTVERSIONFULL}/:ui
@ -18,6 +18,8 @@ PATCH_DEPENDS= bash:shells/bash
USES= cpe gmake go:1.23,modules USES= cpe gmake go:1.23,modules
CONFLICTS_INSTALL= prometheus[13]
USE_GITHUB= yes USE_GITHUB= yes
USE_RC_SUBR= prometheus USE_RC_SUBR= prometheus