Hey Randy,
I put together an update for cyrus-sasl, and I thought you might be interested
in seeing what changed. I left the dbpath in /var/lib/sasl/sasldb2. You seem
to feel much more strongly than I do about that, and the fact that the switch
is documented means anyone can change it to what they want. It also turns out
that the new default for the appname.conf files is to search ${libdir}/sasl2
and /etc/sasl2, so that seemed good to me.
I did change the saslauthd run directory to /var/run/saslauthd. After reading
the source a little, it looks like there can be a handeful of things created
and I don't think we want them polluting /var/run. There is the .pid file and
a .pid.lock file. There's also a cache.mmap file that can be created and a
hidden .tf directory that can be created by the krb backend (I think). So, it
made sense to me to make a separate directory. This shouldn't affect the
bootscript since we weren't passing the pid file anyway.
Let me know if this looks alright to you and I'll push it in.
--
Dan
BOOK/general.ent | 8 ++--
BOOK/introduction/welcome/changelog.xml | 9 +++++
BOOK/postlfs/security/cyrus-sasl.xml | 57 +++++++++++--------------------
3 files changed, 33 insertions(+), 41 deletions(-)
diff --git a/BOOK/general.ent b/BOOK/general.ent
index db3f7f0..44bffff 100644
--- a/BOOK/general.ent
+++ b/BOOK/general.ent
@@ -3,11 +3,11 @@ $LastChangedBy$
$Date$
-->
-<!ENTITY day "22"> <!-- Always 2 digits -->
-<!ENTITY month "08"> <!-- Always 2 digits -->
+<!ENTITY day "02"> <!-- Always 2 digits -->
+<!ENTITY month "09"> <!-- Always 2 digits -->
<!ENTITY year "2007">
<!ENTITY version "svn-&year;&month;&day;">
-<!ENTITY releasedate "August &day;nd, &year;">
+<!ENTITY releasedate "September &day;nd, &year;">
<!ENTITY pubdate "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
<!ENTITY blfs-version "svn"> <!-- svn|[release #] -->
<!ENTITY lfs-version "development"> <!--
version|testing|unstable|development] -->
@@ -72,7 +72,7 @@ $Date$
<!ENTITY tripwire-version "2.4.0.1">
<!ENTITY heimdal-version "0.7.2">
<!ENTITY mitkrb-version "1.6">
-<!ENTITY cyrus-sasl-version "2.1.21">
+<!ENTITY cyrus-sasl-version "2.1.22">
<!ENTITY stunnel-version "4.20">
<!ENTITY sudo-version "1.6.8p12">
<!ENTITY nss-version "3.11.7">
diff --git a/BOOK/introduction/welcome/changelog.xml
b/BOOK/introduction/welcome/changelog.xml
index deda74f..7caade4 100644
--- a/BOOK/introduction/welcome/changelog.xml
+++ b/BOOK/introduction/welcome/changelog.xml
@@ -42,6 +42,15 @@
-->
<listitem>
+ <para>September 2, 2007</para>
+ <itemizedlist>
+ <listitem>
+ <para>[dnicholson] - Updated to Cyrus SASL-2.1.22.</para>
+ </listitem>
+ </itemizedlist>
+ </listitem>
+
+ <listitem>
<para>August 22, 2007</para>
<itemizedlist>
<listitem>
diff --git a/BOOK/postlfs/security/cyrus-sasl.xml
b/BOOK/postlfs/security/cyrus-sasl.xml
index 1eaa21a..0846aac 100644
--- a/BOOK/postlfs/security/cyrus-sasl.xml
+++ b/BOOK/postlfs/security/cyrus-sasl.xml
@@ -6,10 +6,10 @@
<!ENTITY cyrus-sasl-download-http
"http://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-sasl-&cyrus-sasl-version;.tar.gz
">
<!ENTITY cyrus-sasl-download-ftp
"ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-sasl-&cyrus-sasl-version;.tar.gz">
- <!ENTITY cyrus-sasl-md5sum "dde02db234dea892bee298390890502e">
- <!ENTITY cyrus-sasl-size "1.6 MB">
- <!ENTITY cyrus-sasl-buildsize "16 MB">
- <!ENTITY cyrus-sasl-time "0.3 SBU">
+ <!ENTITY cyrus-sasl-md5sum "45dde9d19193ae9dd388eb68b2027bc9">
+ <!ENTITY cyrus-sasl-size "1.5 MB">
+ <!ENTITY cyrus-sasl-buildsize "14 MB">
+ <!ENTITY cyrus-sasl-time "0.2 SBU">
]>
<sect1 id="cyrus-sasl" xreflabel="Cyrus SASL-&cyrus-sasl-version;">
@@ -59,18 +59,6 @@
</listitem>
</itemizedlist>
- <bridgehead renderas="sect3">Additional Downloads</bridgehead>
- <itemizedlist spacing="compact">
- <listitem>
- <para>Required patch: <ulink
-
url="&patch-root;/cyrus-sasl-&cyrus-sasl-version;-openldap23-1.patch"/></para>
- </listitem>
- <listitem>
- <para>Required patch: <ulink
-
url="&patch-root;/cyrus-sasl-&cyrus-sasl-version;-openssl98-1.patch"/></para>
- </listitem>
- </itemizedlist>
-
<bridgehead renderas="sect3">Cyrus SASL Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
@@ -102,12 +90,9 @@
running the following commands:</para>
<screen><userinput>patch -Np1 -i
../cyrus-sasl-&cyrus-sasl-version;-openldap23-1.patch &&
-patch -Np1 -i ../cyrus-sasl-&cyrus-sasl-version;-openssl98-1.patch &&
-sed -i '/sasl_global/s/^static //' lib/client.c &&
-sed -i 's/cat8/man8/' saslauthd/Makefile.in &&
./configure --prefix=/usr --sysconfdir=/etc \
--with-dbpath=/var/lib/sasl/sasldb2 \
- --with-saslauthd=/var/run &&
+ --with-saslauthd=/var/run/saslauthd &&
make</userinput></screen>
<para>This package does not come with a test suite. If you are planning
@@ -123,29 +108,26 @@ make</userinput></screen>
install -v -m755 -d /usr/share/doc/cyrus-sasl-&cyrus-sasl-version; &&
install -v -m644 doc/{*.{html,txt,fig},ONEWS,TODO} \
saslauthd/LDAP_SASLAUTHD /usr/share/doc/cyrus-sasl-&cyrus-sasl-version;
&&
-install -v -m700 -d /var/lib/sasl</userinput></screen>
+install -v -m700 -d /var/lib/sasl /var/run/saslauthd</userinput></screen>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
- <para><command>sed ... lib/client.c</command>: This command fixes an issue
- when compiling <application>Cyrus SASL</application> with
- <application>GCC-4</application>.</para>
-
- <para><command>sed 's/cat8/man8/' ...</command>: This command puts the
- <command>saslauthd</command> man page in a more standard location.</para>
-
<para><parameter>--with-dbpath=/var/lib/sasl/sasldb2</parameter>: This
- parameter forces the <command>saslauthd</command> database to be created
+ parameter forces the <command>sasldb</command> database to be created
in <filename class='directory'>/var/lib/sasl</filename> instead of
<filename class='directory'>/etc</filename>.</para>
- <para><parameter>--with-saslauthd=/var/run</parameter>: This parameter
- forces <command>saslauthd</command> to use the FHS compliant
- directory <filename class='directory'>/var/run</filename> for variable
- run-time data.</para>
+ <para><parameter>--with-saslauthd=/var/run/saslauthd</parameter>: This
+ parameter forces <command>saslauthd</command> to use the FHS compliant
+ directory <filename class='directory'>/var/run/saslauthd</filename> for
+ variable run-time data.</para>
+
+ <para><parameter>--with-dblib=gdbm</parameter>: This parameter forces
+ <application>GDBM</application> to be used instead of
+ <application>Berkeley DB</application>.</para>
<para><option>--with-ldap</option>: This parameter enables use
with <application>OpenLDAP</application>.</para>
@@ -159,9 +141,10 @@ install -v -m700 -d /var/lib/sasl</userinput></screen>
install documentation which is not installed by the
<command>make install</command> command.</para>
- <para><command>install -v -m700 -d /var/lib/sasl</command>: This directory
- must exist when starting <command>saslauthd</command>. If you're not going
- to be running the daemon, you may omit the creation of this
directory.</para>
+ <para><command>install -v -m700 -d /var/lib/sasl
/var/run/saslauthd</command>:
+ These directories must exist when starting <command>saslauthd</command> or
+ using the sasldb plugin. If you're not going to be running the daemon or
+ using the plugins, you may omit the creation of this directory.</para>
</sect2>
@@ -173,7 +156,7 @@ install -v -m700 -d /var/lib/sasl</userinput></screen>
<para><filename>/etc/saslauthd.conf</filename> (for
<command>saslauthd</command> LDAP configuration)
- and <filename>/usr/lib/sasl2/Appname.conf</filename> (where "Appname"
+ and <filename>/etc/sasl2/Appname.conf</filename> (where "Appname"
is the application defined name of the application)</para>
<indexterm zone="cyrus-sasl cyrus-sasl-config">
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page