Big cleanups
/etc is way shorter and less obscuring than %{_sysconfdir}. Reorder %configure options. Add %configure options for new features. Add build dependencies for those features. Just build with %make_build. No need to get fancy. When calling perl, we can just use "perl". Still use the macro for actually embedding the path to perl into compiled code. Just use the default compilation flags. The hardened flags are default now. Start using four space indentation.
This commit is contained in:
parent
58e16e03d3
commit
1e1862cca0
330
cyrus-imapd.spec
330
cyrus-imapd.spec
@ -2,15 +2,15 @@ Name: cyrus-imapd
|
|||||||
Version: 2.5.10
|
Version: 2.5.10
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
|
|
||||||
%define ssl_pem_file %{_sysconfdir}/pki/%{name}/%{name}.pem
|
%define ssl_pem_file /etc/pki/%{name}/%{name}.pem
|
||||||
|
|
||||||
# uid/gid reserved, see setup:/usr/share/doc/setup*/uidgid
|
# uid/gid reserved, see setup:/usr/share/doc/setup*/uidgid
|
||||||
%define uid 76
|
%define uid 76
|
||||||
%define gid 76
|
%define gid 76
|
||||||
|
|
||||||
%define _cyrususer cyrus
|
%define cyrususer cyrus
|
||||||
%define _cyrusgroup mail
|
%define cyrusgroup mail
|
||||||
%define _cyrexecdir %{_exec_prefix}/lib/%{name}
|
%define cyrexecdir %{_prefix}/lib/%{name}
|
||||||
|
|
||||||
Summary: A high-performance mail server with IMAP, POP3, NNTP and SIEVE support
|
Summary: A high-performance mail server with IMAP, POP3, NNTP and SIEVE support
|
||||||
License: BSD
|
License: BSD
|
||||||
@ -38,15 +38,11 @@ Source13: cyr_systemd_helper
|
|||||||
|
|
||||||
#Patch4: cyrus-imapd-2.3.18-potential-overflow.patch
|
#Patch4: cyrus-imapd-2.3.18-potential-overflow.patch
|
||||||
|
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf automake bison flex groff libtool pkgconfig transfig
|
||||||
BuildRequires: cyrus-sasl-devel, perl-devel, perl-generators, tcp_wrappers
|
BuildRequires: perl-devel perl-generators perl(Pod::Html) tcp_wrappers
|
||||||
BuildRequires: perl(Pod::Html)
|
BuildRequires: cyrus-sasl-devel jansson-devel krb5-devel
|
||||||
BuildRequires: libdb-devel, openssl-devel, pkgconfig
|
BuildRequires: libical-devel libxml2-devel net-snmp-devel openldap-devel
|
||||||
BuildRequires: flex, bison, groff, automake
|
BuildRequires: openssl-devel sqlite-devel
|
||||||
BuildRequires: openldap-devel
|
|
||||||
BuildRequires: krb5-devel
|
|
||||||
BuildRequires: net-snmp-devel
|
|
||||||
BuildRequires: transfig
|
|
||||||
|
|
||||||
Requires(post): e2fsprogs, perl, grep, coreutils, findutils, systemd-units
|
Requires(post): e2fsprogs, perl, grep, coreutils, findutils, systemd-units
|
||||||
Requires(preun): systemd-units, coreutils
|
Requires(preun): systemd-units, coreutils
|
||||||
@ -111,65 +107,67 @@ one running the server.
|
|||||||
install -m 644 %{SOURCE11} doc/
|
install -m 644 %{SOURCE11} doc/
|
||||||
|
|
||||||
# Modify docs master --> cyrus-master
|
# Modify docs master --> cyrus-master
|
||||||
%{__perl} -pi -e "s@master\(8\)@cyrus-master(8)@" man/*5 man/*8 lib/imapoptions
|
perl -pi -e "s@master\(8\)@cyrus-master(8)@" man/*5 man/*8 lib/imapoptions
|
||||||
sed -i -e 's|\([^-]\)master|\1cyrus-master|g;s|^master|cyrus-master|g;s|Master|Cyrus-master|g;s|MASTER|CYRUS-MASTER|g' \
|
sed -i -e 's|\([^-]\)master|\1cyrus-master|g;s|^master|cyrus-master|g;s|Master|Cyrus-master|g;s|MASTER|CYRUS-MASTER|g' \
|
||||||
man/master.8 doc/man.html
|
man/master.8 doc/man.html
|
||||||
|
|
||||||
# Modify path in perl scripts
|
# Modify path in perl scripts
|
||||||
find . -type f -name "*.pl" | xargs %{__perl} -pi -e "s@/usr/local/bin/perl@%{__perl}@"
|
find . -type f -name "*.pl" | xargs perl -pi -e "s@/usr/local/bin/perl@%{__perl}@"
|
||||||
|
|
||||||
# modify lmtp socket path in .conf files
|
# modify lmtp socket path in .conf files
|
||||||
%{__perl} -pi -e "s@/var/imap/@%{_var}/lib/imap/@" master/conf/*.conf doc/cyrusv2.mc
|
perl -pi -e "s@/var/imap/@/var/lib/imap/@" master/conf/*.conf doc/cyrusv2.mc
|
||||||
|
|
||||||
# enable idled in .conf files to prevent error messages
|
# enable idled in .conf files to prevent error messages
|
||||||
%{__perl} -pi -e "s/# idled/ idled/" master/conf/*.conf
|
#perl -pi -e "s/# idled/ idled/" master/conf/*.conf
|
||||||
|
|
||||||
# Fix permissions on perl programs
|
# Fix permissions on perl programs
|
||||||
find . -type f -name "*.pl" -exec chmod 755 {} \;
|
find . -type f -name "*.pl" -exec chmod 755 {} \;
|
||||||
|
|
||||||
%build
|
%build
|
||||||
#automake -a -f -c || :
|
#CPPFLAGS="${__global_cflags} -I%{_includedir}/et -I%{_includedir}/kerberosIV -fno-strict-aliasing"; export CPPFLAGS
|
||||||
#aclocal -I cmulocal
|
#CFLAGS="%{__global_cflags} -fno-strict-aliasing"; export CFLAGS
|
||||||
#autoheader
|
#CCDLFLAGS="-rdynamic"; export CCDLFLAGS
|
||||||
#autoconf -
|
#LDFLAGS="-Wl,-z,now -Wl,-z,relro"
|
||||||
|
#%ifnarch ppc ppc64
|
||||||
CPPFLAGS="${__global_cflags} -I%{_includedir}/et -I%{_includedir}/kerberosIV -fno-strict-aliasing"; export CPPFLAGS
|
#LDFLAGS="$LDFLAGS -pie"; export LDFLAGS
|
||||||
CFLAGS="%{__global_cflags} -fno-strict-aliasing"; export CFLAGS
|
#%endif
|
||||||
CCDLFLAGS="-rdynamic"; export CCDLFLAGS
|
|
||||||
LDFLAGS="-Wl,-z,now -Wl,-z,relro"
|
|
||||||
%ifnarch ppc ppc64
|
|
||||||
LDFLAGS="$LDFLAGS -pie"; export LDFLAGS
|
|
||||||
%endif
|
|
||||||
|
|
||||||
|
autoreconf -vi
|
||||||
%{configure} \
|
%{configure} \
|
||||||
--enable-netscapehack \
|
--with-bdb-incdir=%{_includedir}/libdb \
|
||||||
--enable-listext \
|
--with-cyrus-prefix=%{cyrexecdir} \
|
||||||
--enable-idled \
|
--with-extraident="Fedora-RPM-%{version}-%{release}" \
|
||||||
--with-ldap=/usr \
|
--with-krbimpl=mit \
|
||||||
--with-snmp \
|
--with-ldap=/usr \
|
||||||
--enable-murder \
|
--with-perl=%{__perl} \
|
||||||
--enable-replication \
|
--with-service-path=%{cyrexecdir} \
|
||||||
--enable-nntp \
|
--with-snmp \
|
||||||
--with-perl=%{__perl} \
|
--with-syslogfacility=MAIL \
|
||||||
--with-cyrus-prefix=%{_cyrexecdir} \
|
--enable-autocreate \
|
||||||
--with-service-path=%{_cyrexecdir} \
|
--enable-http \
|
||||||
--with-bdb-incdir=%{_includedir}/libdb \
|
--enable-idled \
|
||||||
--with-extraident="Fedora-RPM-%{version}-%{release}" \
|
--enable-listext \
|
||||||
--with-syslogfacility=MAIL \
|
--enable-murder \
|
||||||
--with-krbimpl=mit
|
--enable-netscapehack \
|
||||||
|
--enable-nntp \
|
||||||
|
--enable-replication \
|
||||||
|
--enable-unit-tests \
|
||||||
|
|
||||||
make -C man -f Makefile.dist
|
%undefine smp_mflags
|
||||||
make -C doc -f Makefile.dist
|
%make_build
|
||||||
make LDFLAGS="$LDFLAGS -pie %{__global_ldflags}"
|
|
||||||
make -C notifyd notifytest
|
#make -C man -f Makefile.dist
|
||||||
|
#make -C doc -f Makefile.dist
|
||||||
|
#make LDFLAGS="$LDFLAGS -pie %{__global_ldflags}"
|
||||||
|
#make -C notifyd notifytest
|
||||||
|
|
||||||
%install
|
%install
|
||||||
# This is needed to install the perl files correctly
|
# This is needed to install the perl files correctly
|
||||||
pushd perl/imap
|
pushd perl/imap
|
||||||
%{__perl} Makefile.PL PREFIX=%{buildroot}%{_prefix} INSTALLDIRS=vendor
|
perl Makefile.PL PREFIX=%{buildroot}%{_prefix} INSTALLDIRS=vendor
|
||||||
popd
|
popd
|
||||||
pushd perl/sieve/managesieve
|
pushd perl/sieve/managesieve
|
||||||
%{__perl} Makefile.PL PREFIX=%{buildroot}%{_prefix} INSTALLDIRS=vendor
|
perl Makefile.PL PREFIX=%{buildroot}%{_prefix} INSTALLDIRS=vendor
|
||||||
popd
|
popd
|
||||||
|
|
||||||
# Do what the regular make install does
|
# Do what the regular make install does
|
||||||
@ -182,38 +180,38 @@ install -m 755 perl/imap/cyradm %{buildroot}%{_bindir}/
|
|||||||
|
|
||||||
# Install tools
|
# Install tools
|
||||||
for tool in tools/* ; do
|
for tool in tools/* ; do
|
||||||
test -f ${tool} && install -m 755 ${tool} %{buildroot}%{_cyrexecdir}/
|
test -f ${tool} && install -m 755 ${tool} %{buildroot}%{cyrexecdir}/
|
||||||
done
|
done
|
||||||
|
|
||||||
# Create directories
|
# Create directories
|
||||||
install -d \
|
install -d \
|
||||||
%{buildroot}%{_sysconfdir}/{rc.d/init.d,logrotate.d,pam.d,sysconfig,cron.daily} \
|
%{buildroot}/etc/{rc.d/init.d,logrotate.d,pam.d,sysconfig,cron.daily} \
|
||||||
%{buildroot}%{_libdir}/sasl \
|
%{buildroot}%{_libdir}/sasl \
|
||||||
%{buildroot}%{_var}/spool/imap \
|
%{buildroot}%{_var}/spool/imap \
|
||||||
%{buildroot}%{_var}/lib/imap/{user,quota,proc,log,msg,socket,db,sieve,sync,md5,rpm,backup,meta} \
|
%{buildroot}%{_var}/lib/imap/{user,quota,proc,log,msg,socket,db,sieve,sync,md5,rpm,backup,meta} \
|
||||||
%{buildroot}%{_var}/lib/imap/ptclient \
|
%{buildroot}%{_var}/lib/imap/ptclient \
|
||||||
%{buildroot}%{_datadir}/%{name}/rpm \
|
%{buildroot}%{_datadir}/%{name}/rpm \
|
||||||
%{buildroot}%{_sysconfdir}/pki/%{name} \
|
%{buildroot}/etc/pki/%{name} \
|
||||||
doc/contrib
|
doc/contrib
|
||||||
|
|
||||||
# Install additional files
|
# Install additional files
|
||||||
install -m 755 %{SOURCE8} %{buildroot}%{_cyrexecdir}/cvt_cyrusdb_all
|
install -m 755 %{SOURCE8} %{buildroot}%{cyrexecdir}/cvt_cyrusdb_all
|
||||||
install -m 644 %{SOURCE9} %{buildroot}%{_datadir}/%{name}/rpm/magic
|
install -m 644 %{SOURCE9} %{buildroot}%{_datadir}/%{name}/rpm/magic
|
||||||
install -p -m 644 master/conf/prefork.conf %{buildroot}%{_sysconfdir}/cyrus.conf
|
install -p -m 644 master/conf/prefork.conf %{buildroot}/etc/cyrus.conf
|
||||||
install -p -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/imapd.conf
|
install -p -m 644 %{SOURCE2} %{buildroot}/etc/imapd.conf
|
||||||
install -p -m 644 %{SOURCE3} %{buildroot}%{_sysconfdir}/pam.d/pop
|
install -p -m 644 %{SOURCE3} %{buildroot}/etc/pam.d/pop
|
||||||
install -p -m 644 %{SOURCE3} %{buildroot}%{_sysconfdir}/pam.d/imap
|
install -p -m 644 %{SOURCE3} %{buildroot}/etc/pam.d/imap
|
||||||
install -p -m 644 %{SOURCE3} %{buildroot}%{_sysconfdir}/pam.d/sieve
|
install -p -m 644 %{SOURCE3} %{buildroot}/etc/pam.d/sieve
|
||||||
install -p -m 644 %{SOURCE3} %{buildroot}%{_sysconfdir}/pam.d/mupdate
|
install -p -m 644 %{SOURCE3} %{buildroot}/etc/pam.d/mupdate
|
||||||
install -p -m 644 %{SOURCE3} %{buildroot}%{_sysconfdir}/pam.d/lmtp
|
install -p -m 644 %{SOURCE3} %{buildroot}/etc/pam.d/lmtp
|
||||||
install -p -m 644 %{SOURCE3} %{buildroot}%{_sysconfdir}/pam.d/nntp
|
install -p -m 644 %{SOURCE3} %{buildroot}/etc/pam.d/nntp
|
||||||
install -p -m 644 %{SOURCE3} %{buildroot}%{_sysconfdir}/pam.d/csync
|
install -p -m 644 %{SOURCE3} %{buildroot}/etc/pam.d/csync
|
||||||
install -p -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/logrotate.d/%{name}
|
install -p -m 644 %{SOURCE1} %{buildroot}/etc/logrotate.d/%{name}
|
||||||
install -p -m 644 %{SOURCE7} %{buildroot}%{_sysconfdir}/sysconfig/%{name}
|
install -p -m 644 %{SOURCE7} %{buildroot}/etc/sysconfig/%{name}
|
||||||
install -p -m 755 %{SOURCE10} %{buildroot}%{_sysconfdir}/cron.daily/%{name}
|
install -p -m 755 %{SOURCE10} %{buildroot}/etc/cron.daily/%{name}
|
||||||
|
|
||||||
install -p -D -m 644 %{SOURCE12} %{buildroot}%{_unitdir}/cyrus-imapd.service
|
install -p -D -m 644 %{SOURCE12} %{buildroot}%{_unitdir}/cyrus-imapd.service
|
||||||
install -p -D -m 755 %{SOURCE13} %{buildroot}%{_cyrexecdir}/cyr_systemd_helper
|
install -p -D -m 755 %{SOURCE13} %{buildroot}%{cyrexecdir}/cyr_systemd_helper
|
||||||
|
|
||||||
# Cleanup of doc dir
|
# Cleanup of doc dir
|
||||||
find doc perl -name CVS -type d -prune -exec rm -rf {} \;
|
find doc perl -name CVS -type d -prune -exec rm -rf {} \;
|
||||||
@ -243,11 +241,11 @@ install -m 644 master/conf/*.conf doc/conf/
|
|||||||
touch %{buildroot}%{ssl_pem_file}
|
touch %{buildroot}%{ssl_pem_file}
|
||||||
|
|
||||||
# Rename 'master' binary and manpage to avoid clash with postfix
|
# Rename 'master' binary and manpage to avoid clash with postfix
|
||||||
mv -f %{buildroot}%{_cyrexecdir}/master %{buildroot}%{_cyrexecdir}/cyrus-master
|
mv -f %{buildroot}%{cyrexecdir}/master %{buildroot}%{cyrexecdir}/cyrus-master
|
||||||
mv -f %{buildroot}%{_mandir}/man8/master.8 %{buildroot}%{_mandir}/man8/cyrus-master.8
|
mv -f %{buildroot}%{_mandir}/man8/master.8 %{buildroot}%{_mandir}/man8/cyrus-master.8
|
||||||
|
|
||||||
# Rename 'fetchnews' binary and manpage to avoid clash with leafnode
|
# Rename 'fetchnews' binary and manpage to avoid clash with leafnode
|
||||||
mv -f %{buildroot}%{_cyrexecdir}/fetchnews %{buildroot}%{_cyrexecdir}/cyrfetchnews
|
mv -f %{buildroot}%{cyrexecdir}/fetchnews %{buildroot}%{cyrexecdir}/cyrfetchnews
|
||||||
mv -f %{buildroot}%{_mandir}/man8/fetchnews.8 %{buildroot}%{_mandir}/man8/cyrfetchnews.8
|
mv -f %{buildroot}%{_mandir}/man8/fetchnews.8 %{buildroot}%{_mandir}/man8/cyrfetchnews.8
|
||||||
%{__perl} -pi -e 's|fetchnews|cyrfetchnews|g;s|Fetchnews|Cyrfetchnews|g;s/FETCHNEWS/CYRFETCHNEWS/g' \
|
%{__perl} -pi -e 's|fetchnews|cyrfetchnews|g;s|Fetchnews|Cyrfetchnews|g;s/FETCHNEWS/CYRFETCHNEWS/g' \
|
||||||
%{buildroot}%{_mandir}/man8/cyrfetchnews.8
|
%{buildroot}%{_mandir}/man8/cyrfetchnews.8
|
||||||
@ -259,10 +257,10 @@ do
|
|||||||
done
|
done
|
||||||
|
|
||||||
# Remove installed but not packaged files
|
# Remove installed but not packaged files
|
||||||
rm -f %{buildroot}%{_cyrexecdir}/not-mkdep
|
rm -f %{buildroot}%{cyrexecdir}/not-mkdep
|
||||||
rm -f %{buildroot}%{_cyrexecdir}/config2header*
|
rm -f %{buildroot}%{cyrexecdir}/config2header*
|
||||||
rm -f %{buildroot}%{_cyrexecdir}/config2man
|
rm -f %{buildroot}%{cyrexecdir}/config2man
|
||||||
rm -f %{buildroot}%{_cyrexecdir}/pop3proxyd
|
rm -f %{buildroot}%{cyrexecdir}/pop3proxyd
|
||||||
find %{buildroot} -name "perllocal.pod" -exec rm -f {} \;
|
find %{buildroot} -name "perllocal.pod" -exec rm -f {} \;
|
||||||
find %{buildroot} -name ".packlist" -exec rm -f {} \;
|
find %{buildroot} -name ".packlist" -exec rm -f {} \;
|
||||||
rm -f %{buildroot}%{_mandir}/man8/syncnews.8*
|
rm -f %{buildroot}%{_mandir}/man8/syncnews.8*
|
||||||
@ -272,8 +270,8 @@ find %{buildroot}%{perl_vendorarch} -name "*.bs" -exec rm -f {} \;
|
|||||||
%pre
|
%pre
|
||||||
# Create 'cyrus' user on target host
|
# Create 'cyrus' user on target host
|
||||||
getent group saslauth >/dev/null || /usr/sbin/groupadd -g %{gid} -r saslauth
|
getent group saslauth >/dev/null || /usr/sbin/groupadd -g %{gid} -r saslauth
|
||||||
getent passwd cyrus >/dev/null || /usr/sbin/useradd -c "Cyrus IMAP Server" -d %{_var}/lib/imap -g %{_cyrusgroup} \
|
getent passwd cyrus >/dev/null || /usr/sbin/useradd -c "Cyrus IMAP Server" -d %{_var}/lib/imap -g %{cyrusgroup} \
|
||||||
-G saslauth -s /sbin/nologin -u %{uid} -r %{_cyrususer}
|
-G saslauth -s /sbin/nologin -u %{uid} -r %{cyrususer}
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
|
||||||
@ -289,7 +287,7 @@ done
|
|||||||
exec > /dev/null 2> /dev/null
|
exec > /dev/null 2> /dev/null
|
||||||
|
|
||||||
if [ ! -f %{ssl_pem_file} ]; then
|
if [ ! -f %{ssl_pem_file} ]; then
|
||||||
pushd %{_sysconfdir}/pki/tls/certs
|
pushd /etc/pki/tls/certs
|
||||||
umask 077
|
umask 077
|
||||||
cat << EOF | make %{name}.pem
|
cat << EOF | make %{name}.pem
|
||||||
--
|
--
|
||||||
@ -300,7 +298,7 @@ SomeOrganizationalUnit
|
|||||||
localhost.localdomain
|
localhost.localdomain
|
||||||
root@localhost.localdomain
|
root@localhost.localdomain
|
||||||
EOF
|
EOF
|
||||||
chown root.%{_cyrusgroup} %{name}.pem
|
chown root.%{cyrusgroup} %{name}.pem
|
||||||
chmod 640 %{name}.pem
|
chmod 640 %{name}.pem
|
||||||
mv %{name}.pem %{ssl_pem_file}
|
mv %{name}.pem %{ssl_pem_file}
|
||||||
popd
|
popd
|
||||||
@ -317,101 +315,101 @@ fi
|
|||||||
%files
|
%files
|
||||||
%license COPYRIGHT
|
%license COPYRIGHT
|
||||||
%doc README doc/*
|
%doc README doc/*
|
||||||
%config(noreplace) %{_sysconfdir}/cyrus.conf
|
%config(noreplace) /etc/cyrus.conf
|
||||||
%config(noreplace) %{_sysconfdir}/imapd.conf
|
%config(noreplace) /etc/imapd.conf
|
||||||
%config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
|
%config(noreplace) /etc/logrotate.d/%{name}
|
||||||
%config(noreplace) %{_sysconfdir}/sysconfig/%{name}
|
%config(noreplace) /etc/sysconfig/%{name}
|
||||||
%config(noreplace) %{_sysconfdir}/pam.d/pop
|
%config(noreplace) /etc/pam.d/pop
|
||||||
%config(noreplace) %{_sysconfdir}/pam.d/imap
|
%config(noreplace) /etc/pam.d/imap
|
||||||
%config(noreplace) %{_sysconfdir}/pam.d/sieve
|
%config(noreplace) /etc/pam.d/sieve
|
||||||
%config(noreplace) %{_sysconfdir}/pam.d/lmtp
|
%config(noreplace) /etc/pam.d/lmtp
|
||||||
%config(noreplace) %{_sysconfdir}/pam.d/mupdate
|
%config(noreplace) /etc/pam.d/mupdate
|
||||||
%config(noreplace) %{_sysconfdir}/pam.d/csync
|
%config(noreplace) /etc/pam.d/csync
|
||||||
%config(noreplace) %{_sysconfdir}/pam.d/nntp
|
%config(noreplace) /etc/pam.d/nntp
|
||||||
%{_sysconfdir}/cron.daily/%{name}
|
/etc/cron.daily/%{name}
|
||||||
%{_unitdir}/cyrus-imapd.service
|
%{_unitdir}/cyrus-imapd.service
|
||||||
%dir %{_cyrexecdir}
|
%dir %{cyrexecdir}
|
||||||
%{_cyrexecdir}/cyr_systemd_helper
|
%{cyrexecdir}/cyr_systemd_helper
|
||||||
%{_cyrexecdir}/arbitron
|
%{cyrexecdir}/arbitron
|
||||||
%{_cyrexecdir}/arbitronsort.pl
|
%{cyrexecdir}/arbitronsort.pl
|
||||||
%{_cyrexecdir}/chk_cyrus
|
%{cyrexecdir}/chk_cyrus
|
||||||
%{_cyrexecdir}/convert-sieve.pl
|
%{cyrexecdir}/convert-sieve.pl
|
||||||
%{_cyrexecdir}/cyr_df
|
%{cyrexecdir}/cyr_df
|
||||||
%{_cyrexecdir}/ctl_cyrusdb
|
%{cyrexecdir}/ctl_cyrusdb
|
||||||
%{_cyrexecdir}/ctl_deliver
|
%{cyrexecdir}/ctl_deliver
|
||||||
%{_cyrexecdir}/ctl_mboxlist
|
%{cyrexecdir}/ctl_mboxlist
|
||||||
%{_cyrexecdir}/cvt_cyrusdb
|
%{cyrexecdir}/cvt_cyrusdb
|
||||||
%{_cyrexecdir}/cyr_dbtool
|
%{cyrexecdir}/cyr_dbtool
|
||||||
%{_cyrexecdir}/cyr_expire
|
%{cyrexecdir}/cyr_expire
|
||||||
%{_cyrexecdir}/cyr_sequence
|
%{cyrexecdir}/cyr_sequence
|
||||||
%{_cyrexecdir}/cyr_synclog
|
%{cyrexecdir}/cyr_synclog
|
||||||
%{_cyrexecdir}/cyr_userseen
|
%{cyrexecdir}/cyr_userseen
|
||||||
%{_cyrexecdir}/cyrdump
|
%{cyrexecdir}/cyrdump
|
||||||
%{_cyrexecdir}/cyrus-master
|
%{cyrexecdir}/cyrus-master
|
||||||
%{_cyrexecdir}/deliver
|
%{cyrexecdir}/deliver
|
||||||
%{_cyrexecdir}/dohash
|
%{cyrexecdir}/dohash
|
||||||
%{_cyrexecdir}/fud
|
%{cyrexecdir}/fud
|
||||||
%{_cyrexecdir}/imapd
|
%{cyrexecdir}/imapd
|
||||||
%{_cyrexecdir}/ipurge
|
%{cyrexecdir}/ipurge
|
||||||
%{_cyrexecdir}/lmtpd
|
%{cyrexecdir}/lmtpd
|
||||||
%{_cyrexecdir}/lmtpproxyd
|
%{cyrexecdir}/lmtpproxyd
|
||||||
%{_cyrexecdir}/masssievec
|
%{cyrexecdir}/masssievec
|
||||||
%{_cyrexecdir}/mbexamine
|
%{cyrexecdir}/mbexamine
|
||||||
%{_cyrexecdir}/mbpath
|
%{cyrexecdir}/mbpath
|
||||||
%{_cyrexecdir}/migrate-metadata
|
%{cyrexecdir}/migrate-metadata
|
||||||
%{_cyrexecdir}/mkimap
|
%{cyrexecdir}/mkimap
|
||||||
%{_cyrexecdir}/mknewsgroups
|
%{cyrexecdir}/mknewsgroups
|
||||||
%{_cyrexecdir}/notifyd
|
%{cyrexecdir}/notifyd
|
||||||
%{_cyrexecdir}/pop3d
|
%{cyrexecdir}/pop3d
|
||||||
%{_cyrexecdir}/quota
|
%{cyrexecdir}/quota
|
||||||
%{_cyrexecdir}/reconstruct
|
%{cyrexecdir}/reconstruct
|
||||||
%{_cyrexecdir}/rehash
|
%{cyrexecdir}/rehash
|
||||||
%{_cyrexecdir}/sievec
|
%{cyrexecdir}/sievec
|
||||||
%{_cyrexecdir}/sieved
|
%{cyrexecdir}/sieved
|
||||||
%{_cyrexecdir}/smmapd
|
%{cyrexecdir}/smmapd
|
||||||
%{_cyrexecdir}/squatter
|
%{cyrexecdir}/squatter
|
||||||
%{_cyrexecdir}/timsieved
|
%{cyrexecdir}/timsieved
|
||||||
%{_cyrexecdir}/tls_prune
|
%{cyrexecdir}/tls_prune
|
||||||
%{_cyrexecdir}/translatesieve
|
%{cyrexecdir}/translatesieve
|
||||||
%{_cyrexecdir}/undohash
|
%{cyrexecdir}/undohash
|
||||||
%{_cyrexecdir}/unexpunge
|
%{cyrexecdir}/unexpunge
|
||||||
%{_cyrexecdir}/upgradesieve
|
%{cyrexecdir}/upgradesieve
|
||||||
%{_cyrexecdir}/cvt_cyrusdb_all
|
%{cyrexecdir}/cvt_cyrusdb_all
|
||||||
%{_cyrexecdir}/idled
|
%{cyrexecdir}/idled
|
||||||
%{_cyrexecdir}/mupdate
|
%{cyrexecdir}/mupdate
|
||||||
%{_cyrexecdir}/mupdate-loadgen.pl
|
%{cyrexecdir}/mupdate-loadgen.pl
|
||||||
%{_cyrexecdir}/proxyd
|
%{cyrexecdir}/proxyd
|
||||||
%{_cyrexecdir}/sync_client
|
%{cyrexecdir}/sync_client
|
||||||
%{_cyrexecdir}/sync_reset
|
%{cyrexecdir}/sync_reset
|
||||||
%{_cyrexecdir}/sync_server
|
%{cyrexecdir}/sync_server
|
||||||
%{_cyrexecdir}/cyrfetchnews
|
%{cyrexecdir}/cyrfetchnews
|
||||||
%{_cyrexecdir}/nntpd
|
%{cyrexecdir}/nntpd
|
||||||
%{_cyrexecdir}/ptdump
|
%{cyrexecdir}/ptdump
|
||||||
%{_cyrexecdir}/ptexpire
|
%{cyrexecdir}/ptexpire
|
||||||
%{_cyrexecdir}/ptloader
|
%{cyrexecdir}/ptloader
|
||||||
%attr(0750,%{_cyrususer},%{_cyrusgroup}) %dir %{_var}/lib/imap
|
%attr(0750,%{cyrususer},%{cyrusgroup}) %dir %{_var}/lib/imap
|
||||||
%attr(0700,%{_cyrususer},%{_cyrusgroup}) %dir %{_var}/lib/imap/backup
|
%attr(0700,%{cyrususer},%{cyrusgroup}) %dir %{_var}/lib/imap/backup
|
||||||
%attr(0700,%{_cyrususer},%{_cyrusgroup}) %dir %{_var}/lib/imap/db
|
%attr(0700,%{cyrususer},%{cyrusgroup}) %dir %{_var}/lib/imap/db
|
||||||
%attr(0700,%{_cyrususer},%{_cyrusgroup}) %dir %{_var}/lib/imap/log
|
%attr(0700,%{cyrususer},%{cyrusgroup}) %dir %{_var}/lib/imap/log
|
||||||
%attr(0700,%{_cyrususer},%{_cyrusgroup}) %dir %{_var}/lib/imap/meta
|
%attr(0700,%{cyrususer},%{cyrusgroup}) %dir %{_var}/lib/imap/meta
|
||||||
%attr(0700,%{_cyrususer},%{_cyrusgroup}) %dir %{_var}/lib/imap/md5
|
%attr(0700,%{cyrususer},%{cyrusgroup}) %dir %{_var}/lib/imap/md5
|
||||||
%attr(0700,%{_cyrususer},%{_cyrusgroup}) %dir %{_var}/lib/imap/msg
|
%attr(0700,%{cyrususer},%{cyrusgroup}) %dir %{_var}/lib/imap/msg
|
||||||
%attr(0700,%{_cyrususer},%{_cyrusgroup}) %{_var}/lib/imap/proc
|
%attr(0700,%{cyrususer},%{cyrusgroup}) %{_var}/lib/imap/proc
|
||||||
%attr(0700,%{_cyrususer},%{_cyrusgroup}) %{_var}/lib/imap/ptclient
|
%attr(0700,%{cyrususer},%{cyrusgroup}) %{_var}/lib/imap/ptclient
|
||||||
%attr(0700,%{_cyrususer},%{_cyrusgroup}) %dir %{_var}/lib/imap/quota
|
%attr(0700,%{cyrususer},%{cyrusgroup}) %dir %{_var}/lib/imap/quota
|
||||||
%attr(0700,%{_cyrususer},%{_cyrusgroup}) %dir %{_var}/lib/imap/rpm
|
%attr(0700,%{cyrususer},%{cyrusgroup}) %dir %{_var}/lib/imap/rpm
|
||||||
%attr(0700,%{_cyrususer},%{_cyrusgroup}) %dir %{_var}/lib/imap/sieve
|
%attr(0700,%{cyrususer},%{cyrusgroup}) %dir %{_var}/lib/imap/sieve
|
||||||
%attr(0750,%{_cyrususer},%{_cyrusgroup}) %{_var}/lib/imap/socket
|
%attr(0750,%{cyrususer},%{cyrusgroup}) %{_var}/lib/imap/socket
|
||||||
%attr(0700,%{_cyrususer},%{_cyrusgroup}) %dir %{_var}/lib/imap/sync
|
%attr(0700,%{cyrususer},%{cyrusgroup}) %dir %{_var}/lib/imap/sync
|
||||||
%attr(0700,%{_cyrususer},%{_cyrusgroup}) %dir %{_var}/lib/imap/user
|
%attr(0700,%{cyrususer},%{cyrusgroup}) %dir %{_var}/lib/imap/user
|
||||||
%attr(0700,%{_cyrususer},%{_cyrusgroup}) %dir %{_var}/spool/imap
|
%attr(0700,%{cyrususer},%{cyrusgroup}) %dir %{_var}/spool/imap
|
||||||
%dir %{_datadir}/%{name}
|
%dir %{_datadir}/%{name}
|
||||||
%dir %{_datadir}/%{name}/rpm
|
%dir %{_datadir}/%{name}/rpm
|
||||||
%{_datadir}/%{name}/rpm/*
|
%{_datadir}/%{name}/rpm/*
|
||||||
%{_mandir}/man5/*
|
%{_mandir}/man5/*
|
||||||
%{_mandir}/man8/*
|
%{_mandir}/man8/*
|
||||||
%dir %{_sysconfdir}/pki/%{name}
|
%dir /etc/pki/%{name}
|
||||||
%attr(0640,root,%{_cyrusgroup}) %ghost %config(missingok,noreplace) %verify(not md5 size mtime) %{ssl_pem_file}
|
%attr(0640,root,%{cyrusgroup}) %ghost %config(missingok,noreplace) %verify(not md5 size mtime) %{ssl_pem_file}
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_includedir}/cyrus
|
%{_includedir}/cyrus
|
||||||
|
Loading…
Reference in New Issue
Block a user