[BROKEN] ports/misc/rfc with -i flag

Sean C. Farley scf at FreeBSD.org
Sat Apr 10 23:39:43 UTC 2010


On Sat, 10 Apr 2010, Sean C. Farley wrote:

> On Wed, 31 Mar 2010, jhell wrote:
>
>> Whenever I use rfc -i to update the index I am getting this:
>> 
>> Modem users one moment, it's about 400k (doesn't need to be updated often)
>> original lines  = 22143 /usr/local/etc/rfc-index
>> new lines       = 7     /usr/local/etc/rfc-index
>> 
>> With the contents of:
>> Forbidden
>> 
>> You don't have permission to access /in-notes/rfc-index.txt on this server.
>> 
>> Additionally, a 403 Forbidden error was encountered while trying to use an
>> ErrorDocument to handle the request.
>
> *snip*
>
> Does this patch work for you?  I changed the location from which the script 
> fetches the rfc-index.txt file.

Argh!  I just cannot remember to attach patches or URL's today.

Sean
-- 
scf at FreeBSD.org
-------------- next part --------------
diff -ruN rfc.orig/Makefile rfc/Makefile
--- rfc.orig/Makefile	2006-04-13 09:06:44.000000000 -0500
+++ rfc/Makefile	2010-04-10 18:31:36.000000000 -0500
@@ -7,10 +7,11 @@
 
 PORTNAME=	rfc
 PORTVERSION=	3.2.3
+PORTREVISION=	1
 CATEGORIES=	misc
 MASTER_SITES=	http://www.dewn.com/rfc/
 
-MAINTAINER=	sean-freebsd at farley.org
+MAINTAINER=	scf at FreeBSD.org
 COMMENT=	Perl script to search for RFC's
 
 RUN_DEPENDS=	w3m:${PORTSDIR}/www/w3m
@@ -24,6 +25,8 @@
 do-configure:
 	@${REINPLACE_CMD} -e 's|/usr/local/etc/rfc|${PREFIX}/etc/rfc| ; \
 		s|/usr/local/etc/nmap|${PREFIX}/share/misc/nmap| ; \
+		s|400k|1024k| ; \
+		s|http://ftp.isi.edu/in-notes|http://www.ietf.org/rfc| ; \
 		s|/usr/bin/perl|${PERL}|' ${WRKSRC}/${PORTNAME}-${PORTVERSION}
 
 do-install:


More information about the freebsd-ports mailing list