On Thu, Sep 04, 2008 at 11:22:50PM +0200, Paweł Długosz wrote:
> To znowu ja.
> 
> Dodałem łatkę managesieve (--with managesieve).
> 
> Prośba o sprawdzenie moich wypocin i wskazówki
> co ew. zmienić czy poprawić. Zdaję sobie sprawę,
> że cudo to to nie jest, ale zdaje się działać.

dovecot-sieve jest pakietowany osobno (dovecot-sieve.spec).
Samego managesieve się tak nie da?

> +# Managesieve daemon patch variables
> +%define              _ms             managesieve
> +%define      mpver           1.1.2
> +%define              mpsubver        0.10.3
> +%define              _ds             dovecot-sieve
> +%define              dsver           1.1.5

Makra _ds i _ms są zbędne, tylko zaciemniają speca.

> +%description managesieve
> +The Sieve plugin for Dovecot's deliver LDA expects a user's Sieve script to 
> reside somewhere in the user's directory (~/.dovecot.sieve by default). If 
> the user is to be able to change his sieve script, he needs shell or FTP 
> access to his home directory, which is not always desirable. This is 
> especially applicable to mail servers with virtual users. As a solution, the 
> ManageSieve protocol was proposed to manage sieve scripts on the server 
> without the need for direct file system access by the users. Additionally, 
> the Sieve scripts are compiled before they are installed, making sure that 
> the uploaded script is valid. This prevents a user from inadvertently 
> installing a broken Sieve script. The protocol specification still has a 
> draft status, but it is already supported by quite a few (web)mail clients. 
> Dovecot now supports ManageSieve by means of an external patch and package.

Formatowanie (tw=70)

> -%setup -q
> +%setup -q -T -b 0
> +
> +%if %{with managesieve}
> +%setup -q -b 4
> +%setup -q -b 5
> +%endif

Jakieś dziwne kombinacje, do tego:
- w przypadku with_managesieve główne źródła są rozpakowywane 3 razy,
  efekt pierwszego %setup jest usuwany
- źródła 4 i 5 są rozpakowywane poza %{_buildsubdir}, czyli po
  zbudowaniu pakietu zostają śmieci

> +%{_datadir}/doc/%{name}/*

Bezpański katalog %{_datadir}/doc/%{name}


-- 
Jakub Bogusz    http://qboosh.pl/
_______________________________________________
pld-devel-pl mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-devel-pl

Odpowiedź listem elektroniczym