net-libs/libnetfilter_cthelper: Sync with gentoo

It's from gentoo commit 838e3fbb193df477c295b3bd9f812a4e7cc9b367.
This commit is contained in:
Krzesimir Nowak 2022-03-09 20:08:22 +01:00
parent 0d16d923df
commit 476a3a0f62
3 changed files with 8 additions and 34 deletions

View File

@ -1,22 +1,21 @@
# Copyright 1999-2018 Gentoo Foundation # Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
EAPI="5" EAPI=7
inherit linux-info autotools-utils inherit linux-info
DESCRIPTION="userspace library that provides the programming interface to the user-space helper infrastructure" DESCRIPTION="Userspace library for interface to user-space helper for conntrack"
HOMEPAGE="https://www.netfilter.org/projects/libnetfilter_cthelper/" HOMEPAGE="https://www.netfilter.org/projects/libnetfilter_cthelper/"
SRC_URI="https://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2" SRC_URI="https://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2"
LICENSE="GPL-2" LICENSE="GPL-2"
SLOT="0" SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~x86" KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ppc ppc64 ~riscv x86"
IUSE="static-libs"
BDEPEND="virtual/pkgconfig"
RDEPEND="net-libs/libmnl:=" RDEPEND="net-libs/libmnl:="
DEPEND="${RDEPEND} DEPEND="${RDEPEND}"
virtual/pkgconfig"
PATCHES=( PATCHES=(
"${FILESDIR}"/${P}-clang-export.patch "${FILESDIR}"/${P}-clang-export.patch

View File

@ -1,25 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit linux-info autotools-utils
DESCRIPTION="userspace library that provides the programming interface to the user-space helper infrastructure"
HOMEPAGE="https://www.netfilter.org/projects/libnetfilter_cthelper/"
SRC_URI="https://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm hppa x86"
IUSE="static-libs"
RDEPEND="net-libs/libmnl"
DEPEND="${RDEPEND}
virtual/pkgconfig"
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"
}

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata> <pkgmetadata>
<maintainer type="project"> <maintainer type="project">
<email>netmon@gentoo.org</email> <email>netmon@gentoo.org</email>