libnfnetlink: update to 1.0.2.

This commit is contained in:
André Cerqueira 2023-01-22 21:21:38 +00:00 committed by classabbyamp
parent bc79eb3166
commit 8c6199fe5c
1 changed files with 4 additions and 10 deletions

View File

@ -1,20 +1,14 @@
# Template file for 'libnfnetlink'
pkgname=libnfnetlink
version=1.0.1
revision=4
version=1.0.2
revision=1
build_style=gnu-configure
short_desc="Low-level library for netfilter kernel/userspace communication"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-only"
homepage="http://www.netfilter.org/projects/libnfnetlink/index.html"
distfiles="http://www.netfilter.org/projects/${pkgname}/files/${pkgname}-${version}.tar.bz2"
checksum=f270e19de9127642d2a11589ef2ec97ef90a649a74f56cf9a96306b04817b51a
pre_configure() {
sed -e "/#include <linux\/netlink.h>/i #include <stdint.h>" \
-i ${wrksrc}/include/libnfnetlink/libnfnetlink.h
find ${wrksrc} -type f -exec sed -e "s;u_int;uint;g" -i "{}" \;
}
distfiles="http://www.netfilter.org/projects/libnfnetlink/files/libnfnetlink-${version}.tar.bz2"
checksum=b064c7c3d426efb4786e60a8e6859b82ee2f2c5e49ffeea640cfe4fe33cbc376
libnfnetlink-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"