#9130 closed update (fixed)
Update to p5-mail-spamassassin port file
Reported by: | apple@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.2 |
Keywords: | Cc: | markd@… | |
Port: | p5-mail-spamassassin |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
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.
--- /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@opendarwin.org 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 {
Attachments (3)
Change History (6)
Changed 18 years ago by apple@…
Changed 18 years ago by apple@…
Patches current Portfile to get version 3.13 instead of 3.04
comment:1 Changed 18 years ago by apple@…
attachments.isobsolete: | 0 → 1 |
---|
Changed 18 years ago by apple@…
Attachment: | Portfile.p5-mail-spamassassin added |
---|
Portfile for getting version 3.13
comment:2 Changed 18 years ago by markd@…
Cc: | markd@… added |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Committed. Thanks!
comment:3 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Port: | p5-mail-spamassassin added |
Type: | defect → update |
Note: See
TracTickets for help on using
tickets.
Updated port file made from patch