avatar
andrewlukoshko has added 25143c9401
Imported from SRPM
... ... --- /dev/null
... ... +++ b/.abf.yml
... ... @@ -0,0 +1,2 @@
1
sources:
2
  lynis-2.6.3.tar.gz: 631d55747528f342d0f5a75920820812cc60dc65
... ... --- /dev/null
... ... +++ b/lynis.spec
... ... @@ -0,0 +1,262 @@
1
%if 0%{?el6}
2
 %global bashcompdir /usr/share/bash-completion/
3
%else
4
 %global bashcompdir %(pkg-config --variable=completionsdir bash-completion)
5
%endif
6
7
Name:           lynis
8
Version:        2.6.3
9
Release:        1%{?dist}
10
Summary:        Security and system auditing tool
11
License:        GPLv3
12
URL:            https://cisofy.com/lynis/
13
Source0:        https://cisofy.com/files/%{name}-%{version}.tar.gz
14
BuildArch:      noarch
15
BuildRequires:  bash-completion
16
BuildRequires:  git-core
17
%if 0%{?el6}
18
BuildRequires:  procps
19
%else
20
BuildRequires:  procps-ng
21
%endif
22
Requires:       audit
23
Requires:       e2fsprogs
24
Requires:       module-init-tools
25
26
%description
27
Lynis is an auditing and hardening tool for Unix/Linux and you might even call
28
it a compliance tool. It scans the system and installed software. Then it 
29
performs many individual security control checks. It determines the hardening 
30
state of the machine, detects security issues and provides suggestions to 
31
improve the security defense of the system.
32
33
%prep
34
%autosetup -S git -n %{name} 
35
36
%build
37
# Empty build.
38
39
%install
40
mkdir -p %{buildroot}%{_sysconfdir}/%{name}
41
install -pm644 default.prf %{buildroot}%{_sysconfdir}/%{name}
42
43
mkdir -p %{buildroot}%{_bindir}
44
install -pm755 lynis %{buildroot}%{_bindir}
45
46
mkdir -p %{buildroot}%{_mandir}/man8
47
install -pm644 lynis.8 %{buildroot}%{_mandir}/man8
48
49
mkdir -p  %{buildroot}%{_datadir}/%{name}/include/
50
# Forced by upstream. Otherwise these scripts can't be executed.
51
install -pm600 include/* %{buildroot}%{_datadir}/%{name}/include/
52
53
mkdir -p  %{buildroot}%{_datadir}/%{name}/plugins/
54
install -pm644 plugins/* %{buildroot}%{_datadir}/%{name}/plugins/
55
56
cp -pR db/ %{buildroot}%{_datadir}/%{name}/
57
58
mkdir -p %{buildroot}%{bashcompdir}
59
install -pm644 extras/bash_completion.d/lynis %{buildroot}%{bashcompdir}/
60
61
mkdir -p %{buildroot}%{_localstatedir}/log/
62
touch %{buildroot}%{_localstatedir}/log/lynis.log
63
touch %{buildroot}%{_localstatedir}/log/lynis-report.dat
64
65
%check
66
# Sanity check
67
./lynis audit system --quick 
68
69
%files
70
%doc CHANGELOG* CONTRIBUTORS* FAQ* README*
71
%doc extras/systemd/
72
%license LICENSE
73
%{_bindir}/lynis
74
%{bashcompdir}/*
75
%{_datadir}/lynis/
76
%{_mandir}/man8/lynis.8*
77
%dir %{_sysconfdir}/%{name}
78
%config(noreplace) %{_sysconfdir}/%{name}/default.prf
79
%ghost %{_localstatedir}/log/lynis.log
80
%ghost %{_localstatedir}/log/lynis-report.dat
81
82
%changelog
83
* Thu Feb 22 2018 Athmane Madjoudj <athmane@fedoraproject.org> - 2.6.2-1
84
- Update to 2.6.2 (rhbz #1539272)
85
86
* Wed Feb 21 2018 Athmane Madjoudj <athmane@fedoraproject.org> - 2.6.1-1
87
- Update to 2.6.1 (rhbz #1539272)
88
89
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.0-2
90
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
91
92
* Sat Jan 20 2018 Athmane Madjoudj <athmane@fedoraproject.org> - 2.6.0-1
93
- Update to 2.6.0 (rhbz #1536241)
94
95
* Thu Jan 18 2018 Athmane Madjoudj <athmane@fedoraproject.org> - 2.5.9-1
96
- Update to 2.5.9 (rhbz #1534521)
97
98
* Sat Dec 30 2017 Athmane Madjoudj <athmane@fedoraproject.org> - 2.5.8-1
99
- Update to 2.5.8 (rhbz #1529807)
100
101
* Thu Nov 02 2017 Athmane Madjoudj <athmane@fedoraproject.org> - 2.5.7-2
102
- Fix BR in epel6
103
104
* Wed Nov 01 2017 Athmane Madjoudj <athmane@fedoraproject.org> - 2.5.7-1
105
- Update to 2.5.7 (rhbz #1508417)
106
107
* Sun Oct 01 2017 Athmane Madjoudj <athmane@fedoraproject.org> - 2.5.5-2
108
- Add check section
109
110
* Tue Sep 12 2017 Athmane Madjoudj <athmane@fedoraproject.org> - 2.5.5-1
111
- Update to 2.5.5 (rhbz #1488452)
112
113
* Fri Aug 18 2017 Athmane Madjoudj <athmane@fedoraproject.org> - 2.5.3-1
114
- Update to 2.5.3 (rhbz #1482518)
115
116
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.2-2
117
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
118
119
* Fri Jul 14 2017 Athmane Madjoudj <athmane@fedoraproject.org> - 2.5.2-1
120
- Update to 2.5.2
121
- Remore upstreamed patch
122
123
* Sun Jun 18 2017 Athmane Madjoudj <athmane@fedoraproject.org> - 2.5.1-2
124
- Add patch to fix lynis show changelog
125
126
* Sun Jun 18 2017 Athmane Madjoudj <athmane@fedoraproject.org> - 2.5.1-1
127
- Update to 2.5.1
128
129
* Wed May 03 2017 Athmane Madjoudj <athmane@fedoraproject.org> - 2.5.0-1
130
- Update to 2.5.0
131
132
* Thu Mar 30 2017 Athmane Madjoudj <athmane@fedoraproject.org> - 2.4.8-1
133
- Update to 2.4.8
134
135
* Sat Mar 25 2017 Athmane Madjoudj <athmane@fedoraproject.org> - 2.4.7-1
136
- Update to 2.4.7
137
138
* Sun Mar 05 2017 Athmane Madjoudj <athmane@fedoraproject.org> - 2.4.4-1
139
- Update to 2.4.4
140
141
* Sat Feb 18 2017 Athmane Madjoudj <athmane@fedoraproject.org> - 2.4.2-1
142
- Update to 2.4.2
143
144
* Fri Feb 10 2017 Athmane Madjoudj <athmane@fedoraproject.org> - 2.4.1-1
145
- Update to 2.4.1
146
147
* Sat Oct 29 2016 Athmane Madjoudj <athmane@fedoraproject.org> - 2.4.0-1
148
- Update to 2.4.0
149
150
* Mon Oct 03 2016 Athmane Madjoudj <athmane@fedoraproject.org> - 2.3.4-1
151
- Update to 2.3.4
152
153
* Sat Mar 19 2016 Athmane Madjoudj <athmane@fedoraproject.org> 2.2.0-3
154
- Update to 2.2.0
155
156
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-2
157
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
158
159
* Thu Sep 10 2015 Christopher Meng <rpm@cicku.me> - 2.1.1-1
160
- Update to 2.1.1
161
162
* Mon Jul 13 2015 Christopher Meng <rpm@cicku.me> - 2.1.0-1
163
- Update to 2.1.0
164
165
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.4-2
166
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
167
168
* Fri Nov 14 2014 Christopher Meng <rpm@cicku.me> - 1.6.4-1
169
- Update to 1.6.4
170
171
* Fri Sep 12 2014 Christopher Meng <rpm@cicku.me> - 1.6.1-1
172
- Update to 1.6.1
173
174
* Sun Aug 03 2014 Christopher Meng <rpm@cicku.me> - 1.5.9-1
175
- Update to 1.5.9
176
177
* Fri Jul 11 2014 Christopher Meng <rpm@cicku.me> - 1.5.7-1
178
- Update to 1.5.7
179
180
* Mon Jun 16 2014 Christopher Meng <rpm@cicku.me> - 1.5.6-1
181
- Update to 1.5.6
182
183
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.3-2
184
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
185
186
* Wed May 21 2014 Christopher Meng <rpm@cicku.me> - 1.5.3-1
187
- Update to 1.5.3
188
189
* Fri Apr 11 2014 Christopher Meng <rpm@cicku.me> - 1.5.0-1
190
- Update to 1.5.0
191
192
* Sat Mar 08 2014 Christopher Meng <rpm@cicku.me> - 1.4.4-1
193
- Update to 1.4.4
194
195
* Thu Feb 27 2014 Christopher Meng <rpm@cicku.me> - 1.4.3-1
196
- Update to 1.4.3
197
198
* Fri Feb 21 2014 Christopher Meng <rpm@cicku.me> - 1.4.2-1
199
- Update to 1.4.2
200
201
* Wed Feb 19 2014 Christopher Meng <rpm@cicku.me> - 1.4.1-1
202
- Update to 1.4.1
203
204
* Fri Feb 07 2014 Christopher Meng <rpm@cicku.me> - 1.4.0-1
205
- Update to 1.4.0
206
207
* Fri Jan 10 2014 Christopher Meng <rpm@cicku.me> - 1.3.9-1
208
- Update to 1.3.9
209
210
* Sat Dec 28 2013 Christopher Meng <rpm@cicku.me> - 1.3.8-1
211
- Update to 1.3.8
212
213
* Thu Dec 12 2013 Christopher Meng <rpm@cicku.me> - 1.3.7-1
214
- Update to 1.3.7
215
216
* Wed Dec 04 2013 Christopher Meng <rpm@cicku.me> - 1.3.6-1
217
- Update to 1.3.6
218
219
* Tue Nov 26 2013 Christopher Meng <rpm@cicku.me> - 1.3.5-1
220
- Update to 1.3.5
221
222
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.9-6
223
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
224
225
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.9-5
226
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
227
228
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.9-4
229
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
230
231
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.9-3
232
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
233
234
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.9-2
235
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
236
237
* Sat Jan 30 2010 Rakesh Pandit <rakesh@fedoraproject.org> - 1.2.9-1
238
- Updated to 1.2.9
239
240
* Fri Dec 04 2009 Rakesh Pandit <rakesh@fedoraproject.org> - 1.2.7-1
241
- Updated to 1.2.7
242
243
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.6-3
244
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
245
246
* Mon Jun 08 2009 Rakesh Pandit <rakesh@fedoraproject.org> - 1.2.6-2
247
- fixed requires tag
248
249
* Sun Apr 12 2009 Rakesh Pandit <rakesh@fedoraporject.org> - 1.2.6-1
250
- Updated to 1.2.6: CHANHELOG for details
251
252
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.1-4
253
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
254
255
* Fri Nov 07 2008 Rakesh Pandit <rakesh@fedoraproject.org> - 1.2.1-3
256
- cleaned %%files
257
258
* Fri Nov 07 2008 Rakesh Pandit <rakesh@fedoraproject.org> - 1.2.1-2
259
- macros consistency - fixed hard code path
260
261
* Fri Oct 31 2008 Rakesh Pandit <rakesh@fedoraproject.org> - 1.2.1-1
262
- Initial package

Comments