debian/0000755000000000000000000000000012264321057007170 5ustar debian/lynis.desktop0000644000000000000000000000045111677127242011730 0ustar [Desktop Entry] Name=Lynis auditing tool Name[es]=Herramienta de auditoría Lynis Comment=Security auditing tool (root) Comment[es]=Herramienta de auditoría de seguridad (root) Exec=su-to-root -c '/usr/sbin/lynis --no-colors' Terminal=true Type=Application Categories=System; StartupNotify=true debian/lynis.manpages0000644000000000000000000000001011677127242012041 0ustar lynis.8 debian/control0000644000000000000000000000130612225544373010600 0ustar Source: lynis Section: utils Priority: optional Maintainer: Francisco Manuel Garcia Claramonte Build-Depends: debhelper (>= 7) Standards-Version: 3.9.4 Homepage: http://www.rootkit.nl/projects/lynis.html Package: lynis Architecture: all Depends: ${misc:Depends} Recommends: menu Suggests: dnsutils Description: security auditing tool for Unix based systems Lynis is an auditing tool for Unix. It scans the system configuration and creates an overview of system information and security issues usable by professional auditors. It can assist in automated audits. . Lynis can be used in addition to other software, like security scanners, system benchmarking and fine-tuning tools. debian/watch0000644000000000000000000000010212240507062010206 0ustar version=3 http://cisofy.com/downloads/ /files/lynis-(.*)\.tar\.gz debian/source/0000755000000000000000000000000011677127242010477 5ustar debian/source/format0000644000000000000000000000001411677127242011705 0ustar 3.0 (quilt) debian/postinst0000644000000000000000000000142511703624616011004 0ustar #!/bin/sh set -e case "$1" in configure) echo "Checking for unneeded old plugin files in /etc/lynis/plugins" if [ -f /etc/lynis/plugins/plugin_compliance_pci ] ; then rm -f /etc/lynis/plugins/plugin_compliance_pci fi if [ -f /etc/lynis/plugins/plugin_webserver_data ] ; then rm -f /etc/lynis/plugins/plugin_webserver_data fi if [ -f /etc/lynis/plugins/plugin_access_files ] ; then rm -f /etc/lynis/plugins/plugin_access_files fi if [ -f /etc/lynis/plugins/plugin_homedirs ] ; then rm -f /etc/lynis/plugins/plugin_homedirs fi ;; abort-upgrade|abort-remove|abort-deconfigure) ;; *) echo "postinst called with unknown argument \`$1'" >&2 exit 1 ;; esac #DEBHELPER# exit 0 debian/compat0000644000000000000000000000000211677127242010375 0ustar 7 debian/lynis.lintian-overrides0000644000000000000000000000007212264317230013703 0ustar lynis: non-standard-file-perm lynis: script-not-executabledebian/postrm0000644000000000000000000000062711677127242010453 0ustar #!/bin/sh set -e case "$1" in remove|disappear) ;; purge|upgrade|failed-upgrade|abort-install|abort-upgrade) rm -f /var/log/lynis.log rm -f /var/log/lynis-report.dat ;; *) echo "postrm called with unknown argument \`$1'" >&2 exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/rules0000755000000000000000000000313712264320216010250 0ustar #!/usr/bin/make -f build: build-arch build-indep build-arch: build-stamp build-indep: build-stamp build-stamp: dh_testdir touch build-stamp clean: dh_testdir dh_testroot rm -f build-stamp dh_clean install: build dh_testdir dh_testroot dh_prep # Add here commands to install the package into debian/lynis. install -D $(CURDIR)/lynis $(CURDIR)/debian/lynis/usr/sbin/lynis install -D -m 0644 $(CURDIR)/default.prf $(CURDIR)/debian/lynis/etc/lynis/default.prf install -d $(CURDIR)/include/ $(CURDIR)/debian/lynis/usr/share/lynis/include/ install -m 0640 $(CURDIR)/include/* $(CURDIR)/debian/lynis/usr/share/lynis/include/ install -d $(CURDIR)/plugins/ $(CURDIR)/debian/lynis/etc/lynis/plugins/ install -m 0755 $(CURDIR)/plugins/custom_plugin.template $(CURDIR)/debian/lynis/etc/lynis/plugins/ install -m 0644 $(CURDIR)/plugins/README $(CURDIR)/debian/lynis/etc/lynis/README install -d $(CURDIR)/db $(CURDIR)/debian/lynis/usr/share/lynis/db/ install -m 0644 $(CURDIR)/db/* $(CURDIR)/debian/lynis/usr/share/lynis/db/ mkdir -p $(CURDIR)/debian/lynis/usr/share/applications/ install -m 0644 $(CURDIR)/debian/lynis.desktop $(CURDIR)/debian/lynis/usr/share/applications/ # Build architecture-dependent files here. binary-arch: build install binary-indep: build install dh_testdir dh_testroot dh_installchangelogs CHANGELOG dh_installdocs dh_installmenu dh_installman dh_install dh_link dh_compress dh_fixperms -Xinclude dh_lintian -plynis dh_installdeb dh_gencontrol dh_md5sums dh_builddeb binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install configure debian/docs0000644000000000000000000000002411703631254010037 0ustar FAQ README dev/TODO debian/README.Debian0000644000000000000000000000156312264021214011226 0ustar lynis for Debian ---------------- When execute Lynis from Debian menu, the program runs with the following parameter: lynis --no-colors It makes a full system check, with the default profile file (/etc/lynis/default.prf). Please adjust this config file with your needs. For better perform, launch Lynis from a terminal, as root user, with your best configuration. Lynis can be executed directly: # lynis -c or # lynis After Lynis runs the system check, it creates the following two files with the session log and the results of tests. /var/log/lynis.log /var/log/lynis-report.dat See the manual page for more info. Read Lynis documentation web site [1],[2] for more info. [1] http://www.rootkit.nl/files/lynis-documentation.html [2] http://cisofy.com/documentation/lynis/ -- Francisco Manuel Garcia Claramonte Sun, 11 Dec 2013 12:47:07 +0200 debian/copyright0000644000000000000000000000256512264025025011127 0ustar This package was debianized by Francisco Garcia on Thu, 27 Dec 2007 10:24:00 +0100. It was downloaded from http://www.rootkit.nl/projects/lynis.html Upstream Author: Michael Boelen Copyright: Copyright (C) 2007-2014 Michael Boelen License: Lynis is distributed under the General Public License version 3 (GPL 3). This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . On Debian GNU/Linux systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL-3 The Debian packaging is © 2008-2014, Francisco Garcia and is licensed under the GPL-3, see `/usr/share/common-licenses/GPL-3'. debian/changelog0000644000000000000000000001471112264320601011040 0ustar lynis (1.3.9-1) unstable; urgency=low * New upstream release * Fixed the problem with NTP clients and cron tasks. (Closes: #726826). * Fixed include files permissions to 640 in debian/rules. * Excluded include directory of dh_fixperms in debian/rules. * Added debian/lynis.lintian-overrides file to avoid lintian warnings about non standard file perms and scripts not executables. * Updated copyright notes in debian/copyright. * Added new documentation URL to README.Debian file. -- Francisco Manuel Garcia Claramonte Fri, 10 Jan 2014 18:15:50 +0100 lynis (1.3.8-1) local; urgency=low * New upstream release -- Francisco Manuel Garcia Claramonte Fri, 10 Jan 2014 17:38:02 +0100 lynis (1.3.4-1) unstable; urgency=low * New upstream release * Updated debian/watch to new upstream download URL. -- Francisco Manuel Garcia Claramonte Sun, 10 Nov 2013 19:32:45 +0100 lynis (1.3.2-1) unstable; urgency=low * New upstream release * Updated Debian policy to 3.9.4. * Updated debian/copyright file. * Reviewed with minor improvements debian/README.Debian file. -- Francisco Manuel Garcia Claramonte Thu, 10 Oct 2013 17:33:03 +0200 lynis (1.3.0-1) unstable; urgency=low * New upstream release. * Removed old unneeded plugins. -- Francisco Manuel Garcia Claramonte Thu, 29 Dec 2011 19:19:05 +0100 lynis (1.2.9-3) unstable; urgency=low * Updated Debian policy to 3.9.2 * Added debian/rules targets in debian/rules, according to debian-policy. * Switch to dpkg-source 3.0 (quilt) format * Improved the debian/README.Debian description file. -- Francisco Manuel Garcia Claramonte Sun, 24 Jul 2011 17:23:43 +0200 lynis (1.2.9-2) unstable; urgency=low * Fixed debian/lynis.desktop file to load lynis application properly. * Updated Debian policy to 3.9.1 -- Francisco Manuel Garcia Claramonte Wed, 28 Jul 2010 16:51:16 +0200 lynis (1.2.9-1) unstable; urgency=low * New Upstream release * Added debian/postinst for remove deprecated plugins files. -- Francisco Manuel Garcia Claramonte Wed, 16 Dec 2009 20:58:56 +0100 lynis (1.2.7-1) unstable; urgency=low * New upstream release + Fixed the problems with dash shell (Closes: #523432). + Fixed the problem checking the mlocate database (Closes: #523430). + Fixed the fail to find PHP (Closes: #523433). * Updated Debian policy to 3.8.3 -- Francisco Manuel Garcia Claramonte Fri, 06 Nov 2009 16:07:46 +0100 lynis (1.2.6-2) unstable; urgency=low * Updated Debian policy to 3.8.2 * Updated Maintainer control field to @debian.org. * Added debian/postrm file to remove log files in purge. -- Francisco Manuel Garcia Claramonte Tue, 25 Aug 2009 17:17:30 +0200 lynis (1.2.6-1) unstable; urgency=low * New Upstream release * Changed exec permission for new script in plugins directory. * Updated debian/docs to dev/TODO reference new location. -- Francisco Garcia Wed, 08 Apr 2009 19:46:14 +0200 lynis (1.2.5-1) unstable; urgency=low * New Upstream release * Added the debian/lynis.desktop file. * Updated to debian policy 3.8.1 * Added the dependency with menu package and ${misc:Depends}. * Changed exec permissions for script files in plugins directory. -- Francisco Garcia Sun, 29 Mar 2009 11:52:21 +0200 lynis (1.2.3-1) unstable; urgency=low * New upstream release. * Updated the debian/copyright upstream info. * Changed debian/copyright Lynis license reference. -- Francisco Garcia Tue, 03 Mar 2009 09:43:59 +0100 lynis (1.2.2-1) unstable; urgency=low * New upstream release. * Updated debhelper dependency version from 5 to 7. * Updated debhelper compatibility to 7. * Updated debian/rules install target to avoid a lintian warning. -- Francisco Garcia Thu, 19 Feb 2009 11:06:58 +0100 lynis (1.2.1-1) unstable; urgency=low * New upstream release. -- Francisco Garcia Thu, 11 Sep 2008 22:22:08 +0200 lynis (1.1.7-1) unstable; urgency=low * New upstream release. * Changed debian/menu title field. Now it is more descriptive for the user. * Added lynis documental web site reference to debian/README.debian file. * Changed debian/menu command to "/usr/sbin/lynis --no-colors" to make the output text more readable. * Added a GPL license excerpt, and a /usr/share/common-licences/GPL reference in debian/copyright file * Changed the copyright symbol to © in debian/copyright file. -- Francisco Garcia Sun, 29 Jun 2008 10:13:06 +0200 lynis (1.1.5-1) unstable; urgency=low * New upstream release. * Updated to debian policy 3.8.0 -- Francisco Garcia Thu, 12 Jun 2008 13:32:52 +0000 lynis (1.1.4-1) unstable; urgency=low * New upstream release. * Added /usr/share/lynis/db dir. -- Francisco Garcia Thu, 05 Jun 2008 00:08:11 +0200 lynis (1.1.3-1) unstable; urgency=low * New upstream release * Modify debian/rules to avoid edit plugin path in lynis script, removed the temporal build copy of lynis. * Clean up comments in debian/rules file. -- Francisco Garcia Thu, 22 May 2008 00:14:44 +0200 lynis (1.1.2-1) unstable; urgency=low * New upstream release * Added /etc/lynis/plugins dir. * Removed the change in profiles and includedir path in debian/rules. Lynis-1.1.2 checks for the correct paths. -- Francisco Garcia Mon, 12 May 2008 22:28:43 +0200 lynis (1.1.1-1) unstable; urgency=low * New upstream release -- Francisco Garcia Mon, 14 Apr 2008 23:32:59 +0200 lynis (1.0.9-1) unstable; urgency=low * New upstream release * Cleaned up debian/rules. Removed unuseful commands. * Added Suggets dependency control field, with dnsutils package. * Removed lintian override. -- Francisco Garcia Tue, 08 Apr 2008 02:32:23 +0100 lynis (1.0.8-1) unstable; urgency=low * Initial release (Closes: #465538) -- Francisco Garcia Mon, 11 Feb 2008 23:54:25 +0100 debian/menu0000644000000000000000000000031511677127242010065 0ustar ?package(lynis):needs="text" section="Applications/System/Security" \ title="lynis auditing tool" \ longtitle="Security auditing tool (root)" \ command="su-to-root -c '/usr/sbin/lynis --no-colors'"