Date: Sun, 13 Oct 2019 09:54:43 +0000 (UTC) From: Rodrigo Osorio <rodrigo@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r514379 - in head/sysutils: sanoid sanoid-devel Message-ID: <201910130954.x9D9shZj051482@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rodrigo Date: Sun Oct 13 09:54:43 2019 New Revision: 514379 URL: https://svnweb.freebsd.org/changeset/ports/514379 Log: Cleanup sysutils/sanoid and sysutils/sanoid-devel ports - Bump PORTREVISION - Add missing WWW in pkg-descr - Remove redundant GH_PROJECT - Add NO_BUILD and NO_ARCH options - Fix path in pkg-message - Remove unnecessary *** blocks in pkg-message - Remove redundant remove message in pkg-message Modified: head/sysutils/sanoid-devel/Makefile head/sysutils/sanoid-devel/pkg-descr head/sysutils/sanoid-devel/pkg-message head/sysutils/sanoid/Makefile head/sysutils/sanoid/pkg-descr head/sysutils/sanoid/pkg-message Modified: head/sysutils/sanoid-devel/Makefile ============================================================================== --- head/sysutils/sanoid-devel/Makefile Sun Oct 13 09:39:02 2019 (r514378) +++ head/sysutils/sanoid-devel/Makefile Sun Oct 13 09:54:43 2019 (r514379) @@ -1,9 +1,10 @@ # $FreeBSD$ PORTNAME= sanoid -PORTVERSION=1.0.0.20190619 +PORTVERSION= 1.0.0.20190619 +PORTREVISION= 1 CATEGORIES= sysutils -PKGNAMESUFFIX=-devel +PKGNAMESUFFIX= -devel MAINTAINER= hartzell@alerce.com COMMENT= Policy-driven snapshot management and replication tools @@ -21,12 +22,14 @@ USES= shebangfix perl5 USE_GITHUB= yes GH_ACCOUNT= jimsalterjrs -GH_PROJECT=sanoid -GH_TAGNAME=a90eec3 +GH_TAGNAME= a90eec3 USE_PERL5= run SHEBANG_FILES= findoid sanoid sleepymutex syncoid +NO_BUILD= yes +NO_ARCH= yes + # line 19: my %args = ("configdir" => "/etc/sanoid"); post-patch: @${REINPLACE_CMD} -i '' -e 's|/etc/sanoid|${PREFIX}/etc/sanoid|' \ @@ -34,8 +37,6 @@ post-patch: @${REINPLACE_CMD} -i '' \ -e 's|:/bin:/usr/bin:/sbin|:${PREFIX}/bin:/bin:/usr/bin:/sbin|' \ ${WRKSRC}/syncoid - -do-build: do-install: ${INSTALL_SCRIPT} ${WRKSRC}/findoid ${STAGEDIR}${PREFIX}/bin Modified: head/sysutils/sanoid-devel/pkg-descr ============================================================================== --- head/sysutils/sanoid-devel/pkg-descr Sun Oct 13 09:39:02 2019 (r514378) +++ head/sysutils/sanoid-devel/pkg-descr Sun Oct 13 09:54:43 2019 (r514379) @@ -2,3 +2,5 @@ Sanoid is a policy-driven snapshot management tool for filesystems. More prosaically, you can use Sanoid to create, automatically thin, and monitor snapshots and pool health from a single eminently human-readable TOML config file. + +WWW: https://github.com/jimsalterjrs/sanoid Modified: head/sysutils/sanoid-devel/pkg-message ============================================================================== --- head/sysutils/sanoid-devel/pkg-message Sun Oct 13 09:39:02 2019 (r514378) +++ head/sysutils/sanoid-devel/pkg-message Sun Oct 13 09:54:43 2019 (r514379) @@ -1,28 +1,16 @@ [ { + type: install message: <<EOD -*************************************************************************** - Sanoid requires additional configuration in the ${PREFIX}/etc/sanoid.conf + Sanoid requires additional configuration in the ${PREFIX}/etc/sanoid/sanoid.conf file. - A sample has been installed in ${PREFIX}/etc/sanoid.conf.sample and + A sample has been installed in ${PREFIX}/etc/sanoid/sanoid.conf.sample and additional documentation can be found at the sanoid master site: https://github.com/jimsalterjrs/sanoid -*************************************************************************** EOD -} -{ - message: <<EOD -*************************************************************************** - - If you have created a local configuration file, - ${PREFIX}/etc/sanoid.conf, you will need to remove it separately. - -*************************************************************************** -EOD - type: remove } ] Modified: head/sysutils/sanoid/Makefile ============================================================================== --- head/sysutils/sanoid/Makefile Sun Oct 13 09:39:02 2019 (r514378) +++ head/sysutils/sanoid/Makefile Sun Oct 13 09:54:43 2019 (r514379) @@ -1,7 +1,9 @@ # $FreeBSD$ PORTNAME= sanoid -DISTVERSION= v2.0.1 +DISTVERSIONPREFIX= v +DISTVERSION= 2.0.1 +PORTREVISION= 1 CATEGORIES= sysutils MAINTAINER= hartzell@alerce.com @@ -24,18 +26,19 @@ GH_ACCOUNT= jimsalterjrs USE_PERL5= run SHEBANG_FILES= findoid sanoid sleepymutex syncoid +NO_BUILD= yes +NO_ARCH= yes + # line 19: my %args = ("configdir" => "/etc/sanoid"); post-patch: @${REINPLACE_CMD} -i '' -e 's|/etc/sanoid|${PREFIX}/etc/sanoid|' \ ${WRKSRC}/sanoid @${REINPLACE_CMD} -i '' \ - -e 's|/usr/bin/lzop|${PREFIX}/bin/lzop|' \ - -e 's|/usr/bin/mbuffer|${PREFIX}/bin/mbuffer|' \ - -e 's|/usr/bin/pv|${PREFIX}/bin/pv|' \ - -e 's|/usr/bin/sudo|${PREFIX}/bin/sudo|' \ + -e 's|/usr/bin/lzop|${LOCALBASE}/bin/lzop|' \ + -e 's|/usr/bin/mbuffer|${LOCALBASE}/bin/mbuffer|' \ + -e 's|/usr/bin/pv|${LOCALBASE}/bin/pv|' \ + -e 's|/usr/bin/sudo|${LOCALBASE}/bin/sudo|' \ ${WRKSRC}/syncoid - -do-build: do-install: ${INSTALL_SCRIPT} ${WRKSRC}/findoid ${STAGEDIR}${PREFIX}/bin Modified: head/sysutils/sanoid/pkg-descr ============================================================================== --- head/sysutils/sanoid/pkg-descr Sun Oct 13 09:39:02 2019 (r514378) +++ head/sysutils/sanoid/pkg-descr Sun Oct 13 09:54:43 2019 (r514379) @@ -2,3 +2,5 @@ Sanoid is a policy-driven snapshot management tool for filesystems. More prosaically, you can use Sanoid to create, automatically thin, and monitor snapshots and pool health from a single eminently human-readable TOML config file. + +WWW: https://github.com/jimsalterjrs/sanoid Modified: head/sysutils/sanoid/pkg-message ============================================================================== --- head/sysutils/sanoid/pkg-message Sun Oct 13 09:39:02 2019 (r514378) +++ head/sysutils/sanoid/pkg-message Sun Oct 13 09:54:43 2019 (r514379) @@ -1,28 +1,16 @@ [ { + type: install message: <<EOD -*************************************************************************** - Sanoid requires additional configuration in the ${PREFIX}/etc/sanoid.conf + Sanoid requires additional configuration in the ${PREFIX}/etc/sanoid/sanoid.conf file. - A sample has been installed in ${PREFIX}/etc/sanoid.conf.sample and + A sample has been installed in ${PREFIX}/etc/sanoid/sanoid.conf.sample and additional documentation can be found at the sanoid master site: https://github.com/jimsalterjrs/sanoid -*************************************************************************** EOD -} -{ - message: <<EOD -*************************************************************************** - - If you have created a local configuration file, - ${PREFIX}/etc/sanoid.conf, you will need to remove it separately. - -*************************************************************************** -EOD - type: remove } ]
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201910130954.x9D9shZj051482>