From owner-svn-ports-all@freebsd.org Wed Feb 21 00:09:46 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9847CF13E7E; Wed, 21 Feb 2018 00:09:46 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4B05478C26; Wed, 21 Feb 2018 00:09:46 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 2C7C710DDB; Wed, 21 Feb 2018 00:09:46 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w1L09jJJ065154; Wed, 21 Feb 2018 00:09:45 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w1L09jcB065150; Wed, 21 Feb 2018 00:09:45 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201802210009.w1L09jcB065150@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Wed, 21 Feb 2018 00:09:45 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r462467 - in head/net-mgmt/alertmanager: . files X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/net-mgmt/alertmanager: . files X-SVN-Commit-Revision: 462467 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Feb 2018 00:09:46 -0000 Author: yuri Date: Wed Feb 21 00:09:45 2018 New Revision: 462467 URL: https://svnweb.freebsd.org/changeset/ports/462467 Log: net-mgmt/alertmanager: Update to 0.14.0 Additional port changes: * Changed to DISTVERSION * Moved plist to pkg-plist, added @sample for the config file * Silenced some commands * Improved syntax PR: 226065 Submitted by: michal@hanu.la (maintainer) Approved by: tcberner (mentor, implicit) Added: head/net-mgmt/alertmanager/pkg-plist (contents, props changed) Modified: head/net-mgmt/alertmanager/Makefile head/net-mgmt/alertmanager/distinfo head/net-mgmt/alertmanager/files/alertmanager.in Modified: head/net-mgmt/alertmanager/Makefile ============================================================================== --- head/net-mgmt/alertmanager/Makefile Tue Feb 20 23:38:47 2018 (r462466) +++ head/net-mgmt/alertmanager/Makefile Wed Feb 21 00:09:45 2018 (r462467) @@ -2,8 +2,8 @@ # $FreeBSD$ PORTNAME= alertmanager -PORTVERSION= 0.13.0 DISTVERSIONPREFIX= v +DISTVERSION= 0.14.0 CATEGORIES= net-mgmt MAINTAINER= michal@hanu.la @@ -15,26 +15,21 @@ LICENSE_FILE= ${WRKSRC}/LICENSE USES= go gmake USE_GITHUB= yes GH_ACCOUNT= prometheus +USE_RC_SUBR= alertmanager GO_PKGNAME= github.com/prometheus/${PORTNAME} -USE_RC_SUBR= alertmanager - USERS= alertmanager GROUPS= alertmanager -PLIST_FILES= bin/alertmanager \ - bin/amtool \ - etc/alertmanager/alertmanager.yml.sample - do-build: - (cd ${GO_WRKSRC}/cmd/alertmanager ; ${SETENV} ${GO_ENV} go install) - (cd ${GO_WRKSRC}/cmd/amtool ; ${SETENV} ${GO_ENV} go install) + @cd ${GO_WRKSRC}/cmd/alertmanager && ${SETENV} ${GO_ENV} go install + @cd ${GO_WRKSRC}/cmd/amtool && ${SETENV} ${GO_ENV} go install do-install: ${INSTALL_PROGRAM} ${GO_WRKDIR_BIN}/alertmanager ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${GO_WRKDIR_BIN}/amtool ${STAGEDIR}${PREFIX}/bin - ${MKDIR} ${STAGEDIR}${PREFIX}/etc/alertmanager + @${MKDIR} ${STAGEDIR}${PREFIX}/etc/alertmanager ${INSTALL_DATA} ${WRKSRC}/doc/examples/simple.yml ${STAGEDIR}${PREFIX}/etc/alertmanager/alertmanager.yml.sample .include Modified: head/net-mgmt/alertmanager/distinfo ============================================================================== --- head/net-mgmt/alertmanager/distinfo Tue Feb 20 23:38:47 2018 (r462466) +++ head/net-mgmt/alertmanager/distinfo Wed Feb 21 00:09:45 2018 (r462467) @@ -1,3 +1,3 @@ -TIMESTAMP = 1516235458 -SHA256 (prometheus-alertmanager-v0.13.0_GH0.tar.gz) = e17225aef987a587dd9f3e6827b090108adc118c3e94cf66d5f7cb3f665687e5 -SIZE (prometheus-alertmanager-v0.13.0_GH0.tar.gz) = 2782163 +TIMESTAMP = 1518647902 +SHA256 (prometheus-alertmanager-v0.14.0_GH0.tar.gz) = f25bd1dad2eb3e050f1208650571195194b0c2362c488a7ad5ca60f40ca866ac +SIZE (prometheus-alertmanager-v0.14.0_GH0.tar.gz) = 2786623 Modified: head/net-mgmt/alertmanager/files/alertmanager.in ============================================================================== --- head/net-mgmt/alertmanager/files/alertmanager.in Tue Feb 20 23:38:47 2018 (r462466) +++ head/net-mgmt/alertmanager/files/alertmanager.in Wed Feb 21 00:09:45 2018 (r462467) @@ -44,8 +44,8 @@ procname="%%PREFIX%%/bin/alertmanager" sig_reload=HUP extra_commands="reload" command_args="-p ${pidfile} /usr/bin/env ${procname} \ - -config.file=${alertmanager_config} \ - -storage.path=${alertmanager_data_dir} \ + --config.file=${alertmanager_config} \ + --storage.path=${alertmanager_data_dir} \ ${alertmanager_args} > ${alertmanager_log_file} 2>&1" start_precmd=alertmanager_startprecmd Added: head/net-mgmt/alertmanager/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-mgmt/alertmanager/pkg-plist Wed Feb 21 00:09:45 2018 (r462467) @@ -0,0 +1,3 @@ +bin/alertmanager +bin/amtool +@sample %%ETCDIR%%/alertmanager.yml.sample