-
Notifications
You must be signed in to change notification settings - Fork 1
/
hlfl.spec.in
58 lines (48 loc) · 1.38 KB
/
hlfl.spec.in
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
#
# spec file for package hlfl (Version 0.5)
#
# Copyright © 2000-2003 SuSE, Germany.
#
# please send bugfixes or comments to [email protected].
#
Vendor: SuSE, Germany
Distribution: SuSE
Name: hlfl
Release: 4
Packager: [email protected]
Version: @VERSION@
Summary: High Level Firewall Language
Copyright: GPL, Copyright © 2000-2003 Renaud Deraison <[email protected]>
Group: unsorted
Provides: hlfl
Autoreqprov: on
Source0: hlfl-%{version}.tar.gz
%description
hlfl is a tool which can produce several types of firewalls
from a given set of rules written in a special language also
called hlfl (however awkward it is).
hlfl attempts to make the best use of the features of the
underlying firewall, so that the conversion of a stateless to
a stateful requires no modification to the original script
%prep
%setup
%build
./configure --prefix=@prefix@ \
--datadir=@datadir@ \
--mandir=%{_mandir} \
--sysconfdir=@sysconfdir@
make
%install
make install
strip @bindir@/hlfl
gzip -f /%{_mandir}/man1/hlfl.1
mkdir -p @datadir@/doc/packages/hlfl
mv @datadir@/hlfl/test* @datadir@/doc/packages/hlfl/
mv @datadir@/hlfl/sample* @datadir@/doc/packages/hlfl/
mv @datadir@/hlfl/syntax.txt @datadir@/doc/packages/hlfl/
%{suse_check}
%files
@bindir@/hlfl
/%{_mandir}/man1/hlfl.1.gz
@datadir@/hlfl/
@datadir@/doc/packages/hlfl