Bug 186383 - lang/ruby-doc-stdlib: distfile rerolled; checksum fails (unfetchable)
Summary: lang/ruby-doc-stdlib: distfile rerolled; checksum fails (unfetchable)
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: Steve Wills
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-02 18:50 UTC by John Marino
Modified: 2014-02-04 04:10 UTC (History)
0 users

See Also:


Attachments
ruby-doc-stdlib.txt (1.03 KB, text/plain)
2014-02-03 21:52 UTC, clutton
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description John Marino 2014-02-02 18:50:01 UTC
this port fails to fetch due to apparently distfile reroll (fails checksum)

Fix: 

verify reroll, the regenerate distinfo
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-02-02 18:50:09 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ruby

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 clutton 2014-02-03 21:01:03 UTC
I'll take it :)
I'm not the maintainer, but I had updated this port to the current
state.

I'm guessing that ruby-doc project doesn't have versions, they just
repack archive and all. I'll fix.
Comment 3 clutton 2014-02-03 21:52:34 UTC
The patch.
Comment 4 Steve Wills freebsd_committer freebsd_triage 2014-02-04 03:23:57 UTC
Responsible Changed
From-To: ruby->swills

I'll take it.
Comment 5 dfilter service freebsd_committer freebsd_triage 2014-02-04 04:04:08 UTC
Author: swills
Date: Tue Feb  4 04:03:55 2014
New Revision: 342484
URL: http://svnweb.freebsd.org/changeset/ports/342484
QAT: https://qat.redports.org/buildarchive/r342484/

Log:
  - Fix distfile (upstream rerolled) [1]
  - Fix patch to work with new distfile [1]
  - Change patch filenames to be uniform
  - Fix packaging issue by deleting patch backup files
  - Bump portrevision so new packages get built
  
  PR:		ports/186383 [1]
  Reported by:	marino [1]
  Submitted by:	clutton <clutton@zoho.com> [1]

Modified:
  head/lang/ruby-doc-stdlib/Makefile
  head/lang/ruby-doc-stdlib/distinfo
  head/lang/ruby-doc-stdlib/files/patch-download.html
  head/lang/ruby-doc-stdlib/files/patch-toc.html

Modified: head/lang/ruby-doc-stdlib/Makefile
==============================================================================
--- head/lang/ruby-doc-stdlib/Makefile	Tue Feb  4 03:17:29 2014	(r342483)
+++ head/lang/ruby-doc-stdlib/Makefile	Tue Feb  4 04:03:55 2014	(r342484)
@@ -3,6 +3,7 @@
 
 PORTNAME=	stdlib
 PORTVERSION=	1.9.3
+PORTREVISION=	1
 
 PKGNAMEPREFIX=	${RUBY_PKGNAMEPREFIX}doc-
 CATEGORIES=	lang ruby docs
@@ -20,6 +21,9 @@ NO_BUILD=	yes
 
 WRKSRC=		${WRKDIR}/${DISTNAME:S/_rdocs//}
 
+post-patch:
+	@${FIND} ${WRKSRC} -type f -name '*.orig' -delete
+
 do-install:
 	@${MKDIR} ${STAGEDIR}${RUBY_DOCDIR}
 	@${CP} -R ${WRKSRC} ${STAGEDIR}${RUBY_DOCDIR}/${PORTNAME}

Modified: head/lang/ruby-doc-stdlib/distinfo
==============================================================================
--- head/lang/ruby-doc-stdlib/distinfo	Tue Feb  4 03:17:29 2014	(r342483)
+++ head/lang/ruby-doc-stdlib/distinfo	Tue Feb  4 04:03:55 2014	(r342484)
@@ -1,2 +1,2 @@
-SHA256 (ruby/ruby_1_9_3_stdlib_rdocs.tgz) = 1a17a567217dade1cff11bbadbf3ecf32797b6409346ad2be5be3e7843545a6c
-SIZE (ruby/ruby_1_9_3_stdlib_rdocs.tgz) = 43976342
+SHA256 (ruby/ruby_1_9_3_stdlib_rdocs.tgz) = d3a0a07a491779340b185d2a839dbc18ca13c48b9508980bbed04d5bd3b31f2b
+SIZE (ruby/ruby_1_9_3_stdlib_rdocs.tgz) = 43975477

Modified: head/lang/ruby-doc-stdlib/files/patch-download.html
==============================================================================
--- head/lang/ruby-doc-stdlib/files/patch-download.html	Tue Feb  4 03:17:29 2014	(r342483)
+++ head/lang/ruby-doc-stdlib/files/patch-download.html	Tue Feb  4 04:03:55 2014	(r342484)
@@ -1,5 +1,5 @@
 --- download.html	2013-10-08 09:42:53.000000000 +0300
-+++ /tmp/download.html	2013-10-16 22:28:33.000000000 +0300
++++ download.html	2013-10-16 22:28:33.000000000 +0300
 @@ -2,7 +2,7 @@
  <html> 
    <head> 

Modified: head/lang/ruby-doc-stdlib/files/patch-toc.html
==============================================================================
--- head/lang/ruby-doc-stdlib/files/patch-toc.html	Tue Feb  4 03:17:29 2014	(r342483)
+++ head/lang/ruby-doc-stdlib/files/patch-toc.html	Tue Feb  4 04:03:55 2014	(r342484)
@@ -1,4 +1,4 @@
---- toc.html.orig	2013-12-25 07:37:31.000000000 +0000
+--- toc.html	2013-12-25 07:37:31.000000000 +0000
 +++ toc.html	2014-01-02 21:05:19.397369679 +0000
 @@ -5,471 +5,459 @@
    <head> 
@@ -13,7 +13,7 @@
      <div class="toc"> 
        <h4 class="heading">Table of Contents</h4> 
 -      <div class="version"> 
--        <p>v0.10.1, 2013-12-25</p> 
+-        <p>v0.10.1, 2014-01-25</p> 
 -      </div> 
 -      <div class="weblinks"> Web Links: 
 -        <p><a href="" target="_top">Site Home</a></p> 
_______________________________________________
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 6 Steve Wills freebsd_committer freebsd_triage 2014-02-04 04:05:05 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!