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

« back to all changes in this revision

Viewing changes to debian/scripts/patch.unapply

  • 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/patches $SOURCE_DIR/$TAR_DIR
5
 
for f in `find debian/patches -maxdepth 1 -type f|sort -r`;do
6
 
        stampfile=$STAMP_DIR/patches/`basename $f`
7
 
        if [ -e $stampfile ];then
8
 
                START $f
9
 
                if file2cat $f | (cd $SOURCE_DIR/$TAR_DIR;patch -p1 -R) > $stampfile.log;then
10
 
                        OK
11
 
                        rm $stampfile
12
 
                else
13
 
                        FAILED
14
 
                        exit 1
15
 
                fi
16
 
        else
17
 
                ALREADY_DONE $f
18
 
        fi
19
 
done