mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-17 01:46:58 +02:00
net-libs/libnetfilter_queue: Sync with gentoo
It's from gentoo commit 38b155fa1bf907617067c98eb4ba3a5d0790eb1a.
This commit is contained in:
parent
362b9decf6
commit
7bd9ab570a
@ -1,2 +1,3 @@
|
|||||||
DIST libnetfilter_queue-1.0.2.tar.bz2 354201 BLAKE2B 5df5a94ca07a6fb919d8a153143a0e340c323bac6491c3d03f9d871eb3c31e85ab0290cc6f67f678038605e829af0dfbfbb966b1a6b9bb76ea7acc4275a7d3a4 SHA512 89fec4d943b85f35e7cef3b1b9071b1280c6e1b282b7e5cb97eb17d05b9ddd175194639ead986767d27152540fe8e167383a1f7bbfe3cdf874a5a42a2c096f11
|
|
||||||
DIST libnetfilter_queue-1.0.3.tar.bz2 314857 BLAKE2B c25b0395b13af3cecb960c39bcbc4f10a3f203aad7acaeb277346423310700d9abb5b8a65f27b008e5f45194aa6e0fd6a99c8ad25a1e3200904be70c5c6ddaa4 SHA512 1d9e0202878bc0ae26ceecd0f4fa4c21f89056e5671d46949f92f21c155d589958b7775760fc837547da34eb9a81e537e95c770d25c166e709dad16de4ca452e
|
DIST libnetfilter_queue-1.0.3.tar.bz2 314857 BLAKE2B c25b0395b13af3cecb960c39bcbc4f10a3f203aad7acaeb277346423310700d9abb5b8a65f27b008e5f45194aa6e0fd6a99c8ad25a1e3200904be70c5c6ddaa4 SHA512 1d9e0202878bc0ae26ceecd0f4fa4c21f89056e5671d46949f92f21c155d589958b7775760fc837547da34eb9a81e537e95c770d25c166e709dad16de4ca452e
|
||||||
|
DIST libnetfilter_queue-1.0.4.tar.bz2 312699 BLAKE2B 29d553c36af551cbaa3b1b4382ad38d6ea7402efafa5ff4ae99c6f05d0ddd15d24b007a4ccdcbc21b8bd9cea28859668a27a6fae4e6534f68dea79d6d0a02789 SHA512 5d81d8e8190a80c9b42bc851a87cc4f749709803b8c9964508013bafb033f1b51b65222a244885f321a2be90517c6a636533ff72b653935a2b8d819560a51187
|
||||||
|
DIST libnetfilter_queue-1.0.5.tar.bz2 313856 BLAKE2B 0d7806fd23961f6b80f6ef63faf0fe10307a34495337a7f6dd4f0eb76b5ba8a96292b86285e0740f83414417810e47f47b1400c7d83fb4d8fc6f58954f4bd9df SHA512 732a44b602e5efaa4f5582ea25ff8f5ec8f4dca5c0e725cd93fe2d441db80416b25c6018147be90acb262d7428eb5b21b3f7b5920e612d115061ec6a19d67f85
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# 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=6
|
EAPI=6
|
||||||
@ -10,7 +10,7 @@ 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 ~mips ~ppc ~ppc64 ~sparc ~x86"
|
KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~mips ppc ppc64 ~sparc x86"
|
||||||
IUSE="static-libs"
|
IUSE="static-libs"
|
||||||
|
|
||||||
RDEPEND="
|
RDEPEND="
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
# Copyright 1999-2020 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 autotools-utils linux-info
|
inherit linux-info
|
||||||
|
|
||||||
DESCRIPTION="API to packets that have been queued by the kernel packet filter"
|
DESCRIPTION="API to packets that have been queued by the kernel packet filter"
|
||||||
HOMEPAGE="https://www.netfilter.org/projects/libnetfilter_queue/"
|
HOMEPAGE="https://www.netfilter.org/projects/libnetfilter_queue/"
|
||||||
@ -10,19 +10,30 @@ 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 ~ppc ~ppc64 ~sparc x86"
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
|
||||||
IUSE="static-libs"
|
IUSE="static-libs"
|
||||||
|
|
||||||
RDEPEND="
|
RDEPEND="
|
||||||
>=net-libs/libmnl-1.0.3
|
>=net-libs/libmnl-1.0.3
|
||||||
>=net-libs/libnfnetlink-0.0.41
|
>=net-libs/libnfnetlink-0.0.41
|
||||||
"
|
"
|
||||||
DEPEND="${RDEPEND}
|
DEPEND="
|
||||||
virtual/pkgconfig"
|
${RDEPEND}
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
app-doc/doxygen
|
||||||
|
virtual/pkgconfig
|
||||||
|
"
|
||||||
CONFIG_CHECK="~NETFILTER_NETLINK_QUEUE"
|
CONFIG_CHECK="~NETFILTER_NETLINK_QUEUE"
|
||||||
|
|
||||||
pkg_setup() {
|
pkg_setup() {
|
||||||
linux-info_pkg_setup
|
linux-info_pkg_setup
|
||||||
kernel_is lt 2 6 14 && ewarn "requires at least 2.6.14 kernel version"
|
kernel_is lt 2 6 14 && ewarn "requires at least 2.6.14 kernel version"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
# hack for script that was not distributed
|
||||||
|
[[ -x fixmanpages.sh ]] || ln -s $(type -P true) fixmanpages.sh
|
||||||
|
}
|
@ -0,0 +1,41 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
inherit linux-info
|
||||||
|
|
||||||
|
DESCRIPTION="API to packets that have been queued by the kernel packet filter"
|
||||||
|
HOMEPAGE="https://www.netfilter.org/projects/libnetfilter_queue/"
|
||||||
|
SRC_URI="https://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~mips ppc ppc64 ~riscv ~sparc x86"
|
||||||
|
IUSE="doc static-libs"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=net-libs/libmnl-1.0.3
|
||||||
|
>=net-libs/libnfnetlink-0.0.41
|
||||||
|
"
|
||||||
|
DEPEND="
|
||||||
|
${RDEPEND}
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
doc? ( app-doc/doxygen )
|
||||||
|
virtual/pkgconfig
|
||||||
|
"
|
||||||
|
CONFIG_CHECK="~NETFILTER_NETLINK_QUEUE"
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
linux-info_pkg_setup
|
||||||
|
kernel_is lt 2 6 14 && ewarn "requires at least 2.6.14 kernel version"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
econf $(use_with doc doxygen)
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
default
|
||||||
|
find "${ED}" -name '*.la' -delete || die
|
||||||
|
}
|
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user