libsasl2-2 -> libsasl2-3 transition (Closes: #665476)
Ondřej Surý
10 years ago
34 | 34 | Section: utils |
35 | 35 | Priority: optional |
36 | 36 | Architecture: any |
37 | Depends: libsasl2-2 (>= ${binary:Version}), | |
37 | Depends: libsasl2-3 (>= ${binary:Version}), | |
38 | 38 | ${shlibs:Depends}, |
39 | 39 | ${misc:Depends}, |
40 | 40 | lsb-base (>= 3.0-6), |
42 | 42 | debconf (>= 1.4.69) | cdebconf (>= 0.39) |
43 | 43 | Description: Cyrus SASL - administration programs for SASL users database |
44 | 44 | This is the Cyrus SASL API implementation, version 2.1. See package |
45 | libsasl2-2 and RFC 2222 for more information. | |
45 | libsasl2-3 and RFC 2222 for more information. | |
46 | 46 | . |
47 | 47 | This package contains administration programs for the SASL users |
48 | 48 | database and common binary files for plugin modules. |
54 | 54 | Depends: ${misc:Depends} |
55 | 55 | Description: Cyrus SASL - documentation |
56 | 56 | This is the Cyrus SASL API implementation, version 2.1. See package |
57 | libsasl2-2 and RFC 2222 for more information. | |
57 | libsasl2-3 and RFC 2222 for more information. | |
58 | 58 | . |
59 | 59 | This package contains documentation for system administrators. |
60 | 60 | |
61 | Package: libsasl2-2 | |
61 | Package: libsasl2-3 | |
62 | 62 | Architecture: any |
63 | 63 | Multi-Arch: same |
64 | 64 | Pre-Depends: ${misc:Pre-Depends} |
86 | 86 | Priority: optional |
87 | 87 | Architecture: any |
88 | 88 | Multi-Arch: same |
89 | Depends: libsasl2-2 (= ${binary:Version}), | |
89 | Depends: libsasl2-3 (= ${binary:Version}), | |
90 | 90 | ${shlibs:Depends}, |
91 | 91 | ${misc:Depends} |
92 | 92 | Suggests: libsasl2-modules-otp, |
95 | 95 | libsasl2-modules-gssapi-mit | libsasl2-modules-gssapi-heimdal |
96 | 96 | Description: Cyrus SASL - pluggable authentication modules |
97 | 97 | This is the Cyrus SASL API implementation, version 2.1. See package |
98 | libsasl2-2 and RFC 2222 for more information. | |
98 | libsasl2-3 and RFC 2222 for more information. | |
99 | 99 | . |
100 | 100 | This package provides the following SASL modules: LOGIN, PLAIN, ANONYMOUS, |
101 | 101 | NTLM, CRAM-MD5, and DIGEST-MD5 (with DES support). |
107 | 107 | Depends: libsasl2-modules (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} |
108 | 108 | Description: Cyrus SASL - pluggable authentication modules (LDAP) |
109 | 109 | This is the Cyrus SASL API implementation, version 2.1. See package |
110 | libsasl2-2 and RFC 2222 for more information. | |
110 | libsasl2-3 and RFC 2222 for more information. | |
111 | 111 | . |
112 | 112 | This package provides the LDAP plugin, which supports OpenLDAP. |
113 | 113 | |
118 | 118 | Depends: libsasl2-modules (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} |
119 | 119 | Description: Cyrus SASL - pluggable authentication modules (OTP) |
120 | 120 | This is the Cyrus SASL API implementation, version 2.1. See package |
121 | libsasl2-2 and RFC 2222 for more information. | |
121 | libsasl2-3 and RFC 2222 for more information. | |
122 | 122 | . |
123 | 123 | This package provides the OTP plugin, which supports one time passwords. |
124 | 124 | |
129 | 129 | Depends: libsasl2-modules (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} |
130 | 130 | Description: Cyrus SASL - pluggable authentication modules (SQL) |
131 | 131 | This is the Cyrus SASL API implementation, version 2.1. See package |
132 | libsasl2-2 and RFC 2222 for more information. | |
132 | libsasl2-3 and RFC 2222 for more information. | |
133 | 133 | . |
134 | 134 | This package provides the SQL plugin, which supports MySQL, PostgreSQL |
135 | 135 | and SQLite. |
144 | 144 | Conflicts: libsasl2-modules-gssapi-heimdal |
145 | 145 | Description: Cyrus SASL - pluggable authentication modules (GSSAPI) |
146 | 146 | This is the Cyrus SASL API implementation, version 2.1. See package |
147 | libsasl2-2 and RFC 2222 for more information. | |
147 | libsasl2-3 and RFC 2222 for more information. | |
148 | 148 | . |
149 | 149 | This package provides the GSSAPI plugin, compiled with the MIT |
150 | 150 | Kerberos 5 library. |
158 | 158 | ${misc:Depends} |
159 | 159 | Description: Cyrus SASL - development files for authentication abstraction library |
160 | 160 | This is the Cyrus SASL API implementation, version 2. See package |
161 | libsasl2-2 and RFC 2222 for more information. | |
161 | libsasl2-3 and RFC 2222 for more information. | |
162 | 162 | . |
163 | 163 | This package includes development files for compiling programs with SASL |
164 | 164 | support. It is needed for development purposes only. |
173 | 173 | Conflicts: libsasl2-modules-gssapi-mit |
174 | 174 | Description: Pluggable Authentication Modules for SASL (GSSAPI) |
175 | 175 | This is the Cyrus SASL API implementation, version 2.1. See package |
176 | libsasl2-2 and RFC 2222 for more information. | |
176 | libsasl2-3 and RFC 2222 for more information. | |
177 | 177 | . |
178 | 178 | This package provides the GSSAPI plugin, compiled with the Heimdal |
179 | 179 | Kerberos 5 library. |
182 | 182 | Section: debug |
183 | 183 | Architecture: any |
184 | 184 | Priority: extra |
185 | Depends: libsasl2-2 (= ${binary:Version}), | |
185 | Depends: libsasl2-3 (= ${binary:Version}), | |
186 | 186 | ${misc:Depends} |
187 | 187 | Recommends: cyrus-sasl2-mit-dbg | cyrus-sasl2-heimdal-dbg |
188 | 188 | Description: Cyrus SASL - debugging symbols |
189 | 189 | This is the Cyrus SASL API implementation, version 2. See package |
190 | libsasl2-2 and RFC 2222 for more information. | |
190 | libsasl2-3 and RFC 2222 for more information. | |
191 | 191 | . |
192 | 192 | This package contains the debugging symbols for all Cyrus SASL packages. |
193 | 193 | The debugging symbols can be useful when investigating crashes in the SASL |
204 | 204 | Conflicts: cyrus-sasl2-heimdal-dbg |
205 | 205 | Description: Cyrus SASL - debugging symbols for MIT modules |
206 | 206 | This is the Cyrus SASL API implementation, version 2. See package |
207 | libsasl2-2 and RFC 2222 for more information. | |
207 | libsasl2-3 and RFC 2222 for more information. | |
208 | 208 | . |
209 | 209 | This package contains the debugging symbols for the Cyrus SASL MIT |
210 | 210 | GSSAPI modules package (libsasl2-modules-gssapi-mit). The debugging |
222 | 222 | Conflicts: cyrus-sasl2-mit-dbg |
223 | 223 | Description: Cyrus SASL - debugging symbols for Heimdal modules |
224 | 224 | This is the Cyrus SASL API implementation, version 2. See package |
225 | libsasl2-2 and RFC 2222 for more information. | |
225 | libsasl2-3 and RFC 2222 for more information. | |
226 | 226 | . |
227 | 227 | This package contains the debugging symbols for the Cyrus SASL Heimdal |
228 | 228 | GSSAPI modules package (libsasl2-modules-gssapi-heimdal). The debugging |
0 | Cyrus SASL for Debian | |
1 | --------------------- | |
2 | ||
3 | SASL is the Simple Authentication and Security Layer, a method for adding | |
4 | authentication support to connection-based protocols. This is the Debian | |
5 | package of Cyrus SASL, which is an implementation of SASL by Carnegie Mellon | |
6 | University. | |
7 | ||
8 | The package stays as close as possible to the upstream version, but some | |
9 | changes have been introduced to fix known issues and to better integrate | |
10 | the software with the Debian system. For example, some command line utilities | |
11 | have been renamed with a "sasl" prefix, in order to avoid naming collisions. | |
12 | The software has been split into several packages, so a system administrator | |
13 | can choose what functionality to install and what to leave out. | |
14 | ||
15 | IMPORTANT: | |
16 | You MUST install one of the libsasl2-modules* packages for SASL to work with | |
17 | server programs. Otherwise server software like Postfix and Cyrus IMAPd will | |
18 | not allow any users to log in, and other SASL apps will malfuntion in weird | |
19 | ways. If you do not intend to use SASL on your server, then the | |
20 | libsasl2-modules* packages are not necessary for you. | |
21 | ||
22 | SASL automatically logs debug information to syslog's auth.debug facility. | |
23 | This is not something that can be disabled through a configuration option to | |
24 | libsasl2-2 itself. The default syslog configurations in Debian result in these | |
25 | messages going to /var/log/syslog and /var/log/auth.log. If you wish to send | |
26 | the SASL debug messages elsewhere, you can add a line like this: | |
27 | ||
28 | auth.debug /var/log/auth.debug | |
29 | ||
30 | To throw the messages away: | |
31 | ||
32 | auth.debug /dev/null | |
33 | ||
34 | Additional information can be found here: | |
35 | http://www.cyrusimap.org/docs/cyrus-imapd/2.4.8/install-configure.php | |
36 | ||
37 | SASL uses /dev/urandom, which doesn't block when the system runs out of | |
38 | entropy. However, when the system does run out of entropy, the random numbers | |
39 | that /dev/urandom emits are slightly less cryptographically secure. If you are | |
40 | concerned about this, then please turn to the kernel documentation or other | |
41 | sources to determine what this means in your case. In practise, /dev/urandom is | |
42 | just fine for the vast majority of cases. If you want to use /dev/random for | |
43 | whatever reason, you have to recompile the packages. (Change --with-devrandom | |
44 | in debian/rules.) | |
45 | ||
46 | Use dpkg-statoverride to change the permission and the ownership of the | |
47 | saslauthd socket /var/run/saslauthd and the sasldb user database /etc/sasldb2. | |
48 | For more information on saslauthd, see the README.Debian in the sasl2-bin | |
49 | package. | |
50 | ||
51 | For more information about SASL, please see http://asg.web.cmu.edu/sasl/, and | |
52 | for more information about Cyrus SASL, see | |
53 | http://asg.web.cmu.edu/sasl/sasl-library.html. Also see the following RFC | |
54 | documents, which are currently not distributed with the Debian packages: | |
55 | ||
56 | rfc1321.txt rfc1939.txt rfc2104.txt rfc2195.txt rfc2222.txt | |
57 | rfc2243.txt rfc2245.txt rfc2289.txt rfc2444.txt rfc2595.txt | |
58 | rfc2831.txt rfc2945.txt rfc3174.txt | |
59 | ||
60 | The project information page http://pkg-cyrus-sasl2.alioth.debian.org/ | |
61 | contains details about the Debian packaging project. All comments and bug | |
62 | reports are welcome, please use the Debian Bug Tracking System to submit them. | |
63 | ||
64 | -- Fabian Fagerholm <fabbe@debian.org>, Fri, 9 Jun 2008 21:08:07 +0300 |
0 | Cyrus SASL for Debian | |
1 | --------------------- | |
2 | ||
3 | SASL is the Simple Authentication and Security Layer, a method for adding | |
4 | authentication support to connection-based protocols. This is the Debian | |
5 | package of Cyrus SASL, which is an implementation of SASL by Carnegie Mellon | |
6 | University. | |
7 | ||
8 | The package stays as close as possible to the upstream version, but some | |
9 | changes have been introduced to fix known issues and to better integrate | |
10 | the software with the Debian system. For example, some command line utilities | |
11 | have been renamed with a "sasl" prefix, in order to avoid naming collisions. | |
12 | The software has been split into several packages, so a system administrator | |
13 | can choose what functionality to install and what to leave out. | |
14 | ||
15 | IMPORTANT: | |
16 | You MUST install one of the libsasl2-modules* packages for SASL to work with | |
17 | server programs. Otherwise server software like Postfix and Cyrus IMAPd will | |
18 | not allow any users to log in, and other SASL apps will malfuntion in weird | |
19 | ways. If you do not intend to use SASL on your server, then the | |
20 | libsasl2-modules* packages are not necessary for you. | |
21 | ||
22 | SASL automatically logs debug information to syslog's auth.debug facility. | |
23 | This is not something that can be disabled through a configuration option to | |
24 | libsasl2-2 itself. The default syslog configurations in Debian result in these | |
25 | messages going to /var/log/syslog and /var/log/auth.log. If you wish to send | |
26 | the SASL debug messages elsewhere, you can add a line like this: | |
27 | ||
28 | auth.debug /var/log/auth.debug | |
29 | ||
30 | To throw the messages away: | |
31 | ||
32 | auth.debug /dev/null | |
33 | ||
34 | Additional information can be found here: | |
35 | http://www.cyrusimap.org/docs/cyrus-imapd/2.4.8/install-configure.php | |
36 | ||
37 | SASL uses /dev/urandom, which doesn't block when the system runs out of | |
38 | entropy. However, when the system does run out of entropy, the random numbers | |
39 | that /dev/urandom emits are slightly less cryptographically secure. If you are | |
40 | concerned about this, then please turn to the kernel documentation or other | |
41 | sources to determine what this means in your case. In practise, /dev/urandom is | |
42 | just fine for the vast majority of cases. If you want to use /dev/random for | |
43 | whatever reason, you have to recompile the packages. (Change --with-devrandom | |
44 | in debian/rules.) | |
45 | ||
46 | Use dpkg-statoverride to change the permission and the ownership of the | |
47 | saslauthd socket /var/run/saslauthd and the sasldb user database /etc/sasldb2. | |
48 | For more information on saslauthd, see the README.Debian in the sasl2-bin | |
49 | package. | |
50 | ||
51 | For more information about SASL, please see http://asg.web.cmu.edu/sasl/, and | |
52 | for more information about Cyrus SASL, see | |
53 | http://asg.web.cmu.edu/sasl/sasl-library.html. Also see the following RFC | |
54 | documents, which are currently not distributed with the Debian packages: | |
55 | ||
56 | rfc1321.txt rfc1939.txt rfc2104.txt rfc2195.txt rfc2222.txt | |
57 | rfc2243.txt rfc2245.txt rfc2289.txt rfc2444.txt rfc2595.txt | |
58 | rfc2831.txt rfc2945.txt rfc3174.txt | |
59 | ||
60 | The project information page http://pkg-cyrus-sasl2.alioth.debian.org/ | |
61 | contains details about the Debian packaging project. All comments and bug | |
62 | reports are welcome, please use the Debian Bug Tracking System to submit them. | |
63 | ||
64 | -- Fabian Fagerholm <fabbe@debian.org>, Fri, 9 Jun 2008 21:08:07 +0300 |
0 | debian/README.configure-options |
184 | 184 | # Alter the rpath of certain binaries and shared libraries. |
185 | 185 | chrpath -d $(TMPPKG_MIT)/usr/sbin/sasldblistusers2 \ |
186 | 186 | $(TMPPKG_MIT)/usr/sbin/saslpasswd2 |
187 | chrpath -d $(TMPPKG_MIT)/usr/lib/$(DEB_HOST_MULTIARCH)/sasl2/libsql.so.2.0.* | |
187 | chrpath -d $(TMPPKG_MIT)/usr/lib/$(DEB_HOST_MULTIARCH)/sasl2/libsql.so.*.*.* | |
188 | 188 | |
189 | 189 | # Install the sasl-sample-client and -server man pages. |
190 | 190 | dh_installman -psasl2-bin sasl-sample-client.8 sasl-sample-server.8 |
200 | 200 | $(TMPPKG_MIT)/usr/bin/gen-auth |
201 | 201 | |
202 | 202 | override_dh_install: |
203 | dh_install -s --autodest --list-missing --sourcedir=$(TMPPKG_MIT) -psasl2-bin -plibsasl2-2 -plibsasl2-modules -plibsasl2-modules-ldap -plibsasl2-modules-otp -plibsasl2-modules-sql -plibsasl2-modules-gssapi-mit -plibsasl2-dev -Nlibsasl2-modules-gssapi-heimdal | |
204 | dh_install -s --autodest --list-missing --sourcedir=$(TMPPKG_HEIMDAL) -plibsasl2-modules-gssapi-heimdal -Nsasl2-bin -Nlibsasl2-2 -Nlibsasl2-modules -Nlibsasl2-modules-ldap -Nlibsasl2-modules-otp -Nlibsasl2-modules-sql -Nlibsasl2-modules-gssapi-mit -Nlibsasl2-dev | |
203 | dh_install -s --autodest --list-missing --sourcedir=$(TMPPKG_MIT) -psasl2-bin -plibsasl2-3 -plibsasl2-modules -plibsasl2-modules-ldap -plibsasl2-modules-otp -plibsasl2-modules-sql -plibsasl2-modules-gssapi-mit -plibsasl2-dev -Nlibsasl2-modules-gssapi-heimdal | |
204 | dh_install -s --autodest --list-missing --sourcedir=$(TMPPKG_HEIMDAL) -plibsasl2-modules-gssapi-heimdal -Nsasl2-bin -Nlibsasl2-3 -Nlibsasl2-modules -Nlibsasl2-modules-ldap -Nlibsasl2-modules-otp -Nlibsasl2-modules-sql -Nlibsasl2-modules-gssapi-mit -Nlibsasl2-dev | |
205 | 205 | |
206 | 206 | override_dh_installinit: |
207 | 207 | dh_installinit --name=saslauthd start 20 2 3 4 5 . stop 20 1 . |
208 | 208 | |
209 | 209 | override_dh_strip: |
210 | dh_strip -Xlibgssapiv2.so.2.0. -psasl2-bin -plibsasl2-2 -plibsasl2-modules -plibsasl2-modules-ldap -plibsasl2-modules-otp -plibsasl2-modules-sql -plibsasl2-modules-gssapi-mit -plibsasl2-dev -Nlibsasl2-modules-gssapi-heimdal --dbg-package=cyrus-sasl2-dbg | |
211 | dh_strip -Xlibgs2.so.2.0. -Xlibscram.so.2.0. -plibsasl2-modules-gssapi-mit --dbg-package=cyrus-sasl2-mit-dbg | |
212 | dh_strip -plibsasl2-modules-gssapi-heimdal -Nsasl2-bin -Nlibsasl2-2 -Nlibsasl2-modules -Nlibsasl2-modules-ldap -Nlibsasl2-modules-otp -Nlibsasl2-modules-sql -Nlibsasl2-modules-gssapi-mit -Nlibsasl2-dev --dbg-package=cyrus-sasl2-heimdal-dbg | |
210 | dh_strip -Xlibgssapiv2.so. -psasl2-bin -plibsasl2-3 -plibsasl2-modules -plibsasl2-modules-ldap -plibsasl2-modules-otp -plibsasl2-modules-sql -plibsasl2-modules-gssapi-mit -plibsasl2-dev -Nlibsasl2-modules-gssapi-heimdal --dbg-package=cyrus-sasl2-dbg | |
211 | dh_strip -Xlibgs2.so.3 -Xlibscram.so. -plibsasl2-modules-gssapi-mit --dbg-package=cyrus-sasl2-mit-dbg | |
212 | dh_strip -plibsasl2-modules-gssapi-heimdal -Nsasl2-bin -Nlibsasl2-3 -Nlibsasl2-modules -Nlibsasl2-modules-ldap -Nlibsasl2-modules-otp -Nlibsasl2-modules-sql -Nlibsasl2-modules-gssapi-mit -Nlibsasl2-dev --dbg-package=cyrus-sasl2-heimdal-dbg | |
213 | 213 | |
214 | 214 | override_dh_makeshlibs: |
215 | dh_makeshlibs -V "libsasl2-2 (>= 2.1.24)" -X/usr/lib/$(DEB_HOST_MULTIARCH)/sasl2 | |
215 | dh_makeshlibs -X/usr/lib/$(DEB_HOST_MULTIARCH)/sasl2 | |
216 | 216 | |
217 | 217 | override_dh_auto_test: |
218 | 218 | cd $(TMPBUILD_MIT)/saslauthd && $(MAKE) testsaslauthd |