Commit Graph

100 Commits

Author SHA1 Message Date
Fedora Release Engineering
701b47134b - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-01 03:30:14 +00:00
Nicolas Chauvet
593bb710a2 Update to 6.38 2018-08-13 14:02:27 +02:00
Eric Garver
b39b90d0a4 Merge #1 Adds tests according to the CI 2018-07-17 14:53:20 +00:00
Fedora Release Engineering
81db011686 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 05:48:46 +00:00
Susant Sahani
4f5f54a6f7 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_ipset_add_bitmap_ip (__main__.IpsetTests) ... 192.168.11.12 is in set testnet.
192.168.11.13 is in set testnet.
192.168.11.14 is in set testnet.
192.168.11.15 is in set testnet.
ok
test_ipset_bitmap_ip_netfilter (__main__.IpsetTests) ... 192.168.225.32 is in set testnetiperf.
192.168.225.33 is in set testnetiperf.
Connecting to host 192.168.225.32, port 55555
[  5] local 192.168.225.32 port 54652 connected to 192.168.225.32 port 55555
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec  7.79 GBytes  66.9 Gbits/sec    0    895 KBytes
[  5]   1.00-2.00   sec  7.99 GBytes  68.6 Gbits/sec    0    895 KBytes
[  5]   2.00-3.00   sec  7.99 GBytes  68.6 Gbits/sec    0   1.75 MBytes
[  5]   3.00-4.00   sec  7.79 GBytes  66.9 Gbits/sec    0   1.75 MBytes
[  5]   4.00-5.00   sec  8.03 GBytes  69.0 Gbits/sec    0   1.75 MBytes
[  5]   5.00-6.00   sec  7.94 GBytes  68.2 Gbits/sec    0   2.25 MBytes
[  5]   6.00-7.00   sec  7.88 GBytes  67.7 Gbits/sec    0   2.25 MBytes
[  5]   7.00-8.00   sec  8.06 GBytes  69.2 Gbits/sec    0   2.25 MBytes
[  5]   8.00-9.00   sec  7.89 GBytes  67.8 Gbits/sec    0   2.25 MBytes
[  5]   9.00-10.00  sec  7.85 GBytes  67.4 Gbits/sec    0   2.25 MBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec  79.2 GBytes  68.0 Gbits/sec    0             sender
[  5]   0.00-10.04  sec  79.2 GBytes  67.8 Gbits/sec                  receiver

iperf Done.
iperf3: error - unable to connect to server: Connection timed out
ok
test_ipset_delete_bitmap_ip (__main__.IpsetTests) ... 192.168.11.12 is in set testnet.
192.168.11.13 is in set testnet.
192.168.11.12 is NOT in set testnet.
ok
test_ipset_hash_bitmap_ipport (__main__.IpsetTests) ... 192.168.1.1,udp:53 is in set testipport.
192.168.1.1,tcp:5555 is in set testipport.
192.168.1.1,tcp:5555 is NOT in set testipport.
ok
test_ipset_hash_bitmap_ipportip (__main__.IpsetTests) ... 192.168.1.1,tcp:80,10.0.0.1 is in set testipportip.
192.168.1.1,tcp:80,10.0.0.1 is in set testipportip.
192.168.1.1,tcp:80,10.0.0.1 is NOT in set testipportip.
ok
192.168.1.1,tcp:80,10.0.0.1 is NOT in set testipportip.
ok
test_ipset_hash_bitmap_mac (__main__.IpsetTests) ... 02:01:02:03:04:09 is in set testmac.
02:01:02:03:04:09 is NOT in set testmac.
ok
test_ipset_hash_bitmap_netiface (__main__.IpsetTests) ... 192.168.0.0/24,veth-test is in set testnetiface.
192.167.0.0/24,veth-peer is in set testnetiface.
192.168.0.0/24,veth-test is NOT in set testnetiface.
ok

----------------------------------------------------------------------
Ran 7 tests in 15.545s

OK
:: [ 16:37:57 ] :: [   PASS   ] :: Command '/usr/bin/python3 /usr/bin/ipset-tests.py' (Expected 0, got 0)
:: [ 16:37:57 ] :: [   PASS   ] :: Command '/usr/bin/python3 /usr/bin/ipset-tests.py' (Expected 0, got 0)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::   Duration: 15s
::   Duration: 15s
::   Assertions: 1 good, 0 bad
::   Assertions: 1 good, 0 bad
::   RESULT: PASS
::   RESULT: PASS

```
2018-06-24 16:41:06 +05:30
Eric Garver
cee010372f Patch for missing header file (RHBZ#1543596) 2018-02-12 12:28:36 -05:00
Fedora Release Engineering
54e38f567a - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-07 17:36:49 +00:00
Nicolas Chauvet
c03b2902c2 Bump soname (no downstream users so far) 2018-01-08 22:40:33 +01:00
Nicolas Chauvet
608536df36 Update to 6.35 2018-01-08 22:33:55 +01:00
Nicolas Chauvet
b033adb0b2 Update to 6.32 2017-07-31 14:55:54 +02:00
Fedora Release Engineering
bc20e66999 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-26 13:39:44 +00:00
Nicolas Chauvet
c7c6edae63 Userspace needs kernel-headers 2017-04-07 09:46:06 +02:00
Fedora Release Engineering
5a4869ae44 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-10 16:31:52 +00:00
Warren Togami
afb3301ca6 Fix the .service comment - /etc/ipset/ipset is the default ipset config file, not /etc/sysconfig/ipset 2016-10-12 14:46:11 -07:00
Thomas Woerner
d6f6d5459b Use 6.29 in sources 2016-04-18 10:03:18 +02:00
Thomas Woerner
6006ef88d6 - New upstream version 6.29 (RHBZ#1317208)
- Suppress unnecessary stderr in command loop for resize and list
  - Correction in comment test
  - Support chroot buildroots (reported by Jan Engelhardt)
  - Fix "configure" breakage due to pkg-config related changes
    (reported by Jan Engelhardt)
  - Support older pkg-config packages
  - Add bash completion to the install routine (Mart Frauenlob)
  - Fix misleading error message with comment extension
  - Test added to check 0.0.0.0/0,iface to be matched in hash:net,iface type
  - Fix link with libtool >= 2.4.4 (Olivier Blin)
2016-04-18 09:56:25 +02:00
Dennis Gilmore
52078142d1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-04 00:37:27 +00:00
Thomas Woerner
38400aba0f - New upstream version 6.27 (RHBZ#1145913) 2015-11-10 15:21:57 +01:00
Haikel Guemar
7669e87633 Upstream 6.26 (RHBZ#1145913) 2015-10-10 22:58:09 +02:00
Dennis Gilmore
7c2731de23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-17 11:31:43 +00:00
Mathieu Bridon
d1e74bbbba New upstream release 2014-09-18 20:44:17 +02:00
Peter Robinson
9a1d67507f - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-16 21:46:34 +00:00
Dennis Gilmore
b8c09ad7f7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 17:38:15 -05:00
Mathieu Bridon
d021479cff Remove runtime requirement on the kernel
https://lists.fedoraproject.org/pipermail/devel/2014-March/196565.html
2014-03-11 15:51:28 +08:00
Mathieu Bridon
ee4829b4af New upstream release 2014-03-10 11:35:08 +08:00
Mathieu Bridon
6b8cbe6a7b New upstream release: 6.20.1 2013-10-29 18:54:29 +08:00
Mathieu Bridon
b6a0c13c17 Explain why we need this explicit dependency 2013-08-30 13:57:15 +08:00
Mathieu Bridon
0f6aa8d9ea Fix an old changelog entry 2013-08-30 13:55:14 +08:00
Mathieu Bridon
9faae09f7c Reorder the subpackages 2013-08-30 13:54:05 +08:00
Mathieu Bridon
0fc73fbd64 Realign the header lines of the spec 2013-08-30 13:51:55 +08:00
Quentin Armitage
e4af967234 Add a service subpackage
This contains a systemd unit, and the logic to be able to save and
reload functionality on shutdown/startup.

This also adds a missing explicit dependency on the ipset-libs
subpackage in the base package. It is needed to cover the case where a
user would update one explicitly (e.g yum update ipset) as they need to
be kept in sync.
2013-08-30 13:49:08 +08:00
Mathieu Bridon
c2e2665e64 New upstream release 2013-08-15 17:17:48 +08:00
Dennis Gilmore
c4b098afb5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-03 14:52:03 -05:00
Dennis Gilmore
65945b9b1b - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild 2013-02-13 20:13:09 -06:00
Mathieu Bridon
5254985d96 New upstream release 2013-01-21 16:31:04 +08:00
Mathieu Bridon
af9c68b60b Fix requirement 2013-01-21 16:05:22 +08:00
Mathieu Bridon
9b28e1de67 New upstream release 2012-09-26 13:13:25 +08:00
Mathieu Bridon
75f71d0520 Fix scriptlets, ldconfig is needed for the libs subpackage, not the main one 2012-09-26 13:12:27 +08:00
Mathieu Bridon
bd3d7b70ba Relax the kernel requirement
There is no existing version of Fedora which doesn't
have a recent enough kernel version now, so let's not
bother with a check which will always be true.
2012-07-30 13:25:52 +08:00
Mathieu Bridon
9caff1a14a Split out the library in its own subpackage 2012-07-30 12:58:47 +08:00
Mathieu Bridon
1e1ead1dd4 Remove the license file from the devel subpackage
This file is not necessary because it requires the base
package, which already provides the license in its COPYING
file.
2012-07-30 12:55:55 +08:00
Mathieu Bridon
dea6a9f63f Remove the obsolete Group tag from the spec file 2012-07-30 12:51:29 +08:00
Mathieu Bridon
d5748a544a Update to the 6.13 upstream release 2012-07-30 12:51:11 +08:00
Dennis Gilmore
b18ba5177f - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-19 10:02:54 -05:00
Mathieu Bridon
71acab3ca1 New upstream release 2012-03-28 18:35:42 +08:00
Dennis Gilmore
4b3ccb1edf - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-12 23:58:26 -06:00
Mathieu Bridon
844d542653 The package was approved in Fedora.
Sources were uploaded to the lookaside cache with fedpkg. This commit
reflects the change in the sources and .gitignore files.
2011-09-19 10:29:47 +08:00
Mathieu Bridon
dbbd6485db Some fixes based on Pierre-Yves' feedback.
Feedback given during the review request:
    https://bugzilla.redhat.com/show_bug.cgi?id=738153#c2
2011-09-19 10:25:27 +08:00
Mathieu Bridon
c4eef8c84a Initial packaging of ipset.
This package was submitted for review in Fedora on Wed Sep 14 2011:
    https://bugzilla.redhat.com/show_bug.cgi?id=738153#c0
2011-09-19 10:25:27 +08:00
Fedora Release Engineering
e085a11385 Initial setup of the repo 2011-09-16 13:35:27 +00:00