You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
939 B
33 lines
939 B
# Copyright 1999-2022 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
inherit linux-info verify-sig
|
|
|
|
DESCRIPTION="Userspace library for interface to user-space helper for conntrack"
|
|
HOMEPAGE="https://www.netfilter.org/projects/libnetfilter_cthelper/"
|
|
SRC_URI="https://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2
|
|
verify-sig? ( https://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2.sig )"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ppc ppc64 ~riscv x86"
|
|
VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/netfilter.org.asc
|
|
|
|
BDEPEND="virtual/pkgconfig
|
|
verify-sig? ( sec-keys/openpgp-keys-netfilter )"
|
|
RDEPEND="net-libs/libmnl:="
|
|
DEPEND="${RDEPEND}"
|
|
|
|
PATCHES=(
|
|
"${FILESDIR}"/${P}-clang-export.patch
|
|
)
|
|
|
|
CONFIG_CHECK="~NF_CT_NETLINK_HELPER"
|
|
|
|
pkg_setup() {
|
|
linux-info_pkg_setup
|
|
kernel_is lt 3 6 0 && ewarn "requires at least 3.6.0 kernel version"
|
|
}
|