Convert debian/rules to dh tool
Change to debhelper compat level 10
Update documentation links in README file
Mattias Ellert
4 years ago
0 | 0 | This package is part of the Grid Security Infrastructure in C (GSI C) component |
1 | 1 | of the Grid Community Toolkit. For more information visit: |
2 | 2 | |
3 | https://gridcf.org/gct-docs/gsic/ | |
3 | https://gridcf.org/gct-docs/latest/gsic/ | |
4 | 4 | |
5 | 5 | Key Concepts: |
6 | https://gridcf.org/gct-docs/gsic/key/ | |
6 | https://gridcf.org/gct-docs/latest/gsic/key/ | |
7 | 7 | |
8 | 8 | Admin Guide: |
9 | https://gridcf.org/gct-docs/gsic/admin/ | |
9 | https://gridcf.org/gct-docs/latest/gsic/admin/ | |
10 | 10 | |
11 | 11 | User's Guide: |
12 | https://gridcf.org/gct-docs/gsic/user/ | |
12 | https://gridcf.org/gct-docs/latest/gsic/user/ | |
13 | 13 | |
14 | 14 | Developer's Guide: |
15 | https://gridcf.org/gct-docs/gsic/developer/ | |
15 | https://gridcf.org/gct-docs/latest/gsic/developer/ | |
16 | 16 | |
17 | 17 | Release Notes: |
18 | https://gridcf.org/gct-docs/gsic/rn/ | |
18 | https://gridcf.org/gct-docs/latest/gsic/rn/ | |
19 | 19 | |
20 | 20 | Public Interface Guide: |
21 | https://gridcf.org/gct-docs/gsic/pi/ | |
21 | https://gridcf.org/gct-docs/latest/gsic/pi/ | |
22 | 22 | |
23 | 23 | Quality Profile: |
24 | https://gridcf.org/gct-docs/gsic/qp/ | |
24 | https://gridcf.org/gct-docs/latest/gsic/qp/ | |
25 | 25 | |
26 | 26 | Migrating Guide: |
27 | https://gridcf.org/gct-docs/gsic/mig/ | |
27 | https://gridcf.org/gct-docs/latest/gsic/mig/ |
0 | globus-gsi-cert-utils (10.2-2) unstable; urgency=medium | |
1 | ||
2 | * Convert debian/rules to dh tool | |
3 | * Change to debhelper compat level 10 | |
4 | * Update documentation links in README file | |
5 | ||
6 | -- Mattias Ellert <mattias.ellert@physics.uu.se> Fri, 12 Jul 2019 16:34:42 +0200 | |
7 | ||
0 | 8 | globus-gsi-cert-utils (10.2-1) unstable; urgency=medium |
1 | 9 | |
2 | 10 | * Doxygen fixes |
0 | 0 | Source: globus-gsi-cert-utils |
1 | 1 | Priority: optional |
2 | 2 | Maintainer: Mattias Ellert <mattias.ellert@physics.uu.se> |
3 | Build-Depends: debhelper (>= 9), dh-autoreconf, pkg-config, libglobus-common-dev (>= 15), libglobus-openssl-module-dev (>= 3), libglobus-gsi-openssl-error-dev (>= 2), libssl-dev, openssl, doxygen | |
4 | Standards-Version: 4.3.0 | |
3 | Build-Depends: | |
4 | debhelper (>= 10), | |
5 | pkg-config, | |
6 | libglobus-common-dev (>= 15), | |
7 | libglobus-openssl-module-dev (>= 3), | |
8 | libglobus-gsi-openssl-error-dev (>= 2), | |
9 | libssl-dev, | |
10 | openssl, | |
11 | doxygen | |
12 | Standards-Version: 4.4.0 | |
5 | 13 | Section: net |
6 | 14 | Vcs-Browser: https://salsa.debian.org/ellert/globus-gsi-cert-utils |
7 | 15 | Vcs-Git: https://salsa.debian.org/ellert/globus-gsi-cert-utils.git |
11 | 19 | Section: libs |
12 | 20 | Architecture: any |
13 | 21 | Multi-Arch: same |
14 | Pre-Depends: ${misc:Pre-Depends} | |
15 | Depends: ${shlibs:Depends}, ${misc:Depends} | |
22 | Pre-Depends: | |
23 | ${misc:Pre-Depends} | |
24 | Depends: | |
25 | ${shlibs:Depends}, | |
26 | ${misc:Depends} | |
16 | 27 | Description: Grid Community Toolkit - Globus GSI Cert Utils Library |
17 | 28 | The Grid Community Toolkit (GCT) is an open source software toolkit used for |
18 | 29 | building grid systems and applications. It is a fork of the Globus Toolkit |
27 | 38 | Section: net |
28 | 39 | Architecture: all |
29 | 40 | Multi-Arch: foreign |
30 | Replaces: globus-openssl-progs (<< 6), globus-openssl-module-progs (<< 4) | |
31 | Conflicts: globus-openssl-progs (<< 6), globus-openssl-module-progs (<< 4) | |
32 | Depends: openssl, ${misc:Depends}, ${perl:Depends} | |
41 | Replaces: | |
42 | globus-openssl-progs (<< 6), | |
43 | globus-openssl-module-progs (<< 4) | |
44 | Conflicts: | |
45 | globus-openssl-progs (<< 6), | |
46 | globus-openssl-module-progs (<< 4) | |
47 | Depends: | |
48 | openssl, | |
49 | ${misc:Depends}, | |
50 | ${perl:Depends} | |
33 | 51 | Description: Grid Community Toolkit - Globus GSI Cert Utils Library Programs |
34 | 52 | The Grid Community Toolkit (GCT) is an open source software toolkit used for |
35 | 53 | building grid systems and applications. It is a fork of the Globus Toolkit |
44 | 62 | Section: libdevel |
45 | 63 | Architecture: any |
46 | 64 | Multi-Arch: same |
47 | Depends: libglobus-gsi-cert-utils0 (= ${binary:Version}), ${misc:Depends}, libglobus-common-dev (>= 15), libglobus-openssl-module-dev (>= 3), libglobus-gsi-openssl-error-dev (>= 2), libssl-dev | |
48 | Suggests: libglobus-gsi-cert-utils-doc (= ${source:Version}) | |
65 | Depends: | |
66 | libglobus-gsi-cert-utils0 (= ${binary:Version}), | |
67 | ${misc:Depends}, | |
68 | libglobus-common-dev (>= 15), | |
69 | libglobus-openssl-module-dev (>= 3), | |
70 | libglobus-gsi-openssl-error-dev (>= 2), | |
71 | libssl-dev | |
72 | Suggests: | |
73 | libglobus-gsi-cert-utils-doc (= ${source:Version}) | |
49 | 74 | Description: Grid Community Toolkit - Globus GSI Cert Utils Library Development Files |
50 | 75 | The Grid Community Toolkit (GCT) is an open source software toolkit used for |
51 | 76 | building grid systems and applications. It is a fork of the Globus Toolkit |
60 | 85 | Section: doc |
61 | 86 | Architecture: all |
62 | 87 | Multi-Arch: foreign |
63 | Pre-Depends: dpkg (>= 1.17.5) | |
64 | Depends: ${misc:Depends} | |
88 | Pre-Depends: | |
89 | dpkg (>= 1.17.5) | |
90 | Depends: | |
91 | ${misc:Depends} | |
65 | 92 | Description: Grid Community Toolkit - Globus GSI Cert Utils Library Documentation Files |
66 | 93 | The Grid Community Toolkit (GCT) is an open source software toolkit used for |
67 | 94 | building grid systems and applications. It is a fork of the Globus Toolkit |
0 | debian/README |
0 | 0 | #!/usr/bin/make -f |
1 | 1 | # -*- makefile -*- |
2 | 2 | |
3 | -include /usr/share/dpkg/buildflags.mk | |
3 | name = globus-gsi-cert-utils | |
4 | 4 | |
5 | name = globus-gsi-cert-utils | |
6 | _name = globus_gsi_cert_utils | |
5 | INSTALLDIR = debian/tmp | |
7 | 6 | |
8 | INSTALLDIR = $(CURDIR)/debian/tmp | |
7 | _docdir = /usr/share/doc/lib$(name)-dev | |
9 | 8 | |
10 | _prefix = /usr | |
11 | _bindir = $(_prefix)/bin | |
12 | _sbindir = $(_prefix)/sbin | |
13 | _includedir = $(_prefix)/include | |
14 | _libdir = $(_prefix)/lib | |
15 | _datadir = $(_prefix)/share | |
16 | _mandir = $(_datadir)/man | |
17 | _docdir = $(_datadir)/doc/lib$(name)-dev | |
9 | %: | |
10 | dh $@ | |
18 | 11 | |
19 | export SOURCE_DATE_EPOCH = \ | |
20 | $(shell date -d "$$(dpkg-parsechangelog -c 1 -S Date)" +%s) | |
12 | override_dh_autoreconf: | |
13 | dh_autoreconf --as-needed | |
21 | 14 | |
22 | configure: configure-stamp | |
23 | ||
24 | configure-stamp: | |
25 | dh_testdir | |
26 | ||
27 | dh_autoreconf | |
28 | ||
29 | CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" \ | |
30 | FFLAGS="$(FFLAGS)" CPPFLAGS="$(CPPFLAGS)" \ | |
15 | override_dh_auto_configure: | |
31 | 16 | LDFLAGS="$(LDFLAGS) -Wl,--as-needed -Wl,-z,defs" \ |
32 | 17 | GLOBUS_VERSION=6.2 \ |
33 | 18 | dh_auto_configure -- \ |
34 | 19 | --disable-static \ |
35 | --includedir=$(_includedir)/globus \ | |
36 | --libexecdir=$(_datadir)/globus \ | |
20 | --includedir=/usr/include/globus \ | |
21 | --libexecdir=/usr/share/globus \ | |
37 | 22 | --docdir=$(_docdir) |
38 | 23 | |
39 | # Reduce overlinking | |
40 | sed 's!CC \(.*-shared\) !CC \\\$${wl}--as-needed \1 !' -i libtool | |
24 | override_dh_auto_test: | |
25 | dh_auto_test -- VERBOSE=1 | |
41 | 26 | |
42 | touch $@ | |
43 | ||
44 | build: build-arch build-indep | |
45 | ||
46 | build-arch: build-stamp | |
47 | ||
48 | build-indep: build-stamp | |
49 | ||
50 | build-stamp: configure-stamp | |
51 | dh_testdir | |
52 | ||
53 | $(MAKE) | |
54 | ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),) | |
55 | $(MAKE) check VERBOSE=1 | |
56 | endif | |
57 | ||
58 | touch $@ | |
59 | ||
60 | clean: | |
61 | dh_testdir | |
62 | dh_testroot | |
63 | ||
64 | if [ -r Makefile ] ; then $(MAKE) distclean ; fi | |
65 | ||
66 | dh_autoreconf_clean | |
67 | ||
68 | rm -f build-stamp configure-stamp | |
69 | ||
70 | dh_clean | |
71 | ||
72 | install: build-stamp | |
73 | dh_testdir | |
74 | dh_testroot | |
75 | dh_prep | |
76 | ||
77 | $(MAKE) install DESTDIR=$(INSTALLDIR) | |
27 | override_dh_auto_install: | |
28 | dh_auto_install | |
78 | 29 | |
79 | 30 | # Remove libtool archives (.la files) |
80 | rm $(INSTALLDIR)$(_libdir)/*/*.la | |
31 | rm $(INSTALLDIR)/usr/lib/*/*.la | |
81 | 32 | |
82 | 33 | # Remove installed license file |
83 | 34 | rm $(INSTALLDIR)$(_docdir)/GLOBUS_LICENSE |
84 | 35 | |
85 | binary: binary-arch binary-indep | |
36 | override_dh_missing: | |
37 | dh_missing --fail-missing | |
86 | 38 | |
87 | binary-arch: install | |
88 | dh_testdir | |
89 | dh_testroot | |
90 | dh_installdocs -a debian/README | |
91 | dh_installchangelogs -a | |
92 | dh_install -a | |
93 | dh_missing -a --fail-missing | |
94 | dh_installman -a | |
95 | dh_link -a | |
96 | dh_strip -a --dbgsym-migration='lib$(name)-dbg (<< 9.16-2~), $(name)-dbg (<< 8.6)' | |
97 | dh_compress -a | |
98 | dh_fixperms -a | |
99 | dh_perl -a | |
100 | dh_makeshlibs -a | |
101 | dh_installdeb -a | |
102 | dh_shlibdeps -a | |
103 | dh_gencontrol -a | |
104 | dh_md5sums -a | |
105 | dh_builddeb -a | |
106 | ||
107 | binary-indep: install | |
108 | dh_testdir | |
109 | dh_testroot | |
110 | dh_installdocs -i | |
111 | dh_installchangelogs -i | |
112 | dh_install -i | |
113 | dh_missing -i --fail-missing | |
114 | dh_installman -i | |
115 | dh_link -i | |
116 | dh_compress -i | |
117 | dh_fixperms -i | |
118 | dh_perl -i | |
119 | dh_installdeb -i | |
120 | dh_gencontrol -i | |
121 | dh_md5sums -i | |
122 | dh_builddeb -i | |
123 | ||
124 | .PHONY: binary binary-arch binary-indep build build-arch build-indep clean configure install | |
39 | override_dh_strip: | |
40 | dh_strip --dbgsym-migration='lib$(name)-dbg (<< 9.16-2~), $(name)-dbg (<< 8.6)' |