Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Feb 2014 15:39:30 +0800
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        Mark Felder <feld@freebsd.org>
Cc:        svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers <ports-committers@freebsd.org>
Subject:   Re: svn commit: r345279 - head/sysutils/monit
Message-ID:  <CAMHz58QPBBF9qP2yHBBC9joBHqpvOZpxdb0Eww8CSbROzXj9tQ@mail.gmail.com>
In-Reply-To: <201402210102.s1L12Frs051795@svn.freebsd.org>
References:  <201402210102.s1L12Frs051795@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Feb 21, 2014 at 9:02 AM, Mark Felder <feld@freebsd.org> wrote:

> Author: feld
> Date: Fri Feb 21 01:02:15 2014
> New Revision: 345279
> URL: http://svnweb.freebsd.org/changeset/ports/345279
> QAT: https://qat.redports.org/buildarchive/r345279/
>
> Log:
>   Update to 5.7
>   STAGE support
>
>   PR:           ports/186930
>
> Modified:
>   head/sysutils/monit/Makefile
>   head/sysutils/monit/distinfo
>
> Modified: head/sysutils/monit/Makefile
>
> ==============================================================================
> --- head/sysutils/monit/Makefile        Fri Feb 21 00:33:48 2014
>  (r345278)
> +++ head/sysutils/monit/Makefile        Fri Feb 21 01:02:15 2014
>  (r345279)
> @@ -2,18 +2,18 @@
>  # $FreeBSD$
>
>  PORTNAME=      monit
> -PORTVERSION=   5.6
> +PORTVERSION=   5.7
>  CATEGORIES=    sysutils
>  MASTER_SITES=  http://www.mmonit.com/monit/dist/
>
>  MAINTAINER=    martinp@tildeslash.com
>  COMMENT=       Unix system management and proactive monitoring
>
> -MAN1=  monit.1
> +LICENSE=       GPLV3
>

You already fixed it. :)


> +LICENSE_FILE=  COPYING
>

You could remove LICENSE_FILE.
We usually do not add this for well-known licenses.


>  GNU_CONFIGURE= yes
> -USES=  bison
> -USE_GMAKE=     yes
> +USES=  bison gmake
>  USE_RC_SUBR=   ${PORTNAME}
>
>  CONFIGURE_ENV= CONFIG_SHELL="${SH}" \
> @@ -23,13 +23,13 @@ OPTIONS_DEFINE=     SSL
>  OPTIONS_DEFAULT=       SSL
>
>  PLIST_FILES=   bin/monit \
> -               etc/monitrc.sample
> +               etc/monitrc.sample \
> +               man/man1/monit.1.gz
>
>  SUB_FILES=     pkg-message
>
>  PORTDOCS=      CHANGES COPYING README
>
> -NO_STAGE=      yes
>  .include <bsd.port.options.mk>
>
>  .if ! ${PORT_OPTIONS:MSSL}
> @@ -37,10 +37,10 @@ CONFIGURE_ARGS+=    --without-ssl
>  .endif
>
>  post-install:
> -       ${INSTALL} -m 600 ${WRKSRC}/monitrc ${PREFIX}/etc/monitrc.sample
> +       ${INSTALL} -m 600 ${WRKSRC}/monitrc
> ${STAGEDIR}${PREFIX}/etc/monitrc.sample
>  .if ${PORT_OPTIONS:MDOCS}
>

For staged ports, we install PORTDOCS/PORTEXAMPLES unconditionally unless
it brings significant I/O overhead.


> -       ${INSTALL} -d ${DOCSDIR}
> -       cd ${WRKSRC} && ${INSTALL} -m 644 ${PORTDOCS} ${DOCSDIR}
> +       ${INSTALL} -d ${STAGEDIR}${DOCSDIR}
> +       cd ${WRKSRC} && ${INSTALL} -m 644 ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
>  .endif
>         @${CAT} ${PKGMESSAGE}
>

No need to print PKGMESSAGE manually.

Regards,
sunpoet


>
> Modified: head/sysutils/monit/distinfo
>
> ==============================================================================
> --- head/sysutils/monit/distinfo        Fri Feb 21 00:33:48 2014
>  (r345278)
> +++ head/sysutils/monit/distinfo        Fri Feb 21 01:02:15 2014
>  (r345279)
> @@ -1,2 +1,2 @@
> -SHA256 (monit-5.6.tar.gz) =
> 38e09bd8b39abc59e6b9a9bb7a78f7eac2b02a92f4de1f3a6dc24e84dfedae0d
> -SIZE (monit-5.6.tar.gz) = 1263370
> +SHA256 (monit-5.7.tar.gz) =
> bb250ab011d805b5693972afdf95509e79bb3b390caa763275c9501f74b598a2
> +SIZE (monit-5.7.tar.gz) = 1266763
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMHz58QPBBF9qP2yHBBC9joBHqpvOZpxdb0Eww8CSbROzXj9tQ>