Bug 134574 - [MAINTAINER UPDATE] Fix for mail/p5-Mail-SpamAssassin: sa-update channel
Summary: [MAINTAINER UPDATE] Fix for mail/p5-Mail-SpamAssassin: sa-update channel
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Gabor Kovesdan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-16 09:40 UTC by Michael Scheidell
Modified: 2009-05-21 00:10 UTC (History)
0 users

See Also:


Attachments
file.diff (1.09 KB, patch)
2009-05-16 09:40 UTC, Michael Scheidell
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Scheidell 2009-05-16 09:40:01 UTC
if a user does an update on p5-Mail-SpamAssassin from an older version (3.2.5) sa-update channel does not get updated.

older versions (/var/db/spamassassin/3.002005/updates_spamassassin_org/MIRRORED.BY) had this in it: (from june 2008)

test mirror: zone, cached via Coral
#http://buildbot.spamassassin.org.nyud.net:8090/updatestage/
http://spamassassin.kludge.org/updates/

see:

http://forums.freebsd.org/archive/index.php/t-3521.html

sa-update would fail to find updates spamassassin.kludge.org no longer exists)

if sa-update files to find host, it won't update. and won't update MIRRORED.BY

Fix: remove old mirrored.by and sa-update will replace mirrored.by and do the update.

new mirrored.by (today) has this:

# test mirror: zone, cached via Coral
#http://buildbot.spamassassin.org.nyud.net:8090/updatestage/
http://daryl.dostech.ca/sa-update/asf/ weight=5
http://www.sa-update.pccc.com/ weight=5

these patches to port will delete old MIRRORED.BY during (re) install if sa-update fails with rc==4

only issue would be an integrator with a custom MIRRORED.BY (and a failure)
How-To-Repeat: check old mirrored by.
replace mirrored.by with the above
run sa-update.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2009-05-16 09:40:12 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gabor

gabor@ wants his PRs (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2009-05-21 00:07:12 UTC
gabor       2009-05-20 23:07:03 UTC

  FreeBSD ports repository

  Modified files:
    mail/p5-Mail-SpamAssassin Makefile pkg-install 
  Log:
  - Update sa-update channel when updating the port
  - Bump PORTREVISION
  
  PR:             ports/134574
  Submitted by:   Michael Scheidell <scheidell@secnap.net> (maintainer)
  
  Revision  Changes    Path
  1.124     +1 -1      ports/mail/p5-Mail-SpamAssassin/Makefile
  1.5       +5 -0      ports/mail/p5-Mail-SpamAssassin/pkg-install
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Gabor Kovesdan freebsd_committer freebsd_triage 2009-05-21 00:07:20 UTC
State Changed
From-To: open->closed

Committed, thanks.