chkrootkit/chkrootkit.spec

108 lines
3.2 KiB
RPMSpec

Name: chkrootkit
Version: 0.58b
Release: 1mamba
Summary: A tool to locally check for signs of a rootkit
Group: Applications/Security
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.chkrootkit.org/
# NOTE: unversioned tarball manually downloaded
Source: ftp://chkrootkit.org/pub/seg/pac/chkrootkit-%{version}.tar.gz
License: BSD
#bsd like (see COPYRIGHT)
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
%description
chkrootkit is a tool to locally check for signs of a rootkit.
It contains:
* chkrootkit: shell script that checks system binaries for rootkit modification.
* ifpromisc: checks if the network interface is in promiscuous mode.
* chklastlog: checks for lastlog deletions.
* chkutmp.c: checks for utmp deletions.
* chkwtmp: checks for wtmp deletions.
* chkdirs: checks for signs of LKM trojans.
* chkproc: checks for signs of LKM trojans.
* strings: quick and dirty strings replacement.
A large number of rootkits, worms and LKMs are currently detected.
For an updated list of rootkits, worms and LKMs detected by chkrootkit please visit: http://www.chkrootkit.org/.
#% debug_package
%prep
%setup -q
%build
%make all
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
install -d %{buildroot}%{_sbindir}
find -perm 755 -type f -exec install -m755 {} %{buildroot}%{_sbindir}/ \;
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_sbindir}/check_wtmpx
%{_sbindir}/chkdirs
%{_sbindir}/chklastlog
%{_sbindir}/chkproc
%{_sbindir}/chkrootkit
%{_sbindir}/chkutmp
%{_sbindir}/chkwtmp
%{_sbindir}/ifpromisc
%{_sbindir}/strings-static
%doc ACKNOWLEDGMENTS COPYRIGHT
#README*
%changelog
* Fri Jul 28 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.58b-1mamba
- update to 0.58b
* Tue Jan 17 2023 Automatic Build System <autodist@mambasoft.it> 0.57-1mamba
- automatic version update by autodist
* Thu Jan 05 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.56-1mamba
- update to 0.56
* Tue Jun 15 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.55-1mamba
- update to 0.55
* Thu Feb 04 2021 Automatic Build System <autodist@mambasoft.it> 0.54-1mamba
- automatic version update by autodist
* Sun Apr 19 2020 Automatic Build System <autodist@mambasoft.it> 0.53-1mamba
- automatic update by autodist
* Sun Jun 11 2017 Automatic Build System <autodist@mambasoft.it> 0.52-1mamba
- automatic update by autodist
* Wed Jul 02 2014 Automatic Build System <autodist@mambasoft.it> 0.50-1mamba
- automatic update by autodist
* Thu Aug 01 2013 Automatic Build System <autodist@mambasoft.it> 0.49-2mamba
- automatic rebuild by autodist
* Sat Aug 08 2009 Automatic Build System <autodist@mambasoft.it> 0.49-1mamba
- automatic update by autodist
* Sat Oct 04 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.48-1mamba
- automatic update by autodist
* Sat Aug 18 2007 Fabio Giani <fabio.giani@email.it> 0.47-1mamba
- update to version 0.47
* Mon Nov 07 2005 Davide Madrisan <davide.madrisan@qilinux.it> 0.46a-1qilnx
- update to version 0.46a by autospec
- specfile updates
* Fri Jul 09 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 0.43-1qilnx
- first build