~ubuntu-branches/ubuntu/feisty/apache2/feisty

« back to all changes in this revision

Viewing changes to debian/scripts/fix.source.patch

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Barth
  • Date: 2006-12-09 21:05:45 UTC
  • mfrom: (0.6.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20061209210545-h70s0xaqc2v8vqr2
Tags: 2.2.3-3.2
* Non-maintainer upload.
* 043_ajp_connection_reuse: Patch from upstream Bugzilla, fixing a critical
  issue with regard to connection reuse in mod_proxy_ajp.
  Closes: #396265

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/bash
2
 
. debian/scripts/vars
3
 
. debian/scripts/lib
4
 
mkdir -p $STAMP_DIR/upstream/fixpatch upstream
5
 
for f in `find debian/fixpatch -type f 2> /dev/null |sort`;do
6
 
        bf=$(basename $f)
7
 
        stampfile=$STAMP_DIR/upstream/fixpatch/$bf
8
 
        if [ ! -e $stampfile ];then
9
 
                [ -r debian/fixpatch/.$bf ] && sh debian/patches/.$bf && continue
10
 
                START $bf
11
 
                if file2cat $f | (cd upstream;patch -p1 ) > $stampfile.log;then
12
 
                        OK
13
 
                        touch $stampfile
14
 
                else
15
 
                        FAILED
16
 
                        exit 1
17
 
                fi
18
 
        else
19
 
                ALREADY_DONE $bf
20
 
        fi
21
 
done