Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:ecsos:server
squidguardmgr
squidguardmgr.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File squidguardmgr.spec of Package squidguardmgr
# # spec file for package squidguardmgr # # Copyright 2013 by Lars Vogdt # # 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. # Name: squidguardmgr Summary: Web GUI for squidGuard and SquidClamav administration Url: http://squidguardmgr.darold.net/ Group: Productivity/Networking/Web/Proxy License: GPL-3.0+ Version: 1.14 Release: 0 Source0: %{name}-%{version}.tar.bz2 Source1: %{name}.http Source3: squid_wrapper Source4: squidguardmgr.sudoers Requires(pre): apache2 Requires: sudo Requires: cron Requires: perl(CGI) Recommends: squidGuard Recommends: squidclamav BuildArch: noarch BuildRequires: squid >= 3.4.10 BuildRequires: squidGuard # needed for the directories BuildRequires: apache2 BuildRoot: %{_tmppath}/%{name}-%{version}-build %define webdir /srv/www/%{name} %description SquidGuard Manager is a Perl CGI Web GUI for squidGuard and SquidClamav administration. It allow full administration of SquidGuard blocklist and ACLs. You can also manage graphicaly your SquidClamav configuration. This program support all configurations directives of SquidGuard and SquidClamav without intrusive modification, i-e you can still edit the configuration files by hand before and after using SquidGuard Manager. %prep %setup -q %build export PATH="$PATH:%{_sbindir}" perl Makefile.PL \ INSTALLDIRS=vendor \ DESTDIR=%{buildroot} \ QUIET=yes \ CONFFILE=%{_sysconfdir}/squidguard.conf \ DBHOME=/var/lib/squidGuard/db \ LOGDIR=/var/log/squidGuard \ WWWDIR=%{webdir} \ BASEURL=/squidguardmgr \ SQUIDUSR=squid \ SQUIDGRP=squid \ SQUID_WRAPPER="%{_bindir}/sudo /usr/bin/systemctl --quiet reload squid" \ SQUIDCLAMAV=%{_bindir}/c-icap \ CICAP_SOCKET=/var/run/c-icap/c-icap.ctl \ SQUIDCLAMAVCONF=%{_sysconfdir}/squidclamav.conf make %{?_smp_mflags} %install make DESTDIR="%{buildroot}" install pushd %{buildroot}%{webdir} rm squid_wrapper install -m755 %{SOURCE3} squid_wrapper chmod 0644 squidguardmgr.* chmod 0755 squidguardmgr.cgi popd install -Dm644 %{SOURCE4} %{buildroot}%{_sysconfdir}/sudoers.d/%{name} install -Dm644 %{SOURCE1} %{buildroot}%{_sysconfdir}/apache2/conf.d/%{name}.conf %post %{_sbindir}/usermod -a -G squid wwwrun %files %defattr(-, root, root) %doc ChangeLog LICENSE README %dir %{_sysconfdir}/sudoers.d %config(noreplace) %{_sysconfdir}/sudoers.d/%{name} %config(noreplace) %{_sysconfdir}/apache2/conf.d/%{name}.conf %defattr(-, squid, squid) %dir %{webdir} %{webdir}/* %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