1 | Name: perl-IPTables-ChainMgr |
---|
2 | Version: 1.2 |
---|
3 | Release: 1%{?_dist_release} |
---|
4 | Summary: Perl extension for manipulating iptables policies |
---|
5 | License: GPL+ or Artistic |
---|
6 | Group: Development/Libraries |
---|
7 | URL: http://www.cipherdyne.org/modules/ |
---|
8 | Source0: http://www.cipherdyne.org/modules/IPTables-ChainMgr-%{version}.tar.bz2 |
---|
9 | Source1: http://www.cipherdyne.org/modules/IPTables-ChainMgr-%{version}.tar.bz2.asc |
---|
10 | |
---|
11 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
12 | BuildArch: noarch |
---|
13 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
14 | BuildRequires: perl(IPTables::Parse) |
---|
15 | BuildRequires: perl(NetAddr::IP) |
---|
16 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
17 | |
---|
18 | Vendor: Project Vine |
---|
19 | Distribution: Vine Linux |
---|
20 | Packager: shaolin |
---|
21 | |
---|
22 | %description |
---|
23 | The IPTables::ChainMgr package provides an interface to manipulate iptables |
---|
24 | policies on Linux systems through the direct execution of iptables |
---|
25 | commands. Although making a perl extension of libiptc provided by the iptables |
---|
26 | project is possible, it is easy to just execute iptables commands directly in |
---|
27 | order to both parse and change the configuration of the policy. Further, this |
---|
28 | simplifies installation since the only external requirement is (in the spirit |
---|
29 | of scripting) to be able to point IPTables::ChainMgr at an installed iptables |
---|
30 | binary instead of having to compile against a library. |
---|
31 | |
---|
32 | %prep |
---|
33 | %setup -q -n IPTables-ChainMgr-%{version} |
---|
34 | |
---|
35 | %build |
---|
36 | %{__perl} Makefile.PL INSTALLDIRS=vendor |
---|
37 | make %{?_smp_mflags} |
---|
38 | |
---|
39 | %install |
---|
40 | rm -rf %{buildroot} |
---|
41 | make pure_install PERL_INSTALL_ROOT=%{buildroot} |
---|
42 | |
---|
43 | find %{buildroot} -type f -name .packlist -exec rm -f {} \; |
---|
44 | find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; |
---|
45 | |
---|
46 | %{_fixperms} %{buildroot}/* |
---|
47 | |
---|
48 | %check |
---|
49 | make test |
---|
50 | |
---|
51 | %clean |
---|
52 | rm -rf %{buildroot} |
---|
53 | |
---|
54 | %files |
---|
55 | %defattr(-,root,root,-) |
---|
56 | %doc Changes README |
---|
57 | %{perl_vendorlib}/* |
---|
58 | %{_mandir}/man3/* |
---|
59 | |
---|
60 | %changelog |
---|
61 | * Wed Dec 24 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.2-1 |
---|
62 | - updated to 1.2 |
---|
63 | - built with perl 5.16.3 |
---|
64 | |
---|
65 | * Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.9.9-1 |
---|
66 | - initial build for Vine Linux |
---|
67 | |
---|
68 | * Mon Feb 27 2012 Miloslav Trmač <mitr@redhat.com> - 0.9.9-1 |
---|
69 | - Update to IPTables-ChainMgr-0.9.9 |
---|
70 | |
---|
71 | * Tue Jan 10 2012 Miloslav Trmač <mitr@redhat.com> - 0.9-9 |
---|
72 | - Avoid deprecated use of qw() |
---|
73 | Resolves: #771781 |
---|
74 | |
---|
75 | * Tue Jun 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.9-8 |
---|
76 | - Perl mass rebuild |
---|
77 | |
---|
78 | * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-7 |
---|
79 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
80 | |
---|
81 | * Mon Dec 20 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.9-6 |
---|
82 | - 661697 rebuild for fixing problems with vendorach/lib |
---|
83 | |
---|
84 | * Sun May 02 2010 Marcela Maslanova <mmaslano@redhat.com> |
---|
85 | - Mass rebuild with perl-5.12.0 |
---|
86 | |
---|
87 | - Drop no longer required references to BuildRoot |
---|
88 | |
---|
89 | * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-4 |
---|
90 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
91 | |
---|
92 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-3 |
---|
93 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
94 | |
---|
95 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-2 |
---|
96 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
97 | |
---|
98 | * Fri Feb 13 2009 Miloslav Trmač <mitr@redhat.com> - 0.9-1 |
---|
99 | - Update to IPTables-ChainMgr-0.9. |
---|
100 | |
---|
101 | * Tue Oct 21 2008 Miloslav Trmač <mitr@redhat.com> - 0.8-1 |
---|
102 | - Update to IPTables-ChainMgr-0.8. |
---|
103 | |
---|
104 | * Wed Jul 30 2008 Miloslav Trmač <mitr@redhat.com> 0.7-1 |
---|
105 | - Initial package. |
---|