fix sysconfig file

add /etc/sasl2 empty config directory [release 2.1.26-2mamba;Fri Feb 06 2015]
This commit is contained in:
Silvan Calarco 2024-01-05 21:37:54 +01:00
parent 6d193385ea
commit c633664dd7

View File

@ -1,6 +1,6 @@
Name: cyrus-sasl
Version: 2.1.26
Release: 1mamba
Release: 2mamba
Summary: SASL Authentication Daemon for simple authentication and security
Group: System/Libraries
Vendor: openmamba
@ -104,16 +104,7 @@ make
install -D -m 0644 %{SOURCE1} %{buildroot}%{_unitdir}/saslauthd.service
install -D -m 0644 %{SOURCE2} %{buildroot}%{_tmpfilesdir}/saslauthd.conf
install -D -m 0644 %{SOURCE3} %{buildroot}%{_sysconfdir}/sysconfig/saslauthd
# install man pages in the expected location, even if they are
# pre-formatted.
#mv %{buildroot}%{_mandir}/cat8/* %{buildroot}%{_mandir}/man8/
#rm -fr %{buildroot}%{_mandir}/cat8/
install -d %{buildroot}%{_sysconfdir}/sysconfig
cat > %{buildroot}%{_sysconfdir}/sysconfig/saslauthd << _EOF
#SASLAUTHD_OPTS="-a pam"
_EOF
install -d %{buildroot}%{_sysconfdir}/sasl2
%clean
[ %{buildroot} != / ] && rm -rf "%{buildroot}"
@ -143,6 +134,7 @@ find /etc/rc[0-6].d/ -type l -xtype l -exec rm -f {} \;
%files
%defattr(-,root,root)
%dir %{_sysconfdir}/sasl2
%config(noreplace) %{_sysconfdir}/sysconfig/saslauthd
%{_sbindir}/pluginviewer
%{_sbindir}/saslauthd
@ -177,6 +169,10 @@ find /etc/rc[0-6].d/ -type l -xtype l -exec rm -f {} \;
%doc ChangeLog NEWS README
%changelog
* Fri Feb 06 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.26-2mamba
- fix sysconfig file
- add /etc/sasl2 empty config directory
* Thu Feb 05 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.26-1mamba
- update to 2.1.26
- systemd support