Search
j0ke.net Open Build Service
>
Projects
>
server:mail
>
sophos-av
> sophos.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File sophos.spec of Package sophos-av (Revision 44)
Currently displaying revision
44
,
show latest
#!BuildIgnore: post-build-checks # sweep user %define SWEEPUID 90 # sweep group %define SWEEPGID 90 # sweep home %define SWEEP_HOME /var/lib/sav Name: sophos-av Summary: Sophos Antivirus Group: System/Security Version: 4.53 Release: 1 Url: http://www.sophos.com/ License: unknown %ifnarch x86_64 Source0: http://downloads.sophos.com/dp/full/linux.intel.libc6.glibc.2.2.tar.Z %else Source0: http://downloads.sophos.com/dp/full/linux.amd64.glibc.2.3.tar.Z %endif Source1: esunix_sen.pdf Source2: esunix_men.pdf Patch0: sophos-permission.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Provides: libsavi >= 3 BuildRequires: qmail_prepare_build procps %if 0%{?suse_version} Requires: openldap2-client %endif %if 0%{?suse_version} >= 1030 PreReq: pwdutils Requires: pwdutils %endif %if 0%{?suse_version} >= 1110 BuildRequires: chrpath %endif %if 0%{?centos_version} || 0%{?rhel_version} || 0%{?fedora_version} BuildRequires: shadow-utils Requires: shadow-utils %endif %description %prep %setup0 -n sav-install %patch0 cp %{S:1} . cp %{S:2} . %build %__mkdir_p %{buildroot}%{_prefix}/bin %__mkdir_p %{buildroot}%{_prefix}/%{_lib} %__mkdir_p %{buildroot}%{_mandir} %__mkdir_p %{buildroot}%{_localstatedir}/%{_lib}/sav %__mkdir_p %{buildroot}%{_localstatedir}/spool/intercheck %__mkdir_p %{buildroot}%{_prefix}/local %install ./install.sh -v -d %{buildroot}%{_prefix} -l %{buildroot}%{_libdir} -m %{buildroot}%{_mandir} -s %{buildroot}%{_localstatedir}/%{_lib}/sav -so -i %{buildroot}%{_localstatedir}/spool/intercheck cd %{buildroot}%{_mandir} for TARGET in ja_JP ja_JP.euc ja_JP.eucJP ja_JP.ujis japanese japanese.euc do rm -f ${TARGET} ln -sf %{_mandir}/jp.euc ${TARGET} done cd %{buildroot}%{_prefix}/local ln -sf %{_localstatedir}/%{_lib}/sav %if 0%{?suse_version} >= 1110 chrpath -d %{buildroot}%{_bindir}/icheckd chrpath -d %{buildroot}%{_bindir}/sweep %endif %post # sweep if [ -z "`%__grep "^sweep:" /etc/group 2>/dev/null`" ]; then %{_sbindir}/groupadd -r -g %{SWEEPGID} sweep fi if [ -z "`%__grep "^sweep" /etc/passwd 2>/dev/null`" ]; then %{_sbindir}/useradd -c "sweep" -d %{SWEEP_HOME} -g %{SWEEPGID} -u %{SWEEPUID} -r -s /bin/false sweep fi /sbin/ldconfig %files %defattr(-,root,root) %doc esunix_*.pdf %{_bindir}/icheckd %{_bindir}/sweep %{_libdir}/libsavi.so %{_libdir}/libsavi.so.2 %{_libdir}/libsavi.so.3* %{_mandir}/de/man1/icheckd.1.gz %{_mandir}/de/man1/sweep.1.gz %{_mandir}/de/man5/icheckd.conf.5.gz %{_mandir}/es/man1/icheckd.1.gz %{_mandir}/es/man1/sweep.1.gz %{_mandir}/es/man5/icheckd.conf.5.gz %{_mandir}/fr/man1/icheckd.1.gz %{_mandir}/fr/man1/sweep.1.gz %{_mandir}/fr/man5/icheckd.conf.5.gz %{_mandir}/it/man1/icheckd.1.gz %{_mandir}/it/man1/sweep.1.gz %{_mandir}/it/man5/icheckd.conf.5.gz %{_mandir}/ja_JP %{_mandir}/ja_JP.euc %{_mandir}/ja_JP.eucJP %{_mandir}/ja_JP.ujis %{_mandir}/japanese %{_mandir}/japanese.euc %dir %{_mandir}/jp.euc %dir %{_mandir}/jp.euc/man1 %dir %{_mandir}/jp.euc/man5 %{_mandir}/jp.euc/man1/icheckd.1.gz %{_mandir}/jp.euc/man1/sweep.1.gz %{_mandir}/jp.euc/man5/icheckd.conf.5.gz %dir %{_mandir}/jp.utf %dir %{_mandir}/jp.utf/man1 %dir %{_mandir}/jp.utf/man5 %{_mandir}/jp.utf/man1/icheckd.1.gz %{_mandir}/jp.utf/man1/sweep.1.gz %{_mandir}/jp.utf/man5/icheckd.conf.5.gz %{_mandir}/man1/icheckd.1.gz %{_mandir}/man1/sweep.1.gz %{_mandir}/man5/icheckd.conf.5.gz %attr (2775,sweep,sweep) %dir %{_localstatedir}/%{_lib}/sav %{_localstatedir}/%{_lib}/sav/eminstall.sh %{_localstatedir}/%{_lib}/sav/icmess.dat %{_localstatedir}/%{_lib}/sav/sus01.vdb %{_localstatedir}/%{_lib}/sav/svext.dat %{_localstatedir}/%{_lib}/sav/swpmess.dat %{_localstatedir}/%{_lib}/sav/vdl* %{_localstatedir}/%{_lib}/sav/xvdl* %{_prefix}/local/sav %changelog * Sun Apr 25 2010 Carsten Schoene <cs@linux-administrator.com> - 4.53-1 - update to release 4.53 * Thu Apr 08 2010 Carsten Schoene <cs@linux-administrator.com> - 4.52-1 - update to release 4.52 * Mon Mar 22 2010 Carsten Schoene <cs@linux-administrator.com> - 4.51-1 - update to release 4.51 * Sun Feb 21 2010 Carstne Schoene <cs@linux-administrator.com> - 4.50-1 - update to release 4.50 * Thu Oct 29 2009 Carsten Schoene <cs@linux-administrator.com> - 4.46-1 - update to release 4.46 * Thu Sep 10 2009 Carsten Schoene <cs@linux-administrator.com> - 4.45-1 - update to release 4.45 * Sat Jul 25 2009 Carsten Schoene <cs@linux-administrator.com> - 4.44-1 - update to release 4.44 * Sat Apr 11 2009 Carsten Schoene <cs@linux-administrator.com> - 4.40-1 - update to release 4.40 * Sat Feb 14 2009 Carsten Schoene <cs@linux-administrator.com> - 4.38-1 - update to release 4.38 * Sat Jan 17 2009 Carsten Schoene <cs@linux-administrator.com> - 4.37-1 - update to release 4.37 * Sun Dec 07 2008 Carsten Schoene <cs@linux-administrator.com> - 4.36-1 - update to release 4.36 * Fri Nov 07 2008 Carsten Schoene <cs@linux-administrator.com> - 4.35-1 - update to release 4.35 * Wed Oct 08 2008 Carsten Schoene <cs@linux-administrator.com> - 4.34-1 - update to release 4.34 * Fri Jul 11 2008 Carsten Schoene <cs@linux-administrator.com> - 4.31-1 - initial build of sophos-av