change all /var/run/ to /run/

This commit is contained in:
Petr Lautrbach 2012-02-08 17:21:27 +01:00
parent befd72bc1e
commit c52ae77dcd
2 changed files with 27 additions and 9 deletions

View File

@ -1,6 +1,19 @@
--- cyrus-sasl-2.1.20/saslauthd/saslauthd.mdoc 2005-05-06 16:05:44.000000000 -0400 diff -up cyrus-sasl-2.1.25/saslauthd/saslauthd.8.path cyrus-sasl-2.1.25/saslauthd/saslauthd.8
+++ cyrus-sasl-2.1.20/saslauthd/saslauthd.mdoc 2005-05-06 16:05:39.000000000 -0400 --- cyrus-sasl-2.1.25/saslauthd/saslauthd.8.path 2012-02-08 17:02:25.143783451 +0100
@@ -216,7 +216,7 @@ +++ cyrus-sasl-2.1.25/saslauthd/saslauthd.8 2012-02-08 17:04:31.775795190 +0100
@@ -177,7 +177,7 @@ NNOOTTEESS
anyway.)
FFIILLEESS
- /var/run/saslauthd/mux The default communications socket.
+ /run/saslauthd/mux The default communications socket.
/usr/local/etc/saslauthd.conf
The default configuration file for ldap support.
diff -up cyrus-sasl-2.1.25/saslauthd/saslauthd.mdoc.path cyrus-sasl-2.1.25/saslauthd/saslauthd.mdoc
--- cyrus-sasl-2.1.25/saslauthd/saslauthd.mdoc.path 2009-12-03 20:07:03.000000000 +0100
+++ cyrus-sasl-2.1.25/saslauthd/saslauthd.mdoc 2012-02-08 17:01:39.400986561 +0100
@@ -216,7 +216,7 @@ instead.
.Em (All platforms that support OpenLDAP 2.0 or higher) .Em (All platforms that support OpenLDAP 2.0 or higher)
.Pp .Pp
Authenticate against an ldap server. The ldap configuration parameters are Authenticate against an ldap server. The ldap configuration parameters are
@ -9,9 +22,14 @@
changed with the -O parameter. See the LDAP_SASLAUTHD file included with the changed with the -O parameter. See the LDAP_SASLAUTHD file included with the
distribution for the list of available parameters. distribution for the list of available parameters.
.It Li sia .It Li sia
@@ -249,7 +249,7 @@ @@ -246,10 +246,10 @@ these ticket files can cause serious per
.Bl -tag -width "/var/run/saslauthd/mux" servers. (Kerberos
.It Pa /var/run/saslauthd/mux was never intended to be used in this manner, anyway.)
.Sh FILES
-.Bl -tag -width "/var/run/saslauthd/mux"
-.It Pa /var/run/saslauthd/mux
+.Bl -tag -width "/run/saslauthd/mux"
+.It Pa /run/saslauthd/mux
The default communications socket. The default communications socket.
-.It Pa /usr/local/etc/saslauthd.conf -.It Pa /usr/local/etc/saslauthd.conf
+.It Pa /etc/saslauthd.conf +.It Pa /etc/saslauthd.conf

View File

@ -261,7 +261,7 @@ echo "$LDFLAGS"
--with-gss_impl=mit \ --with-gss_impl=mit \
--with-rc4 \ --with-rc4 \
--with-dblib=berkeley \ --with-dblib=berkeley \
--with-saslauthd=/var/run/saslauthd --without-pwcheck \ --with-saslauthd=/run/saslauthd --without-pwcheck \
%if ! %{bootstrap_cyrus_sasl} %if ! %{bootstrap_cyrus_sasl}
--with-ldap \ --with-ldap \
%endif %endif
@ -311,7 +311,7 @@ install -m755 -d $RPM_BUILD_ROOT%{_mandir}/man8/
install -m644 -p saslauthd/saslauthd.mdoc $RPM_BUILD_ROOT%{_mandir}/man8/saslauthd.8 install -m644 -p saslauthd/saslauthd.mdoc $RPM_BUILD_ROOT%{_mandir}/man8/saslauthd.8
# Create the saslauthd listening directory. # Create the saslauthd listening directory.
install -m755 -d $RPM_BUILD_ROOT/var/run/saslauthd install -m755 -d $RPM_BUILD_ROOT/run/saslauthd
# Install the init script for saslauthd and the init script's config file. # Install the init script for saslauthd and the init script's config file.
install -m755 -d $RPM_BUILD_ROOT/etc/rc.d/init.d $RPM_BUILD_ROOT/etc/sysconfig install -m755 -d $RPM_BUILD_ROOT/etc/rc.d/init.d $RPM_BUILD_ROOT/etc/sysconfig
@ -382,7 +382,7 @@ exit 0
%config(noreplace) /etc/sysconfig/saslauthd %config(noreplace) /etc/sysconfig/saslauthd
%{_unitdir}/saslauthd.service %{_unitdir}/saslauthd.service
/etc/tmpfiles.d/saslauthd.conf /etc/tmpfiles.d/saslauthd.conf
%ghost /var/run/saslauthd %dir /run/saslauthd
%files lib %files lib
%defattr(-,root,root) %defattr(-,root,root)