Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Jan 2021 12:18:09 +0000 (UTC)
From:      Lewis Cook <lcook@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r562466 - head/net/hblock
Message-ID:  <202101241218.10OCI9kt062514@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: lcook
Date: Sun Jan 24 12:18:09 2021
New Revision: 562466
URL: https://svnweb.freebsd.org/changeset/ports/562466

Log:
  net/hblock: Update to 3.2.0
  
  Changes:		https://github.com/hectorm/hblock/compare/v3.1.1...v3.2.0
  Approved by:		tcberner (mentor)
  Differential Revision:	https://reviews.freebsd.org/D28319

Modified:
  head/net/hblock/Makefile
  head/net/hblock/distinfo

Modified: head/net/hblock/Makefile
==============================================================================
--- head/net/hblock/Makefile	Sun Jan 24 12:07:54 2021	(r562465)
+++ head/net/hblock/Makefile	Sun Jan 24 12:18:09 2021	(r562466)
@@ -2,7 +2,7 @@
 
 PORTNAME=	hblock
 DISTVERSIONPREFIX=	v
-DISTVERSION=	3.1.1
+DISTVERSION=	3.2.0
 CATEGORIES=	net
 
 MAINTAINER=	lcook@FreeBSD.org
@@ -19,16 +19,20 @@ GH_ACCOUNT=	hectorm
 NO_ARCH=	yes
 NO_BUILD=	yes
 
-PLIST_FILES=		bin/${PORTNAME}
-MANPAGES_PLIST_FILES=	man/man1/${PORTNAME}.1.gz
-PORTDOCS=		PACKAGES.md README.md SOURCES.md
+PLIST_FILES=	bin/${PORTNAME}
+PORTDOCS=	PACKAGES.md README.md SOURCES.md
 
 OPTIONS_DEFINE=		DOCS MANPAGES
 OPTIONS_DEFAULT=	MANPAGES
 OPTIONS_SUB=		yes
 
+MANPAGES_PLIST_FILES=	man/man1/${PORTNAME}.1.gz
+
 post-patch:
-	@${REINPLACE_CMD} -e '/hosts/!s|/etc|${PREFIX}/etc|g' ${WRKSRC}/${PORTNAME} ${WRKSRC}/${PORTNAME}.1
+	@${REINPLACE_CMD} \
+		-e 's,$${ETCDIR?}\/hosts,/etc/hosts,g' \
+		-e '/hosts/!s,/etc,${PREFIX}/etc,g' \
+		${WRKSRC}/${PORTNAME} ${WRKSRC}/${PORTNAME}.1
 
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin

Modified: head/net/hblock/distinfo
==============================================================================
--- head/net/hblock/distinfo	Sun Jan 24 12:07:54 2021	(r562465)
+++ head/net/hblock/distinfo	Sun Jan 24 12:18:09 2021	(r562466)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1608503762
-SHA256 (hectorm-hblock-v3.1.1_GH0.tar.gz) = 7d87002c8ba13b72b4614fd2e528dfee816ea632ddee7f49be7cc463b43b6c3c
-SIZE (hectorm-hblock-v3.1.1_GH0.tar.gz) = 761182
+TIMESTAMP = 1611443727
+SHA256 (hectorm-hblock-v3.2.0_GH0.tar.gz) = a5a86a0e9913d88dcba7270c9e3ed37f4c626c8a6a8b5e9303a8a173824bdfee
+SIZE (hectorm-hblock-v3.2.0_GH0.tar.gz) = 755740



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