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-gssapi-gsi (14.10-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:45 +0200 | |
7 | ||
0 | 8 | globus-gssapi-gsi (14.10-1) unstable; urgency=medium |
1 | 9 | |
2 | 10 | * Doxygen fixes |
0 | 0 | Source: globus-gssapi-gsi |
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), libglobus-gsi-cert-utils-dev (>= 8), libglobus-gsi-credential-dev (>= 5), libglobus-gsi-callback-dev (>= 4), libglobus-gsi-proxy-core-dev (>= 8), libglobus-gsi-sysconfig-dev (>= 8), libssl-dev, libltdl-dev, doxygen, openssl | |
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 | libglobus-gsi-cert-utils-dev (>= 8), | |
10 | libglobus-gsi-credential-dev (>= 5), | |
11 | libglobus-gsi-callback-dev (>= 4), | |
12 | libglobus-gsi-proxy-core-dev (>= 8), | |
13 | libglobus-gsi-sysconfig-dev (>= 8), | |
14 | libssl-dev, | |
15 | libltdl-dev, | |
16 | doxygen, | |
17 | openssl | |
18 | Standards-Version: 4.4.0 | |
5 | 19 | Section: net |
6 | 20 | Vcs-Browser: https://salsa.debian.org/ellert/globus-gssapi-gsi |
7 | 21 | Vcs-Git: https://salsa.debian.org/ellert/globus-gssapi-gsi.git |
11 | 25 | Section: libs |
12 | 26 | Architecture: any |
13 | 27 | Multi-Arch: same |
14 | Pre-Depends: ${misc:Pre-Depends} | |
15 | Depends: ${shlibs:Depends}, ${misc:Depends} | |
28 | Pre-Depends: | |
29 | ${misc:Pre-Depends} | |
30 | Depends: | |
31 | ${shlibs:Depends}, | |
32 | ${misc:Depends} | |
16 | 33 | Description: Grid Community Toolkit - GSSAPI library |
17 | 34 | The Grid Community Toolkit (GCT) is an open source software toolkit used for |
18 | 35 | building grid systems and applications. It is a fork of the Globus Toolkit |
27 | 44 | Section: libdevel |
28 | 45 | Architecture: any |
29 | 46 | Multi-Arch: same |
30 | Depends: libglobus-gssapi-gsi4 (= ${binary:Version}), ${misc:Depends}, libglobus-common-dev (>= 15), libglobus-openssl-module-dev (>= 3), libglobus-gsi-openssl-error-dev (>= 2), libglobus-gsi-cert-utils-dev (>= 8), libglobus-gsi-credential-dev (>= 5), libglobus-gsi-callback-dev (>= 4), libglobus-gsi-proxy-core-dev (>= 8), libglobus-gsi-sysconfig-dev (>= 8), libssl-dev | |
31 | Suggests: libglobus-gssapi-gsi-doc (= ${source:Version}) | |
47 | Depends: | |
48 | libglobus-gssapi-gsi4 (= ${binary:Version}), | |
49 | ${misc:Depends}, | |
50 | libglobus-common-dev (>= 15), | |
51 | libglobus-openssl-module-dev (>= 3), | |
52 | libglobus-gsi-openssl-error-dev (>= 2), | |
53 | libglobus-gsi-cert-utils-dev (>= 8), | |
54 | libglobus-gsi-credential-dev (>= 5), | |
55 | libglobus-gsi-callback-dev (>= 4), | |
56 | libglobus-gsi-proxy-core-dev (>= 8), | |
57 | libglobus-gsi-sysconfig-dev (>= 8), | |
58 | libssl-dev | |
59 | Suggests: | |
60 | libglobus-gssapi-gsi-doc (= ${source:Version}) | |
32 | 61 | Description: Grid Community Toolkit - GSSAPI library Development Files |
33 | 62 | The Grid Community Toolkit (GCT) is an open source software toolkit used for |
34 | 63 | building grid systems and applications. It is a fork of the Globus Toolkit |
43 | 72 | Section: doc |
44 | 73 | Architecture: all |
45 | 74 | Multi-Arch: foreign |
46 | Pre-Depends: dpkg (>= 1.17.5) | |
47 | Depends: ${misc:Depends} | |
75 | Pre-Depends: | |
76 | dpkg (>= 1.17.5) | |
77 | Depends: | |
78 | ${misc:Depends} | |
48 | 79 | Description: Grid Community Toolkit - GSSAPI library Documentation Files |
49 | 80 | The Grid Community Toolkit (GCT) is an open source software toolkit used for |
50 | 81 | 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-gssapi-gsi | |
4 | 4 | |
5 | name = globus-gssapi-gsi | |
6 | _name = globus_gssapi_gsi | |
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 | dh_auto_configure -- \ |
33 | 18 | --disable-static \ |
34 | --includedir=$(_includedir)/globus \ | |
35 | --libexecdir=$(_datadir)/globus \ | |
19 | --includedir=/usr/include/globus \ | |
20 | --libexecdir=/usr/share/globus \ | |
36 | 21 | --docdir=$(_docdir) |
37 | 22 | |
38 | # Reduce overlinking | |
39 | sed 's!CC \(.*-shared\) !CC \\\$${wl}--as-needed \1 !' -i libtool | |
23 | override_dh_auto_test: | |
24 | dh_auto_test -- VERBOSE=1 | |
40 | 25 | |
41 | touch $@ | |
42 | ||
43 | build: build-arch build-indep | |
44 | ||
45 | build-arch: build-stamp | |
46 | ||
47 | build-indep: build-stamp | |
48 | ||
49 | build-stamp: configure-stamp | |
50 | dh_testdir | |
51 | ||
52 | $(MAKE) | |
53 | ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),) | |
54 | $(MAKE) check VERBOSE=1 | |
55 | endif | |
56 | ||
57 | touch $@ | |
58 | ||
59 | clean: | |
60 | dh_testdir | |
61 | dh_testroot | |
62 | ||
63 | if [ -r Makefile ] ; then $(MAKE) distclean ; fi | |
64 | ||
65 | dh_autoreconf_clean | |
66 | ||
67 | rm -f build-stamp configure-stamp | |
68 | ||
69 | dh_clean | |
70 | ||
71 | install: build-stamp | |
72 | dh_testdir | |
73 | dh_testroot | |
74 | dh_prep | |
75 | ||
76 | $(MAKE) install DESTDIR=$(INSTALLDIR) | |
26 | override_dh_auto_install: | |
27 | dh_auto_install | |
77 | 28 | |
78 | 29 | # Remove libtool archives (.la files) |
79 | rm $(INSTALLDIR)$(_libdir)/*/*.la | |
30 | rm $(INSTALLDIR)/usr/lib/*/*.la | |
80 | 31 | |
81 | 32 | # Remove installed license file |
82 | 33 | rm $(INSTALLDIR)$(_docdir)/GLOBUS_LICENSE |
83 | 34 | |
84 | binary: binary-arch binary-indep | |
35 | override_dh_missing: | |
36 | dh_missing --fail-missing | |
85 | 37 | |
86 | binary-arch: install | |
87 | dh_testdir | |
88 | dh_testroot | |
89 | dh_installdocs -a debian/README | |
90 | dh_installchangelogs -a | |
91 | dh_install -a | |
92 | dh_missing -a --fail-missing | |
93 | dh_installman -a | |
94 | dh_link -a | |
95 | dh_strip -a --dbgsym-migration='lib$(name)-dbg (<< 12.17-2~), $(name)-dbg (<< 10.10)' | |
96 | dh_compress -a | |
97 | dh_fixperms -a | |
98 | dh_perl -a | |
99 | dh_makeshlibs -a | |
100 | dh_installdeb -a | |
101 | dh_shlibdeps -a | |
102 | dh_gencontrol -a | |
103 | dh_md5sums -a | |
104 | dh_builddeb -a | |
105 | ||
106 | binary-indep: install | |
107 | dh_testdir | |
108 | dh_testroot | |
109 | dh_installdocs -i | |
110 | dh_installchangelogs -i | |
111 | dh_install -i | |
112 | dh_missing -i --fail-missing | |
113 | dh_installman -i | |
114 | dh_link -i | |
115 | dh_compress -i | |
116 | dh_fixperms -i | |
117 | dh_perl -i | |
118 | dh_installdeb -i | |
119 | dh_gencontrol -i | |
120 | dh_md5sums -i | |
121 | dh_builddeb -i | |
122 | ||
123 | .PHONY: binary binary-arch binary-indep build build-arch build-indep clean configure install | |
38 | override_dh_strip: | |
39 | dh_strip --dbgsym-migration='lib$(name)-dbg (<< 12.17-2~), $(name)-dbg (<< 10.10)' |