Skip to content

Commit 759a7b8

Browse files
committed
3.4.1
1 parent 8c57cce commit 759a7b8

File tree

6 files changed

+32
-31
lines changed

6 files changed

+32
-31
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ hBlock is available in various package managers. Please check the [PACKAGES.md](
3535
The latest available version can also be installed manually by running the following commands:
3636

3737
```sh
38-
curl -o /tmp/hblock 'https://raw.githubusercontent.com/hectorm/hblock/v3.4.0/hblock' \
39-
&& echo '4031d86cd04fd7c6cb1b7e9acb1ffdbe9a3f84f693bfb287c68e1f1fa2c14c3b /tmp/hblock' | shasum -c \
38+
curl -o /tmp/hblock 'https://raw.githubusercontent.com/hectorm/hblock/v3.4.1/hblock' \
39+
&& echo 'bb1f6fcafdcba6f7bd9e12613fc92b02a0a0da1263b0e44d209cb40d8715d647 /tmp/hblock' | shasum -c \
4040
&& sudo mv /tmp/hblock /usr/local/bin/hblock \
4141
&& sudo chown 0:0 /usr/local/bin/hblock \
4242
&& sudo chmod 755 /usr/local/bin/hblock

hblock

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set -eu
44
export LC_ALL='C'
55

66
# Metadata.
7-
if [ -z "${HBLOCK_VERSION+x}" ]; then HBLOCK_VERSION='3.4.0'; fi
7+
if [ -z "${HBLOCK_VERSION+x}" ]; then HBLOCK_VERSION='3.4.1'; fi
88
if [ -z "${HBLOCK_AUTHOR+x}" ]; then HBLOCK_AUTHOR='Héctor Molinero Fernández <[email protected]>'; fi
99
if [ -z "${HBLOCK_LICENSE+x}" ]; then HBLOCK_LICENSE='MIT, https://opensource.org/licenses/MIT'; fi
1010
if [ -z "${HBLOCK_REPOSITORY+x}" ]; then HBLOCK_REPOSITORY='https://github.com/hectorm/hblock'; fi

hblock.1

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.2.
2-
.TH HBLOCK "1" "June 2022" "hBlock 3.4.0" "User Commands"
1+
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3.
2+
.TH HBLOCK "1" "January 2023" "hBlock 3.4.1" "User Commands"
33
.SH NAME
4-
hBlock \- manual page for hBlock 3.4.0
4+
hBlock \- manual page for hBlock 3.4.1
55
.SH SYNOPSIS
66
.B hblock
77
[\fI\,OPTION\/\fR]...

hblock.1.md

+24-23
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# NAME
22

3-
hBlock - manual page for hBlock 3.4.0
3+
hBlock - manual page for hBlock 3.4.1
44

55
# SYNOPSIS
66

@@ -15,15 +15,15 @@ from connecting to them.
1515

1616
# OPTIONS
1717

18-
**-O**, **--output** \<FILE\|-\>, ${HBLOCK_OUTPUT_FILE}
18+
**-O**, **--output** \<FILE\|-\>, \${HBLOCK_OUTPUT_FILE}
1919

2020
> Output file location.
2121
>
2222
> If equals "-", it is printed to stdout.
2323
>
2424
> (default: */etc/hosts*)
2525
26-
**-H**, **--header** \<FILE\|builtin\|none\|-\>, ${HBLOCK_HEADER_FILE}
26+
**-H**, **--header** \<FILE\|builtin\|none\|-\>, \${HBLOCK_HEADER_FILE}
2727

2828
> File to be included at the beginning of the output file.
2929
>
@@ -36,13 +36,13 @@ from connecting to them.
3636
> If unspecified and any of the following files exists, its content is
3737
> used.
3838
>
39-
> ${XDG_CONFIG_HOME}/hblock/header
39+
> \${XDG_CONFIG_HOME}/hblock/header
4040
>
4141
> */etc/hblock/header*
4242
>
4343
> (default: builtin)
4444
45-
**-F**, **--footer** \<FILE\|builtin\|none\|-\>, ${HBLOCK_FOOTER_FILE}
45+
**-F**, **--footer** \<FILE\|builtin\|none\|-\>, \${HBLOCK_FOOTER_FILE}
4646

4747
> File to be included at the end of the output file.
4848
>
@@ -55,13 +55,14 @@ from connecting to them.
5555
> If unspecified and any of the following files exists, its content is
5656
> used.
5757
>
58-
> ${XDG_CONFIG_HOME}/hblock/footer
58+
> \${XDG_CONFIG_HOME}/hblock/footer
5959
>
6060
> */etc/hblock/footer*
6161
>
6262
> (default: builtin)
6363
64-
**-S**, **--sources** \<FILE\|builtin\|none\|-\>, ${HBLOCK_SOURCES_FILE}
64+
**-S**, **--sources** \<FILE\|builtin\|none\|-\>,
65+
\${HBLOCK_SOURCES_FILE}
6566

6667
> File with line separated URLs used to generate the blocklist.
6768
>
@@ -74,14 +75,14 @@ from connecting to them.
7475
> If unspecified and any of the following files exists, its content is
7576
> used.
7677
>
77-
> ${XDG_CONFIG_HOME}/hblock/sources.list
78+
> \${XDG_CONFIG_HOME}/hblock/sources.list
7879
>
7980
> */etc/hblock/sources.list*
8081
>
8182
> (default: builtin)
8283
8384
**-A**, **--allowlist** \<FILE\|builtin\|none\|-\>,
84-
${HBLOCK_ALLOWLIST_FILE}
85+
\${HBLOCK_ALLOWLIST_FILE}
8586

8687
> File with line separated entries to be removed from the blocklist.
8788
>
@@ -94,14 +95,14 @@ ${HBLOCK_ALLOWLIST_FILE}
9495
> If unspecified and any of the following files exists, its content is
9596
> used.
9697
>
97-
> ${XDG_CONFIG_HOME}/hblock/allow.list
98+
> \${XDG_CONFIG_HOME}/hblock/allow.list
9899
>
99100
> */etc/hblock/allow.list*
100101
>
101102
> (default: builtin)
102103
103104
**-D**, **--denylist** \<FILE\|builtin\|none\|-\>,
104-
${HBLOCK_DENYLIST_FILE}
105+
\${HBLOCK_DENYLIST_FILE}
105106

106107
> File with line separated entries to be added to the blocklist.
107108
>
@@ -114,78 +115,78 @@ ${HBLOCK_DENYLIST_FILE}
114115
> If unspecified and any of the following files exists, its content is
115116
> used.
116117
>
117-
> ${XDG_CONFIG_HOME}/hblock/deny.list
118+
> \${XDG_CONFIG_HOME}/hblock/deny.list
118119
>
119120
> */etc/hblock/deny.list*
120121
>
121122
> (default: builtin)
122123
123-
**-R**, **--redirection** \<REDIRECTION\>, ${HBLOCK_REDIRECTION}
124+
**-R**, **--redirection** \<REDIRECTION\>, \${HBLOCK_REDIRECTION}
124125

125126
> Redirection for all entries in the blocklist.
126127
>
127128
> (default: 0.0.0.0)
128129
129-
**-W**, **--wrap** \<NUMBER\>, ${HBLOCK_WRAP}
130+
**-W**, **--wrap** \<NUMBER\>, \${HBLOCK_WRAP}
130131

131132
> Break blocklist lines after this number of entries.
132133
>
133134
> (default: 1)
134135
135-
**-T**, **--template** \<TEMPLATE\>, ${HBLOCK_TEMPLATE}
136+
**-T**, **--template** \<TEMPLATE\>, \${HBLOCK_TEMPLATE}
136137

137138
> Template applied to each entry.
138139
>
139140
> %D = \<DOMAIN\>, %R = \<REDIRECTION\>
140141
>
141142
> (default: %R %D)
142143
143-
**-C**, **--comment** \<COMMENT\>, ${HBLOCK_COMMENT}
144+
**-C**, **--comment** \<COMMENT\>, \${HBLOCK_COMMENT}
144145

145146
> Character used for comments.
146147
>
147148
> (default: \#)
148149
149-
**-l**, **--\[no-\]lenient**, ${HBLOCK_LENIENT}
150+
**-l**, **--\[no-\]lenient**, \${HBLOCK_LENIENT}
150151

151152
> Match all entries from sources regardless of their IP, instead of
152153
> 0.0.0.0, 127.0.0.1, ::, ::1 or nothing.
153154
>
154155
> (default: false)
155156
156-
**-r**, **--\[no-\]regex**, ${HBLOCK_REGEX}
157+
**-r**, **--\[no-\]regex**, \${HBLOCK_REGEX}
157158

158159
> Use POSIX BREs in the allowlist instead of fixed strings.
159160
>
160161
> (default: false)
161162
162-
**-f**, **--\[no-\]filter-subdomains**, ${HBLOCK_FILTER_SUBDOMAINS}
163+
**-f**, **--\[no-\]filter-subdomains**, \${HBLOCK_FILTER_SUBDOMAINS}
163164

164165
> Do not include subdomains when the parent domain is also blocked.
165166
> Useful for reducing the blocklist size in cases such as when DNS
166167
> blocking makes these subdomains redundant.
167168
>
168169
> (default: false)
169170
170-
**-c**, **--\[no-\]continue**, ${HBLOCK_CONTINUE}
171+
**-c**, **--\[no-\]continue**, \${HBLOCK_CONTINUE}
171172

172173
> Do not abort if a download error occurs.
173174
>
174175
> (default: false)
175176
176-
**-p**, **--parallel**, ${HBLOCK_PARALLEL}
177+
**-p**, **--parallel**, \${HBLOCK_PARALLEL}
177178

178179
> Maximum concurrency for parallel downloads.
179180
>
180181
> (default: 4)
181182
182-
**-q**, **--\[no-\]quiet**, ${HBLOCK_QUIET}
183+
**-q**, **--\[no-\]quiet**, \${HBLOCK_QUIET}
183184

184185
> Suppress non-error messages.
185186
>
186187
> (default: false)
187188
188-
**-x**, **--color** \<auto\|true\|false\>, ${HBLOCK_COLOR}
189+
**-x**, **--color** \<auto\|true\|false\>, \${HBLOCK_COLOR}
189190

190191
> Colorize the output.
191192
>

hblock.sha256

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4031d86cd04fd7c6cb1b7e9acb1ffdbe9a3f84f693bfb287c68e1f1fa2c14c3b hblock
1+
bb1f6fcafdcba6f7bd9e12613fc92b02a0a0da1263b0e44d209cb40d8715d647 hblock

resources/systemd/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ The following commands will schedule a daily update of the hosts file. See [this
44
more information about systemd timers.
55

66
```sh
7-
curl -o '/tmp/hblock.#1' 'https://raw.githubusercontent.com/hectorm/hblock/v3.4.0/resources/systemd/hblock.{service,timer}' \
7+
curl -o '/tmp/hblock.#1' 'https://raw.githubusercontent.com/hectorm/hblock/v3.4.1/resources/systemd/hblock.{service,timer}' \
88
&& echo '45980a80506df48cbfa6dd18d20f0ad4300744344408a0f87560b2be73b7c607 /tmp/hblock.service' | shasum -c \
99
&& echo '87a7ba5067d4c565aca96659b0dce230471a6ba35fbce1d3e9d02b264da4dc38 /tmp/hblock.timer' | shasum -c \
1010
&& sudo mv /tmp/hblock.{service,timer} /etc/systemd/system/ \

0 commit comments

Comments
 (0)