From d6eed96068916824c573591f54690819c2586eb5 Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Sat, 29 Mar 2014 16:37:14 +0000 Subject: [PATCH] - Update to 5.8 - While I'm here: - Fix LICENSE - Remove LICENSE_FILE for well-known licenses - Update OPTIONS_DEFINE: add DOCS - Convert to new options helper - Simplify Makefile Changes: https://bitbucket.org/tildeslash/monit/src/master/CHANGES PR: ports/188029 Submitted by: Martin Pala (maintainer) --- sysutils/monit/Makefile | 20 ++++++-------------- sysutils/monit/distinfo | 4 ++-- 2 files changed, 8 insertions(+), 16 deletions(-) diff --git a/sysutils/monit/Makefile b/sysutils/monit/Makefile index 3a2f1969ee54..99f4a7a375ad 100644 --- a/sysutils/monit/Makefile +++ b/sysutils/monit/Makefile @@ -2,25 +2,24 @@ # $FreeBSD$ PORTNAME= monit -PORTVERSION= 5.7 +PORTVERSION= 5.8 CATEGORIES= sysutils MASTER_SITES= http://www.mmonit.com/monit/dist/ MAINTAINER= martinp@tildeslash.com COMMENT= Unix system management and proactive monitoring -LICENSE= GPLv3 -LICENSE_FILE= ${WRKSRC}/COPYING +LICENSE= AGPLv3 GNU_CONFIGURE= yes -USES= bison gmake +USES= bison gmake USE_RC_SUBR= ${PORTNAME} CONFIGURE_ENV= CONFIG_SHELL="${SH}" \ LOCALBASE="${LOCALBASE}" -OPTIONS_DEFINE= SSL -OPTIONS_DEFAULT= SSL +OPTIONS_DEFINE= DOCS SSL +OPTIONS_DEFAULT=SSL PLIST_FILES= bin/monit \ etc/monitrc.sample \ @@ -30,18 +29,11 @@ SUB_FILES= pkg-message PORTDOCS= CHANGES COPYING README -.include - -.if ! ${PORT_OPTIONS:MSSL} -CONFIGURE_ARGS+= --without-ssl -.endif +SSL_CONFIGURE_OFF= --without-ssl post-install: ${INSTALL} -m 600 ${WRKSRC}/monitrc ${STAGEDIR}${PREFIX}/etc/monitrc.sample -.if ${PORT_OPTIONS:MDOCS} ${INSTALL} -d ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL} -m 644 ${PORTDOCS} ${STAGEDIR}${DOCSDIR} -.endif - @${CAT} ${PKGMESSAGE} .include diff --git a/sysutils/monit/distinfo b/sysutils/monit/distinfo index 04f59d958b16..199cac0acfe5 100644 --- a/sysutils/monit/distinfo +++ b/sysutils/monit/distinfo @@ -1,2 +1,2 @@ -SHA256 (monit-5.7.tar.gz) = bb250ab011d805b5693972afdf95509e79bb3b390caa763275c9501f74b598a2 -SIZE (monit-5.7.tar.gz) = 1266763 +SHA256 (monit-5.8.tar.gz) = 0c00573ebc0156c534a5952f392c2a7bedde194f8261c05497322055938847f5 +SIZE (monit-5.8.tar.gz) = 1237958