- Update to 2.1.6
- Remove 'files/patch-hblock' as this has been addressed upstream PR: 246180 Submitted by: Lewis Cook <vulcan@wired.sh> (maintainer) Approved by: ehaupt (mentor)
This commit is contained in:
parent
8bd04e839e
commit
40e0315810
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=534165
@ -2,7 +2,7 @@
|
||||
|
||||
PORTNAME= hblock
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 2.1.5
|
||||
DISTVERSION= 2.1.6
|
||||
CATEGORIES= net
|
||||
|
||||
MAINTAINER= vulcan@wired.sh
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1586119738
|
||||
SHA256 (hectorm-hblock-v2.1.5_GH0.tar.gz) = e06cca83d5f11565abdcde1924c294ef8c628833834be411531a5c4a893d1bfe
|
||||
SIZE (hectorm-hblock-v2.1.5_GH0.tar.gz) = 400446
|
||||
TIMESTAMP = 1588606288
|
||||
SHA256 (hectorm-hblock-v2.1.6_GH0.tar.gz) = 47fb10ac91b54ec41d1880184eb683c7bfc62f74b19c45ec2044745f8c58f139
|
||||
SIZE (hectorm-hblock-v2.1.6_GH0.tar.gz) = 400631
|
||||
|
@ -1,18 +0,0 @@
|
||||
Remove curl/wget and use base system fetch instead.
|
||||
|
||||
--- hblock.orig 2020-02-22 10:40:05 UTC
|
||||
+++ hblock
|
||||
@@ -138,12 +138,7 @@ fetchUrl() {
|
||||
if [ "${1#file://}" != "${1:?}" ]; then cat -- "${1#file://}"
|
||||
else
|
||||
userAgent='Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0'
|
||||
- if exists curl; then curl -fsSL -A "${userAgent:?}" -- "${1:?}";
|
||||
- elif exists wget; then wget -qO- -U "${userAgent:?}" -- "${1:?}";
|
||||
- else
|
||||
- logError 'Either wget or curl are required for this script'
|
||||
- exit 1
|
||||
- fi
|
||||
+ fetch -qo - --user-agent="${userAgent:?}" -- "${1:?}";
|
||||
fi
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user