Add the old /usr/lib/cyrus-imapd directory
To help with the transition to the new version, add back in the old /usrlib/cyrus-imapd directory and symlink the deliver program there.
This commit is contained in:
parent
77cd74be01
commit
373f513e1d
@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
Name: cyrus-imapd
|
Name: cyrus-imapd
|
||||||
Version: 3.0.1
|
Version: 3.0.1
|
||||||
Release: 6%{?dist}
|
Release: 7%{?dist}
|
||||||
|
|
||||||
%define ssl_pem_file /etc/pki/%name/%name.pem
|
%define ssl_pem_file /etc/pki/%name/%name.pem
|
||||||
|
|
||||||
@ -307,8 +307,6 @@ make -C tools/vzic
|
|||||||
%install
|
%install
|
||||||
make install DESTDIR=%buildroot
|
make install DESTDIR=%buildroot
|
||||||
|
|
||||||
# Install some additional binaries
|
|
||||||
|
|
||||||
# Create directories
|
# Create directories
|
||||||
install -d \
|
install -d \
|
||||||
%buildroot/etc/{rc.d/init.d,logrotate.d,pam.d,sysconfig,cron.daily} \
|
%buildroot/etc/{rc.d/init.d,logrotate.d,pam.d,sysconfig,cron.daily} \
|
||||||
@ -320,7 +318,6 @@ install -d \
|
|||||||
%buildroot/%cyrexecdir \
|
%buildroot/%cyrexecdir \
|
||||||
%buildroot/etc/pki/%name
|
%buildroot/etc/pki/%name
|
||||||
|
|
||||||
|
|
||||||
# Some tools which aren't installed by the makefile which we want
|
# Some tools which aren't installed by the makefile which we want
|
||||||
install -m 755 notifyd/notifytest %buildroot%_bindir/
|
install -m 755 notifyd/notifytest %buildroot%_bindir/
|
||||||
install -m 755 perl/imap/cyradm %buildroot%_bindir/
|
install -m 755 perl/imap/cyradm %buildroot%_bindir/
|
||||||
@ -412,6 +409,13 @@ mv %buildroot/%_mandir/man8/master.8 %buildroot/%_mandir/man8/master.8cyrus
|
|||||||
# Rename 'httpd' manpage to avoid clash with Apache
|
# Rename 'httpd' manpage to avoid clash with Apache
|
||||||
mv %buildroot/%_mandir/man8/httpd.8 %buildroot/%_mandir/man8/cyr_httpd.8
|
mv %buildroot/%_mandir/man8/httpd.8 %buildroot/%_mandir/man8/cyr_httpd.8
|
||||||
|
|
||||||
|
# Old cyrus packages used to keep some executables in /usr/lib/cyrus-imapd
|
||||||
|
# RF hardcoded-library-path in %%buildroot/usr/lib/cyrus-imapd
|
||||||
|
mkdir %buildroot/usr/lib/cyrus-imapd
|
||||||
|
pushd %buildroot/usr/lib/cyrus-imapd
|
||||||
|
ln -s ../../sbin/deliver
|
||||||
|
popd
|
||||||
|
|
||||||
#remove executable bit from docs
|
#remove executable bit from docs
|
||||||
for ddir in doc perl/imap/examples
|
for ddir in doc perl/imap/examples
|
||||||
do
|
do
|
||||||
@ -667,6 +671,8 @@ getent passwd cyrus >/dev/null || /usr/sbin/useradd -c "Cyrus IMAP Server" -d /v
|
|||||||
%{perl_vendorlib}/Cyrus
|
%{perl_vendorlib}/Cyrus
|
||||||
%{_mandir}/man3/*.3pm*
|
%{_mandir}/man3/*.3pm*
|
||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
|
# RF hardcoded-library-path in /usr/lib/cyrus-imapd
|
||||||
|
/usr/lib/cyrus-imapd
|
||||||
|
|
||||||
|
|
||||||
%files vzic
|
%files vzic
|
||||||
@ -674,6 +680,10 @@ getent passwd cyrus >/dev/null || /usr/sbin/useradd -c "Cyrus IMAP Server" -d /v
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jun 20 2017 Jason L Tibbitts III <tibbs@math.uh.edu> - 3.0.1-7
|
||||||
|
- Add old /usr/lib/cyrus-imapd directory to the utils package and add a symlink
|
||||||
|
there to the deliver binary. This should help a bit with migrations.
|
||||||
|
|
||||||
* Thu Jun 15 2017 Jason L Tibbitts III <tibbs@math.uh.edu> - 3.0.1-6
|
* Thu Jun 15 2017 Jason L Tibbitts III <tibbs@math.uh.edu> - 3.0.1-6
|
||||||
- Rename two commands: quota -> cyr_quota, restore -> cyr_restore.
|
- Rename two commands: quota -> cyr_quota, restore -> cyr_restore.
|
||||||
- Fix Cassandane to handle those renames.
|
- Fix Cassandane to handle those renames.
|
||||||
|
Loading…
Reference in New Issue
Block a user