[sisyphus] Suid+clamav

Шенцев Алексей Владимирович =?iso-8859-1?q?ashen_=CE=C1_nsrz=2Eru?=
Пт Сен 15 17:49:04 MSD 2006


В сообщении от 15 сентября 2006 17:46 Eugene Ostapets написал(a):
> Просто удалить из спека, чтобы под ногами не путалось... У нас это
> поределено в rpm-build для всех пакетов:)
Ага, об этом подумал и попробывал без него. На не возможность найти 
макрос %__id больше не ругается, а вот как заставить видить libcurl-devel не 
знаю. Ну покурочил не много спек до такого вида (во вложении).
-- 
С уважением Шенцев Алексей Владимирович.
E-mail: ashen на nsrz.ru
ICQ: 271053845
----------- следующая часть -----------
Name:		squidclam
Version:	0.22
Release:	alt1
Summary:	Redirect program for squid antivirus scanning
Group:		System Environment/Daemons
License:	GPL
URL:		http://squidclam.sourceforge.net/
Packager: 	Alexey Shentzev <ashen на altlinux.ru>
Source0:	squidclam-%{version}.tar.gz
BuildRequires:	libcurl-devel libclamav-devel
Requires:	squid curl clamav

%description
squidclam is going to be a program to scan files served to win32
machines by a squid proxy. It hast du be fast and small to get
this job done. Also it has to be secure to not weaken the server
system.
At the moment squidclam is pretty small, scans files for viruses 
and is doing it's job pretty well for me.

%prep
%setup -q

%build
./configure
%{__make} %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT/
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/
mkdir -p $RPM_BUILD_ROOT%{_sbindir}/
install sample.conf $RPM_BUILD_ROOT%{_sysconfdir}/squidclam.conf
install squidclam $RPM_BUILD_ROOT%{_sbindir}/

%clean
rm -rf $RPM_BUILD_ROOT

%post

%preun

%postun

%files
%defattr(0644,root,root,0755)
%doc Changelog README TODO
%doc antivir.php
%config(noreplace) %{_sysconfdir}/squidclam.conf
%attr(0755,root,root) %{_sbindir}/squidclam

%changelog
* Mon May 02 2005 Daniel Lord 0.11
- Changed Version
- Removed the old 100kB Limit (adjustable now)

* Wed Apr 27 2005 Petr Kri╧tof <Petr|Kristof_CZ> 0.10-1
- Update to 0.10
- Add /etc/squidclam.conf

* Thu Mar 17 2005 Petr Kri╧tof <Petr|Kristof_CZ> 0.9-0
- Initial RPM release



Подробная информация о списке рассылки Sisyphus