Antoine Jacoutot [2006-10-24, 16:31:36]:
> Selon Andreas Vögele <[EMAIL PROTECTED]>:
> > We might also use /var/spamassassin instead of /var/db/spamassassin
> > for the updated rules that sa-update downloads.
> 
> Indeed.
> New diff attached.
> 
> What do you all think?
> 
> -- 
> Antoine
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/mail/p5-Mail-SpamAssassin/Makefile,v
> retrieving revision 1.42
> diff -u -r1.42 Makefile
> --- Makefile  21 Oct 2006 19:26:14 -0000      1.42
> +++ Makefile  24 Oct 2006 14:23:08 -0000
> @@ -3,7 +3,7 @@
>  COMMENT=             "mailfilter to identify and mark spam"
>  
>  DISTNAME=            Mail-SpamAssassin-3.1.4
> -PKGNAME=             p5-${DISTNAME}p1
> +PKGNAME=             p5-${DISTNAME}p2
>  CATEGORIES=          mail perl5
>  
>  MAINTAINER=          Andreas Voegele <[EMAIL PROTECTED]>
> Index: patches/patch-sa-update_raw
> ===================================================================
> RCS file: /cvs/ports/mail/p5-Mail-SpamAssassin/patches/patch-sa-update_raw,v
> retrieving revision 1.1
> diff -u -r1.1 patch-sa-update_raw
> --- patches/patch-sa-update_raw       10 Aug 2006 18:24:45 -0000      1.1
> +++ patches/patch-sa-update_raw       24 Oct 2006 14:23:08 -0000
> @@ -6,7 +6,7 @@
>     --updatedir path          Directory to place updates, defaults to the
>                               SpamAssassin site rules directory (def:
>  -                            /var/lib/spamassassin/<version>)
> -+                            /var/db/spamassassin/<version>)
> ++                            /var/spamassassin/<version>)
>   
>     --channel channel         Retrieve updates from this channel
>                               Use multiple times for multiple channels
> Index: pkg/PLIST
> ===================================================================
> RCS file: /cvs/ports/mail/p5-Mail-SpamAssassin/pkg/PLIST,v
> retrieving revision 1.21
> diff -u -r1.21 PLIST
> --- pkg/PLIST 21 Oct 2006 19:26:14 -0000      1.21
> +++ pkg/PLIST 24 Oct 2006 14:23:08 -0000
> @@ -1,6 +1,6 @@
>  @comment $OpenBSD: PLIST,v 1.21 2006/10/21 19:26:14 aanriot Exp $
>  @newgroup _spamdaemon:506
> [EMAIL PROTECTED] 
> _spamdaemon:506:506:daemon:SpamAssassin:/nonexistent:/sbin/nologin
> [EMAIL PROTECTED] 
> _spamdaemon:506:506:daemon:SpamAssassin:/var/spamassassin:/sbin/nologin
>  bin/sa-learn
>  bin/sa-update
>  bin/spamassassin
> @@ -221,4 +221,7 @@
>  share/spamassassin/sa-update-pubkey.txt
>  share/spamassassin/triplets.txt
>  share/spamassassin/user_prefs.template
> [EMAIL PROTECTED] rm -rf /var/db/spamassassin
> [EMAIL PROTECTED] _spamdaemon
> [EMAIL PROTECTED] _spamdaemon
> [EMAIL PROTECTED] /var/spamassassin/
> [EMAIL PROTECTED] rm -rf /var/spamassassin

Fine with me, but I think you also need to change LOCALSTATEDIR in
the Makefile, no?

Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm

Reply via email to