Hej,
W załączeniu przesyłam diff kolejnej wersji dovecota porozbijanego na paczki. Dovecot aż prosi się żeby go porozbijać z racji jego dość modularnej budowy. W porównaniu do poprzedniej wersji wywaliłem budowanie dovecot-sieve w ramach dovecot.spec i podbiłem dovecota do 1.0.5. Przydatna też może być nowa wersja initskryptu - gdy logi pisze sam dovecot (nie syslog jak domyślnie) po zrotowaniu trzeba mu wysłać SIGUSR1 - stąd flush-logs w initskrypcie. Diff jest robiony względem HEAD, paczki budują się elegancko na Ac. Dovecot zbudowany z tego speca chodzi od niecałego tygodnia na produkcji na Ac. Na Th nie sprawdzałem (bo w zasadzie nie mam gdzie...). Może się komuś przyda. Pozdrawiam, Mateusz
--- dovecot.init~ 2007-03-28 12:14:32.000000000 +0200
+++ dovecot.init 2007-09-20 23:08:46.000000000 +0200
@@ -63,12 +63,17 @@
killproc dovecot -HUP
exit $?
;;
+ flush-logs)
+ msg_reloading "Dovecot"
+ killproc dovecot -USR1
+ exit $?
+ ;;
status)
status dovecot
exit $?
;;
*)
- msg_usage "$0 {start|stop|reload|restart|force-reload|status}"
+ msg_usage "$0 {start|stop|reload|flush-logs|restart|force-reload|status}"
exit 3
esac
Index: dovecot.spec
===================================================================
RCS file: /cvsroot/SPECS/dovecot.spec,v
retrieving revision 1.70
diff -r1.70 dovecot.spec
14c14
< Release: 2
---
> Release: 3
49d48
< Provides: imapdaemon
121a121,304
> %description -l pl.UTF8
> Ten pakiet zawiera pliki umozliwiające linkowanie z %{name}.
>
> %package imap
> Summary: IMAP4 support for dovecot
> Summary(pl): Obsługa IMAP4 dla dovecot
> Version: %{version}
> License: LGPL v2.1 and MIT
> Group: Networking/Daemons
> URL: http://dovecot.org/
> Requires: %{name} = %{version}-%{release}
> Provides: imapdaemon
>
> %description imap
> IMAP4rev1 support for dovecot.
>
> %description -l pl.UTF8 imap
> Obsługa IMAP4rev1 dla dovecot'a.
>
> %package lda
> Summary: Dovecot's Local Delivery Agent
> Summary(pl): Agent dostarczania lokalnego (LDA) dovecota
> Version: %{version}
> License: LGPL v2.1 and MIT
> Group: Networking/Daemons
> URL: http://dovecot.org/
> Requires: %{name} = %{version}-%{release}
>
> %description lda
> Dovecot's Local Delivery Agent.
>
> %description -l pl.UTF8 lda
> Agent dostarczania lokalnego dovecota.
>
> %package pop3
> Summary: POP3 support for dovecot
> Summary(pl): Obsługa POP3 dla dovecot
> Version: %{version}
> License: LGPL v2.1 and MIT
> Group: Networking/Daemons
> URL: http://dovecot.org/
> Requires: %{name} = %{version}-%{release}
> Provides: pop3daemon
>
> %description pop3
> POP3 support for dovecot.
>
> %description -l pl.UTF8 pop3
> Obsługa POP3 dla dovecota.
>
> %package plugin-acl
> Summary: Access Control Lists for mailboxes
> Summary(pl): ACLe dla skrzynek pocztowych
> Version: %{version}
> License: LGPL v2.1 and MIT
> Group: Networking/Daemons
> URL: http://dovecot.org/
> Requires: %{name} = %{version}-%{release}
>
> %description plugin-acl
> This plugin enables Access Control Lists for mailboxes. Note that
> dovecot currently does not support the IMAP ACL extension. This plugin
> enables setting ACLs only by the server administrator.
>
> %description -l pl.UTF8 plugin-acl
> Ta wtyczka umozliwia korzystanie z ACLi dla skrzynek pocztowych. Dovecot
> nie wspiera jednak rozszeżenia ACL protokołu IMAP. Ta wtyczka pozwala na
> ustawianie lisk kontroli dostępu tylko przez administratora serwera
>
>
> %package plugin-lazy-expunge
> Summary: Make EXPUNGE and DELETE commands just rename the mails elsewhere
> Summary(pl): Komendy EXPUNGE i DELETE przenoszą wiadomości zamiast ich usuwać
> Version: %{version}
> License: LGPL v2.1 and MIT
> Group: Networking/Daemons
> URL: http://dovecot.org/
> Requires: %{name} = %{version}-%{release}
>
> %description plugin-lazy-expunge
> This plug-in makes EXPUNGE and DELETE commands just rename the mails
> elsewhere.
>
> %description -l pl.UTF8 plugin-lazy-expunge
> Ta wtyczka sprawia, że komendy EXPUNGE i DELETE przenoszą wiadomości
> zamiast ich usuwać..
>
> %package plugin-quota
> Summary: Quota tracking and enforcing
> Summary(pl): Śledzenie i pilnowanie quot
> Version: %{version}
> License: LGPL v2.1 and MIT
> Group: Networking/Daemons
> URL: http://dovecot.org/
> Requires: %{name} = %{version}-%{release}
>
> %description plugin-quota
> This plug-in enables quota tracking and enforcing.
>
> %description -l pl.UTF8 plugin-quota
> Ta wtyczka umozliwia śledzenie i pilnowanie quot.
>
> %package plugin-trash
> Summary: Delete mails from Trash when user would go over quota
> Summary(pl): Usuwanie wiadomości z kosza gdy użytkownik przekracza quotę
> Version: %{version}
> License: LGPL v2.1 and MIT
> Group: Networking/Daemons
> URL: http://dovecot.org/
> Requires: %{name} = %{version}-%{release}
> Requires: %{name}-plugin-quota = %{version}-%{release}
>
> %description plugin-trash
> This plug-in allows deleting mails from Trash when user would go over quota.
>
> %description -l pl.UTF8 plugin-trash
> Ta wtyczka umożliwia usuwanie wiadomości z kosza gdy użytkownik przekracza quotę.
>
>
> %package plugin-convert
> Summary: Convert user's mailboxes from one format to another on login
> Summary(pl): Konwersja skrzynek pocztowych przy logowaniu
> Version: %{version}
> License: LGPL v2.1 and MIT
> Group: Networking/Daemons
> URL: http://dovecot.org/
> Requires: %{name} = %{version}-%{release}
>
> %description plugin-convert
> This plug-in allows converting user's mailboxes from one format to another on login.
>
> %description -l pl.UTF8 plugin-convert
> Ta wtyczka umożliwia konwersję skrzynek pocztowych przy logowaniu.
>
> %package plugin-mail-log
> Summary: Log several mail actions
> Summary(pl): Logowanie operacji na skrzynce
> Version: %{version}
> License: LGPL v2.1 and MIT
> Group: Networking/Daemons
> URL: http://dovecot.org/
> Requires: %{name} = %{version}-%{release}
>
> %description plugin-mail-log
> This plug-in enables logging several mail actions.
>
> %description -l pl plugin-mail-log
> Ta wtyczka umożliwia logowanie operacji na skrzynce.
>
>
> %package imap-plugin-imap-quota
> Summary: IMAP commands for requesting current quota
> Summary(pl): Komendy IMAP do pobierania informacji o bierzącej quocie
> Version: %{version}
> License: LGPL v2.1 and MIT
> Group: Networking/Daemons
> URL: http://dovecot.org/
> Requires: %{name} = %{version}-%{release}
> Requires: %{name}-imap = %{version}-%{release}
> Requires: %{name}-plugin-quota = %{version}-%{release}
>
> %description imap-plugin-imap-quota
> This plug-in enables IMAP commands for requesting current quota.
>
> %description -l pl.UTF8 imap-plugin-imap-quota
> Ta wtyczka uaktywnia komendy IMAP służące do pobierania informacji o
> bierzącej quocie.
>
> %package imap-plugin-zlib
> Summary: Read-only access to gziped mboxes for dovecot
> Summary(pl): Dostęp "tylko do odczytu" do gzipowanych skrzynek mbox dla dovecot'a
> Version: %{version}
> License: LGPL v2.1 and MIT
> Group: Networking/Daemons
> URL: http://dovecot.org/
> Requires: %{name} = %{version}-%{release}
> Requires: %{name}-imap = %{version}-%{release}
>
> %description imap-plugin-zlib
> This plug-in enables read-only access to gziped mboxes.
>
> %description -l pl.UTF8 imap-plugin-zlib
> Ta wtyczka umożliwa odczyt gzipowanych skrzynek mbox.
>
225,226d407
< #Files :P
< %dir %{_libdir}/%{name}/
228d408
< %attr(755,root,root) %{_libdir}/%{name}/deliver
233,234d412
< %attr(755,root,root) %{_libdir}/%{name}/imap
< %attr(755,root,root) %{_libdir}/%{name}/imap-login
236,237d413
< %attr(755,root,root) %{_libdir}/%{name}/pop3
< %attr(755,root,root) %{_libdir}/%{name}/pop3-login
240,241d415
< %dir %{_libdir}/%{name}/plugins/
< %attr(755,root,root) %{_libdir}/%{name}/plugins/*.so
243d416
< %attr(755,root,root)%{_libdir}/%{name}/plugins/imap/*.so
245d417
< %attr(755,root,root) %{_libdir}/%{name}/plugins/lda/*.so
247d418
< %attr(755,root,root) %{_libdir}/%{name}/plugins/pop3/*.so
267a439,496
> %files pop3
> %defattr(644,root,root,755)
> %attr(755,root,root) %{_libdir}/%{name}/pop3*
>
> %files imap
> %defattr(644,root,root,755)
> %attr(755,root,root) %{_libdir}/%{name}/imap*
>
> %files lda
> %defattr(644,root,root,755)
> %attr(755,root,root) %{_libdir}/%{name}/deliver
>
> %files plugin-acl
> %defattr(644,root,root,755)
> %{_libdir}/%{name}/plugins/lib01_acl_plugin.so
> %{_libdir}/%{name}/plugins/imap/lib01_acl_plugin.so
> %{_libdir}/%{name}/plugins/lda/lib01_acl_plugin.so
>
> %files plugin-lazy-expunge
> %defattr(644,root,root,755)
> %{_libdir}/%{name}/plugins/lib02_lazy_expunge_plugin.so
> %{_libdir}/%{name}/plugins/imap/lib02_lazy_expunge_plugin.so
> %{_libdir}/%{name}/plugins/pop3/lib02_lazy_expunge_plugin.so
>
> %files plugin-quota
> %defattr(644,root,root,755)
> %{_libdir}/%{name}/plugins/lib10_quota_plugin.so
> %{_libdir}/%{name}/plugins/imap/lib10_quota_plugin.so
> %{_libdir}/%{name}/plugins/pop3/lib10_quota_plugin.so
> %{_libdir}/%{name}/plugins/lda/lib10_quota_plugin.so
>
> %files plugin-trash
> %defattr(644,root,root,755)
> %{_libdir}/%{name}/plugins/lib11_trash_plugin.so
> %{_libdir}/%{name}/plugins/imap/lib11_trash_plugin.so
> %{_libdir}/%{name}/plugins/lda/lib11_trash_plugin.so
>
> %files plugin-convert
> %defattr(644,root,root,755)
> %{_libdir}/%{name}/plugins/lib20_convert_plugin.so
> %{_libdir}/%{name}/plugins/imap/lib20_convert_plugin.so
> %{_libdir}/%{name}/plugins/pop3/lib20_convert_plugin.so
> %{_libdir}/%{name}/plugins/lda/lib20_convert_plugin.so
>
> %files plugin-mail-log
> %defattr(644,root,root,755)
> %{_libdir}/%{name}/plugins/lib20_mail_log_plugin.so
> %{_libdir}/%{name}/plugins/imap/lib20_mail_log_plugin.so
> %{_libdir}/%{name}/plugins/pop3/lib20_mail_log_plugin.so
> %{_libdir}/%{name}/plugins/lda/lib20_mail_log_plugin.so
>
> %files imap-plugin-imap-quota
> %defattr(644,root,root,755)
> %{_libdir}/%{name}/plugins/imap/lib11_imap_quota_plugin.so
>
> %files imap-plugin-zlib
> %defattr(644,root,root,755)
> %{_libdir}/%{name}/plugins/imap/lib20_zlib_plugin.so
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ pld-devel-pl mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-devel-pl
