From adff56fcfa41c33925b2a95426d735aa31a186ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Bar=C4=87?= Date: Mon, 18 Jan 2021 13:43:19 +0100 Subject: [PATCH] net-firewall/hblock: bump to 3.1.3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Maciej Barć --- net-firewall/hblock/Manifest | 1 + net-firewall/hblock/hblock-3.1.3.ebuild | 45 +++++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 net-firewall/hblock/hblock-3.1.3.ebuild diff --git a/net-firewall/hblock/Manifest b/net-firewall/hblock/Manifest index ce9e830..08d67f6 100644 --- a/net-firewall/hblock/Manifest +++ b/net-firewall/hblock/Manifest @@ -1,2 +1,3 @@ DIST hblock-3.1.0.tar.gz 761993 BLAKE2B cb463372fe26a4c41f772f85c0efefc8172b5794f32005918017d74f7426a8a1067e55c9f53f93208ac6dff9842e2de137ee7d043240bb2caa0d4c610fb37439 SHA512 9e2299986171186a036002fbc25bbc2b91b6b80f9995fb6ef328a1d75f3857add45327a6ae398ca6b16b54d178ec2f7225dbff42aa136ccea81d7a7682d1406e DIST hblock-3.1.2.tar.gz 761158 BLAKE2B fada4817ba5d30ff4f907aef6ea32428210af080b2438ef2d20d7427b7258597fef8e3834bdc995bdba0272ce35254fc0191f3472bb1d8fb93cc8b4277768ac8 SHA512 6c4d0286db48b43198b8363a227110440db6fd885a2b9a505ab59a81a38b62b61b18686fe6b047364b0c389dbf606e3f647e6c77abbb1655bffea926d4d7a9f4 +DIST hblock-3.1.3.tar.gz 761144 BLAKE2B 83c3c0ba8a4b63e4cbc76bfbb822f05445a78679dbe3f60ee75c5da710bc63eff4156b60a938d203a9020c607dff07d6c2a24148fc52a4aeeb310889a0b32b72 SHA512 b71229a85965b17162e8b797d0170ad4b565411b93707e43d277cdc061f95449435b4212ed5ca77980da74e673e950f8b074bd1761b8e9caf826db340e7a4e83 diff --git a/net-firewall/hblock/hblock-3.1.3.ebuild b/net-firewall/hblock/hblock-3.1.3.ebuild new file mode 100644 index 0000000..2fc53ce --- /dev/null +++ b/net-firewall/hblock/hblock-3.1.3.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit systemd + +DESCRIPTION="Improve your security and privacy by blocking ads, tracking and malware domains" +HOMEPAGE="https://hblock.molinero.dev/" + +if [[ "${PV}" == *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/hectorm/${PN}.git" +else + SRC_URI="https://github.com/hectorm/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi + +RESTRICT="binchecks mirror strip test" +LICENSE="MIT" +SLOT="0" + +DEPEND=" + sys-apps/baselayout +" +BDEPEND=" + ${DEPEND} + sys-apps/coreutils +" +RDEPEND=" + ${DEPEND} +" + +src_compile() { + : +} + +src_install() { + einstalldocs + + dobin "${PN}" + + systemd_dounit "${S}"/resources/systemd/hblock.service + systemd_dounit "${S}"/resources/systemd/hblock.timer +}