-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathuif.spec
66 lines (50 loc) · 1.66 KB
/
uif.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
Summary: Tool for generating optimized packetfilter rules under GPL
Name: uif
Version: 1.99.0
Release: 0
License: GPL
Group: System
Source: https://github.com/cajus/uif/archive/%{version}.zip
URL: https://github.com/cajus/uif
Prereq: perl perl-netaddr-ip perl-ldap iptables
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
UIF is used to generate optimized iptables(8) packetfilter rules, using a
simple description file specified by the user.
Generated rules are provided in iptables-save(8) style.
uif can be used to read or write rulesets from or to LDAP servers in your
network, which provides a global storing mechanism. (Note that you need to
include the uif.schema to your slapd configuration in order to use it.)
%prep
%setup -q -n %{name}
%build
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}
DESTDIR=%{buildroot} make install
%clean
rm -rf %{buildroot}
rm -rf %{_builddir}/%{buildsubdir}
%files
%defattr(-,root,root)
%defattr(0644,root,root,0755)
/etc/uif/services
/etc/default/uif
/etc/init.d/uif
/etc/ldap/schema/uif.schema
/usr/sbin/uif
/usr/share/man/man8/uif.8.gz
/usr/share/man/man5/uif.conf.5.gz
%doc docs/uif.conf.tmpl
%doc docs/examples.txt
%changelog
* Thu Jun 13 2002 Andreas Almstadt <[email protected]>
- first build
* Wed Jan 22 2014 Mike Gabriel <[email protected]>
- update version, update download source and project URL
* Sun Jan 15 2017 Mike Gabriel <[email protected]>
- bump upstream release to 1.1.8
* Mon Aug 20 2018 Mike Gabriel <[email protected]>
- bump upstream release to 1.1.9
* Mon Apr 19 2022 Mike Gabriel <[email protected]>
- bump upstream release to 1.99.0