Fix templates

master
Daniel Berteaud 12 years ago
parent f6f8b115b0
commit ef19c772cf
  1. 7
      root/etc/e-smith/templates/etc/clamrt.list/00setup
  2. 4
      root/etc/e-smith/templates/etc/clamrt.list/10shares
  3. 4
      root/etc/e-smith/templates/etc/clamrt.list/20ibays
  4. 2
      root/etc/e-smith/templates/etc/clamrt.list/30dummy
  5. 8
      smeserver-clamrt.spec

@ -3,12 +3,9 @@
use esmith::AccountsDB;
my $a = esmith::AccountsDB->open_ro || die "Couldn't open AccountsDB\n";
my @ibays = $a->ibays();
my @shares = $a->get_all_by_prop(type=>'share');
@ibays = $a->ibays();
@shares = $a->get_all_by_prop(type=>'share');
<<<<<<< HEAD
=======
$OUT .= '';
>>>>>>> c99401afc73e86cc62d04be2dab94651b24af879
}

@ -6,9 +6,5 @@ foreach my $share (@shares){
next unless ($av eq 'enabled');
$OUT .= "/home/e-smith/files/shares/$name/files\n";
}
<<<<<<< HEAD
=======
$OUT .= '';
>>>>>>> c99401afc73e86cc62d04be2dab94651b24af879
}

@ -6,9 +6,5 @@ foreach my $ibay (@ibays){
next unless ($av eq 'enabled');
$OUT .= "/home/e-smith/files/ibays/$name\n";
}
<<<<<<< HEAD
=======
$OUT .= '';
>>>>>>> c99401afc73e86cc62d04be2dab94651b24af879
}

@ -1,4 +1,4 @@
{
# Just a dummy rep so there's always a rep to watch
}
/home/e-smith/files/samba/netlogon
/var/lib/clamrt

@ -2,14 +2,10 @@
# Name: Daniel B.
Summary: On access AV scanner
<<<<<<< HEAD
%define name smeserver-webapps-common
=======
%define name smeserver-clamrt
>>>>>>> c99401afc73e86cc62d04be2dab94651b24af879
Name: %{name}
%define version 0.0.1
%define release 1.beta0
%define release 1.beta3
Version: %{version}
Release: %{release}%{?dist}
License: GPL
@ -35,7 +31,7 @@ Provides on access AV scan for shares and ibays
%build
perl createlinks
%{__mkdir_p} root/var/log/clamrt
%{__mkdir_p} root/var/{log,lib}/clamrt
%install
/bin/rm -rf $RPM_BUILD_ROOT

Loading…
Cancel
Save