Codebase list cyrus-sasl2 / 6d7c591
Use dh-autoreconf instead of custom shell snippets Ondřej Surý 10 years ago
3 changed file(s) with 56 addition(s) and 31 deletion(s). Raw diff Collapse all Expand all
0 ./
1 saslauthd/
22 Priority: standard
33 Maintainer: Debian Cyrus SASL Team <pkg-cyrus-sasl2-debian-devel@lists.alioth.debian.org>
44 Uploaders: Fabian Fagerholm <fabbe@debian.org>, Roberto C. Sanchez <roberto@connexer.com>, Ondřej Surý <ondrej@debian.org>
5 Standards-Version: 3.9.2
6 Build-Depends: debhelper (>= 9), quilt (>= 0.46-7~), autotools-dev, automake, autoconf, libtool, libdb-dev, libpam0g-dev (>= 0.76-22), libssl-dev (>= 0.9.7e-3), libmysqlclient-dev | libmysqlclient15-dev (>= 5.0.20), libpq-dev (>= 8.1.3-4), heimdal-multidev, krb5-multidev, libsqlite3-dev, libldap2-dev (>= 2.1.30-8), chrpath, groff-base, debconf (>= 0.5) | debconf-2.0, po-debconf, docbook-to-man, hardening-wrapper
5 Standards-Version: 3.9.4
6 Build-Depends: debhelper (>= 9),
7 quilt (>= 0.46-7~),
8 autotools-dev,
9 automake,
10 autoconf,
11 libtool,
12 libdb-dev,
13 libpam0g-dev (>= 0.76-22),
14 libssl-dev (>= 0.9.7e-3),
15 libmysqlclient-dev | libmysqlclient15-dev (>= 5.0.20),
16 libpq-dev (>= 8.1.3-4),
17 heimdal-multidev,
18 krb5-multidev,
19 libsqlite3-dev,
20 libldap2-dev (>= 2.1.30-8),
21 chrpath,
22 groff-base,
23 debconf (>= 0.5) | debconf-2.0,
24 po-debconf,
25 docbook-to-man,
26 hardening-wrapper,
27 dh-autoreconf
728 Build-Conflicts: heimdal-dev
829 Vcs-Browser: http://git.debian.org/?p=pkg-cyrus-sasl2/cyrus-sasl2.git
930 Vcs-Git: git://git.debian.org/pkg-cyrus-sasl2/cyrus-sasl2/
1334 Section: utils
1435 Priority: optional
1536 Architecture: any
16 Depends: libsasl2-2 (>= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}, lsb-base (>= 3.0-6), db-util, debconf (>= 1.4.69) | cdebconf (>= 0.39)
37 Depends: libsasl2-2 (>= ${binary:Version}),
38 ${shlibs:Depends},
39 ${misc:Depends},
40 lsb-base (>= 3.0-6),
41 db-util,
42 debconf (>= 1.4.69) | cdebconf (>= 0.39)
1743 Description: Cyrus SASL - administration programs for SASL users database
1844 This is the Cyrus SASL API implementation, version 2.1. See package
1945 libsasl2-2 and RFC 2222 for more information.
6086 Priority: optional
6187 Architecture: any
6288 Multi-Arch: same
63 Depends: libsasl2-2 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
64 Suggests: libsasl2-modules-otp, libsasl2-modules-ldap, libsasl2-modules-sql, libsasl2-modules-gssapi-mit | libsasl2-modules-gssapi-heimdal
89 Depends: libsasl2-2 (= ${binary:Version}),
90 ${shlibs:Depends},
91 ${misc:Depends}
92 Suggests: libsasl2-modules-otp,
93 libsasl2-modules-ldap,
94 libsasl2-modules-sql,
95 libsasl2-modules-gssapi-mit | libsasl2-modules-gssapi-heimdal
6596 Description: Cyrus SASL - pluggable authentication modules
6697 This is the Cyrus SASL API implementation, version 2.1. See package
6798 libsasl2-2 and RFC 2222 for more information.
107138 Priority: extra
108139 Architecture: any
109140 Multi-Arch: same
110 Depends: libsasl2-modules (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
141 Depends: libsasl2-modules (= ${binary:Version}),
142 ${shlibs:Depends},
143 ${misc:Depends}
111144 Conflicts: libsasl2-modules-gssapi-heimdal
112145 Description: Cyrus SASL - pluggable authentication modules (GSSAPI)
113146 This is the Cyrus SASL API implementation, version 2.1. See package
120153 Section: libdevel
121154 Architecture: any
122155 Priority: optional
123 Depends: libsasl2-modules (= ${binary:Version}), libc6-dev, ${misc:Depends}
156 Depends: libsasl2-modules (= ${binary:Version}),
157 libc6-dev,
158 ${misc:Depends}
124159 Description: Cyrus SASL - development files for authentication abstraction library
125160 This is the Cyrus SASL API implementation, version 2. See package
126161 libsasl2-2 and RFC 2222 for more information.
132167 Architecture: any
133168 Multi-Arch: same
134169 Priority: extra
135 Depends: libsasl2-modules (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
170 Depends: libsasl2-modules (= ${binary:Version}),
171 ${shlibs:Depends},
172 ${misc:Depends}
136173 Conflicts: libsasl2-modules-gssapi-mit
137174 Description: Pluggable Authentication Modules for SASL (GSSAPI)
138175 This is the Cyrus SASL API implementation, version 2.1. See package
145182 Section: debug
146183 Architecture: any
147184 Priority: extra
148 Depends: libsasl2-2 (= ${binary:Version}), ${misc:Depends}
185 Depends: libsasl2-2 (= ${binary:Version}),
186 ${misc:Depends}
149187 Recommends: cyrus-sasl2-mit-dbg | cyrus-sasl2-heimdal-dbg
150188 Description: Cyrus SASL - debugging symbols
151189 This is the Cyrus SASL API implementation, version 2. See package
160198 Section: debug
161199 Architecture: any
162200 Priority: extra
163 Depends: cyrus-sasl2-dbg (= ${binary:Version}), libsasl2-modules-gssapi-mit (= ${binary:Version}), ${misc:Depends}
201 Depends: cyrus-sasl2-dbg (= ${binary:Version}),
202 libsasl2-modules-gssapi-mit (= ${binary:Version}),
203 ${misc:Depends}
164204 Conflicts: cyrus-sasl2-heimdal-dbg
165205 Description: Cyrus SASL - debugging symbols for MIT modules
166206 This is the Cyrus SASL API implementation, version 2. See package
176216 Section: debug
177217 Architecture: any
178218 Priority: extra
179 Depends: cyrus-sasl2-dbg (= ${binary:Version}), libsasl2-modules-gssapi-heimdal (= ${binary:Version}), ${misc:Depends}
219 Depends: cyrus-sasl2-dbg (= ${binary:Version}),
220 libsasl2-modules-gssapi-heimdal (= ${binary:Version}),
221 ${misc:Depends}
180222 Conflicts: cyrus-sasl2-mit-dbg
181223 Description: Cyrus SASL - debugging symbols for Heimdal modules
182224 This is the Cyrus SASL API implementation, version 2. See package
9595 AUTOFILES=acinclude.m4 aclocal.m4 config/config.sub config/config.guess \
9696 config/ltmain.sh config/libtool.m4
9797 BUILD_TMP_SUFFIX=.debian-build.tmp
98 AUTOTOOLS=for i in $(AUTOFILES); do \
99 if [ -e $$i ]; then \
100 mv --verbose $$i `basename $$i`$(BUILD_TMP_SUFFIX) ; \
101 fi ; \
102 done && \
103 autoreconf -fi
104
105 AUTOTOOLS_REVERSE=for i in $(AUTOFILES); do \
106 if [ -e `basename $$i`$(BUILD_TMP_SUFFIX) ]; then \
107 if [ -e $$i ]; then rm -fv $$i; fi ; \
108 mv --verbose `basename $$i`$(BUILD_TMP_SUFFIX) $$i ; \
109 fi ; \
110 done
111
11298
11399 ### The Makefile targets begin. ###
114100
115101 %:
116 dh $@ --with=quilt
102 dh $@ --with=quilt --with=autoreconf
117103
118104 override_dh_auto_clean:
119105 dh_auto_clean -B$(TMPBUILD_MIT)
122108 rm -f $(CURDIR)/sample/sample-client \
123109 $(CURDIR)/sample/sample-server
124110 [ ! -f Makefile ] || $(MAKE) distclean
125 $(AUTOTOOLS_REVERSE)
126 (cd saslauthd && $(AUTOTOOLS_REVERSE) && cd ..)
127111 -rm -f config.h config.log autom4ate.cache
128112
129113 # Remove symlinks that the CMU build sets up but never removes.
140124 rm -rf $(TMPBUILD_MIT) $(TMPBUILD_HEIMDAL) $(TMPPKG_MIT) $(TMPPKG_HEIMDAL)
141125
142126 override_dh_auto_configure:
143 $(AUTOTOOLS)
144 (cd saslauthd && $(AUTOTOOLS) && cd ..)
145
146127 LDFLAGS="$(LDFLAGS) -L/usr/lib/mit-krb5 -Wl,-z,defs" \
147128 CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS) -I/usr/include/mit-krb5" \
148129 dh_auto_configure -B$(TMPBUILD_MIT) -- $(CONFIGURE_COMMON_OPTIONS) --with-gss_impl=mit