~ubuntu-branches/ubuntu/hardy/libexif/hardy

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Nico Golde
  • Date: 2007-12-21 17:13:58 UTC
  • mfrom: (5.1.5 hardy)
  • Revision ID: james.westby@ubuntu.com-20071221171358-zbjzk21kmnizelhk
Tags: 0.6.16-2.1
* Non-maintainer upload by security team.
* This update addresses the following security issues:
  - possible denial of service attack via crafted
    image file leading to an infinite recursion in the
    exif-loader.c (CVE-2007-6351; Closes: #457330).
  - integer overflow in exif-data.c triggered by a crafted
    image file could lead to arbitrary code execution
    (CVE-2007-6352; Closes: #457330).

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
#export DH_VERBOSE=1
4
4
 
 
5
include /usr/share/dpatch/dpatch.make
 
6
 
5
7
version=`ls libexif/.libs/lib*.so.* | \
6
8
 awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'`
7
9
major=`ls libexif/.libs/lib*.so.* | \
17
19
endif
18
20
 
19
21
configure: configure-stamp
20
 
configure-stamp:
 
22
configure-stamp: patch
21
23
        dh_testdir
22
24
        ./configure $(confflags) --prefix=/usr
23
25
        touch configure-stamp
28
30
        $(MAKE)
29
31
        touch build-stamp
30
32
 
31
 
clean:
 
33
patch: patch-stamp
 
34
patch-stamp:
 
35
        dpatch apply-all
 
36
 
 
37
clean: unpatch-stamp
32
38
        dh_testdir
33
39
        dh_testroot
34
40
        rm -f build-stamp configure-stamp
36
42
        -$(MAKE) distclean
37
43
        dh_clean
38
44
 
 
45
unpatch: unpatch-stamp
 
46
unpatch-stamp:
 
47
        dpatch deapply-all
 
48
        rm -rf patch-stamp debian/patched
 
49
 
39
50
install: build
40
51
        dh_testdir
41
52
        dh_testroot