Skip to content

Commit

Permalink
3.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
hectorm committed Apr 23, 2022
1 parent 9d1cc32 commit a52b08f
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 24 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ hBlock is available in various package managers. Please check the [PACKAGES.md](
The latest available version can also be installed manually by running the following commands:

```sh
curl -o /tmp/hblock 'https://raw.githubusercontent.com/hectorm/hblock/v3.3.1/hblock' \
&& echo 'd93effa9a068b82f7d4d97fdcae7a320c6f7a3ae910af8234bca870f33ec55e1 /tmp/hblock' | shasum -c \
curl -o /tmp/hblock 'https://raw.githubusercontent.com/hectorm/hblock/v3.3.2/hblock' \
&& echo '864160641823734378b69da7aa28477771e125af66cf47d5f0f7c8233ef1837f /tmp/hblock' | shasum -c \
&& sudo mv /tmp/hblock /usr/local/bin/hblock \
&& sudo chown 0:0 /usr/local/bin/hblock \
&& sudo chmod 755 /usr/local/bin/hblock
Expand Down
2 changes: 1 addition & 1 deletion hblock
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -eu
export LC_ALL='C'

# Metadata.
if [ -z "${HBLOCK_VERSION+x}" ]; then HBLOCK_VERSION='3.3.1'; fi
if [ -z "${HBLOCK_VERSION+x}" ]; then HBLOCK_VERSION='3.3.2'; fi
if [ -z "${HBLOCK_AUTHOR+x}" ]; then HBLOCK_AUTHOR='Héctor Molinero Fernández <[email protected]>'; fi
if [ -z "${HBLOCK_LICENSE+x}" ]; then HBLOCK_LICENSE='MIT, https://opensource.org/licenses/MIT'; fi
if [ -z "${HBLOCK_REPOSITORY+x}" ]; then HBLOCK_REPOSITORY='https://github.com/hectorm/hblock'; fi
Expand Down
6 changes: 3 additions & 3 deletions hblock.1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.48.5.
.TH HBLOCK "1" "December 2021" "hBlock 3.3.1" "User Commands"
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.2.
.TH HBLOCK "1" "April 2022" "hBlock 3.3.2" "User Commands"
.SH NAME
hBlock \- manual page for hBlock 3.3.1
hBlock \- manual page for hBlock 3.3.2
.SH SYNOPSIS
.B hblock
[\fI\,OPTION\/\fR]...
Expand Down
32 changes: 16 additions & 16 deletions hblock.1.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# NAME

hBlock - manual page for hBlock 3.3.1
hBlock - manual page for hBlock 3.3.2

# SYNOPSIS

Expand All @@ -15,15 +15,15 @@ from connecting to them.

# OPTIONS

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

> Output file location.
>
> If equals "-", it is printed to stdout.
>
> (default: */etc/hosts*)
**-H**, **--header** \<FILE\|builtin\|none\|->, ${HBLOCK_HEADER_FILE}
**-H**, **--header** \<FILE\|builtin\|none\|-\>, ${HBLOCK_HEADER_FILE}

> File to be included at the beginning of the output file.
>
Expand All @@ -42,7 +42,7 @@ from connecting to them.
>
> (default: builtin)
**-F**, **--footer** \<FILE\|builtin\|none\|->, ${HBLOCK_FOOTER_FILE}
**-F**, **--footer** \<FILE\|builtin\|none\|-\>, ${HBLOCK_FOOTER_FILE}

> File to be included at the end of the output file.
>
Expand All @@ -61,7 +61,7 @@ from connecting to them.
>
> (default: builtin)
**-S**, **--sources** \<FILE\|builtin\|none\|->, ${HBLOCK_SOURCES_FILE}
**-S**, **--sources** \<FILE\|builtin\|none\|-\>, ${HBLOCK_SOURCES_FILE}

> File with line separated URLs used to generate the blocklist.
>
Expand All @@ -80,7 +80,7 @@ from connecting to them.
>
> (default: builtin)
**-A**, **--allowlist** \<FILE\|builtin\|none\|->,
**-A**, **--allowlist** \<FILE\|builtin\|none\|-\>,
${HBLOCK_ALLOWLIST_FILE}

> File with line separated entries to be removed from the blocklist.
Expand All @@ -100,7 +100,7 @@ ${HBLOCK_ALLOWLIST_FILE}
>
> (default: builtin)
**-D**, **--denylist** \<FILE\|builtin\|none\|->,
**-D**, **--denylist** \<FILE\|builtin\|none\|-\>,
${HBLOCK_DENYLIST_FILE}

> File with line separated entries to be added to the blocklist.
Expand All @@ -120,31 +120,31 @@ ${HBLOCK_DENYLIST_FILE}
>
> (default: builtin)
**-R**, **--redirection** \<REDIRECTION>, ${HBLOCK_REDIRECTION}
**-R**, **--redirection** \<REDIRECTION\>, ${HBLOCK_REDIRECTION}

> Redirection for all entries in the blocklist.
>
> (default: 0.0.0.0)
**-W**, **--wrap** \<NUMBER>, ${HBLOCK_WRAP}
**-W**, **--wrap** \<NUMBER\>, ${HBLOCK_WRAP}

> Break blocklist lines after this number of entries.
>
> (default: 1)
**-T**, **--template** \<TEMPLATE>, ${HBLOCK_TEMPLATE}
**-T**, **--template** \<TEMPLATE\>, ${HBLOCK_TEMPLATE}

> Template applied to each entry.
>
> %D = \<DOMAIN>, %R = \<REDIRECTION>
> %D = \<DOMAIN\>, %R = \<REDIRECTION\>
>
> (default: %R %D)
**-C**, **--comment** \<COMMENT>, ${HBLOCK_COMMENT}
**-C**, **--comment** \<COMMENT\>, ${HBLOCK_COMMENT}

> Character used for comments.
>
> (default: #)
> (default: \#)
**-l**, **--\[no-\]lenient**, ${HBLOCK_LENIENT}

Expand Down Expand Up @@ -185,7 +185,7 @@ ${HBLOCK_DENYLIST_FILE}
>
> (default: false)
**-x**, **--color** \<auto\|true\|false>, ${HBLOCK_COLOR}
**-x**, **--color** \<auto\|true\|false\>, ${HBLOCK_COLOR}

> Colorize the output.
>
Expand All @@ -201,9 +201,9 @@ ${HBLOCK_DENYLIST_FILE}
# REPORTING BUGS

Report bugs to: \<https://github.com/hectorm/hblock/issues>
Report bugs to: \<https://github.com/hectorm/hblock/issues\>


Author: Héctor Molinero Fernández \<[email protected]>
Author: Héctor Molinero Fernández \<[email protected]\>
License: MIT, https://opensource.org/licenses/MIT
Repository: https://github.com/hectorm/hblock
2 changes: 1 addition & 1 deletion hblock.sha256
Original file line number Diff line number Diff line change
@@ -1 +1 @@
d93effa9a068b82f7d4d97fdcae7a320c6f7a3ae910af8234bca870f33ec55e1 hblock
864160641823734378b69da7aa28477771e125af66cf47d5f0f7c8233ef1837f hblock
2 changes: 1 addition & 1 deletion resources/systemd/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ The following commands will schedule a daily update of the hosts file. See [this
more information about systemd timers.

```sh
curl -o '/tmp/hblock.#1' 'https://raw.githubusercontent.com/hectorm/hblock/v3.3.1/resources/systemd/hblock.{service,timer}' \
curl -o '/tmp/hblock.#1' 'https://raw.githubusercontent.com/hectorm/hblock/v3.3.2/resources/systemd/hblock.{service,timer}' \
&& echo '45980a80506df48cbfa6dd18d20f0ad4300744344408a0f87560b2be73b7c607 /tmp/hblock.service' | shasum -c \
&& echo '87a7ba5067d4c565aca96659b0dce230471a6ba35fbce1d3e9d02b264da4dc38 /tmp/hblock.timer' | shasum -c \
&& sudo mv /tmp/hblock.{service,timer} /etc/systemd/system/ \
Expand Down

0 comments on commit a52b08f

Please sign in to comment.