dbgsym migration, support nocheck
Mattias Ellert
6 years ago
0 | globus-gsi-openssl-error (3.8-2) unstable; urgency=medium | |
1 | ||
2 | * Migrate to dbgsym packages | |
3 | * Support DEB_BUILD_OPTIONS=nocheck | |
4 | ||
5 | -- Mattias Ellert <mattias.ellert@physics.uu.se> Thu, 06 Jul 2017 12:58:34 +0200 | |
6 | ||
0 | 7 | globus-gsi-openssl-error (3.8-1) unstable; urgency=medium |
1 | 8 | |
2 | 9 | * GT6 update: Alter dependency order to avoid mixing SSL versions |
1 | 1 | Priority: optional |
2 | 2 | Maintainer: Mattias Ellert <mattias.ellert@physics.uu.se> |
3 | 3 | Build-Depends: debhelper (>= 9), dh-autoreconf, pkg-config, libglobus-common-dev (>= 15), libssl-dev, doxygen, graphviz |
4 | Standards-Version: 3.9.8 | |
4 | Standards-Version: 4.0.0 | |
5 | 5 | Section: net |
6 | 6 | Vcs-Browser: http://svn.nordugrid.org/trac/packaging/browser/debian/globus-gsi-openssl-error |
7 | 7 | Vcs-Svn: http://svn.nordugrid.org/repos/packaging/debian/globus-gsi-openssl-error |
54 | 54 | . |
55 | 55 | The libglobus-gsi-openssl-error-doc package contains: |
56 | 56 | Globus OpenSSL Error Handling Documentation Files |
57 | ||
58 | Package: libglobus-gsi-openssl-error-dbg | |
59 | Section: debug | |
60 | Priority: extra | |
61 | Architecture: any | |
62 | Multi-Arch: same | |
63 | Provides: globus-gsi-openssl-error-dbg | |
64 | Replaces: globus-gsi-openssl-error-dbg (<< 2.1-4~) | |
65 | Conflicts: globus-gsi-openssl-error-dbg (<< 2.1-4~) | |
66 | Pre-Depends: ${misc:Pre-Depends} | |
67 | Depends: libglobus-gsi-openssl-error0 (= ${binary:Version}), ${misc:Depends} | |
68 | Description: Globus Toolkit - Globus OpenSSL Error Handling Debug Symbols | |
69 | The Globus Toolkit is an open source software toolkit used for | |
70 | building Grid systems and applications. It is being developed by the | |
71 | Globus Alliance and many others all over the world. A growing number | |
72 | of projects and companies are using the Globus Toolkit to unlock the | |
73 | potential of grids for their cause. | |
74 | . | |
75 | The libglobus-gsi-openssl-error-dbg package contains: | |
76 | Globus OpenSSL Error Handling Debug Symbols |
0 | Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ | |
0 | Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ | |
1 | 1 | Upstream-Name: globus_gsi_openssl_error |
2 | 2 | Upstream-Contact: http://toolkit.globus.org/ |
3 | Source: http://toolkit.globus.org/ftppub/gt6/packages/globus_gsi_openssl_error-3.8.tar.gz | |
3 | Source: https://downloads.globus.org/toolkit/gt6/packages/globus_gsi_openssl_error-3.8.tar.gz | |
4 | 4 | |
5 | 5 | Files: * |
6 | 6 | Copyright: |
10 | 10 | _prefix = /usr |
11 | 11 | _bindir = $(_prefix)/bin |
12 | 12 | _sbindir = $(_prefix)/sbin |
13 | _libdir = $(_prefix)/lib/$(DEB_HOST_MULTIARCH) | |
13 | _libdir = $(_prefix)/lib | |
14 | 14 | _datadir = $(_prefix)/share |
15 | 15 | _mandir = $(_datadir)/man |
16 | 16 | _docdir = $(_datadir)/doc/lib$(name)-dev |
17 | ||
18 | DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) | |
19 | 17 | |
20 | 18 | export SOURCE_DATE_EPOCH = \ |
21 | 19 | $(shell date -d "$$(dpkg-parsechangelog -c 1 -S Date)" +%s) |
30 | 28 | CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" \ |
31 | 29 | FFLAGS="$(FFLAGS)" CPPFLAGS="$(CPPFLAGS)" \ |
32 | 30 | LDFLAGS="$(LDFLAGS) -Wl,--as-needed -Wl,-z,defs" \ |
33 | ./configure \ | |
31 | dh_auto_configure -- \ | |
34 | 32 | --disable-static \ |
35 | --prefix=$(_prefix) \ | |
36 | --libdir='$${prefix}/lib/$(DEB_HOST_MULTIARCH)' \ | |
37 | --sysconfdir=/etc \ | |
38 | --localstatedir=/var \ | |
39 | 33 | --sharedstatedir=/var/lib \ |
40 | --mandir='$${datadir}/man' \ | |
41 | 34 | --includedir='$${prefix}/include/globus' \ |
42 | 35 | --libexecdir='$${datadir}/globus' \ |
43 | 36 | --docdir=$(_docdir) |
57 | 50 | dh_testdir |
58 | 51 | |
59 | 52 | $(MAKE) |
53 | ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),) | |
60 | 54 | $(MAKE) check VERBOSE=1 |
55 | endif | |
61 | 56 | |
62 | 57 | touch $@ |
63 | 58 | |
81 | 76 | $(MAKE) install DESTDIR=$(INSTALLDIR) |
82 | 77 | |
83 | 78 | # Remove libtool archives (.la files) |
84 | rm $(INSTALLDIR)$(_libdir)/*.la | |
79 | rm $(INSTALLDIR)$(_libdir)/*/*.la | |
85 | 80 | |
86 | 81 | # Remove installed license file |
87 | 82 | rm $(INSTALLDIR)$(_docdir)/GLOBUS_LICENSE |
93 | 88 | dh_testroot |
94 | 89 | dh_installdocs -a debian/README |
95 | 90 | dh_installchangelogs -a |
96 | dh_install -a --fail-missing | |
91 | dh_install -a | |
92 | dh_missing -a --fail-missing | |
97 | 93 | dh_installman -a |
98 | 94 | dh_lintian -a |
99 | 95 | dh_link -a |
100 | dh_strip -a --dbg-package=lib$(name)-dbg | |
96 | dh_strip -a --dbgsym-migration='lib$(name)-dbg (<< 3.8-2~), $(name)-dbg (<< 2.1-4~)' | |
101 | 97 | dh_compress -a |
102 | 98 | dh_fixperms -a |
103 | 99 | dh_perl -a |
113 | 109 | dh_testroot |
114 | 110 | dh_installdocs -i |
115 | 111 | dh_installchangelogs -i |
116 | dh_install -i --fail-missing | |
112 | dh_install -i | |
113 | dh_missing -i --fail-missing | |
117 | 114 | dh_installman -i |
118 | 115 | dh_lintian -i |
119 | 116 | dh_link -i |