Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:aevseev
chkrootkit
chkrootkit.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File chkrootkit.spec of Package chkrootkit
%define realname chkrootkit %define realver 0.50 %define srcext tar.gz # turn off the generation of debuginfo rpm (RH9) ?? %global debug_package %{nil} # Common info Name: %{realname} Version: %{realver} Release: %{?extraver:0.}1%{?rhel:.el%{rhel}}%{?fedora:.fc%{fedora}} License: BSD-2-Clause Group: Productivity/Security URL: http://www.chkrootkit.org/ Summary: Check for signs of a rootkit # Build-time parameters BuildRequires: glibc-%{?suse_version:devel-}static BuildRoot: %{_tmppath}/%{name}-root Source: ftp://ftp.pangeia.com.br/pub/seg/pac/%{realname}-%{realver}%{?extraver}.%{srcext} %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.c: checks if the interface is in promiscuous mode. * chklastlog.c: checks for lastlog deletions. * chkwtmp.c: checks for wtmp deletions. * check_wtmpx.c: checks for wtmpx deletions. (Solaris only) * chkproc.c: checks for signs of LKM trojans. * chkdirs.c: checks for signs of LKM trojans. * strings.c: quick and dirty strings replacement. * chkutmp.c: checks for utmp deletions. # Preparation step (unpackung and patching if necessary) %prep %setup -q -n %{realname}-%{realver}%{?extraver} %build %{__make} %{?_smp_mflags} CFLAGS="%{optflags} -DHAVE_LASTLOG_H" sense %install %{__install} -d -m755 %{buildroot}%{_bindir} %{__install} -d -m755 %{buildroot}%{_libdir}/%{name} for binary in chklastlog chkwtmp ifpromisc chkproc chkdirs check_wtmpx strings-static chkutmp do %{__sed} -i "s|\./${binary}|%{_libdir}/%{name}/${binary}|" chkrootkit %{__install} -m755 ${binary} %{buildroot}%{_libdir}/%{name}/${binary} done %{__install} -m755 chkrootkit %{buildroot}%{_bindir}/chkrootkit %clean [ "%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot} %files %defattr(-,root,root) %doc ACKNOWLEDGMENTS COPYRIGHT README* %{_bindir}/chkrootkit %dir %{_libdir}/%{name} %{_libdir}/%{name}/* %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