net-firewall/hblock: bump to 2.1.7
Package-Manager: Portage-3.0.5, Repoman-2.3.23 Signed-off-by: Maciej Barć <xgqt@protonmail.com>
This commit is contained in:
parent
1bc49473a4
commit
fe64f1a162
@ -1 +1,2 @@
|
|||||||
DIST hblock-2.1.5.tar.gz 400446 BLAKE2B bc92732543c4b516c898edc05a0a5a62a93cfa9e8dde8136d6a4be7e98dece9d0d494c50d00934bb1a54ae85cb2bba1dd0b3e8507a748385981fb583c9f8f2bc SHA512 075e2bd84f8a63ab7d89f06582a9cf248d80bffa60134e0133fc199eda30af37e49a2cd553cd25a4988d025532e0c3ca78fcb3d2f9be01594415634f8d5162c0
|
DIST hblock-2.1.5.tar.gz 400446 BLAKE2B bc92732543c4b516c898edc05a0a5a62a93cfa9e8dde8136d6a4be7e98dece9d0d494c50d00934bb1a54ae85cb2bba1dd0b3e8507a748385981fb583c9f8f2bc SHA512 075e2bd84f8a63ab7d89f06582a9cf248d80bffa60134e0133fc199eda30af37e49a2cd553cd25a4988d025532e0c3ca78fcb3d2f9be01594415634f8d5162c0
|
||||||
|
DIST hblock-2.1.7.tar.gz 400671 BLAKE2B c0c15eb88225c8f24f07362244c1c1059a70cb9406dab1468f15fb4590e824dc329b47db2be688b881a2d815d1e69a13074aba4b1f5705a7e490ce7fa342ec5e SHA512 5ab81fb7d5342ce0f75990e7d676180d4a1795bc8c7f3fb272475498483420e40a8a93abd729a7bd00a596bbd995a65c299c6ca96da6188f7cf8fff6512bf488
|
||||||
|
59
net-firewall/hblock/hblock-2.1.7.ebuild
Normal file
59
net-firewall/hblock/hblock-2.1.7.ebuild
Normal file
@ -0,0 +1,59 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit eutils 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"
|
||||||
|
KEYWORDS=""
|
||||||
|
else
|
||||||
|
SRC_URI="https://github.com/hectorm/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
fi
|
||||||
|
|
||||||
|
RESTRICT="mirror"
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
COMMON_DEPEND="
|
||||||
|
sys-apps/baselayout
|
||||||
|
"
|
||||||
|
DEPEND="
|
||||||
|
${COMMON_DEPEND}
|
||||||
|
sys-apps/coreutils
|
||||||
|
"
|
||||||
|
RDEPEND="
|
||||||
|
${COMMON_DEPEND}
|
||||||
|
"
|
||||||
|
|
||||||
|
DOCS=(
|
||||||
|
README.md
|
||||||
|
)
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
# Upstream provides shasums in the repo - let's use them
|
||||||
|
cd "${S}" || die
|
||||||
|
sha256sum -c "${S}"/SHA256SUMS || die "Shasum check failed"
|
||||||
|
cd "${S}"/resources/systemd || die
|
||||||
|
sha256sum -c "${S}"/resources/systemd/SHA256SUMS || die "Shasum check failed"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
:
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
exeinto "/usr/bin"
|
||||||
|
doexe "${PN}"
|
||||||
|
systemd_dounit "${S}"/resources/systemd/hblock.service
|
||||||
|
systemd_dounit "${S}"/resources/systemd/hblock.timer
|
||||||
|
einstalldocs
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user