commit 21341a16a0b129b9fc4ce836ecf0523157332067556e47321564fe45e1da5eaf Author: OBS User unknown Date: Mon Dec 18 23:15:33 2006 +0000 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cyrus-sasl?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/README.Source b/README.Source new file mode 100644 index 0000000..36312f7 --- /dev/null +++ b/README.Source @@ -0,0 +1,7 @@ +Because of potential legal risk we have removed the +directory "dlcompat-20010505/" from the source tarball + +If you want to see the original sources you can download +them from: + + http://asg.web.cmu.edu/sasl/ diff --git a/cyrus-sasl-2.1.22.dif b/cyrus-sasl-2.1.22.dif new file mode 100644 index 0000000..d3e9d80 --- /dev/null +++ b/cyrus-sasl-2.1.22.dif @@ -0,0 +1,11 @@ +--- cmulocal/cyrus.m4 ++++ cmulocal/cyrus.m4 2004/10/06 12:00:32 +@@ -37,7 +37,7 @@ + SAVE_LDFLAGS="${LDFLAGS}" + LDFLAGS="-R /usr/lib" + AC_TRY_LINK([],[],[andrew_runpath_switch="-R"], [ +- LDFLAGS="-Wl,-rpath,/usr/lib" ++# LDFLAGS="-Wl,-rpath,/usr/lib" + AC_TRY_LINK([],[],[andrew_runpath_switch="-Wl,-rpath,"], + [andrew_runpath_switch="none"]) + ]) diff --git a/cyrus-sasl-2.1.22.tar.bz2 b/cyrus-sasl-2.1.22.tar.bz2 new file mode 100644 index 0000000..4070147 --- /dev/null +++ b/cyrus-sasl-2.1.22.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b16dc415fe2dcc8e8da6aa8bd079e8479fca2629e3833b72cfcdee2c3cdb83f0 +size 1249025 diff --git a/cyrus-sasl-gcc4.patch b/cyrus-sasl-gcc4.patch new file mode 100644 index 0000000..ff915d3 --- /dev/null +++ b/cyrus-sasl-gcc4.patch @@ -0,0 +1,11 @@ +--- lib/saslint.h ++++ lib/saslint.h +@@ -109,8 +109,6 @@ + const char *appname; + } sasl_global_callbacks_t; + +-extern sasl_global_callbacks_t global_callbacks; +- + typedef struct _sasl_external_properties + { + sasl_ssf_t ssf; diff --git a/cyrus-sasl-implicitfunc.dif b/cyrus-sasl-implicitfunc.dif new file mode 100644 index 0000000..e7538cc --- /dev/null +++ b/cyrus-sasl-implicitfunc.dif @@ -0,0 +1,28 @@ +Index: cyrus-sasl-2.1.22/lib/auxprop.c +=================================================================== +--- cyrus-sasl-2.1.22.orig/lib/auxprop.c ++++ cyrus-sasl-2.1.22/lib/auxprop.c +@@ -41,7 +41,7 @@ + * AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING + * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ +- ++#include + #include + #include + #include +Index: cyrus-sasl-2.1.22/saslauthd/auth_shadow.c +=================================================================== +--- cyrus-sasl-2.1.22.orig/saslauthd/auth_shadow.c ++++ cyrus-sasl-2.1.22/saslauthd/auth_shadow.c +@@ -63,6 +63,10 @@ + # include + # endif /* ! HAVE_GETUSERPW */ + ++#ifdef HAVE_CRYPT_H ++#include ++#endif ++ + # include "auth_shadow.h" + # include "globals.h" + /* END PUBLIC DEPENDENCIES */ diff --git a/cyrus-sasl-rc.tar.gz b/cyrus-sasl-rc.tar.gz new file mode 100644 index 0000000..fa6cd81 --- /dev/null +++ b/cyrus-sasl-rc.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4ab0a1b2f07081badb2d737549647aee9471f69fc9d16bfa84cff9aa5f120be6 +size 1868 diff --git a/cyrus-sasl-saslauthd.changes b/cyrus-sasl-saslauthd.changes new file mode 100644 index 0000000..71e6e65 --- /dev/null +++ b/cyrus-sasl-saslauthd.changes @@ -0,0 +1,425 @@ +------------------------------------------------------------------- +Fri Oct 27 13:20:59 CEST 2006 - rhafer@suse.de + +- Use /etc/sasl2/ as directory for config files of services + %{_libdir} can still be used for backwards compatibilty + (Bug #206414) + +------------------------------------------------------------------- +Mon Sep 25 16:21:55 CEST 2006 - rhafer@suse.de + +- Remove unneeded automake/autoheader calls + +------------------------------------------------------------------- +Mon Sep 11 12:56:51 CEST 2006 - rhafer@suse.de + +- Build -sqlauxprop from cyrus-sasl-saslauthd.spec to reduce + BuildRequires of cyrus-sasl.spec +- Removed unneeded openldap2 from BuildRequires of + cyrus-sasl-saslauthd + +------------------------------------------------------------------- +Tue Aug 29 12:47:43 CEST 2006 - rhafer@suse.de + +- Enabled the ldapdb auxprop plugin and created new subpackage + cyrus-sasl-ldap-auxprop for it (Bug #201478) + +------------------------------------------------------------------- +Fri Aug 25 14:47:35 CEST 2006 - rhafer@suse.de + +- remove saslauthd man-page from cyrus-sasl package to solve + confict with -saslauthd subpackage (Bug #200490) + +------------------------------------------------------------------- +Fri Jun 2 11:33:04 CEST 2006 - rhafer@suse.de + +- updated to 2.1.22 + * new pluginviewer utility for reporting information about client + and server side authentication plugins and auxprop plugins + (e.g. supported features, methods, etc.). + * Added support for HTTP POST password validation in saslauthd +- rename SuSE.tar.gz to cyrus-sasl-rc.tar.gz to avoid name + collision with other packages in src.rpm (Bug #98188) +- include "crypt.h" in auth_shadow.c to avoid possible crash in + saslauthd (Bug #179621) + +------------------------------------------------------------------- +Mon Apr 3 15:10:49 CEST 2006 - rhafer@suse.de + +- remove dlcompat-20010505 from tarball because of legal risk and + documented this in README.Source (Bug: #161390) +- added check for dlcompat-20010505 to the spec file + +------------------------------------------------------------------- +Wed Jan 25 21:30:05 CET 2006 - mls@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Wed Nov 23 13:48:56 CET 2005 - choeger@suse.de + +- Bugfix ID#134491, cyrus-sasl-sqlauxprop is not linked against any database + +------------------------------------------------------------------- +Mon Sep 26 01:46:48 CEST 2005 - ro@suse.de + +- added LDAP_DEPRECATED to CFLAGS + +------------------------------------------------------------------- +Wed Jul 13 17:07:50 CEST 2005 - choeger@suse.de + +- use /dev/urandom instead of /dev/random, see + http://acs-wiki.andrew.cmu.edu/twiki/bin/view/Cyrus/POP3DevRandomIssue + for an explanation +- removed the useless .la files from rpm + +------------------------------------------------------------------- +Tue May 17 18:42:14 CEST 2005 - choeger@suse.de + +- update to version 2.1.21 + +------------------------------------------------------------------- +Mon Mar 14 19:46:51 CET 2005 - choeger@suse.de + +- now also build the sql auxprop plugin; created new subpackage + cyrus-sasl-sqlauxprop + +------------------------------------------------------------------- +Fri Feb 25 17:24:12 CET 2005 - uli@suse.de + +- better GCC4 fix + +------------------------------------------------------------------- +Fri Feb 25 14:40:12 CET 2005 - uli@suse.de + +- fixed to build with GCC4 + +------------------------------------------------------------------- +Tue Nov 2 20:47:23 CET 2004 - mmj@suse.de + +- Get rid of .cvsignore files +- Don't remove buildroot before install + +------------------------------------------------------------------- +Mon Oct 25 11:47:36 CEST 2004 - choeger@suse.de + +- update to version 2.1.20 + +------------------------------------------------------------------- +Wed Oct 6 15:00:16 CEST 2004 - choeger@suse.de + +- Bugfix ID#46847 - VUL-0: SASL environment variable local root + +------------------------------------------------------------------- +Mon Sep 20 15:54:37 CEST 2004 - choeger@suse.de + +- package binaries of sample-client and -server instead of + shell wrappers (which do not work) + +------------------------------------------------------------------- +Fri Sep 17 11:20:28 CEST 2004 - choeger@suse.de + +- removed saslauthd from cyrus-sasl requires, as it is only + needed on a "server" side and also not in every case (buildin + mechanisms as CRAM- or DIGEST-MD5 do not need it) +- added split-provides for saslauthd + +------------------------------------------------------------------- +Mon Sep 6 13:37:56 CEST 2004 - choeger@suse.de + +- added testsaslauthd to filelist +- removed saslauthd and insserv makros from cyrus-sasl.spec + +------------------------------------------------------------------- +Fri Sep 3 13:14:02 CEST 2004 - choeger@suse.de + +- splitted up cyrus-sasl-saslauthd.spec, to resolve the cyclic + dependency openldap2 <-> cyrus-sasl with saslauthd having + LDAP support + +------------------------------------------------------------------- +Tue Aug 31 11:55:28 CEST 2004 - choeger@suse.de + +- removed update messages and implemented "split-provides" + instead + +------------------------------------------------------------------- +Tue Aug 31 10:12:22 CEST 2004 - choeger@suse.de + +- added LDAP support for saslauthd, Bugzilla ID#44051 + +------------------------------------------------------------------- +Mon Aug 30 13:54:01 CEST 2004 - choeger@suse.de + +- Bugfix Bugzilla ID#44346 - still using /var/adm/notify + now using new update messages mechanism +- added sample/client sample/server to file list + +------------------------------------------------------------------- +Thu Jul 15 13:50:15 CEST 2004 - choeger@suse.de + +- update to version 2.1.19 + +------------------------------------------------------------------- +Tue Jun 15 11:30:48 CEST 2004 - choeger@suse.de + +- bugfix id#39245 - cyrus-sasl includes straycat man page + +------------------------------------------------------------------- +Fri Mar 12 17:57:06 CET 2004 - choeger@suse.de + +- update to version 2.1.18 (Bugfix Release) + +------------------------------------------------------------------- +Tue Jan 27 15:39:57 CET 2004 - choeger@suse.de + +- Bugfix ID#34159 - cyrus-sasl: world-writeable rpath + +------------------------------------------------------------------- +Thu Jan 22 12:28:34 CET 2004 - choeger@suse.de + +- Bugfix Bugzilla ID#34019, notice users about the fact, that + cyrus-sasl has been splitted into subpackages + +------------------------------------------------------------------- +Fri Jan 16 13:08:08 CET 2004 - kukuk@suse.de + +- Add pam-devel to neededforbuild + +------------------------------------------------------------------- +Tue Dec 2 10:11:37 CET 2003 - choeger@suse.de + +- update to version 2.1.17 + +------------------------------------------------------------------- +Fri Oct 31 16:59:33 CET 2003 - choeger@suse.de + +- Don't build as root + +------------------------------------------------------------------- +Fri Oct 17 22:23:19 CEST 2003 - kukuk@suse.de + +- Remove unused des from neededforbuild + +------------------------------------------------------------------- +Tue Sep 16 13:13:09 CEST 2003 - kukuk@suse.de + +- Add missing Provides [Bug #31005] + +------------------------------------------------------------------- +Mon Sep 1 13:26:43 CEST 2003 - choeger@suse.de + +- removed "-u root" from startproc as it always failes +- removed link to doc/components.html from doc/index.html as + components.html does not exist (Bugzilla ID#29253) + +------------------------------------------------------------------- +Thu Aug 14 18:48:47 CEST 2003 - choeger@suse.de + +- Bugfix Bugzilla ID#28932: + missing activation metadata in sysconfig template + +------------------------------------------------------------------- +Wed Jul 30 13:27:05 CEST 2003 - choeger@suse.de + +- new macros for stop/restart of services on rpm update/removal + +------------------------------------------------------------------- +Tue Jul 15 18:52:11 CEST 2003 - choeger@suse.de + +- update to version 2.1.15 + +------------------------------------------------------------------- +Mon Jun 30 18:04:22 CEST 2003 - choeger@suse.de + +- update to version 2.1.14 + +------------------------------------------------------------------- +Wed Jun 18 12:03:48 CEST 2003 - ro@suse.de + +- use kerberos-devel-packages in neededforbuild + +------------------------------------------------------------------- +Fri Jun 13 10:25:14 CEST 2003 - kukuk@suse.de + +- Add missing directory to filelist + +------------------------------------------------------------------- +Fri May 9 09:54:05 CEST 2003 - choeger@suse.de + +- use -ldb instead of -ldb-x.y to manually link the + dbconverter + +------------------------------------------------------------------- +Tue May 6 14:37:14 CEST 2003 - choeger@suse.de + +- update to version 2.1.13 + +------------------------------------------------------------------- +Tue Apr 15 08:50:41 CEST 2003 - ro@suse.de + +- added krb4-lib,krb4-devel to neededforbuild + +------------------------------------------------------------------- +Mon Apr 7 14:56:11 CEST 2003 - choeger@suse.de + +- renamed to cyrus-sasl +- splitted libraries for the following auth methods into seperate + packages: + - crammd5 + - digestmd5 + - otp + - plain + this is to prevent from annoying warnings about missing proper + setup of mechanisms we don't use + +------------------------------------------------------------------- +Thu Mar 6 18:19:30 CET 2003 - choeger@suse.de + +- ever used dbconverter-2? Well it is just a shell script + which uses the damn compiled source tree... :-( + manually building dbconverter to let users convert their + /etc/sasldb from v1 to v2 using /usr/sbin/dbconverter + +------------------------------------------------------------------- +Thu Mar 6 17:34:18 CET 2003 - choeger@suse.de + +- as cyrus-sasl is dropped now: + provide cyrus-sasl-*, obsolete cyrus-sasl-* + (Bugzilla ID# 24762) + +------------------------------------------------------------------- +Tue Feb 4 10:48:37 CET 2003 - choeger@suse.de + +- update to cyrus-sasl-2.1.12, bug-fix release. + This release addresses a few minor build and distribution + related issues + +------------------------------------------------------------------- +Mon Feb 3 10:54:48 CET 2003 - choeger@suse.de + +- update to cyrus-sasl-2.1.11, bug-fix release. + It addresses a number of issues in the build system, a + memory leak in the doors IPC method for saslauthd, and fixes the NTLM + server side support to only require one of the LM or NT methods. + +------------------------------------------------------------------- +Thu Jan 23 11:03:56 CET 2003 - choeger@suse.de + +- don't use new libtool macros as cyrus-sasl2 seems to not + work when using them. +- added patch to compile shared libraries on ppc + +------------------------------------------------------------------- +Wed Jan 15 09:21:28 CET 2003 - kukuk@suse.de + +- Remove openldap2 from needed for build + +------------------------------------------------------------------- +Tue Jan 14 11:18:35 CET 2003 - choeger@suse.de + +- do not build the static library anymore + +------------------------------------------------------------------- +Wed Dec 11 13:15:29 CET 2002 - choeger@suse.de + +- added sysconfig metadata to sysconfig templates + +------------------------------------------------------------------- +Tue Dec 10 09:46:44 CET 2002 - choeger@suse.de + +- update to version 2.1.10 + This version corrects a number of DIGEST-MD5 + interoperability issues, as well as corrects some potential buffer + overflows. + +------------------------------------------------------------------- +Thu Oct 31 00:23:42 CET 2002 - ro@suse.de + +- make it build again + +------------------------------------------------------------------- +Tue Oct 29 15:13:35 CET 2002 - ro@suse.de + +- remove own libtool macros + +------------------------------------------------------------------- +Thu Oct 24 10:42:11 CEST 2002 - choeger@suse.de + +- update to latest version 2.1.9 + +------------------------------------------------------------------- +Thu Sep 12 14:52:42 CEST 2002 - choeger@suse.de + +- Bugfix Bugzilla ID#19383: cyrus-sasl-devel should conflict + with cyrus-sasl2-devel, because they contain files with the + same name + +------------------------------------------------------------------- +Mon Aug 19 18:48:02 CEST 2002 - rhafer@suse.de + +- enabled building of the static libsasl.a. It is needed for + cyrus-imap to be usable with nss_ldap (which is linked against + cyrus-sasl1) + +------------------------------------------------------------------- +Mon Aug 12 11:04:01 CEST 2002 - choeger@suse.de + +- update to version 2.1.7 + +------------------------------------------------------------------- +Thu Aug 8 10:31:06 CEST 2002 - choeger@suse.de + +- added .la files to the sasl2 plugin directory + ([lt_]dlopen seems to need that) + +------------------------------------------------------------------- +Mon Aug 5 17:07:37 CEST 2002 - choeger@suse.de + +- added Prereq + +------------------------------------------------------------------- +Sat Jul 27 18:09:53 CEST 2002 - adrian@suse.de + +- add %run_ldconfig + +------------------------------------------------------------------- +Wed Jul 17 10:08:45 CEST 2002 - choeger@suse.de + +- update to version 2.1.6 + +------------------------------------------------------------------- +Wed Jun 19 18:25:16 CEST 2002 - choeger@suse.de + +- also install dbconverter-2 to be able to migrate from + cyrus-sasl(1) + +------------------------------------------------------------------- +Tue Jun 18 16:21:06 CEST 2002 - choeger@suse.de + +- /var/run/sasl2 must be 755 to let non root daemons + connect to unix socket + +------------------------------------------------------------------- +Tue Jun 18 16:09:08 CEST 2002 - choeger@suse.de + +- added initscript and sysconfig file for saslauthd +- added docs + +------------------------------------------------------------------- +Tue Jun 18 12:34:35 CEST 2002 - rhafer@suse.de + +- added opie to needforbuild +- should build on ppc64 and s390x now + +------------------------------------------------------------------- +Mon Jun 17 20:37:14 CEST 2002 - rhafer@suse.de + +- additional autoconf related patches, that were missing at first + check in + +------------------------------------------------------------------- +Mon Jun 17 18:12:24 CEST 2002 - rhafer@suse.de + +- Initial checkin of cyrus-sasl-2.1.5 + diff --git a/cyrus-sasl-saslauthd.spec b/cyrus-sasl-saslauthd.spec new file mode 100644 index 0000000..875e73e --- /dev/null +++ b/cyrus-sasl-saslauthd.spec @@ -0,0 +1,393 @@ +# +# spec file for package cyrus-sasl-saslauthd (Version 2.1.22) +# +# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. +# This file and all modifications and additions to the pristine +# package are under the same license as the package itself. +# +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +# norootforbuild + +Name: cyrus-sasl-saslauthd +BuildRequires: db-devel krb5-devel mysql-devel openldap2-devel opie pam-devel postgresql-devel +License: BSD License and BSD-like, Other License(s), see package +Group: Productivity/Networking/Other +URL: http://asg.web.cmu.edu/sasl/ +Autoreqprov: on +Provides: cyrus-sasl:/usr/sbin/saslauthd +Provides: cyrus-sasl2:/usr/sbin/saslauthd +Summary: The SASL Authentication Server +Version: 2.1.22 +Release: 18 +Source: cyrus-sasl-%{version}.tar.bz2 +Source1: cyrus-sasl-rc.tar.gz +Patch: cyrus-sasl-%{version}.dif +Patch1: shared_link_on_ppc.patch +Patch2: cyrus-sasl-gcc4.patch +Patch3: cyrus-sasl-implicitfunc.dif +Prereq: %insserv_prereq %fillup_prereq +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +This daemon is required when using cyrus-sasl in server software that +should, for example, authenticate with PAM. + + + +Authors: +-------- + tech-transfer@andrew.cmu.edu + +%package -n cyrus-sasl-ldap-auxprop +Summary: The cyrus-sasl LDAP auxprop plugin +Autoreqprov: on +Group: Productivity/Networking/Other +Prefix: %{_prefix} +Requires: cyrus-sasl + +%description -n cyrus-sasl-ldap-auxprop +The LDAP auxprop plugin allows for tighter application/directory +integration. + + + +Authors: +-------- + tech-transfer@andrew.cmu.edu + +%package -n cyrus-sasl-sqlauxprop +Summary: cyrus-sasl SQL auxprop plugin +Autoreqprov: on +Group: Development/Libraries/C and C++ +Prefix: %{_prefix} +Requires: cyrus-sasl + +%description -n cyrus-sasl-sqlauxprop +The SQL auxprop plugin supports PostgreSQL and MySQL + + + +Authors: +-------- + tech-transfer@andrew.cmu.edu + +%prep +%setup -n cyrus-sasl-%{version} -a 1 +%patch +%patch1 +%patch2 +%patch3 -p1 + +%build +find . -name \*.cvsignore -print0 | xargs -0 rm -vf +%{suse_update_config -f config} +%{suse_update_config -f saslauthd/config} +# has old libtool macros (and nothing else) +rm -f acinclude.m4 +rm -f saslauthd/acinclude.m4 +rm -rf autom4te.cache +rm -rf saslauthd/autom4te.cache +# libtoolize --force +# cyrus-sasl2 does not work, when using newer libtool +aclocal -I cmulocal -I config +autoconf +cd saslauthd +autoconf +cd - +export CFLAGS="-fno-strict-aliasing $RPM_OPT_FLAGS -DLDAP_DEPRECATED" +export CPPFLAGS=-I/usr/include/heimdal +./configure --libdir=%{_libdir} \ + --with-plugindir=%{_libdir}/sasl2 \ + --with-configdir=/etc/sasl2/:%{_libdir}/sasl2 \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=%{_mandir} \ + --with-saslauthd=/var/run/sasl2/ \ + --enable-checkapop=no \ + --enable-cram=no \ + --enable-digest=no \ + --enable-otp=no \ + --enable-srp=no \ + --enable-plain=no \ + --enable-anon=no \ + --enable-ntlm=no \ + --enable-passdss=no \ + --enable-sample=no \ + --enable-login=no \ + --enable-gssapi=no \ + --enable-krb4=no \ + --enable-sql \ + --with-mysql=/usr/include/mysql \ + --with-pgsql=/usr/include/pgsql \ + --enable-ldapdb=yes \ + --with-pam \ + --with-ldap +make sasldir=%{_libdir}/sasl2 + +%install +cd plugins +make DESTDIR=$RPM_BUILD_ROOT sasldir=%{_libdir}/sasl2 install +cd .. +cd saslauthd +#make DESTDIR=$RPM_BUILD_ROOT sasldir=%{_libdir}/sasl2 testsaslauthd +make DESTDIR=$RPM_BUILD_ROOT sasldir=%{_libdir}/sasl2 install +mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man8 +install -m 644 saslauthd.mdoc $RPM_BUILD_ROOT/%{_mandir}/man8/saslauthd.8 +mkdir -p $RPM_BUILD_ROOT/usr/bin +install -m 755 testsaslauthd $RPM_BUILD_ROOT/usr/bin/testsaslauthd +cd - +install -D -m 755 SuSE/rc.saslauthd $RPM_BUILD_ROOT/etc/init.d/saslauthd +mkdir -p $RPM_BUILD_ROOT/sbin +ln -sf ../etc/init.d/saslauthd $RPM_BUILD_ROOT/sbin/rcsaslauthd +install -D -m 644 SuSE/sysconfig.saslauthd $RPM_BUILD_ROOT/var/adm/fillup-templates/sysconfig.saslauthd +rm -f $RPM_BUILD_ROOT/%{_mandir}/cat?/* +rm -f $RPM_BUILD_ROOT/%{_libdir}/sasl2/libsasldb* +rm -f $RPM_BUILD_ROOT/%{_libdir}/sasl2/libldapdb.la +rm -f $RPM_BUILD_ROOT/%{_libdir}/sasl2/libsql.la + +%preun +%stop_on_removal saslauthd + +%postun +%restart_on_update saslauthd +%insserv_cleanup + +%post +%run_ldconfig +%{fillup_and_insserv -n saslauthd} + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root) +/var/adm/fillup-templates/sysconfig.saslauthd +%config /etc/init.d/saslauthd +/sbin/rcsaslauthd +/usr/sbin/* +/usr/bin/* +%doc %{_mandir}/man8/*.gz + +%files -n cyrus-sasl-sqlauxprop +%defattr(-,root,root) +%{_libdir}/sasl2/libsql.so* + +%files -n cyrus-sasl-ldap-auxprop +%defattr(-,root,root) +%{_libdir}/sasl2/libldapdb.so* + +%changelog -n cyrus-sasl-saslauthd +* Fri Oct 27 2006 - rhafer@suse.de +- Use /etc/sasl2/ as directory for config files of services + %%{_libdir} can still be used for backwards compatibilty + (Bug #206414) +* Mon Sep 25 2006 - rhafer@suse.de +- Remove unneeded automake/autoheader calls +* Mon Sep 11 2006 - rhafer@suse.de +- Build -sqlauxprop from cyrus-sasl-saslauthd.spec to reduce + BuildRequires of cyrus-sasl.spec +- Removed unneeded openldap2 from BuildRequires of + cyrus-sasl-saslauthd +* Tue Aug 29 2006 - rhafer@suse.de +- Enabled the ldapdb auxprop plugin and created new subpackage + cyrus-sasl-ldap-auxprop for it (Bug #201478) +* Fri Aug 25 2006 - rhafer@suse.de +- remove saslauthd man-page from cyrus-sasl package to solve + confict with -saslauthd subpackage (Bug #200490) +* Fri Jun 02 2006 - rhafer@suse.de +- updated to 2.1.22 + * new pluginviewer utility for reporting information about client + and server side authentication plugins and auxprop plugins + (e.g. supported features, methods, etc.). + * Added support for HTTP POST password validation in saslauthd +- rename SuSE.tar.gz to cyrus-sasl-rc.tar.gz to avoid name + collision with other packages in src.rpm (Bug #98188) +- include "crypt.h" in auth_shadow.c to avoid possible crash in + saslauthd (Bug #179621) +* Mon Apr 03 2006 - rhafer@suse.de +- remove dlcompat-20010505 from tarball because of legal risk and + documented this in README.Source (Bug: #161390) +- added check for dlcompat-20010505 to the spec file +* Wed Jan 25 2006 - mls@suse.de +- converted neededforbuild to BuildRequires +* Wed Nov 23 2005 - choeger@suse.de +- Bugfix ID#134491, cyrus-sasl-sqlauxprop is not linked against any database +* Mon Sep 26 2005 - ro@suse.de +- added LDAP_DEPRECATED to CFLAGS +* Wed Jul 13 2005 - choeger@suse.de +- use /dev/urandom instead of /dev/random, see + http://acs-wiki.andrew.cmu.edu/twiki/bin/view/Cyrus/POP3DevRandomIssue + for an explanation +- removed the useless .la files from rpm +* Tue May 17 2005 - choeger@suse.de +- update to version 2.1.21 +* Mon Mar 14 2005 - choeger@suse.de +- now also build the sql auxprop plugin; created new subpackage + cyrus-sasl-sqlauxprop +* Fri Feb 25 2005 - uli@suse.de +- better GCC4 fix +* Fri Feb 25 2005 - uli@suse.de +- fixed to build with GCC4 +* Tue Nov 02 2004 - mmj@suse.de +- Get rid of .cvsignore files +- Don't remove buildroot before install +* Mon Oct 25 2004 - choeger@suse.de +- update to version 2.1.20 +* Wed Oct 06 2004 - choeger@suse.de +- Bugfix ID#46847 - VUL-0: SASL environment variable local root +* Mon Sep 20 2004 - choeger@suse.de +- package binaries of sample-client and -server instead of + shell wrappers (which do not work) +* Fri Sep 17 2004 - choeger@suse.de +- removed saslauthd from cyrus-sasl requires, as it is only + needed on a "server" side and also not in every case (buildin + mechanisms as CRAM- or DIGEST-MD5 do not need it) +- added split-provides for saslauthd +* Mon Sep 06 2004 - choeger@suse.de +- added testsaslauthd to filelist +- removed saslauthd and insserv makros from cyrus-sasl.spec +* Fri Sep 03 2004 - choeger@suse.de +- splitted up cyrus-sasl-saslauthd.spec, to resolve the cyclic + dependency openldap2 <-> cyrus-sasl with saslauthd having + LDAP support +* Tue Aug 31 2004 - choeger@suse.de +- removed update messages and implemented "split-provides" + instead +* Tue Aug 31 2004 - choeger@suse.de +- added LDAP support for saslauthd, Bugzilla ID#44051 +* Mon Aug 30 2004 - choeger@suse.de +- Bugfix Bugzilla ID#44346 - still using /var/adm/notify + now using new update messages mechanism +- added sample/client sample/server to file list +* Thu Jul 15 2004 - choeger@suse.de +- update to version 2.1.19 +* Tue Jun 15 2004 - choeger@suse.de +- bugfix id#39245 - cyrus-sasl includes straycat man page +* Fri Mar 12 2004 - choeger@suse.de +- update to version 2.1.18 (Bugfix Release) +* Tue Jan 27 2004 - choeger@suse.de +- Bugfix ID#34159 - cyrus-sasl: world-writeable rpath +* Thu Jan 22 2004 - choeger@suse.de +- Bugfix Bugzilla ID#34019, notice users about the fact, that + cyrus-sasl has been splitted into subpackages +* Fri Jan 16 2004 - kukuk@suse.de +- Add pam-devel to neededforbuild +* Tue Dec 02 2003 - choeger@suse.de +- update to version 2.1.17 +* Fri Oct 31 2003 - choeger@suse.de +- Don't build as root +* Fri Oct 17 2003 - kukuk@suse.de +- Remove unused des from neededforbuild +* Tue Sep 16 2003 - kukuk@suse.de +- Add missing Provides [Bug #31005] +* Mon Sep 01 2003 - choeger@suse.de +- removed "-u root" from startproc as it always failes +- removed link to doc/components.html from doc/index.html as + components.html does not exist (Bugzilla ID#29253) +* Thu Aug 14 2003 - choeger@suse.de +- Bugfix Bugzilla ID#28932: + missing activation metadata in sysconfig template +* Wed Jul 30 2003 - choeger@suse.de +- new macros for stop/restart of services on rpm update/removal +* Tue Jul 15 2003 - choeger@suse.de +- update to version 2.1.15 +* Mon Jun 30 2003 - choeger@suse.de +- update to version 2.1.14 +* Wed Jun 18 2003 - ro@suse.de +- use kerberos-devel-packages in neededforbuild +* Fri Jun 13 2003 - kukuk@suse.de +- Add missing directory to filelist +* Fri May 09 2003 - choeger@suse.de +- use -ldb instead of -ldb-x.y to manually link the + dbconverter +* Tue May 06 2003 - choeger@suse.de +- update to version 2.1.13 +* Tue Apr 15 2003 - ro@suse.de +- added krb4-lib,krb4-devel to neededforbuild +* Mon Apr 07 2003 - choeger@suse.de +- renamed to cyrus-sasl +- splitted libraries for the following auth methods into seperate + packages: + - crammd5 + - digestmd5 + - otp + - plain + this is to prevent from annoying warnings about missing proper + setup of mechanisms we don't use +* Thu Mar 06 2003 - choeger@suse.de +- ever used dbconverter-2? Well it is just a shell script + which uses the damn compiled source tree... :-( + manually building dbconverter to let users convert their + /etc/sasldb from v1 to v2 using /usr/sbin/dbconverter +* Thu Mar 06 2003 - choeger@suse.de +- as cyrus-sasl is dropped now: + provide cyrus-sasl-*, obsolete cyrus-sasl-* + (Bugzilla ID# 24762) +* Tue Feb 04 2003 - choeger@suse.de +- update to cyrus-sasl-2.1.12, bug-fix release. + This release addresses a few minor build and distribution + related issues +* Mon Feb 03 2003 - choeger@suse.de +- update to cyrus-sasl-2.1.11, bug-fix release. + It addresses a number of issues in the build system, a + memory leak in the doors IPC method for saslauthd, and fixes the NTLM + server side support to only require one of the LM or NT methods. +* Thu Jan 23 2003 - choeger@suse.de +- don't use new libtool macros as cyrus-sasl2 seems to not + work when using them. +- added patch to compile shared libraries on ppc +* Wed Jan 15 2003 - kukuk@suse.de +- Remove openldap2 from needed for build +* Tue Jan 14 2003 - choeger@suse.de +- do not build the static library anymore +* Wed Dec 11 2002 - choeger@suse.de +- added sysconfig metadata to sysconfig templates +* Tue Dec 10 2002 - choeger@suse.de +- update to version 2.1.10 + This version corrects a number of DIGEST-MD5 + interoperability issues, as well as corrects some potential buffer + overflows. +* Thu Oct 31 2002 - ro@suse.de +- make it build again +* Tue Oct 29 2002 - ro@suse.de +- remove own libtool macros +* Thu Oct 24 2002 - choeger@suse.de +- update to latest version 2.1.9 +* Thu Sep 12 2002 - choeger@suse.de +- Bugfix Bugzilla ID#19383: cyrus-sasl-devel should conflict + with cyrus-sasl2-devel, because they contain files with the + same name +* Mon Aug 19 2002 - rhafer@suse.de +- enabled building of the static libsasl.a. It is needed for + cyrus-imap to be usable with nss_ldap (which is linked against + cyrus-sasl1) +* Mon Aug 12 2002 - choeger@suse.de +- update to version 2.1.7 +* Thu Aug 08 2002 - choeger@suse.de +- added .la files to the sasl2 plugin directory + ([lt_]dlopen seems to need that) +* Mon Aug 05 2002 - choeger@suse.de +- added Prereq +* Sat Jul 27 2002 - adrian@suse.de +- add %%run_ldconfig +* Wed Jul 17 2002 - choeger@suse.de +- update to version 2.1.6 +* Wed Jun 19 2002 - choeger@suse.de +- also install dbconverter-2 to be able to migrate from + cyrus-sasl(1) +* Tue Jun 18 2002 - choeger@suse.de +- /var/run/sasl2 must be 755 to let non root daemons + connect to unix socket +* Tue Jun 18 2002 - choeger@suse.de +- added initscript and sysconfig file for saslauthd +- added docs +* Tue Jun 18 2002 - rhafer@suse.de +- added opie to needforbuild +- should build on ppc64 and s390x now +* Mon Jun 17 2002 - rhafer@suse.de +- additional autoconf related patches, that were missing at first + check in +* Mon Jun 17 2002 - rhafer@suse.de +- Initial checkin of cyrus-sasl-2.1.5 diff --git a/cyrus-sasl.changes b/cyrus-sasl.changes new file mode 100644 index 0000000..71e6e65 --- /dev/null +++ b/cyrus-sasl.changes @@ -0,0 +1,425 @@ +------------------------------------------------------------------- +Fri Oct 27 13:20:59 CEST 2006 - rhafer@suse.de + +- Use /etc/sasl2/ as directory for config files of services + %{_libdir} can still be used for backwards compatibilty + (Bug #206414) + +------------------------------------------------------------------- +Mon Sep 25 16:21:55 CEST 2006 - rhafer@suse.de + +- Remove unneeded automake/autoheader calls + +------------------------------------------------------------------- +Mon Sep 11 12:56:51 CEST 2006 - rhafer@suse.de + +- Build -sqlauxprop from cyrus-sasl-saslauthd.spec to reduce + BuildRequires of cyrus-sasl.spec +- Removed unneeded openldap2 from BuildRequires of + cyrus-sasl-saslauthd + +------------------------------------------------------------------- +Tue Aug 29 12:47:43 CEST 2006 - rhafer@suse.de + +- Enabled the ldapdb auxprop plugin and created new subpackage + cyrus-sasl-ldap-auxprop for it (Bug #201478) + +------------------------------------------------------------------- +Fri Aug 25 14:47:35 CEST 2006 - rhafer@suse.de + +- remove saslauthd man-page from cyrus-sasl package to solve + confict with -saslauthd subpackage (Bug #200490) + +------------------------------------------------------------------- +Fri Jun 2 11:33:04 CEST 2006 - rhafer@suse.de + +- updated to 2.1.22 + * new pluginviewer utility for reporting information about client + and server side authentication plugins and auxprop plugins + (e.g. supported features, methods, etc.). + * Added support for HTTP POST password validation in saslauthd +- rename SuSE.tar.gz to cyrus-sasl-rc.tar.gz to avoid name + collision with other packages in src.rpm (Bug #98188) +- include "crypt.h" in auth_shadow.c to avoid possible crash in + saslauthd (Bug #179621) + +------------------------------------------------------------------- +Mon Apr 3 15:10:49 CEST 2006 - rhafer@suse.de + +- remove dlcompat-20010505 from tarball because of legal risk and + documented this in README.Source (Bug: #161390) +- added check for dlcompat-20010505 to the spec file + +------------------------------------------------------------------- +Wed Jan 25 21:30:05 CET 2006 - mls@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Wed Nov 23 13:48:56 CET 2005 - choeger@suse.de + +- Bugfix ID#134491, cyrus-sasl-sqlauxprop is not linked against any database + +------------------------------------------------------------------- +Mon Sep 26 01:46:48 CEST 2005 - ro@suse.de + +- added LDAP_DEPRECATED to CFLAGS + +------------------------------------------------------------------- +Wed Jul 13 17:07:50 CEST 2005 - choeger@suse.de + +- use /dev/urandom instead of /dev/random, see + http://acs-wiki.andrew.cmu.edu/twiki/bin/view/Cyrus/POP3DevRandomIssue + for an explanation +- removed the useless .la files from rpm + +------------------------------------------------------------------- +Tue May 17 18:42:14 CEST 2005 - choeger@suse.de + +- update to version 2.1.21 + +------------------------------------------------------------------- +Mon Mar 14 19:46:51 CET 2005 - choeger@suse.de + +- now also build the sql auxprop plugin; created new subpackage + cyrus-sasl-sqlauxprop + +------------------------------------------------------------------- +Fri Feb 25 17:24:12 CET 2005 - uli@suse.de + +- better GCC4 fix + +------------------------------------------------------------------- +Fri Feb 25 14:40:12 CET 2005 - uli@suse.de + +- fixed to build with GCC4 + +------------------------------------------------------------------- +Tue Nov 2 20:47:23 CET 2004 - mmj@suse.de + +- Get rid of .cvsignore files +- Don't remove buildroot before install + +------------------------------------------------------------------- +Mon Oct 25 11:47:36 CEST 2004 - choeger@suse.de + +- update to version 2.1.20 + +------------------------------------------------------------------- +Wed Oct 6 15:00:16 CEST 2004 - choeger@suse.de + +- Bugfix ID#46847 - VUL-0: SASL environment variable local root + +------------------------------------------------------------------- +Mon Sep 20 15:54:37 CEST 2004 - choeger@suse.de + +- package binaries of sample-client and -server instead of + shell wrappers (which do not work) + +------------------------------------------------------------------- +Fri Sep 17 11:20:28 CEST 2004 - choeger@suse.de + +- removed saslauthd from cyrus-sasl requires, as it is only + needed on a "server" side and also not in every case (buildin + mechanisms as CRAM- or DIGEST-MD5 do not need it) +- added split-provides for saslauthd + +------------------------------------------------------------------- +Mon Sep 6 13:37:56 CEST 2004 - choeger@suse.de + +- added testsaslauthd to filelist +- removed saslauthd and insserv makros from cyrus-sasl.spec + +------------------------------------------------------------------- +Fri Sep 3 13:14:02 CEST 2004 - choeger@suse.de + +- splitted up cyrus-sasl-saslauthd.spec, to resolve the cyclic + dependency openldap2 <-> cyrus-sasl with saslauthd having + LDAP support + +------------------------------------------------------------------- +Tue Aug 31 11:55:28 CEST 2004 - choeger@suse.de + +- removed update messages and implemented "split-provides" + instead + +------------------------------------------------------------------- +Tue Aug 31 10:12:22 CEST 2004 - choeger@suse.de + +- added LDAP support for saslauthd, Bugzilla ID#44051 + +------------------------------------------------------------------- +Mon Aug 30 13:54:01 CEST 2004 - choeger@suse.de + +- Bugfix Bugzilla ID#44346 - still using /var/adm/notify + now using new update messages mechanism +- added sample/client sample/server to file list + +------------------------------------------------------------------- +Thu Jul 15 13:50:15 CEST 2004 - choeger@suse.de + +- update to version 2.1.19 + +------------------------------------------------------------------- +Tue Jun 15 11:30:48 CEST 2004 - choeger@suse.de + +- bugfix id#39245 - cyrus-sasl includes straycat man page + +------------------------------------------------------------------- +Fri Mar 12 17:57:06 CET 2004 - choeger@suse.de + +- update to version 2.1.18 (Bugfix Release) + +------------------------------------------------------------------- +Tue Jan 27 15:39:57 CET 2004 - choeger@suse.de + +- Bugfix ID#34159 - cyrus-sasl: world-writeable rpath + +------------------------------------------------------------------- +Thu Jan 22 12:28:34 CET 2004 - choeger@suse.de + +- Bugfix Bugzilla ID#34019, notice users about the fact, that + cyrus-sasl has been splitted into subpackages + +------------------------------------------------------------------- +Fri Jan 16 13:08:08 CET 2004 - kukuk@suse.de + +- Add pam-devel to neededforbuild + +------------------------------------------------------------------- +Tue Dec 2 10:11:37 CET 2003 - choeger@suse.de + +- update to version 2.1.17 + +------------------------------------------------------------------- +Fri Oct 31 16:59:33 CET 2003 - choeger@suse.de + +- Don't build as root + +------------------------------------------------------------------- +Fri Oct 17 22:23:19 CEST 2003 - kukuk@suse.de + +- Remove unused des from neededforbuild + +------------------------------------------------------------------- +Tue Sep 16 13:13:09 CEST 2003 - kukuk@suse.de + +- Add missing Provides [Bug #31005] + +------------------------------------------------------------------- +Mon Sep 1 13:26:43 CEST 2003 - choeger@suse.de + +- removed "-u root" from startproc as it always failes +- removed link to doc/components.html from doc/index.html as + components.html does not exist (Bugzilla ID#29253) + +------------------------------------------------------------------- +Thu Aug 14 18:48:47 CEST 2003 - choeger@suse.de + +- Bugfix Bugzilla ID#28932: + missing activation metadata in sysconfig template + +------------------------------------------------------------------- +Wed Jul 30 13:27:05 CEST 2003 - choeger@suse.de + +- new macros for stop/restart of services on rpm update/removal + +------------------------------------------------------------------- +Tue Jul 15 18:52:11 CEST 2003 - choeger@suse.de + +- update to version 2.1.15 + +------------------------------------------------------------------- +Mon Jun 30 18:04:22 CEST 2003 - choeger@suse.de + +- update to version 2.1.14 + +------------------------------------------------------------------- +Wed Jun 18 12:03:48 CEST 2003 - ro@suse.de + +- use kerberos-devel-packages in neededforbuild + +------------------------------------------------------------------- +Fri Jun 13 10:25:14 CEST 2003 - kukuk@suse.de + +- Add missing directory to filelist + +------------------------------------------------------------------- +Fri May 9 09:54:05 CEST 2003 - choeger@suse.de + +- use -ldb instead of -ldb-x.y to manually link the + dbconverter + +------------------------------------------------------------------- +Tue May 6 14:37:14 CEST 2003 - choeger@suse.de + +- update to version 2.1.13 + +------------------------------------------------------------------- +Tue Apr 15 08:50:41 CEST 2003 - ro@suse.de + +- added krb4-lib,krb4-devel to neededforbuild + +------------------------------------------------------------------- +Mon Apr 7 14:56:11 CEST 2003 - choeger@suse.de + +- renamed to cyrus-sasl +- splitted libraries for the following auth methods into seperate + packages: + - crammd5 + - digestmd5 + - otp + - plain + this is to prevent from annoying warnings about missing proper + setup of mechanisms we don't use + +------------------------------------------------------------------- +Thu Mar 6 18:19:30 CET 2003 - choeger@suse.de + +- ever used dbconverter-2? Well it is just a shell script + which uses the damn compiled source tree... :-( + manually building dbconverter to let users convert their + /etc/sasldb from v1 to v2 using /usr/sbin/dbconverter + +------------------------------------------------------------------- +Thu Mar 6 17:34:18 CET 2003 - choeger@suse.de + +- as cyrus-sasl is dropped now: + provide cyrus-sasl-*, obsolete cyrus-sasl-* + (Bugzilla ID# 24762) + +------------------------------------------------------------------- +Tue Feb 4 10:48:37 CET 2003 - choeger@suse.de + +- update to cyrus-sasl-2.1.12, bug-fix release. + This release addresses a few minor build and distribution + related issues + +------------------------------------------------------------------- +Mon Feb 3 10:54:48 CET 2003 - choeger@suse.de + +- update to cyrus-sasl-2.1.11, bug-fix release. + It addresses a number of issues in the build system, a + memory leak in the doors IPC method for saslauthd, and fixes the NTLM + server side support to only require one of the LM or NT methods. + +------------------------------------------------------------------- +Thu Jan 23 11:03:56 CET 2003 - choeger@suse.de + +- don't use new libtool macros as cyrus-sasl2 seems to not + work when using them. +- added patch to compile shared libraries on ppc + +------------------------------------------------------------------- +Wed Jan 15 09:21:28 CET 2003 - kukuk@suse.de + +- Remove openldap2 from needed for build + +------------------------------------------------------------------- +Tue Jan 14 11:18:35 CET 2003 - choeger@suse.de + +- do not build the static library anymore + +------------------------------------------------------------------- +Wed Dec 11 13:15:29 CET 2002 - choeger@suse.de + +- added sysconfig metadata to sysconfig templates + +------------------------------------------------------------------- +Tue Dec 10 09:46:44 CET 2002 - choeger@suse.de + +- update to version 2.1.10 + This version corrects a number of DIGEST-MD5 + interoperability issues, as well as corrects some potential buffer + overflows. + +------------------------------------------------------------------- +Thu Oct 31 00:23:42 CET 2002 - ro@suse.de + +- make it build again + +------------------------------------------------------------------- +Tue Oct 29 15:13:35 CET 2002 - ro@suse.de + +- remove own libtool macros + +------------------------------------------------------------------- +Thu Oct 24 10:42:11 CEST 2002 - choeger@suse.de + +- update to latest version 2.1.9 + +------------------------------------------------------------------- +Thu Sep 12 14:52:42 CEST 2002 - choeger@suse.de + +- Bugfix Bugzilla ID#19383: cyrus-sasl-devel should conflict + with cyrus-sasl2-devel, because they contain files with the + same name + +------------------------------------------------------------------- +Mon Aug 19 18:48:02 CEST 2002 - rhafer@suse.de + +- enabled building of the static libsasl.a. It is needed for + cyrus-imap to be usable with nss_ldap (which is linked against + cyrus-sasl1) + +------------------------------------------------------------------- +Mon Aug 12 11:04:01 CEST 2002 - choeger@suse.de + +- update to version 2.1.7 + +------------------------------------------------------------------- +Thu Aug 8 10:31:06 CEST 2002 - choeger@suse.de + +- added .la files to the sasl2 plugin directory + ([lt_]dlopen seems to need that) + +------------------------------------------------------------------- +Mon Aug 5 17:07:37 CEST 2002 - choeger@suse.de + +- added Prereq + +------------------------------------------------------------------- +Sat Jul 27 18:09:53 CEST 2002 - adrian@suse.de + +- add %run_ldconfig + +------------------------------------------------------------------- +Wed Jul 17 10:08:45 CEST 2002 - choeger@suse.de + +- update to version 2.1.6 + +------------------------------------------------------------------- +Wed Jun 19 18:25:16 CEST 2002 - choeger@suse.de + +- also install dbconverter-2 to be able to migrate from + cyrus-sasl(1) + +------------------------------------------------------------------- +Tue Jun 18 16:21:06 CEST 2002 - choeger@suse.de + +- /var/run/sasl2 must be 755 to let non root daemons + connect to unix socket + +------------------------------------------------------------------- +Tue Jun 18 16:09:08 CEST 2002 - choeger@suse.de + +- added initscript and sysconfig file for saslauthd +- added docs + +------------------------------------------------------------------- +Tue Jun 18 12:34:35 CEST 2002 - rhafer@suse.de + +- added opie to needforbuild +- should build on ppc64 and s390x now + +------------------------------------------------------------------- +Mon Jun 17 20:37:14 CEST 2002 - rhafer@suse.de + +- additional autoconf related patches, that were missing at first + check in + +------------------------------------------------------------------- +Mon Jun 17 18:12:24 CEST 2002 - rhafer@suse.de + +- Initial checkin of cyrus-sasl-2.1.5 + diff --git a/cyrus-sasl.spec b/cyrus-sasl.spec new file mode 100644 index 0000000..e6b0c8f --- /dev/null +++ b/cyrus-sasl.spec @@ -0,0 +1,494 @@ +# +# spec file for package cyrus-sasl (Version 2.1.22) +# +# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. +# This file and all modifications and additions to the pristine +# package are under the same license as the package itself. +# +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +# norootforbuild + +Name: cyrus-sasl +BuildRequires: db-devel krb5-devel openssl-devel opie pam-devel +Obsoletes: cyrus-sasl2 +Provides: cyrus-sasl2 +License: BSD License and BSD-like, Other License(s), see package +Group: Productivity/Networking/Other +URL: http://asg.web.cmu.edu/sasl/ +Autoreqprov: on +Summary: Implementation of Cyrus SASL API +Version: 2.1.22 +Release: 18 +Source: cyrus-sasl-%{version}.tar.bz2 +Source1: cyrus-sasl-rc.tar.gz +Source2: README.Source +Patch: cyrus-sasl-%{version}.dif +Patch1: shared_link_on_ppc.patch +Patch2: cyrus-sasl-gcc4.patch +Patch3: cyrus-sasl-implicitfunc.dif +Prereq: %insserv_prereq %fillup_prereq +BuildRoot: %{_tmppath}/%{name}-%{version}-build +# +%package gssapi +Obsoletes: cyrus-sasl2-gssapi +Provides: cyrus-sasl2-gssapi +Summary: cyrus-sasl plugin for the GSSAPI mechanism +Autoreqprov: on +Group: Development/Libraries/C and C++ +Prefix: %{_prefix} +Requires: cyrus-sasl +# +%package crammd5 +Summary: cyrus-sasl plugin for the CRAMMD5 mechanism +Autoreqprov: on +Group: Development/Libraries/C and C++ +Prefix: %{_prefix} +Requires: cyrus-sasl +Provides: cyrus-sasl:%{_libdir}/sasl2/libcrammd5.so +Provides: cyrus-sasl2:%{_libdir}/sasl2/libcrammd5.so +# +%package digestmd5 +Summary: cyrus-sasl plugin for the DIGESTMD5 mechanism +Autoreqprov: on +Group: Development/Libraries/C and C++ +Prefix: %{_prefix} +Requires: cyrus-sasl +Provides: cyrus-sasl:%{_libdir}/sasl2/libdigestmd5.so +Provides: cyrus-sasl2:%{_libdir}/sasl2/libdigestmd5.so +# +%package otp +Summary: cyrus-sasl plugin for the OTP mechanism +Autoreqprov: on +Group: Development/Libraries/C and C++ +Prefix: %{_prefix} +Requires: cyrus-sasl +Provides: cyrus-sasl:%{_libdir}/sasl2/libotp.so +Provides: cyrus-sasl2:%{_libdir}/sasl2/libotp.so +# +%package plain +Summary: cyrus-sasl plugin for the PLAIN mechanism +Autoreqprov: on +Group: Development/Libraries/C and C++ +Prefix: %{_prefix} +Requires: cyrus-sasl +Provides: cyrus-sasl:%{_libdir}/sasl2/libplain.so +Provides: cyrus-sasl2:%{_libdir}/sasl2/libplain.so +# +%package devel +Obsoletes: cyrus-sasl2-devel +Provides: cyrus-sasl2-devel +Summary: Cyrus SASL API Implementation, Libraries and Header Files +Autoreqprov: on +Group: Development/Libraries/C and C++ +Prefix: %{_prefix} +Requires: cyrus-sasl = %{version}, glibc-devel + +%description +This is the Cyrus SASL API. It can be used on the client or server side +to provide authentication. See RFC 2222 for more information. + + + +Authors: +-------- + tech-transfer@andrew.cmu.edu + + +%description gssapi +This is the Cyrus SASL API implementation. It can be used on the client +or server side to provide authentication. See RFC 2222 for more +information. + + + +Authors: +-------- + tech-transfer@andrew.cmu.edu + + +%description devel +This is the Cyrus SASL API. It can be used on the client or server side +to provide authentication. See RFC 2222 for more information. + + + +Authors: +-------- + tech-transfer@andrew.cmu.edu + + +%description digestmd5 +This is the Cyrus SASL API implementation. It can be used on the client +or server side to provide authentication. See RFC 2222 for more +information. + + + +Authors: +-------- + tech-transfer@andrew.cmu.edu + + +%description crammd5 +This is the Cyrus SASL API implementation. It can be used on the client +or server side to provide authentication. See RFC 2222 for more +information. + + + +Authors: +-------- + tech-transfer@andrew.cmu.edu + + +%description otp +This is the Cyrus SASL API implementation. It can be used on the client +or server side to provide authentication. See RFC 2222 for more +information. + + + +Authors: +-------- + tech-transfer@andrew.cmu.edu + + +%description plain +This is the Cyrus SASL API implementation. It can be used on the client +or server side to provide authentication. See RFC 2222 for more +information. + + + +Authors: +-------- + tech-transfer@andrew.cmu.edu + +%prep +%setup -n cyrus-sasl-%{version} -a 1 +if [ -e %{_builddir}/%{name}-%{version}/dlcompat-*/ ] +then + echo "dlcompat contains potential legal risks." + exit 1; +fi +%patch +%patch1 +%patch2 +%patch3 -p1 + +%build +find . -name \*.cvsignore -print0 | xargs -0 rm -fv +%{suse_update_config -f config} +%{suse_update_config -f saslauthd/config} +# has old libtool macros (and nothing else) +rm -f acinclude.m4 +rm -f saslauthd/acinclude.m4 +rm -rf autom4te.cache +rm -rf saslauthd/autom4te.cache +# libtoolize --force +# cyrus-sasl2 does not work, when using newer libtool +aclocal -I cmulocal -I config +autoconf +cd saslauthd +autoconf +cd - +export CFLAGS="-fno-strict-aliasing $RPM_OPT_FLAGS" +export CPPFLAGS=-I/usr/include/heimdal +./configure --libdir=%{_libdir} \ + --with-plugindir=%{_libdir}/sasl2 \ + --with-configdir=/etc/sasl2/:%{_libdir}/sasl2 \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=%{_mandir} \ + --with-saslauthd=/var/run/sasl2/ \ + --enable-pam \ + --enable-sample \ + --enable-login \ + --enable-gssapi \ + --enable-krb4=no \ + --enable-sql=no \ + --with-devrandom=/dev/urandom +make sasldir=%{_libdir}/sasl2 + +%install +make DESTDIR=$RPM_BUILD_ROOT sasldir=%{_libdir}/sasl2 install +install -m 755 -d $RPM_BUILD_ROOT/var/run/sasl2 +mkdir -p $RPM_BUILD_ROOT/usr/bin +mkdir -p $RPM_BUILD_ROOT/etc/sasl2 +install -m 755 sample/.libs/client $RPM_BUILD_ROOT/usr/bin/cyrus_sasl_sample_client +install -m 755 sample/.libs/server $RPM_BUILD_ROOT/usr/bin/cyrus_sasl_sample_server +cd utils +gcc -Wall -W -O2 -fmessage-length=0 -o dbconverter dbconverter-2.o ../sasldb/.libs/libsasldb.al -lresolv ../lib/.libs/libsasl2.so -ldl -ldb +#gcc -Wall -W -O2 -fmessage-length=0 -o dbconverter dbconverter-2.o ../sasldb/.libs/libsasldb.al -lresolv ../lib/.libs/libsasl2.so -ldl -ldb -Wl,--rpath -Wl,/usr/src/packages/BUILD/cyrus-sasl-2.1.12/lib/.libs +install -m 755 dbconverter $RPM_BUILD_ROOT/usr/sbin/dbconverter +rm -f $RPM_BUILD_ROOT/%{_mandir}/cat?/* +rm -f $RPM_BUILD_ROOT/%{_mandir}/man8/saslauthd* +rm -f $RPM_BUILD_ROOT/usr/sbin/saslauthd +rm -f $RPM_BUILD_ROOT/usr/sbin/testsaslauthd +find $RPM_BUILD_ROOT/%{_libdir}/sasl2 -name "*.la" | xargs rm -f + +%post +%run_ldconfig + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root) +%dir %{_libdir}/sasl2 +%dir /etc/sasl2/ +%{_libdir}/sasl2/libanonymous.so* +%{_libdir}/sasl2/liblogin.so* +%{_libdir}/sasl2/libsasldb.so* +%{_libdir}/libsasl2.so.* +/usr/sbin/* +/usr/bin/* +%dir %attr(0755,root,root) /var/run/sasl2 +#%doc %{_mandir}/cat8 +%doc %{_mandir}/man3/sasl.*.gz +%doc %{_mandir}/man8/*.gz +%doc AUTHORS COPYING ChangeLog INSTALL NEWS README doc +%doc saslauthd/AUTHORS saslauthd/COPYING saslauthd/ChangeLog saslauthd/INSTALL saslauthd/LDAP_SASLAUTHD saslauthd/NEWS saslauthd/README + +%files gssapi +%defattr(-,root,root) +%{_libdir}/sasl2/libgssapiv2.so* + +%files crammd5 +%defattr(-,root,root) +%{_libdir}/sasl2/libcrammd5.so* + +%files digestmd5 +%defattr(-,root,root) +%{_libdir}/sasl2/libdigestmd5.so* + +%files otp +%defattr(-,root,root) +%{_libdir}/sasl2/libotp.so* + +%files plain +%defattr(-,root,root) +%{_libdir}/sasl2/libplain.so* + +%files devel +%defattr(-,root,root) +/usr/include/sasl +%doc %{_mandir}/man3/sasl_*.gz +%{_libdir}/libsasl2.so +%{_libdir}/libsasl2.la + +%changelog -n cyrus-sasl +* Fri Oct 27 2006 - rhafer@suse.de +- Use /etc/sasl2/ as directory for config files of services + %%{_libdir} can still be used for backwards compatibilty + (Bug #206414) +* Mon Sep 25 2006 - rhafer@suse.de +- Remove unneeded automake/autoheader calls +* Mon Sep 11 2006 - rhafer@suse.de +- Build -sqlauxprop from cyrus-sasl-saslauthd.spec to reduce + BuildRequires of cyrus-sasl.spec +- Removed unneeded openldap2 from BuildRequires of + cyrus-sasl-saslauthd +* Tue Aug 29 2006 - rhafer@suse.de +- Enabled the ldapdb auxprop plugin and created new subpackage + cyrus-sasl-ldap-auxprop for it (Bug #201478) +* Fri Aug 25 2006 - rhafer@suse.de +- remove saslauthd man-page from cyrus-sasl package to solve + confict with -saslauthd subpackage (Bug #200490) +* Fri Jun 02 2006 - rhafer@suse.de +- updated to 2.1.22 + * new pluginviewer utility for reporting information about client + and server side authentication plugins and auxprop plugins + (e.g. supported features, methods, etc.). + * Added support for HTTP POST password validation in saslauthd +- rename SuSE.tar.gz to cyrus-sasl-rc.tar.gz to avoid name + collision with other packages in src.rpm (Bug #98188) +- include "crypt.h" in auth_shadow.c to avoid possible crash in + saslauthd (Bug #179621) +* Mon Apr 03 2006 - rhafer@suse.de +- remove dlcompat-20010505 from tarball because of legal risk and + documented this in README.Source (Bug: #161390) +- added check for dlcompat-20010505 to the spec file +* Wed Jan 25 2006 - mls@suse.de +- converted neededforbuild to BuildRequires +* Wed Nov 23 2005 - choeger@suse.de +- Bugfix ID#134491, cyrus-sasl-sqlauxprop is not linked against any database +* Mon Sep 26 2005 - ro@suse.de +- added LDAP_DEPRECATED to CFLAGS +* Wed Jul 13 2005 - choeger@suse.de +- use /dev/urandom instead of /dev/random, see + http://acs-wiki.andrew.cmu.edu/twiki/bin/view/Cyrus/POP3DevRandomIssue + for an explanation +- removed the useless .la files from rpm +* Tue May 17 2005 - choeger@suse.de +- update to version 2.1.21 +* Mon Mar 14 2005 - choeger@suse.de +- now also build the sql auxprop plugin; created new subpackage + cyrus-sasl-sqlauxprop +* Fri Feb 25 2005 - uli@suse.de +- better GCC4 fix +* Fri Feb 25 2005 - uli@suse.de +- fixed to build with GCC4 +* Tue Nov 02 2004 - mmj@suse.de +- Get rid of .cvsignore files +- Don't remove buildroot before install +* Mon Oct 25 2004 - choeger@suse.de +- update to version 2.1.20 +* Wed Oct 06 2004 - choeger@suse.de +- Bugfix ID#46847 - VUL-0: SASL environment variable local root +* Mon Sep 20 2004 - choeger@suse.de +- package binaries of sample-client and -server instead of + shell wrappers (which do not work) +* Fri Sep 17 2004 - choeger@suse.de +- removed saslauthd from cyrus-sasl requires, as it is only + needed on a "server" side and also not in every case (buildin + mechanisms as CRAM- or DIGEST-MD5 do not need it) +- added split-provides for saslauthd +* Mon Sep 06 2004 - choeger@suse.de +- added testsaslauthd to filelist +- removed saslauthd and insserv makros from cyrus-sasl.spec +* Fri Sep 03 2004 - choeger@suse.de +- splitted up cyrus-sasl-saslauthd.spec, to resolve the cyclic + dependency openldap2 <-> cyrus-sasl with saslauthd having + LDAP support +* Tue Aug 31 2004 - choeger@suse.de +- removed update messages and implemented "split-provides" + instead +* Tue Aug 31 2004 - choeger@suse.de +- added LDAP support for saslauthd, Bugzilla ID#44051 +* Mon Aug 30 2004 - choeger@suse.de +- Bugfix Bugzilla ID#44346 - still using /var/adm/notify + now using new update messages mechanism +- added sample/client sample/server to file list +* Thu Jul 15 2004 - choeger@suse.de +- update to version 2.1.19 +* Tue Jun 15 2004 - choeger@suse.de +- bugfix id#39245 - cyrus-sasl includes straycat man page +* Fri Mar 12 2004 - choeger@suse.de +- update to version 2.1.18 (Bugfix Release) +* Tue Jan 27 2004 - choeger@suse.de +- Bugfix ID#34159 - cyrus-sasl: world-writeable rpath +* Thu Jan 22 2004 - choeger@suse.de +- Bugfix Bugzilla ID#34019, notice users about the fact, that + cyrus-sasl has been splitted into subpackages +* Fri Jan 16 2004 - kukuk@suse.de +- Add pam-devel to neededforbuild +* Tue Dec 02 2003 - choeger@suse.de +- update to version 2.1.17 +* Fri Oct 31 2003 - choeger@suse.de +- Don't build as root +* Fri Oct 17 2003 - kukuk@suse.de +- Remove unused des from neededforbuild +* Tue Sep 16 2003 - kukuk@suse.de +- Add missing Provides [Bug #31005] +* Mon Sep 01 2003 - choeger@suse.de +- removed "-u root" from startproc as it always failes +- removed link to doc/components.html from doc/index.html as + components.html does not exist (Bugzilla ID#29253) +* Thu Aug 14 2003 - choeger@suse.de +- Bugfix Bugzilla ID#28932: + missing activation metadata in sysconfig template +* Wed Jul 30 2003 - choeger@suse.de +- new macros for stop/restart of services on rpm update/removal +* Tue Jul 15 2003 - choeger@suse.de +- update to version 2.1.15 +* Mon Jun 30 2003 - choeger@suse.de +- update to version 2.1.14 +* Wed Jun 18 2003 - ro@suse.de +- use kerberos-devel-packages in neededforbuild +* Fri Jun 13 2003 - kukuk@suse.de +- Add missing directory to filelist +* Fri May 09 2003 - choeger@suse.de +- use -ldb instead of -ldb-x.y to manually link the + dbconverter +* Tue May 06 2003 - choeger@suse.de +- update to version 2.1.13 +* Tue Apr 15 2003 - ro@suse.de +- added krb4-lib,krb4-devel to neededforbuild +* Mon Apr 07 2003 - choeger@suse.de +- renamed to cyrus-sasl +- splitted libraries for the following auth methods into seperate + packages: + - crammd5 + - digestmd5 + - otp + - plain + this is to prevent from annoying warnings about missing proper + setup of mechanisms we don't use +* Thu Mar 06 2003 - choeger@suse.de +- ever used dbconverter-2? Well it is just a shell script + which uses the damn compiled source tree... :-( + manually building dbconverter to let users convert their + /etc/sasldb from v1 to v2 using /usr/sbin/dbconverter +* Thu Mar 06 2003 - choeger@suse.de +- as cyrus-sasl is dropped now: + provide cyrus-sasl-*, obsolete cyrus-sasl-* + (Bugzilla ID# 24762) +* Tue Feb 04 2003 - choeger@suse.de +- update to cyrus-sasl-2.1.12, bug-fix release. + This release addresses a few minor build and distribution + related issues +* Mon Feb 03 2003 - choeger@suse.de +- update to cyrus-sasl-2.1.11, bug-fix release. + It addresses a number of issues in the build system, a + memory leak in the doors IPC method for saslauthd, and fixes the NTLM + server side support to only require one of the LM or NT methods. +* Thu Jan 23 2003 - choeger@suse.de +- don't use new libtool macros as cyrus-sasl2 seems to not + work when using them. +- added patch to compile shared libraries on ppc +* Wed Jan 15 2003 - kukuk@suse.de +- Remove openldap2 from needed for build +* Tue Jan 14 2003 - choeger@suse.de +- do not build the static library anymore +* Wed Dec 11 2002 - choeger@suse.de +- added sysconfig metadata to sysconfig templates +* Tue Dec 10 2002 - choeger@suse.de +- update to version 2.1.10 + This version corrects a number of DIGEST-MD5 + interoperability issues, as well as corrects some potential buffer + overflows. +* Thu Oct 31 2002 - ro@suse.de +- make it build again +* Tue Oct 29 2002 - ro@suse.de +- remove own libtool macros +* Thu Oct 24 2002 - choeger@suse.de +- update to latest version 2.1.9 +* Thu Sep 12 2002 - choeger@suse.de +- Bugfix Bugzilla ID#19383: cyrus-sasl-devel should conflict + with cyrus-sasl2-devel, because they contain files with the + same name +* Mon Aug 19 2002 - rhafer@suse.de +- enabled building of the static libsasl.a. It is needed for + cyrus-imap to be usable with nss_ldap (which is linked against + cyrus-sasl1) +* Mon Aug 12 2002 - choeger@suse.de +- update to version 2.1.7 +* Thu Aug 08 2002 - choeger@suse.de +- added .la files to the sasl2 plugin directory + ([lt_]dlopen seems to need that) +* Mon Aug 05 2002 - choeger@suse.de +- added Prereq +* Sat Jul 27 2002 - adrian@suse.de +- add %%run_ldconfig +* Wed Jul 17 2002 - choeger@suse.de +- update to version 2.1.6 +* Wed Jun 19 2002 - choeger@suse.de +- also install dbconverter-2 to be able to migrate from + cyrus-sasl(1) +* Tue Jun 18 2002 - choeger@suse.de +- /var/run/sasl2 must be 755 to let non root daemons + connect to unix socket +* Tue Jun 18 2002 - choeger@suse.de +- added initscript and sysconfig file for saslauthd +- added docs +* Tue Jun 18 2002 - rhafer@suse.de +- added opie to needforbuild +- should build on ppc64 and s390x now +* Mon Jun 17 2002 - rhafer@suse.de +- additional autoconf related patches, that were missing at first + check in +* Mon Jun 17 2002 - rhafer@suse.de +- Initial checkin of cyrus-sasl-2.1.5 diff --git a/pre_checkin.sh b/pre_checkin.sh new file mode 100644 index 0000000..c9b89d8 --- /dev/null +++ b/pre_checkin.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +echo -n "Generating cyrus-sasl-saslauthd " + +cp cyrus-sasl.changes cyrus-sasl-saslauthd.changes +SASLVERSION=$(awk '/^Version/ {print $2; exit;} {next;};' < cyrus-sasl.spec) +perl -pi -e "s/^Version:.*/Version: $SASLVERSION/" cyrus-sasl-saslauthd.spec +echo "Done." diff --git a/ready b/ready new file mode 100644 index 0000000..473a0f4 diff --git a/shared_link_on_ppc.patch b/shared_link_on_ppc.patch new file mode 100644 index 0000000..e65cfb2 --- /dev/null +++ b/shared_link_on_ppc.patch @@ -0,0 +1,10 @@ +--- config/ltconfig.orig 2003-01-23 09:20:31.000000000 +0100 ++++ config/ltconfig 2003-01-23 09:20:49.000000000 +0100 +@@ -2029,7 +2029,6 @@ + else + # Only the GNU ld.so supports shared libraries on MkLinux. + case "$host_cpu" in +- powerpc*) dynamic_linker=no ;; + *) dynamic_linker='Linux ld.so' ;; + esac + fi