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 +}