Opened 18 years ago

Last modified 9 years ago

#9130 closed update

Update to p5-mail-spamassassin port file — at Initial Version

Reported by: apple@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.2
Keywords: Cc:
Port: p5-mail-spamassassin

Description

The current port file for spamassassin supports version 3.04. The current version is 3.12. With the new version there is also a different home page and an added variable in configue (LOCALSTATEDIR) which governs where state files are stored. I have edited the port (unified diff included below) to pull the latest version and to assign the ${prefix}/var as the state directory. This directory was being set to /var/opt and causing the sa-update script to fail.

cut here =

--- /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/perl/p5-mail-spamassassin/Portfile.~1~ 2005-11-08 21:46:31.000000000 -0500 +++ /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/perl/p5-mail-spamassassin/Portfile 2006-05-26 16:19:21.000000000 -0400 @@ -2,7 +2,7 @@

PortSystem 1.0 PortGroup perl5 1.0

-perl5.setup Mail-SpamAssassin 3.0.4 +perl5.setup Mail-SpamAssassin 3.1.2

maintainers darwinports@… categories-append mail description mail filter to identify spam

@@ -11,9 +11,9 @@

heuristic tests on mail headers and body text to \ identify spam, also known as unsolicited commercial \ email.

-homepage http://www.spamassassin.org/ -master_sites-append ${homepage}/released/ -checksums md5 51926fe5aabaf57eed2c09061fe8fb02 +homepage http://spamassassin.apache.org/ +master_sites-append http://apache.adult-pilot.net/spamassassin/source/ +checksums md5 f255d8e887ea7961939d40b184e82054

platforms darwin sunos

# Depends on these Perl modules

@@ -30,11 +30,13 @@

set datadir ${prefix}/share/spamassassin set confdir ${prefix}/etc/mail/spamassassin

+set statedir ${prefix}/var

configure.args-append CONTACT_ADDRESS=root@localhost \

PREFIX=${prefix} \ SYSCONFDIR=${prefix}/etc \ DATADIR=${datadir} \

+ LOCALSTATEDIR=${statedir} \

CONFDIR=${confdir}

variant razor {

Change History (2)

Changed 18 years ago by apple@…

Attachment: Portfile added

Updated port file made from patch

Changed 18 years ago by apple@…

Attachment: patch added

Patches current Portfile to get version 3.13 instead of 3.04

Note: See TracTickets for help on using tickets.