libnetfilter_log: update to 1.0.2.

This commit is contained in:
Duncaen 2023-04-10 18:18:32 +02:00
parent 8dac2e89fa
commit 40a89b38e4
No known key found for this signature in database
GPG Key ID: 335C1D17EC3D6E35
3 changed files with 8 additions and 47 deletions

View File

@ -1,21 +0,0 @@
From 7529487f70e244cd31ef84b037b1c32749c134a7 Mon Sep 17 00:00:00 2001
From: Eric Leblond <eric@regit.org>
Date: Sun, 4 Nov 2012 09:29:44 +0100
Subject: Add include needed for integer type definition.
diff --git a/include/libnetfilter_log/libnetfilter_log.h b/include/libnetfilter_log/libnetfilter_log.h
index 6b0d3b0..a1331de 100644
--- a/include/libnetfilter_log/libnetfilter_log.h
+++ b/include/libnetfilter_log/libnetfilter_log.h
@@ -9,6 +9,7 @@
#ifndef __LIBNETFILTER_LOG_H
#define __LIBNETFILTER_LOG_H
+#include <sys/types.h>
#include <libnetfilter_log/linux_nfnetlink_log.h>
struct nflog_handle;
--
cgit v0.10.2

View File

@ -1,14 +0,0 @@
diff --git a/include/libnetfilter_log/libipulog.h b/include/libnetfilter_log/libipulog.h
index 8a4ae2a..0994b4a 100644
--- a/include/libnetfilter_log/libipulog.h
+++ b/include/libnetfilter_log/libipulog.h
@@ -5,6 +5,8 @@
#include <unistd.h>
#include <fcntl.h>
+#include <sys/types.h> /* for u_int*_t */
+
/* FIXME: glibc sucks */
#ifndef MSG_TRUNC
#define MSG_TRUNC 0x20

View File

@ -1,20 +1,16 @@
# Template file for 'libnetfilter_log' # Template file for 'libnetfilter_log'
pkgname=libnetfilter_log pkgname=libnetfilter_log
version=1.0.1 version=1.0.2
revision=2 revision=1
build_style=gnu-configure build_style=gnu-configure
maintainer="Orphaned <orphan@voidlinux.org>"
hostmakedepends="pkg-config" hostmakedepends="pkg-config"
makedepends="libnfnetlink-devel" makedepends="libnfnetlink-devel libmnl-devel libnetfilter_conntrack-devel"
license="GPL-2" short_desc="UInterface to packets that have been logged by the kernel packet filter"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://www.netfilter.org/projects/libnetfilter_log/index.html" homepage="http://www.netfilter.org/projects/libnetfilter_log/index.html"
short_desc="A userspace library providing interface to packets that have been logged by the kernel packet filter" distfiles="http://www.netfilter.org/projects/libnetfilter_log/files/libnetfilter_log-${version}.tar.bz2"
distfiles="http://www.netfilter.org/projects/${pkgname}/files/${pkgname}-${version}.tar.bz2" checksum=e3f408575614d849e4726b45e90c7ebb0e6744b04859555a9ce6ec40744ffeea
checksum=74e0fe75753dba3ac114531b5e73240452c789a3f3adccf5c51217da1d933b21
pre_configure() {
sed -i 's/u_int\([0-9]*\)_t/uint\1_t/' utils/* src/* include/libnetfilter_log/*
}
libnetfilter_log-devel_package() { libnetfilter_log-devel_package() {
depends="${sourcepkg}>=${version}_${revision} libnfnetlink-devel" depends="${sourcepkg}>=${version}_${revision} libnfnetlink-devel"