Bug 176631 - mail/sma fails checksum
Summary: mail/sma fails checksum
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: Dirk Meyer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-04 07:40 UTC by John Marino
Modified: 2013-03-05 06:13 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Marino 2013-03-04 07:40:00 UTC
The mail/sma distinfo has been repacked upstream.  It used to work, but now it fails checksum.

Fix: 

verify distfile is a repack and update distfile
How-To-Repeat: Remove previous distfile from /usr/ports/distfiles, then cd /usr/ports/mail/sma && make checksum.  It will fetch a distfile and fail.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-03-04 07:47:18 UTC
Responsible Changed
From-To: freebsd-ports-bugs->dinoex

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 John Marino 2013-03-04 07:50:33 UTC
here's the story:

The distfile on http://www.klake.org/sma/dl/ is corrupted.  It's only 
10k.  The distfile on the second listed MASTER_SITE (ftp.dinoex.de) does 
contain the correct distfile.

DPorts refetching seems to be broken, so it gave up after the first 
fetch failed the checksum and did not check the second site.

There is still an action for the PR though:
Either get klake.org to fix their distfile or remove it from the 
MASTER_SITES.
Comment 3 John Marino 2013-03-04 08:35:14 UTC
I attempted this with FreeBSD.
There klake.org responded with "MOVED PERMANENTLY".  Apparently 
DragonFly fetch couldn't interpret this.

In any case, klake.org should be removed from MASTER_SITES.
Comment 4 dfilter service freebsd_committer freebsd_triage 2013-03-05 06:08:20 UTC
Author: dinoex
Date: Tue Mar  5 06:08:12 2013
New Revision: 313435
URL: http://svnweb.freebsd.org/changeset/ports/313435

Log:
  - fix MASTER_SITES
  PR:		176631
  
  - drop Homepage
  - add MASTER_SITES_LOCAL

Modified:
  head/mail/sma/Makefile
  head/mail/sma/pkg-descr

Modified: head/mail/sma/Makefile
==============================================================================
--- head/mail/sma/Makefile	Tue Mar  5 03:10:10 2013	(r313434)
+++ head/mail/sma/Makefile	Tue Mar  5 06:08:12 2013	(r313435)
@@ -3,8 +3,9 @@
 PORTNAME=	sma
 PORTVERSION=	1.4
 CATEGORIES=	mail
-MASTER_SITES=	http://www.klake.org/sma/dl/ \
+MASTER_SITES=	${MASTER_SITE_LOCAL} \
 		ftp://ftp.dinoex.de/pub/FreeBSD/distfiles/
+MASTER_SITE_SUBDIR=	dinoex
 
 MAINTAINER=	dinoex@FreeBSD.org
 COMMENT=	Program that analyses Sendmail log entries

Modified: head/mail/sma/pkg-descr
==============================================================================
--- head/mail/sma/pkg-descr	Tue Mar  5 03:10:10 2013	(r313434)
+++ head/mail/sma/pkg-descr	Tue Mar  5 06:08:12 2013	(r313435)
@@ -10,5 +10,3 @@ SMA features 
       Flexible output formatting - HTML, ASCII and Custom Log 
       Regular expression filtering of messages 
       Multiple hosts in a same report 
-
-WWW: http://www.klake.org/sma/
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 5 Dirk Meyer freebsd_committer freebsd_triage 2013-03-05 06:13:01 UTC
State Changed
From-To: open->closed

new MASTER_SITES are committed, thanks.