[MacPorts] #22993: new port for dovecot-sieve

Bradley Giesbrecht brad at pixilla.com
Wed Jan 27 20:41:25 PST 2010


On Jan 27, 2010, at 8:06 PM, MacPorts wrote:

> #22993: new port for dovecot-sieve
> ------------------------------ 
> +---------------------------------------------
> Reporter:  brad@…            |       Owner:  macports-tickets@…
>     Type:  submission        |      Status:  new
> Priority:  Normal            |   Milestone:
> Component:  ports             |     Version:
> Keywords:                    |        Port:  dovecot dovecot-sieve
> ------------------------------ 
> +---------------------------------------------
> Changes (by ryandesign@…):
>
> * cc: ryandesign@… (added)
>
>
> Comment:
>
> The attached patch to update dovecot contains tons of irrelevancies.  
> Could
> you or someone try again, submitting a diff that makes only the  
> relevant
> changes to update to the latest version? Note that I've made many  
> changes
> to dovecot today, and that 1.2.10 is now the latest version available.


Since Ryan already updated dovecot to 1.2.10 there is no need, right?

As for the dovecot-sieve portfile I don't know how to do it any  
better. I could not get it to build without the dovecot sources. I  
think that was due to dovecot not including headers in it's install.

Anyways, I've done what I have time to do. If someone knows how to  
remove tons of irrelevancies from this teach this puppy a new trick.

// Brad


# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c- 
basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id$

PortSystem          1.0

name                dovecot-sieve
epoch               20091222
version             0.1.14
set dovecot_major_version 1.2
set dovecot_minor_version ${dovecot_major_version}.9

categories          mail
maintainers         nomaintainer
platforms           darwin

description         The Dovecot Sieve plugin provides mail filtering  
facilities \
                     at time of final message delivery
long_description    The Dovecot Sieve plugin provides mail filtering  
facilities \
                     at time of final message delivery using the Sieve  
(RFC 5228) \
                     language. By writing Sieve scripts, users can  
customize how \
                     messages are delivered, e.g. whether they are  
forwarded or \
                     stored in special folders. The Sieve language is  
meant to be \
                     simple, extensible and system independent. And,  
unlike most \
                     other mail filtering script languages, it does  
not allow \
                     users to execute arbitrary programs. This is  
particularly \
                     useful to prevent virtual users from having full  
access to \
                     the mail store. The intention of the language is  
to make it \
                     impossible for users to do anything more complex \
                     (and dangerous) than write simple mail filters

homepage            http://pigeonhole.dovecot.org/

master_sites        http://www.rename-it.nl/dovecot/$ 
{dovecot_major_version} \
                     http://dovecot.org/releases/$ 
{dovecot_major_version}

distname            dovecot-${dovecot_major_version}-sieve-${version}

extract.suffix      tar.gz

distfiles           dovecot-${dovecot_major_version}-sieve-${version}.$ 
{extract.suffix} \
                     dovecot-${dovecot_minor_version}.${extract.suffix}

checksums           dovecot-${dovecot_major_version}-sieve-${version}.$ 
{extract.suffix} \
                     md5 01a92883fde76a5f985b0343e81b0c3d \
                     sha1 2ba2b4208fa9ed341c38ec8e918b4a87e46b8367 \
                     rmd160 b61c9448c876062f2b1fd3d1cf72cbc430c5a82e \
                     dovecot-${dovecot_minor_version}.$ 
{extract.suffix} \
                     md5 036ff97fb248dae3bd4b796a0644634f \
                     sha1 7c1013a1bc856a4366f76ac1f40e856185695e20 \
                     rmd160 fa17bafabdd6fab69c22d617deff368a4bc165d1

extract.only        dovecot-${dovecot_major_version}-sieve-${version}.$ 
{extract.suffix}

post-extract {
     system "cd ${workpath} && tar xzf ${distpath}/dovecot-$ 
{dovecot_minor_version}.${extract.suffix}"
     system "cd ${workpath}/dovecot-${dovecot_minor_version} && ./ 
configure --prefix=${prefix} && make"
}

depends_lib         port:dovecot

configure.args      --prefix=${prefix} \
                     --mandir=${prefix}/share/man \
                     --with-dovecot=../dovecot-${dovecot_minor_version}/

livecheck.type      regex
livecheck.url	    ${master_sites}
livecheck.regex     "dovecot-${dovecot_major_version}-sieve-(\\d+\\.\\d 
+(\\.\\d+)?).${extract.suffix}"




More information about the macports-dev mailing list