From 768051dcbf96379e2d8ef324b7fb9bbe60caa32d Mon Sep 17 00:00:00 2001 From: hubertf Date: Wed, 19 Jan 2011 22:13:04 +0000 Subject: Fix broken URL for rfc-index.txt download. Bump version to rfcutil-3.2nb5 --- textproc/rfcutil/Makefile | 4 ++-- textproc/rfcutil/distinfo | 3 ++- textproc/rfcutil/patches/patch-aa | 13 +++++++++++++ 3 files changed, 17 insertions(+), 3 deletions(-) create mode 100644 textproc/rfcutil/patches/patch-aa (limited to 'textproc') diff --git a/textproc/rfcutil/Makefile b/textproc/rfcutil/Makefile index 1951e839048..c59202f85bb 100644 --- a/textproc/rfcutil/Makefile +++ b/textproc/rfcutil/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.18 2010/02/26 10:28:35 wiz Exp $ +# $NetBSD: Makefile,v 1.19 2011/01/19 22:13:04 hubertf Exp $ # DISTNAME= rfc-3.2 PKGNAME= rfcutil-3.2 -PKGREVISION= 4 +PKGREVISION= 5 CATEGORIES= textproc MASTER_SITES= http://www.dewn.com/rfc/ EXTRACT_SUFX= # diff --git a/textproc/rfcutil/distinfo b/textproc/rfcutil/distinfo index f1677ec4ae8..43cb81f7bce 100644 --- a/textproc/rfcutil/distinfo +++ b/textproc/rfcutil/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.3 2005/02/24 14:48:48 agc Exp $ +$NetBSD: distinfo,v 1.4 2011/01/19 22:13:04 hubertf Exp $ SHA1 (rfc-3.2) = 1dd1b8f90d0e24fcd8447ff563ca6c47931a826c RMD160 (rfc-3.2) = 40c8bfb3baa4bee7060cc69cd908395df19d678b Size (rfc-3.2) = 15308 bytes +SHA1 (patch-aa) = 8d6a593278dd6a27b0824275c86c291119ccd874 diff --git a/textproc/rfcutil/patches/patch-aa b/textproc/rfcutil/patches/patch-aa new file mode 100644 index 00000000000..9af749c8e25 --- /dev/null +++ b/textproc/rfcutil/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1 2011/01/19 22:13:04 hubertf Exp $ + +--- rfc.orig 2011-01-19 21:50:02.000000000 +0000 ++++ rfc +@@ -105,7 +105,7 @@ if ($ARGV[0] eq "-i") { + print "original lines \t= $indexlength\t$indexpath\n"; + #system ("$viewer -source http://www.faqs.org/rfc/rfc-index.txt > $indexpath"); + #system ("$viewer -source http://www.dewn.com/rfc/rfc-index.txt > $indexpath"); +- system ("$viewer -source http://ftp.isi.edu/in-notes/rfc-index.txt > $indexpath"); ++ system ("$viewer -source http://www.ietf.org/download/rfc-index.txt | gunzip > $indexpath"); + $indexlength=numlines($indexpath); print "new lines \t= $indexlength\t$indexpath\n"; + exit } + -- cgit v1.2.3