net-dns/hash-slinger - 3.5 (gentoo)

Search

Install

Install this version:

emerge -a =net-dns/hash-slinger-3.5

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =net-dns/hash-slinger-3.5

Or alternatively:

emerge --autounmask-write -a =net-dns/hash-slinger-3.5

Package Information

Description:
Various tools to generate DNS records like SSHFP, TLSA, OPENPGPKEY, IPSECKEY
Homepage:
https://github.com/letoams/hash-slinger
License:
GPL-2+

Ebuild Details

Version EAPI Keywords Slot
3.5 8 ~amd64 ~arm ~x86 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

PYTHON_COMPAT=( python3_{11..14} )

inherit python-single-r1

DESCRIPTION="Various tools to generate DNS records like SSHFP, TLSA, OPENPGPKEY, IPSECKEY"
HOMEPAGE="https://github.com/letoams/hash-slinger"
SRC_URI="https://github.com/letoams/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE="ipsec +openpgp +ssh"

REQUIRED_USE="${PYTHON_REQUIRED_USE}"

RDEPEND="
	${PYTHON_DEPS}
	$(python_gen_cond_dep '
		dev-python/cryptography[${PYTHON_USEDEP}]
		dev-python/dnspython[${PYTHON_USEDEP}]
	')
	net-dns/unbound[python,${PYTHON_SINGLE_USEDEP}]
	ipsec? ( net-vpn/libreswan[dnssec] )
	openpgp? ( $(python_gen_cond_dep 'dev-python/python-gnupg[${PYTHON_USEDEP}]') )
	ssh? ( virtual/openssh )
"

PATCHES=(
	"${FILESDIR}"/${P}-exception.patch
)

src_install() {
	local tools tool

	tools="tlsa"

	use ssh	&& tools+=" sshfp"
	use openpgp && tools+=" openpgpkey"
	use ipsec && tools+=" ipseckey"

	for tool in $tools ; do
		doman ${tool}.1
		python_doscript ${tool}
	done

	dodoc BUGS CHANGES README
}

USE Flags

Manage flags for this package: euse -i <flag> -p net-dns/hash-slinger | euse -E <flag> -p net-dns/hash-slinger | euse -D <flag> -p net-dns/hash-slinger

Global/Standard Flags

openpgp
Default: Enabled (+)
ssh
Default: Enabled (+)

Inherited Eclasses

Dependencies

RDEPEND

	${PYTHON_DEPS}
	$(python_gen_cond_dep '
		dev-python/cryptography[${PYTHON_USEDEP}]
		dev-python/dnspython[${PYTHON_USEDEP}]
	')
	net-dns/unbound[python,${PYTHON_SINGLE_USEDEP}]
	ipsec? ( net-vpn/libreswan[dnssec] )
	openpgp? ( $(python_gen_cond_dep 'dev-python/python-gnupg[${PYTHON_USEDEP}]') )
	ssh? ( virtual/openssh )

Manifest for 3.5

Type File Size Source URLs
DIST hash-slinger-3.5.tar.gz 39226 bytes https://github.com/letoams/hash-slinger/archive/3.5.tar.gz