~ubuntu-branches/ubuntu/raring/clamav/raring

« back to all changes in this revision

Viewing changes to debian/common_functions

  • Committer: Bazaar Package Importer
  • Author(s): Stephen Gran
  • Date: 2008-09-05 17:25:34 UTC
  • mfrom: (0.35.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20080905172534-yi3f8fkye1o7u1r3
* New upstream version (closes: #497662, #497773)
  - lots of new options for clamd.conf
  - fixes CVEs CVE-2008-3912, CVE-2008-3913, CVE-2008-3914, and
    CVE-2008-1389
* No longer supports --unzip option, so typo is gone (closes: #496276)
* Translations:
  - sv (thanks Martin Bagge <brother@bsnet.se>) (closes: #491760)

Show diffs side-by-side

added added

removed removed

Lines of Context:
81
81
        else
82
82
          continue
83
83
        fi
 
84
      elif [ "$variable" = 'IncludePUA' ]; then
 
85
        if [ -z "$IncludePUA" ]; then
 
86
          for i in `grep ^$variable $CLAMAVCONF | awk '{print $2}'`; do
 
87
            value="$i $value"
 
88
          done
 
89
        else
 
90
          continue
 
91
        fi
 
92
      elif [ "$variable" = 'ExcludePUA' ]; then
 
93
        if [ -z "$ExcludePUA" ]; then
 
94
          for i in `grep ^$variable $CLAMAVCONF | awk '{print $2}'`; do
 
95
            value="$i $value"
 
96
          done
 
97
        else
 
98
          continue
 
99
        fi
84
100
      elif [ "$variable" = 'VirusEvent' ] || [ "$variable" = 'OnUpdateExecute' ] || [ "$variable" = 'OnErrorExecute' ]; then
85
101
        value=`grep ^$variable $CLAMAVCONF | head -n1 | sed -e s/$variable\ //`
86
102
      else