Commit Graph

81 Commits

Author SHA1 Message Date
Michal Ruprich
5f6e166f4a libpcap should print an error on wrong IPv4 address 2020-02-24 14:39:59 +01:00
Fedora Release Engineering
77f9148e50 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-29 10:02:34 +00:00
Michal Ruprich
74ebfa7144 Merge #1 Adds tests according to the CI 2019-10-11 11:46:27 +00:00
Michal Ruprich
c5a991b45a New version 1.9.1
Fix for CVE-2018-16301, CVE-2019-15161, CVE-2019-15162, CVE-2019-15163, CVE-2019-15164, CVE-2019-15165
2019-10-11 13:39:49 +02:00
Fedora Release Engineering
d23a9a7c2c - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-25 14:06:53 +00:00
Fedora Release Engineering
4177f768a7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-01 07:56:48 +00:00
Peter Robinson
779e552101 pkgconfig file belong in devel package, drop obsolete group in spec 2018-08-13 11:47:28 +01:00
Michal Ruprich
d678c2050d New version 1.9.0 2018-08-01 16:39:57 +02:00
Fedora Release Engineering
22cfac8e4f - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 08:38:52 +00:00
Jason Tibbitts
a94fceeb67 Remove needless use of %defattr 2018-07-10 01:45:50 -05:00
Susant Sahani
ffba215ff0 Adds tests according to the CI
justification
Adds tests according to the CI wiki specifically the standard test interface in the spec.
The playbook includes Tier1 level test cases that have been tested in the following contexts and
is passing reliably: Classic. Test logs are stored in the artifacts directory.
The following steps are used to execute the tests using the standard test interface:

Test enveronment
Make sure you have installed packages from the spec
```
ansible-2.4.1.0-2.fc28.noarch
python2-dnf-2.7.5-1.fc28.noarch
libselinux-python-2.7-2.fc28.x86_64
standard-test-roles-2.5-1.fc28.noarch
```
Run tests for Classic
Snip of the example test run for Classic tests:

```

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::   Test
::   Test
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

:: [ 17:42:55 ] :: [   LOG    ] :: Starting libnet tests ...
:: [ 17:42:55 ] :: [   LOG    ] :: Starting libnet tests ...
:: [ 17:42:55 ] :: [  BEGIN   ] :: Running '/usr/bin/test-libnet'
[==========] Running 2 test(s).
[ RUN      ] test_udp_packet_ipv4
UDP src_port=2425 dst_port=2426
UDP src_port=2425 dst_port=2426
UDP src_port=2425 dst_port=2426
UDP src_port=2425 dst_port=2426
[       OK ] test_udp_packet_ipv4
[ RUN      ] test_tcp_packet_ipv4
TCP src_port=2425 dst_port=2426
TCP src_port=2425 dst_port=2426
TCP src_port=2425 dst_port=2426
TCP src_port=2425 dst_port=2426
[       OK ] test_tcp_packet_ipv4
[==========] 2 test(s) run.
[  PASSED  ] 2 test(s).
:: [ 17:43:05 ] :: [   PASS   ] :: Command '/usr/bin/test-libnet' (Expected 0, got 0)
:: [ 17:43:05 ] :: [   PASS   ] :: Command '/usr/bin/test-libnet' (Expected 0, got 0)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::   Duration: 10s
::   Duration: 10s
::   Assertions: 1 good, 0 bad
::   Assertions: 1 good, 0 bad
::   RESULT: PASS
::   RESULT: PASS

```
2018-06-29 18:09:17 +05:30
Michal Ruprich
aa35d97de4 Adding support for AF_VSOCK 2018-06-07 09:34:43 +02:00
Martin Sehnoutka
3ff488656f Add gcc to BuildRequires 2018-02-20 13:10:42 +01:00
Fedora Release Engineering
92b1c1231a - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-07 23:01:33 +00:00
Igor Gnatenko
307df710f3
Switch to %ldconfig_scriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-03 17:20:16 +01:00
Fedora Release Engineering
b03e488428 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-03 02:04:31 +00:00
Fedora Release Engineering
656d4cc7c4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-26 19:30:40 +00:00
Martin Sehnoutka
f03fe8f91a Drop TPACKET_V3 patch as it should be fixed in kernel by now 2017-05-18 13:54:34 +02:00
Fedora Release Engineering
46f5217d49 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-10 19:16:00 +00:00
Martin Sehnoutka
0d24227c47 Add missing %license macro 2017-02-03 09:00:22 +01:00
Lubomir Rintel
3bd9a6dc9f Revert "Add BR: perl."
This reverts commit b2e091dca4.

Richard apparently meant to commit this to libcap.
2016-11-27 20:24:41 +01:00
Luboš Uhliarik
126a4e3f3f Merge branch 'master' of ssh://pkgs.fedoraproject.org/rpms/libpcap 2016-10-31 18:51:07 +01:00
Luboš Uhliarik
15864feb71 new version 1.8.1 2016-10-31 18:50:41 +01:00
Richard W.M. Jones
b2e091dca4 Add BR: perl.
Perl is no longer implicitly included in the build root.  See:
https://fedoraproject.org/wiki/Packaging:Perl#Build_Dependencies

No rebuild is required for this change.

The error was:

make[1]: Entering directory '/builddir/build/BUILD/libcap-2.25/libcap'
=> making cap_names.list.h from /builddir/build/BUILD/libcap-2.25/libcap/../libcap/include/uapi/linux/capability.h
perl -e 'while ($l=<>) { if ($l =~ /^\#define[ \t](CAP[_A-Z]+)[ \t]+([0-9]+)\s+$/) { $tok=$1; $val=$2; $tok =~ tr/A-Z/a-z/; print "{\"$tok\",$val},\n"; } }' /builddir/build/BUILD/libcap-2.25/libcap/../libcap/include/uapi/linux/capability.h | fgrep -v 0x > cap_names.list.h
/bin/sh: perl: command not found
Makefile:47: recipe for target 'cap_names.list.h' failed
make[1]: *** [cap_names.list.h] Error 1
make[1]: Leaving directory '/builddir/build/BUILD/libcap-2.25/libcap'
Makefile:12: recipe for target 'all' failed
make: *** [all] Error 2
2016-10-05 17:05:24 +01:00
Luboš Uhliarik
6b2a0ea98f new version 1.8.0 2016-08-08 18:20:42 +02:00
Luboš Uhliarik
a8a408b585 new version 1.8.0 2016-08-08 17:59:31 +02:00
Dennis Gilmore
0c075f62ad - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-04 03:44:47 +00:00
Michal Sekletar
79a4a5428f Update to 1.7.4
Resolves: #1236387
2015-06-29 18:52:14 +02:00
Dennis Gilmore
5583a8176b - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-17 16:22:11 +00:00
Michal Sekletar
1cc1d0cb8a Add the actual patch
Related: #1178297
2015-05-26 15:35:11 +02:00
Michal Sekletar
a435eccb00 Fix build against Bluez 5
(cherry picked from https://github.com/jsitnicki/libpcap/tree/fix-bt-mon-bluez5)

See: https://github.com/the-tcpdump-group/libpcap/pull/425

Resolves: #1178297
2015-05-26 14:12:31 +02:00
Michal Sekletar
f09408f776 Rebase to 1.7.3
Resolves: #1214723
2015-05-26 14:10:50 +02:00
Michal Sekletar
e659b3950b Update to libpcap-1.7.2
Resolves: #1201078
2015-03-13 18:16:33 +01:00
Michal Sekletar
0fe9e420bd Remove kernel-devel from build requirements
kernel-devel package was added because I thought it may resolve bluetooth
related build failure. After addition of dependency packages started building
again however with bluetooth support disabled.

Probably the *right* thing to do would be to move away from bluez
dependency, because code that use bluez-libs anyway. This is currently discussed
upstream.

See: https://github.com/the-tcpdump-group/libpcap/pull/417/
2015-02-23 12:51:06 +01:00
Michal Sekletar
c34a2d5a2c Fix scaling pcap-ng timestamps
(cherry picked from 6a9c2cb19cb7eebdab8d2fa7a592d39130f8bf61)

See: https://github.com/the-tcpdump-group/libpcap/issues/396

Resolves: #1169322
2015-02-23 08:52:27 +01:00
Michal Sekletar
386c946c90 build-sys: replace bluez-libs-devel with kernel-devel in BuildRequires
/usr/include/bluetooth/mgmt.h header is now provided by kernel-devel package
2014-10-20 10:10:15 +02:00
Michal Sekletar
656dce8da1 spec: update to 1.6.2
This commit also disables support for TPACKET_V3 mmaped packet capture

Resolves: #1131500,#1124174
2014-09-29 15:17:16 +02:00
Peter Robinson
249f1511fb - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-17 05:23:57 +00:00
Dennis Gilmore
0afebfbbe1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 00:00:51 -05:00
Michal Sekletar
ca91a036ae buildsys: don't link against libnl
Linking against libnl is no longer desired by upstream and there has been a
discusion about dropping the code using libnl and to write libpcap's own netlink
library/wrapper. Preserve status quo for now and drop linking against libnl.
2014-04-01 11:51:35 +02:00
Michal Sekletar
60fbf0fe40 buildsys: add libnl-devel to build requires
Using libnl to create a monN interface works better than using Wireless
Extension ioctls to turn on monitor mode, which is what libpcap does if *not*
linked with libnl.

Resolves: #765716
2014-03-29 00:57:39 +01:00
Michal Sekletar
5c44d64898 spec: update to 1.5.3
Link to changelog : http://www.tcpdump.org/libpcap-changes.txt

Resolves: #1038008
2014-01-15 14:38:50 +01:00
Michal Sekletar
c218845072 spec: update to 1.5.1 2013-11-28 16:35:27 +01:00
Michal Sekletar
0e0fad9875 sources: remove dummy print out from generate-tarball.sh 2013-11-08 08:28:26 +01:00
Michal Sekletar
1a8ef4fe69 spec: update to git snapshot 459712e 2013-11-08 08:12:32 +01:00
Dennis Gilmore
de3303b001 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-03 01:41:35 -05:00
Michal Sekletar
d4d8a44771 spec: update to 1.4.0 2013-06-06 14:14:19 +02:00
Michal Sekletar
99e93bfed0 pcap-config: remove unused variable to prevent multilib conflicts 2013-03-26 10:46:09 +01:00
Michal Sekletar
8490e94d3b spec: specfile cleanup 2013-03-26 10:46:00 +01:00
Dennis Gilmore
9e281c7813 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild 2013-02-13 23:02:24 -06:00