mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
net-dns/inadyn: drop 2.12.0
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST inadyn-2.12.0.tar.gz 506723 BLAKE2B 35fc5f8f9298cfb5ff7bf4c569fbd0495c2591a1fd630919bae8dabff03a0e41c512d304d2519be688bff3c41427f13b0a66738b785e1d28e0ec4d3901f05488 SHA512 940e49cd2c434f57a56494e1946939f0d773deeb489939c957c0e1eac135177ab3c446e967daa01a56fde5490568761c1492646bae1bb2f63688e0e9121ef8fe
|
||||
DIST inadyn-2.12.0.tar.xz 341904 BLAKE2B 2bb1e8f16784c41cb2810c3ed2a52ef12823277082b33a9436a330caad4b4f76034ab3e7f9fefb4dffc0fbf5968f4fb60967f784ce3682f165666c8c0744fcc9 SHA512 309ad6deca4831cbbfb4f4c0b4fcc1ba69fd46a47dc329b20b5e74acdcaf32e7bef435abdc89d2924b576d166095b61bdb7a74cc698a805659c47e7d6a4fe907
|
||||
|
||||
@@ -1,67 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit systemd tmpfiles
|
||||
|
||||
DESCRIPTION="Dynamic DNS client with multiple SSL/TLS library support"
|
||||
HOMEPAGE="https://github.com/troglobit/inadyn"
|
||||
SRC_URI="https://github.com/troglobit/inadyn/releases/download/v${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
IUSE="gnutls mbedtls openssl"
|
||||
REQUIRED_USE="?? ( gnutls mbedtls openssl )"
|
||||
|
||||
DEPEND="
|
||||
acct-group/inadyn
|
||||
acct-user/inadyn
|
||||
dev-libs/confuse:=
|
||||
gnutls? (
|
||||
dev-libs/nettle:=
|
||||
net-libs/gnutls:0=
|
||||
)
|
||||
mbedtls? ( net-libs/mbedtls:0= )
|
||||
openssl? ( dev-libs/openssl:0= )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=( "--disable-ssl" )
|
||||
if use gnutls || use mbedtls || use openssl; then
|
||||
local myeconfargs=( "--enable-ssl" )
|
||||
fi
|
||||
|
||||
if use mbedtls; then
|
||||
myeconfargs+=( "--enable-mbedtls" )
|
||||
|
||||
# MbedTLS has no support for pkg-config
|
||||
myeconfargs+=( MbedTLS_CFLAGS="-I/usr/include/mbedtls" )
|
||||
myeconfargs+=( MbedTLS_LIBS="-lmbedtls" )
|
||||
fi
|
||||
use openssl && myeconfargs+=( "--enable-openssl" )
|
||||
|
||||
myeconfargs+=( --with-systemd="$(systemd_get_systemunitdir)" )
|
||||
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
insinto /etc
|
||||
insopts -m 0600 -o inadyn -g inadyn
|
||||
doins examples/inadyn.conf
|
||||
|
||||
newinitd "${FILESDIR}"/inadyn.initd inadyn
|
||||
newconfd "${FILESDIR}"/inadyn.confd inadyn
|
||||
|
||||
newtmpfiles "${FILESDIR}"/inadyn.tmpfilesd inadyn.conf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
tmpfiles_process inadyn.conf
|
||||
}
|
||||
Reference in New Issue
Block a user