Info4: << Package: cyrus-sasl2%type_pkg[-64bit] Version: 2.1.25 Revision: 2 Type: -64bit (boolean) Architecture: ( %type_raw[-64bit] = -64bit ) powerpc, ( %type_raw[-64bit] = -64bit ) i386 # Distribution: 10.6 Maintainer: Daniel Johnson Depends: %N-shlibs (= %v-%r), ( %type_raw[-64bit] = -64bit ) 64bit-cpu BuildDepends: openssl100%type_pkg[-64bit]-dev (>= 1.0.1-1), db53-aes%type_pkg[-64bit], fink (>= 0.26.2), libtool2 Conflicts: cyrus-sasl2, cyrus-sasl2-64bit Replaces: cyrus-sasl2, cyrus-sasl2-64bit Source: mirror:custom:cyrus-sasl-%v.tar.gz CustomMirror: << Primary: ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/ Secondary: ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/OLD-VERSIONS/sasl/ << Source-MD5: 341cffe829a4d71f2a6503d669d5a946 PatchFile: %{ni}.patch PatchFile-MD5: 6117bb8fb8d4c9017a8231ebc7fe2944 PatchScript: << #!/bin/bash -ev %{default_script} #Use db53 perl -pi -e 's/db-4.4/db-5.3/g' configure #This is only needed for the -64bit variant perl -pi -e 's,lib/sasl2,%lib/sasl2,g' Makefile.in plugins/Makefile.in #Fix bug in configure on 10.6 perl -pi -e 's,HAVE_SECURITY_PAM_H,HAVE_SECURITY_PAM_APPL_H,' configure #Make sure saslauthd can find pam on < 10.6 let version=`uname -r | cut -f 1 -d .` if [ $version -lt 10 ]; then perl -pi -e 's,security/pam_appl.h,pam/pam_appl.h,g' saslauthd/configure fi # include on darwin8 -- fangism sed -i.orig -e '/HAVE_GSSAPI/s|ifdef|ifndef|' plugins/gssapi.c # fangism: krb5_get_error_message/free_error_message don't work with Heimdal: # http://dovecot.org/list/dovecot-cvs/2008-May/011108.html sed -i.orig -e 's|krb5_get_error_message(.*)|"???"|' \ -e 's|krb5_free_error_message.*|/* & */|' saslauthd/auth_krb5.c << NoSetLDFLAGS: True UseMaxBuildJobs: False SetLibs: -L%p/%lib ConfigureParams: << --disable-macos-framework \ --disable-static \ --enable-login \ --enable-ntlm \ --disable-scram \ --infodir=%p/share/info \ --libdir=%p/%lib \ --libexecdir=%p/%lib \ --mandir=%p/share/man \ --with-authdaemond \ --with-bdb-incdir=%p/include/db5 \ --with-bdb-libdir=%p/%lib \ --with-dblib=berkeley \ --with-dbpath=%p/etc/sasldb2 \ --with-openssl=%p \ --with-pam \ --with-plugindir=%p/%lib/sasl2 \ --with-saslauthd=%p/var/saslauthd << SetCFLAGS: -dynamic # SetLDFLAGS: -Wl,-dead_strip_dylibs CompileScript: << #!/bin/bash -ev if [ "%type_raw[-64bit]" == "-64bit" ]; then export CC="gcc -m64" fi ./configure %c --host=%m-apple-darwin`uname -r` make SASL_DB_LIB="-L%p/lib -ldb-5.3" LIBTOOL=glibtool << InstallScript: << mkdir -p %i/share/man/man8 mkdir -p %i/var/saslauthd make install DESTDIR=%d LIBTOOL=glibtool cd utils; cp sasldblistusers2.8 saslpasswd2.8 %i/share/man/man8 << DocFiles: AUTHORS COPYING NEWS README ChangeLog doc/TODO doc/*.html doc/*.txt SplitOff: << Package: %N-shlibs Depends: db53-aes%type_pkg[-64bit]-shlibs, openssl100%type_pkg[-64bit]-shlibs (>= 1.0.1-1), ( %type_raw[-64bit] = -64bit ) 64bit-cpu Replaces: %N-dev (<< 2.1.21-14) Files: %lib/*.*.dylib %lib/sasl2/*.*.so %lib/sasl2/*.la Shlibs: %p/%lib/libsasl2.2.dylib 3.0.0 %n (>= 2.1.13-12) %type_num[-64bit] DocFiles: COPYING README << SplitOff2: << Package: %N-dev Depends: %N-shlibs (= %v-%r), ( %type_raw[-64bit] = -64bit ) 64bit-cpu Conflicts: %N (<= 2.1.10-2), cyrus-sasl2-dev, cyrus-sasl2-64bit-dev Replaces: %N (<< 2.1.21-14), cyrus-sasl2-dev, cyrus-sasl2-64bit-dev Files: include/sasl %lib/*.dylib %lib/*.la %lib/sasl2/*.so BuildDependsOnly: True DocFiles: COPYING README << SplitOff3: << Package: %N-doc Depends: ( %type_raw[-64bit] = -64bit ) 64bit-cpu Conflicts: cyrus-sasl (<= 1.5.27-15), cyrus-sasl-doc, cyrus-sasl2-doc, cyrus-sasl2-64bit-doc Replaces: cyrus-sasl (<= 1.5.27-15), cyrus-sasl-doc, cyrus-sasl2-doc, cyrus-sasl2-64bit-doc Files: share/man DocFiles: COPYING README << Description: Cyrus Simple Auth. and Security Layer Library DescDetail: << SASL is the Simple Authentication and Security Layer, a method for adding authentication support to connection-based protocols. To use SASL, a protocol includes a command for identifying and authenticating a user to a server and for optionally negotiating protection of subsequent protocol interactions. If its use is negotiated, a security layer is inserted between the protocol and the connection. << DescPort: << Patch to stop the creation and installing of a framework and look for PAM headers in /usr/include/pam instead of /usr/include/security. KERBEROS IV support has been disabled for Darwin by the upstream developers. << DescPackaging: << Moved the manual pages to there own splitoff so cyrus-sasl and cyrus-sasl2 can co-exist happliy. Now uses system's OpenSSL (via system-openssl-dev) and removed from crypto tree. Yay! Previous versions maintained by Matt Stephenson Borrowed a patch from redhat to build on new gcc. Added patches from Debian package. 2.1.23 fixes buffer overflow in sasl_encode64(). Packages depending on cyrus-sasl2 no longer need to depend on its dependencies, just Depend on cyrus-sasl2-shlibs and BuildDepend on cyrus-sasl2-dev. << License: OSI-Approved Homepage: http://asg.web.cmu.edu/sasl <<