FreeBSD Bugzilla – Attachment 205853 Details for
Bug 239275
net-mgmt/alertmanager: Update to 0.18.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
net-mgmt/alertmanager: Update to 0.18.0
alertmanager-0.18.0.diff (text/plain), 3.22 KB, created by
David O'Rourke
on 2019-07-17 22:18:30 UTC
(
hide
)
Description:
net-mgmt/alertmanager: Update to 0.18.0
Filename:
MIME Type:
Creator:
David O'Rourke
Created:
2019-07-17 22:18:30 UTC
Size:
3.22 KB
patch
obsolete
>Index: net-mgmt/alertmanager/Makefile >=================================================================== >--- net-mgmt/alertmanager/Makefile (revision 506823) >+++ net-mgmt/alertmanager/Makefile (working copy) >@@ -3,7 +3,7 @@ > > PORTNAME= alertmanager > DISTVERSIONPREFIX= v >-DISTVERSION= 0.16.2 >+DISTVERSION= 0.18.0 > CATEGORIES= net-mgmt > > MAINTAINER= michal@hanu.la >@@ -12,7 +12,7 @@ > LICENSE= APACHE20 > LICENSE_FILE= ${WRKSRC}/LICENSE > >-USES= go gmake >+USES= go:modules gmake > USE_GITHUB= yes > GH_ACCOUNT= prometheus > USE_RC_SUBR= alertmanager >@@ -22,14 +22,20 @@ > USERS= alertmanager > GROUPS= alertmanager > >-do-build: >- @cd ${GO_WRKSRC}/cmd/alertmanager && ${SETENV} ${MAKE_ENV} ${GO_ENV} go install >- @cd ${GO_WRKSRC}/cmd/amtool && ${SETENV} ${MAKE_ENV} ${GO_ENV} go install >+BUILD_USER?= ${USER} >+LD_FLAG_X_STRING= -X ${GO_PKGNAME:H}/common/version >+LD_FLAG_STRING= ${LD_FLAG_X_STRING}.Version=${PORTVERSION} \ >+ ${LD_FLAG_X_STRING}.Revision=${PORTREVISION} \ >+ ${LD_FLAG_X_STRING}.Branch=release-${PORTVERSION:R} \ >+ ${LD_FLAG_X_STRING}.BuildUser=${BUILD_USER} >+GO_BUILDFLAGS= -v -ldflags "${LD_FLAG_STRING}" >+GO_TARGET= ./cmd/alertmanager \ >+ ./cmd/amtool > >-do-install: >- ${INSTALL_PROGRAM} ${GO_WRKDIR_BIN}/alertmanager ${STAGEDIR}${PREFIX}/bin >- ${INSTALL_PROGRAM} ${GO_WRKDIR_BIN}/amtool ${STAGEDIR}${PREFIX}/bin >+post-install: > @${MKDIR} ${STAGEDIR}${PREFIX}/etc/alertmanager >- ${INSTALL_DATA} ${WRKSRC}/doc/examples/simple.yml ${STAGEDIR}${PREFIX}/etc/alertmanager/alertmanager.yml.sample >+ ${INSTALL_DATA} \ >+ ${WRKSRC}/doc/examples/simple.yml \ >+ ${STAGEDIR}${PREFIX}/etc/alertmanager/alertmanager.yml.sample > > .include <bsd.port.mk> >Index: net-mgmt/alertmanager/distinfo >=================================================================== >--- net-mgmt/alertmanager/distinfo (revision 506823) >+++ net-mgmt/alertmanager/distinfo (working copy) >@@ -1,3 +1,3 @@ >-TIMESTAMP = 1554715019 >-SHA256 (prometheus-alertmanager-v0.16.2_GH0.tar.gz) = 5934ff312c23637ce331f1a221a9671f9af5d748cabe11b84fb4c5ad6b600430 >-SIZE (prometheus-alertmanager-v0.16.2_GH0.tar.gz) = 3616125 >+TIMESTAMP = 1563397402 >+SHA256 (prometheus-alertmanager-v0.18.0_GH0.tar.gz) = aa9536f001c4c46ceb5aa1767c81922777b3a2740529d25d86c9f27554cbd466 >+SIZE (prometheus-alertmanager-v0.18.0_GH0.tar.gz) = 5181819 >Index: net-mgmt/alertmanager/pkg-message >=================================================================== >--- net-mgmt/alertmanager/pkg-message (nonexistent) >+++ net-mgmt/alertmanager/pkg-message (working copy) >@@ -0,0 +1,13 @@ >+[ >+{ >+ message: <<EOF >+There were a number of changes to amtool in 0.17.0 which are not fully >+backwards compatible, related to the backup and import of silences. >+If a backup of silences is created using a previous version of amtool (v0.16.1 >+or earlier), it is possible that not all silences can be correctly imported >+using a later version of amtool. >+EOF >+ maximum_version: "0.17.0" >+ type: upgrade >+} >+] > >Property changes on: net-mgmt/alertmanager/pkg-message >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 239275
: 205853