Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:aevseev
ecap-clamav-adapter
ecap-clamav-adapter.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ecap-clamav-adapter.spec of Package ecap-clamav-adapter
%define realname ecap_clamav_adapter %define realver 2.0.0 %define srcext tar.gz %define so_ver 0 # turn off the generation of debuginfo rpm (RH9) ?? %global debug_package %{nil} # Common info Name: ecap-clamav-adapter Version: %{realver} Release: %{?extraver:0.}1%{?dist} License: GPL-2.0 Group: Productivity/Networking/Web/Proxy URL: http://e-cap.org/Market Summary: An eCAP adapter module using the ClamAV antivirus # Install-time parameters %if 0%{?suse_version} Enhances: squid >= 3.1 %endif # Build-time parameters BuildRequires: pkg-config gcc-c++ BuildRequires: pkgconfig(libecap) >= 1.0 pkgconfig(libecap) < 1.1 BuildRequires: clamav-devel BuildRoot: %{_tmppath}/%{name}-root Source: http://www.measurement-factory.com/tmp/ecap/%{realname}-%{realver}%{?extraver}.%{srcext} %description This eCAP adapter module checks HTTP request and response bodies using the ClamAV antivirus library and denies access to messages with detected viruses. # Preparation step (unpackung and patching if necessary) %prep %setup -q -n %{realname}-%{realver}%{?extraver} %build %configure \ --disable-static \ CFLAGS="%{optflags} %{gcc_lto}" \ CXXFLAGS="%{optflags} %{gcc_lto}" \ LDFLAGS="-Wl,--as-needed -Wl,--strip-all %{gcc_lto}" %{__make} %{?_smp_mflags} %install %{__make} install DESTDIR=%{buildroot} %clean [ "%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot} %files %defattr(-,root,root) %doc CREDITS LICENSE NOTICE README %{_libdir}/ecap_clamav_adapter.so %exclude %{_libdir}/ecap_clamav_adapter.la %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