Search
j0ke.net Open Build Service
>
Projects
>
internetx
:
managed
>
ix-asl-update
> ix-asl-update.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File ix-asl-update.spec of Package ix-asl-update
Name: ix-asl-update Summary: InterNetX GmbH mod_security rule updater Version: 0.1.8748 Release: 1 Url: http://www.internetx.de License: GPLv2 Group: System Environment Source0: %{name}-%{version}.tar BuildRoot: %{_tmppath}/%{name}-%{version}-root %if 0%{?rhel_version} || 0%{?centos_version} || 0%{?sl_version} || 0%{?redhat_version} %if 0%{?rhel} >= 7 Requires: cronie BuildRequires: cronie %else Requires: vixie-cron BuildRequires: vixie-cron %endif %endif %if 0%{?suse_version} Requires: cron BuildRequires: cron %endif Requires: ix-mod_security Requires: iproute BuildRequires: ix-mod_security BuildArch: noarch %description ix-asl-update downloads mod_security rulesets for InterNetX GmbH managed server systems. %prep %setup -n %{name}-%{version} %build %install %__install -D -m755 asl-update.sh %{buildroot}%{_sbindir}/ix-asl-update %__install -D -m644 asl-update.cron %{buildroot}%{_sysconfdir}/cron.d/ix-asl-update %__install -D -m644 ix-asl-update.conf %{buildroot}%{_sysconfdir}/ix-asl-update.conf %__install -m755 -d %{buildroot}%{_sysconfdir}/asl touch %{buildroot}%{_sysconfdir}/asl/whitelist %clean rm -rf %{buildroot} %files %defattr(-,root,root) %{_sbindir}/ix-asl-update %{_sysconfdir}/cron.d/ix-asl-update %dir %{_sysconfdir}/asl %config(noreplace) %{_sysconfdir}/asl/whitelist %config(noreplace) %{_sysconfdir}/ix-asl-update.conf %changelog