Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:lafenghu
seccheck
seccheck.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File seccheck.spec of Package seccheck
# # spec file for package seccheck # # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # 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/ # Name: seccheck Provides: suse-security-check Requires: bash Requires: cron PreReq: %fillup_prereq BuildArch: noarch Version: 2.0 Release: 0 Summary: Security-Check Scripts License: GPL-2.0+ Group: Productivity/Security Source: %{name}-%{version}.tar.bz2 Source1: sysconfig.seccheck Source2: cron_entries Patch: %{name}-%{version}.diff Patch1: %{name}-%{version}-misc.patch Patch2: %{name}-%{version}-nisfix.patch Patch3: %{name}-%{version}-grep.patch Patch4: %{name}-%{version}-sort.patch Patch5: %{name}-%{version}-newpromisccheck.patch Patch6: %{name}-%{version}-filesystems_added.patch #Patch7: %{name}-%{version}_john-path.diff Patch8: %{name}-%{version}_withoutmedia-bug47024.diff Patch9: %{name}-%{version}_update-datafiles-regexfix-bug51004.diff Patch10: %{name}-%{version}_fix-ls-output-local.diff Patch11: %{name}-%{version}_find_mount_arg.diff Patch12: %{name}-%{version}_find_with_dev.diff Patch13: %{name}-%{version}_dont_run_xarg_on_empty_input.diff Patch14: %{name}-%{version}-john.patch Patch15: %{name}-%{version}-website.patch Patch16: %{name}-%{version}_new_rpm_output_handle_more_filesystems_bnc746042.diff Patch17: %{name}-%{version}_daily_uid_bnc769770.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Regularly executable scripts (via cron) for checking the security of your system. %prep %setup %patch %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 %patch6 #%patch7 -p1 %patch8 -p1 %patch9 -p1 %patch10 -p1 %patch11 -p1 %patch12 -p1 %patch13 -p1 %patch14 %patch15 %patch16 %patch17 -p1 %install install -d -m 700 $RPM_BUILD_ROOT/var/lib/secchk install -d -m 700 $RPM_BUILD_ROOT/var/lib/secchk/data install -d -m 750 $RPM_BUILD_ROOT/usr/lib/secchk install -d -m 755 $RPM_BUILD_ROOT/usr/doc/packages/secchk install -d -m 755 $RPM_BUILD_ROOT/etc/cron.d install -m 600 crontab.security $RPM_BUILD_ROOT/etc/cron.d/seccheck install -m 740 *.sh $RPM_BUILD_ROOT/usr/lib/secchk/ install -m 740 checkneverlogin $RPM_BUILD_ROOT/usr/lib/secchk/ install -d $RPM_BUILD_ROOT/var/adm/fillup-templates install -m 644 $RPM_SOURCE_DIR/sysconfig.seccheck $RPM_BUILD_ROOT/var/adm/fillup-templates/ #install -d -m 755 $RPM_BUILD_ROOT/etc/cron.daily #install -d -m 755 $RPM_BUILD_ROOT/etc/cron.weekly #install -d -m 755 $RPM_BUILD_ROOT/etc/cron.monthly #for freq in daily weekly monthly; do # sed "s/FREQUENCY/$freq/" <$RPM_SOURCE_DIR/cron_entries >$RPM_BUILD_ROOT/etc/cron.$freq/seccheck # chown 0.0 $RPM_BUILD_ROOT/etc/cron.$freq/seccheck # chmod 700 $RPM_BUILD_ROOT/etc/cron.$freq/seccheck #done %files %defattr(-,root,root) %doc TODO CHANGES README LICENCE /usr/lib/secchk %config /etc/cron.d/seccheck #%config /etc/cron.daily/seccheck #%config /etc/cron.weekly/seccheck #%config /etc/cron.monthly/seccheck %dir /var/lib/secchk %dir /var/lib/secchk/data /var/adm/fillup-templates/sysconfig.seccheck %clean rm -rf $RPM_BUILD_ROOT %post %{fillup_only} %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