File: sasl.spec

package info (click to toggle)
cyrus-sasl2 2.1.27+dfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 19,700 kB
  • sloc: ansic: 58,924; sh: 4,843; java: 1,614; xml: 1,498; makefile: 1,265; python: 350; perl: 199
file content (130 lines) | stat: -rw-r--r-- 3,469 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
Summary: SASL API implementation
Name: sasl
Version: 2.0.1
Release: 1
Copyright: CMU
Group: Libraries
Source: ftp.andrew.cmu.edu:/pub/cyrus-mail/cyrus-sasl-2.0.1-ALPHA.tar.gz
Packager: Rob Earhart <earhart@cmu.edu>
Requires: gdbm

%description
This is an implemention of the SASL API, useful for adding
authentication, authorization, and security to network protocols.  The
SASL protocol itself is documented in rfc2222; the API standard is a
work in progress.

%package devel
%summary: SASL development headers and examples

%description devel
This includes the header files and documentation needed to develop
applications which use SASL.

%package plug-anonymous
%summary: SASL ANONYMOUS mechanism plugin

%description plug-anonymous
This plugin implements the SASL ANONYMOUS mechanism,
used for anonymous authentication.

%package plug-crammd5
%summary: SASL CRAM-MD5 mechanism plugin

%description plug-crammd5
This plugin implements the SASL CRAM-MD5 mechanism.
CRAM-MD5 is the mandatory-to-implement authentication mechanism for a
number of protocols; it uses MD5 with a challenge/response system to
authenticate the user.

%package plug-digestmd5
%summary: SASL DIGEST-MD5 mechanism plugin

%description plug-digestmd5
This plugin implements the latest draft of the SASL DIGEST-MD5
mechanism.  Although not yet finalized, this is likely to become the
new mandatory-to-implement authentication system in all new protocols.
It's based on the digest md5 authentication system designed for HTTP.

%package plug-kerberos4
%summary: SASL KERBEROS_V4 mechanism plugin

%description plug-kerberos4
This plugin implements the SASL KERBEROS_V4 mechanism, allowing
authentication via kerberos version four.

%package plug-plain
%summary: SASL PLAIN mechanism plugin

%description plug-plain
This plugin implements the SASL PLAIN mechanism.  Although insecure,
PLAIN is useful for transitioning to new security mechanisms, as this
is the only mechanism which gives the server a copy of the user's
password.

%package plug-scrammd5
%summary: SASL SCRAM-MD5 mechanism plugin

%description plug-scrammd5
This plugin implements the SASL SCRAM-MD5 mechanism.  Although
deprecated (this will be replaced by DIGEST-MD5 at some point), it may
be useful for the time being.

%prep
%setup

%build
./configure --prefix=/usr --disable-java
make

%install
make install

%post
if test $RPM_INSTALL_PREFIX/lib/sasl != /usr/lib/sasl; then
  ln -s $RPM_INSTALL_PREFIX/lib/sasl /usr/lib/sasl
fi

%postun
if test -L /usr/lib/sasl; then
  rm /usr/lib/sasl
fi

%files
%doc README COPYING ChangeLog NEWS AUTHORS
/usr/lib/libsasl.so.5.0.0
/usr/sbin/saslpasswd
/usr/man/man8/saslpasswd.8

%files devel
%doc doc/rfc2222.txt sample/sample-client.c sample/sample-server.c testing.txt
/usr/lib/libsasl.la
/usr/include/sasl.h
/usr/include/saslplug.h
/usr/include/saslutil.h
/usr/include/md5global.h
/usr/include/md5.h
/usr/include/hmac-md5.h

%files plug-anonymous
%doc doc/draft-newman-sasl-anon-00.txt
/usr/lib/sasl/libanonymous.so.1.0.2
/usr/lib/sasl/libanonymous.so

%files plug-crammd5
%doc doc/rfc1321.txt doc/rfc2095.txt doc/rfc2104.txt
/usr/lib/sasl/libcrammd5.so.1.0.1
/usr/lib/sasl/libcrammd5.so

%files plug-digestmd5
%doc doc/draft-leach-digest-sasl-01.txt 
/usr/lib/sasl/libdigestmd5.so.0.0.1
/usr/lib/sasl/libdigestmd5.so

%files plug-kerberos4
/usr/lib/sasl/libkerberos4.so.1.0.2
/usr/lib/sasl/libkerberos4.so

%files plug-plain
/usr/lib/sasl/libplain.so.1.0.1
/usr/lib/sasl/libplain.so