Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
lynis
lynis.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File lynis.spec of Package lynis
# # spec file for package lynis # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2009-2011 Sascha Manns <saigkill@opensuse.org> # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define _includedir /usr/share/lynis/include %define _pluginsdir /usr/share/lynis/plugins %define _dbdir /usr/share/lynis/db %define _bindir /usr/bin Name: lynis Version: 1.3.0 Release: 1 License: GPL-3.0 Summary: Security and System auditing tool Url: http://www.rootkit.nl/projects/lynis.html Group: System/Monitoring Source0: %{name}-%{version}.tar.bz2 Source1: default.prf Source2: tests_binary_rpath Source3: tests_file_permissionsDB Source4: tests_file_permissions_ww Source5: tests_network_allowed_ports Source6: tests_system_dbus Source7: tests_system_proc Source8: tests_tmp_symlinks Source9: tests_users_wo_password Source10: prepare_for_suse.sh Source11: dbus-whitelist.db # PATCH-OPENSUSE-FIX -- thomas@novell.com - modifying for openSUSE Patch0: %{name}_%{version}_lynis.diff # PATCH-OPENSUSE-FIX -- thomas@novell.com - modifying for openSUSE Patch1: %{name}_%{version}_db-fileperms.diff # PATCH-OPENSUSE-FIX -- thomas@novell.com - modifying for openSUSE Patch2: %{name}_%{version}_include_consts.diff # PATCH-OPENSUSE-FIX -- thomas@novell.com - modifying for openSUSE Patch3: %{name}_%{version}_include_binaries.diff # PATCH-OPENSUSE-FIX -- thomas@novell.com - modifying for openSUSE Patch4: %{name}_%{version}_include-test-databases.diff BuildRequires: gcc-c++ BuildRequires: libxml2-devel PreReq: %fillup_prereq Requires: bash Requires: cron Requires: findutils Requires: logrotate Requires: netcfg Requires: wget BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %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. %prep %setup -q %patch0 %patch1 %patch2 %patch3 %patch4 %build %install # Install Profile (default.prf) %__install -d %{buildroot}%{_sysconfdir}/%{name} %__install -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/%{name}/default.prf # install binary %__install -d %{buildroot}%{_bindir} %__install -d %{buildroot}%{_datadir}/%{name} %__install %{name} %{buildroot}%{_bindir} %__install %{SOURCE10} %{buildroot}%{_datadir}/%{name} # install man-page %__install -d %{buildroot}%{_mandir}/man8 %__install -pm 644 %{name}.8 %{buildroot}%{_mandir}/man8 # install functions/includes %__install -d %{buildroot}%{_includedir} %__install include/* %{buildroot}%{_includedir} %__install %{SOURCE2} %{buildroot}%{_includedir} %__install %{SOURCE3} %{buildroot}%{_includedir} %__install %{SOURCE4} %{buildroot}%{_includedir} %__install %{SOURCE5} %{buildroot}%{_includedir} %__install %{SOURCE6} %{buildroot}%{_includedir} %__install %{SOURCE7} %{buildroot}%{_includedir} %__install %{SOURCE8} %{buildroot}%{_includedir} %__install %{SOURCE9} %{buildroot}%{_includedir} # install plugins %__install -d %{buildroot}%{_pluginsdir} %__install -pm 644 plugins/* %{buildroot}%{_pluginsdir} # install database files %__install -d %{buildroot}%{_dbdir} %__install -pm 644 db/* %{buildroot}%{_dbdir} %__install -pm 644 %{SOURCE11} %{buildroot}%{_dbdir} %clean %__rm -rf %{buildroot} %files %defattr(-,root,root) %{_bindir}/%{name} %config %{_sysconfdir}/%{name}/default.prf %{_dbdir}/* %{_includedir}/* %{_pluginsdir}/* %dir %{_sysconfdir}/%{name} %dir %{_datadir}/%{name} %dir %{_datadir}/%{name}/db %dir %{_datadir}/%{name}/include %dir %{_datadir}/%{name}/plugins %doc CHANGELOG FAQ LICENSE README %doc %{_mandir}/man8/%{name}.8.* %{_datadir}/%{name}/prepare_for_suse.sh %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor