~ubuntu-branches/ubuntu/lucid/openssl/lucid-proposed

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Nicolas Valcárcel Scerpella (Canonical)
  • Date: 2009-12-06 20:16:24 UTC
  • mfrom: (11.1.9 sid)
  • Revision ID: james.westby@ubuntu.com-20091206201624-u126qjpqm2n2uuhu
Tags: 0.9.8k-7ubuntu1
* Merge from debian unstable, remaining changes (LP: #493392):
  - Link using -Bsymbolic-functions
  - Add support for lpia
  - Disable SSLv2 during compile
  - Ship documentation in openssl-doc, suggested by the package.
  - Use a different priority for libssl0.9.8/restart-services
    depending on whether a desktop, or server dist-upgrade is being
    performed.
  - Display a system restart required notification bubble on libssl0.9.8
    upgrade.
  - Replace duplicate files in the doc directory with symlinks.
  - Move runtime libraries to /lib, for the benefit of wpasupplicant
* Strip the patches out of the source into quilt patches
* Disable CVE-2009-3555.patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
OPTS      = $($(ARCHOPTS))
28
28
WANTED_LIBC_VERSION = 2.3.1-10
29
29
 
30
 
build:
 
30
patch: patch-stamp
 
31
patch-stamp:
 
32
        QUILT_PATCHES=debian/patches quilt push -a || test $$? = 2
 
33
        touch patch-stamp
 
34
 
 
35
unpatch:
 
36
        QUILT_PATCHES=debian/patches quilt pop -a || test $$? = 2
 
37
        rm -rf patch-stamp debian/patched
 
38
 
 
39
build: build-stamp
 
40
build-stamp: patch-stamp
31
41
        dh_testdir
32
42
        perl util/perlpath.pl /usr/bin
33
43
#       perl util/ssldir.pl /usr/lib/ssl
60
70
#       make -f Makefile all
61
71
        touch build
62
72
 
63
 
clean:
 
73
clean: clean-patched unpatch
 
74
clean-patched: patch-stamp
64
75
        dh_testdir
65
76
        dh_testroot
66
77
        dh_clean
169
180
        dh_strip --dbg-package=libssl0.9.8
170
181
        dh_perl -d
171
182
#       dh_suidregister
172
 
        dh_makeshlibs -V "libssl0.9.8 (>= 0.9.8f-5)" --add-udeb="libcrypto0.9.8-udeb"
 
183
        dh_makeshlibs -V "libssl0.9.8 (>= 0.9.8k-1)" --add-udeb="libcrypto0.9.8-udeb"
173
184
        dh_shlibdeps -L libssl0.9.8 -l debian/libssl0.9.8/lib
174
185
        dh_gencontrol
175
186
        dh_installdeb
184
195
source diff:
185
196
        @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
186
197
 
187
 
.PHONY: binary binary-arch binary-indep clean
 
198
.PHONY: binary binary-arch binary-indep clean patch