libnetfilter_queue-1.0.3
OBS-URL: https://build.opensuse.org/package/show/security:netfilter/libnetfilter_queue?expand=0&rev=41
This commit is contained in:
parent
32a3481371
commit
e0706ee59b
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:838490eb5dbe358f9669823704982f5313a8d397111562373200203f93ac1a32
|
||||
size 354201
|
Binary file not shown.
3
libnetfilter_queue-1.0.3.tar.bz2
Normal file
3
libnetfilter_queue-1.0.3.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9859266b349d74c5b1fdd59177d3427b3724cd72a97c49cc2fffe3b55da8e774
|
||||
size 314857
|
BIN
libnetfilter_queue-1.0.3.tar.bz2.sig
Normal file
BIN
libnetfilter_queue-1.0.3.tar.bz2.sig
Normal file
Binary file not shown.
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 13 15:28:18 UTC 2017 - jengelh@inai.de
|
||||
|
||||
- Update to new upstream release 1.0.3
|
||||
* No changelog was provided, in fact, no release announcement
|
||||
has been made.
|
||||
- Drop rhel6-iptos.diff, we do not particularly care for RHEL6.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 8 23:51:21 UTC 2014 - jengelh@inai.de
|
||||
|
||||
|
@ -1,9 +1,14 @@
|
||||
pub 4096R/BB5F58CC 2010-10-21 [expires: 2015-10-20]
|
||||
uid Netfilter Core Team <coreteam@netfilter.org>
|
||||
sub 4096R/04B92F5C 2010-10-21 [expires: 2015-10-20]
|
||||
pub 4096R/0xA4111F89BB5F58CC 2010-10-21 [expires: 2015-10-20]
|
||||
Key fingerprint = 57FF 5E9C 9AA6 7A86 0B55 7AF7 A411 1F89 BB5F 58CC
|
||||
uid [ expired] Netfilter Core Team <coreteam@netfilter.org>
|
||||
sub 4096R/0x0FD3A13A04B92F5C 2010-10-21 [expires: 2015-10-20]
|
||||
|
||||
pub 4096R/0xAB4655A126D292E4 2015-10-19 [expires: 2020-10-17]
|
||||
Key fingerprint = C09D B206 3F1D 7034 BA61 52AD AB46 55A1 26D2 92E4
|
||||
uid [ unknown] Netfilter Core Team <coreteam@netfilter.org>
|
||||
sub 4096R/0xE3B0B6BAE3AAA39E 2015-10-19 [expires: 2020-10-17]
|
||||
|
||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
mQINBEzAS5EBEADVlGm+KwODJcVmP33HTCbn/eP8obZbgu+3Z1CYRklF8V43vC6D
|
||||
8Jfk7fjD4/gWbAKZxriOESXVAN7mp0Fho4+Ga+pxWeLIET9tVM5xbNFK1p9R3XCK
|
||||
@ -51,6 +56,52 @@ H0uV8ILfFVe6gnKzanugmaSQjWzby/ARPhs6OYAXoIUv5MUVDgvTzVmTckWjVa1R
|
||||
kMm3eGmDSqoMxsPmarb80nkoFQMOPhJWlyaUCt6HHRYuSkIcxY4H4Ni3Oq1s1R9/
|
||||
EqUuIfxNv7Kp0mcsE2KvANc3JfB9wXwLWqDYRCifLkCD6pbpt9L/+xQ49VzcFxNO
|
||||
9DqTyk4N7cz7OZrAi+ouVrdFuiwnZyn5YSQoof6Pos58b3bkFn14m9gofwTqGzPh
|
||||
R4Vot9rRu5zrWdoCM4cRThpJyrjqBMs=
|
||||
=mRxL
|
||||
R4Vot9rRu5zrWdoCM4cRThpJyrjqBMuZAg0EViV2IwEQALrfnP0L2QbpXPN1Yg7w
|
||||
ESbOMnp3B7nIyeVmo3mvYI/mH0GtEHcFbigsUt4nIXCxI/ppB5NQH/GR8EbTUbq2
|
||||
OycNaIRWSDYHX+LDijyZ9NO6m8wbQODdhjroK7q8rHzO8Vp+reNzPM2nY7Uh3w3s
|
||||
dPrOERGYeZld1nDyN20ko2Zg4fIJIwVJaHwv4L1j9GYAKp6ACnyG81+VA9adPNCi
|
||||
9YyIbET/3/bWkl86AS78rLY7fFo5s2BZn0gvFzCB/q9v/dKYs6e5aX7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UJCWYBgAAK
|
||||
CRCrRlWhJtKS5IB2D/9eL6TJ82wCrh3Hx+R3YeWVObukEBq4Ho8KRFngvIi+2D14
|
||||
PljWtITPeplDtpXu3E1i7I74F1925xFs7pT6BD65e13/18y4RX5pwGfu0HTJpi3U
|
||||
B47WXlSnyRBLD+/qiKcSCkR1mcKJgyIY9KbA0rr1Drv/3DJR+wBt9Fuww/gxgv7v
|
||||
yIxxrDa2+GESxJc1iLyuKFiDtnUkmJpqtJV0szi38W1NQUwWWF3CWUpqfvn316CJ
|
||||
4cTyuurLn994ceJDherS9tFcYASdmbl6g6PwWgdFrpmb44J7gdBCsB9q2cpjhDbu
|
||||
bgTq7V32CVMBGKOThihJZHIz/LZyuHv9WNYXUNfpEOOUN97C+j6091TSh+5P6oJO
|
||||
E61VMBBL51nw3T0FFKtA9kubKLk08GH75vPLaBqLa5B88Z3nJWdlaJOdgGEz65PU
|
||||
Uh78iWJ3AFAOwhsDEfxFYC+gZWqt9qw3Wyp2eY2q+5ep4KRxuqq3M0V3zXE6z5ff
|
||||
F8CCqRe/yzGAh8RxEmT/Nl+yHEIVv7qpJk6GSvkXr5dN/jyZCiN2fHEhZOBtLvln
|
||||
E5UjMbYOGqk3F8OARHarJ/qARATzqNYdDRe9SKxlbog+k6WWxJ4ivSVmYY28vEWf
|
||||
79IZ79ZHJ0woRi+vr3Cwpc488Sjwi7a/O0HW6zXSaxXNeYR0VnwvcrZrtlCqIQ==
|
||||
=zI6p
|
||||
-----END PGP PUBLIC KEY BLOCK-----
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package libnetfilter_queue
|
||||
#
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -18,20 +18,19 @@
|
||||
|
||||
Name: libnetfilter_queue
|
||||
%define lname %{name}1
|
||||
Version: 1.0.2
|
||||
Version: 1.0.3
|
||||
Release: 0
|
||||
Summary: Userspace library for packets that have been queued by the kernel packet filter
|
||||
License: GPL-2.0
|
||||
Group: Productivity/Networking/Security
|
||||
Url: http://netfilter.org/projects/libnetfilter_queue/
|
||||
|
||||
#Git-Clone: git://git.netfilter.org/libnetfiler_queue
|
||||
#Git-Clone: git://git.netfilter.org/libnetfilter_queue
|
||||
#DL-URL: http://netfilter.org/projects/libnetfilter_queue/files/
|
||||
Source: http://netfilter.org/projects/libnetfilter_queue/files/%name-%version.tar.bz2
|
||||
Source2: http://netfilter.org/projects/libnetfilter_queue/files/%name-%version.tar.bz2.sig
|
||||
Source: http://ftp.netfilter.org/pub/libnetfilter_queue/%name-%version.tar.bz2
|
||||
Source2: http://ftp.netfilter.org/pub/libnetfilter_queue/%name-%version.tar.bz2.sig
|
||||
Source3: baselibs.conf
|
||||
Source4: %name.keyring
|
||||
Patch1: rhel6-iptos.diff
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
#BuildRequires: libtool
|
||||
BuildRequires: pkgconfig >= 0.21
|
||||
@ -71,11 +70,10 @@ libnetfilter_queue has been previously known as libnfnetlink_queue.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch -P 1 -p1
|
||||
|
||||
%build
|
||||
%configure --disable-static --includedir="%_includedir/%name"
|
||||
make %{?_smp_mflags} KERNELDIR="ignore";
|
||||
make %{?_smp_mflags} KERNELDIR="ignore"
|
||||
|
||||
%install
|
||||
%make_install KERNELDIR="ignore"
|
||||
|
@ -1,34 +0,0 @@
|
||||
From: Jan Engelhardt <jengelh@inai.de>
|
||||
Date: 2012-10-09 02:46:29.418099680 +0200
|
||||
Upstream: never
|
||||
|
||||
glibc before version 2.13 has a bug in netinet/ip.h:
|
||||
|
||||
#define IPTOS_CLASS(class) ((tos) & IPTOS_CLASS_MASK)
|
||||
|
||||
Namely, it does not use "class", but "tos". And þe olde RHEL 6
|
||||
even ships that... bleh.
|
||||
|
||||
---
|
||||
src/extra/ipv4.c | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
Index: libnetfilter_queue-1.0.2/src/extra/ipv4.c
|
||||
===================================================================
|
||||
--- libnetfilter_queue-1.0.2.orig/src/extra/ipv4.c
|
||||
+++ libnetfilter_queue-1.0.2/src/extra/ipv4.c
|
||||
@@ -133,12 +133,13 @@ int nfq_ip_snprintf(char *buf, size_t si
|
||||
int ret;
|
||||
struct in_addr src = { iph->saddr };
|
||||
struct in_addr dst = { iph->daddr };
|
||||
+ unsigned int tos = iph->tos;
|
||||
|
||||
ret = snprintf(buf, size, "SRC=%s DST=%s LEN=%u TOS=0x%X "
|
||||
"PREC=0x%X TTL=%u ID=%u PROTO=%u ",
|
||||
inet_ntoa(src), inet_ntoa(dst),
|
||||
ntohs(iph->tot_len), IPTOS_TOS(iph->tos),
|
||||
- IPTOS_PREC(iph->tos), iph->ttl, ntohs(iph->id),
|
||||
+ IPTOS_PREC(tos), iph->ttl, ntohs(iph->id),
|
||||
iph->protocol);
|
||||
|
||||
return ret;
|
Loading…
Reference in New Issue
Block a user