1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-14 07:43:06 +00:00

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
This commit is contained in:
Lewis Cook 2021-01-24 12:18:09 +00:00
parent 6be5f0c8cf
commit e35eb8c716
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=562466
2 changed files with 12 additions and 8 deletions

View File

@ -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

View File

@ -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