[lynis/f18: 3/3] New version.
Christopher Meng
cicku at fedoraproject.org
Tue Nov 26 07:48:23 UTC 2013
commit 2cdf8843764d0b5ee2e5514cbefeac7701e2ddd6
Author: Christopher Meng <rpm at cicku.me>
Date: Tue Nov 26 15:44:03 2013 +0800
New version.
.gitignore | 1 +
lynis.spec | 66 +++++++++++++++++++++++++----------------------------------
sources | 2 +-
3 files changed, 30 insertions(+), 39 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index bf9ad72..5b0cfd3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
lynis-1.2.9.tar.gz
+/lynis-1.3.5.tar.gz
diff --git a/lynis.spec b/lynis.spec
index ec8b41c..4ece5a6 100644
--- a/lynis.spec
+++ b/lynis.spec
@@ -1,26 +1,21 @@
Name: lynis
-Version: 1.2.9
-Release: 6%{?dist}
+Version: 1.3.5
+Release: 1%{?dist}
Summary: Security and system auditing tool
-Group: Applications/System
License: GPLv3
-URL: http://www.rootkit.nl/projects/lynis.html
-Source0: http://www.rootkit.nl/files/lynis-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+URL: http://cisofy.com/lynis/
+Source0: http://cisofy.com/files/%{name}-%{version}.tar.gz
BuildArch: noarch
-Requires: e2fsprogs, module-init-tools, audit
+Requires: audit
+Requires: e2fsprogs
+Requires: module-init-tools
%description
-Lynis is a security and system auditing tool. It scans a system on the
-most interesting parts useful for audits, like:
- - Security enhancements
- - Logging and auditing options
- - Banner identification
- - Software availability
-
-Lynis is released as a GPL licensed project and free for everyone to use.
-
-See http://www.rootkit.nl for a full description and documentation.
+Lynis is an auditing and hardening tool for Unix/Linux and you might even call
+it a compliance tool. It scans the system and installed software. Then it
+performs many individual security control checks. It determines the hardening
+state of the machine, detects security issues and provides suggestions to
+improve the security defense of the system.
%prep
%setup -q
@@ -29,41 +24,36 @@ See http://www.rootkit.nl for a full description and documentation.
# Empty build
%install
-rm -rf $RPM_BUILD_ROOT
-
-mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/%{name}
-# profile
-install -m 644 -p default.prf $RPM_BUILD_ROOT/%{_sysconfdir}/%{name}
+mkdir -p %{buildroot}%{_sysconfdir}/%{name}
+install -pm644 default.prf %{buildroot}%{_sysconfdir}/%{name}
-mkdir -p $RPM_BUILD_ROOT/%{_bindir}
-install -p lynis $RPM_BUILD_ROOT/%{_bindir}
+mkdir -p %{buildroot}%{_bindir}
+install -pm755 lynis %{buildroot}%{_bindir}
-mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man8
-install -m 644 -p lynis.8 $RPM_BUILD_ROOT/%{_mandir}/man8
+mkdir -p %{buildroot}%{_mandir}/man8
+install -pm644 lynis.8 %{buildroot}%{_mandir}/man8
-mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name}/include/
-install -p include/* $RPM_BUILD_ROOT%{_datadir}/%{name}/include/
+mkdir -p %{buildroot}%{_datadir}/%{name}/include/
+install -p include/* %{buildroot}%{_datadir}/%{name}/include/
-mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins/
-install -m 644 -p plugins/* $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins/
+mkdir -p %{buildroot}%{_datadir}/%{name}/plugins/
+install -pm644 plugins/* %{buildroot}%{_datadir}/%{name}/plugins/
-mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name}/db/
-install -m 644 -p db/* $RPM_BUILD_ROOT%{_datadir}/%{name}/db/
-
-%clean
-rm -rf $RPM_BUILD_ROOT
+mkdir -p %{buildroot}%{_datadir}/%{name}/db/
+install -pm644 db/* %{buildroot}%{_datadir}/%{name}/db/
%files
-%defattr(-,root,root,-)
%doc CHANGELOG FAQ LICENSE README
-%{_mandir}/man8/lynis.8.gz
%{_bindir}/lynis
%{_datadir}/%{name}
+%{_mandir}/man8/lynis.8*
%dir %{_sysconfdir}/%{name}
-# profile
%config(noreplace) %{_sysconfdir}/%{name}/default.prf
%changelog
+* Tue Nov 26 2013 Christopher Meng <rpm at cicku.me> - 1.3.5-1
+- New version.
+
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.2.9-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
diff --git a/sources b/sources
index be31a4b..fe30475 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-69b369173ffc0f10f021035f73857e1f lynis-1.2.9.tar.gz
+6ccb197ae5cde4347ff03ac75a737db3 lynis-1.3.5.tar.gz
More information about the scm-commits
mailing list