Sat Aug 8 22:59:41 2009 UTC ()
Update to 45:
do not treat a failed rcscheckout() as system failure

A failed checkout is not necessarily caused by a solid system error, but
can be also caused by a faulty RCS file. Do not use rb_sys_fail(), since
it will abort() if errno == 0. Instead, simply raise a RuntimeError.

Reported-by: Brad King

check deltas for correctness before applying

We can not blindly trust the RCS file to contain correct deltas. We have
to verify that the chunks (especially deletes) make sense and operate on
existing lines.

Reported-by: Brad King


(wiz)
diff -r1.8 -r1.9 pkgsrc/devel/ruby-rcsparse/Makefile
diff -r1.5 -r1.6 pkgsrc/devel/ruby-rcsparse/distinfo

cvs diff -r1.8 -r1.9 pkgsrc/devel/ruby-rcsparse/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/ruby-rcsparse/Makefile 2009/05/19 08:59:12 1.8
+++ pkgsrc/devel/ruby-rcsparse/Makefile 2009/08/08 22:59:41 1.9
@@ -1,17 +1,17 @@ @@ -1,17 +1,17 @@
1# $NetBSD: Makefile,v 1.8 2009/05/19 08:59:12 wiz Exp $ 1# $NetBSD: Makefile,v 1.9 2009/08/08 22:59:41 wiz Exp $
2 2
3DISTNAME= 0aa8fb608963 3DISTNAME= 75d93404707d
4PKGNAME= ${RUBY_PKGPREFIX}-rcsparse-0.0.0.43 4PKGNAME= ${RUBY_PKGPREFIX}-rcsparse-0.0.0.45
5CATEGORIES= devel ruby 5CATEGORIES= devel ruby
6MASTER_SITES= http://ww2.fs.ei.tum.de/~corecode/hg/rcsparse/archive/ 6MASTER_SITES= http://ww2.fs.ei.tum.de/~corecode/hg/rcsparse/archive/
7EXTRACT_SUFX= .tar.bz2 7EXTRACT_SUFX= .tar.bz2
8 8
9MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= http://ww2.fs.ei.tum.de/~corecode/hg/rcsparse/ 10HOMEPAGE= http://ww2.fs.ei.tum.de/~corecode/hg/rcsparse/
11COMMENT= RCS parsing library for Ruby 11COMMENT= RCS parsing library for Ruby
12LICENSE= corecode-license 12LICENSE= corecode-license
13 13
14DIST_SUBDIR= rcsparse 14DIST_SUBDIR= rcsparse
15WRKSRC= ${WRKDIR}/rcsparse-${DISTNAME} 15WRKSRC= ${WRKDIR}/rcsparse-${DISTNAME}
16USE_RUBY_EXTCONF= yes 16USE_RUBY_EXTCONF= yes
17PKG_DESTDIR_SUPPORT= user-destdir 17PKG_DESTDIR_SUPPORT= user-destdir

cvs diff -r1.5 -r1.6 pkgsrc/devel/ruby-rcsparse/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/ruby-rcsparse/distinfo 2009/02/15 18:53:02 1.5
+++ pkgsrc/devel/ruby-rcsparse/distinfo 2009/08/08 22:59:41 1.6
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.5 2009/02/15 18:53:02 wiz Exp $ 1$NetBSD: distinfo,v 1.6 2009/08/08 22:59:41 wiz Exp $
2 2
3SHA1 (rcsparse/0aa8fb608963.tar.bz2) = c16b05e8c2f0a97bc3798614c7572663ad372e5b 3SHA1 (rcsparse/75d93404707d.tar.bz2) = ca86839830abd00abaa666bbbb42e5220fd5a743
4RMD160 (rcsparse/0aa8fb608963.tar.bz2) = 5286f9d777f70b2976ff0abf901bf30636a0d558 4RMD160 (rcsparse/75d93404707d.tar.bz2) = 1573dee21f22fb676a52e726991583c52f5523f9
5Size (rcsparse/0aa8fb608963.tar.bz2) = 101877 bytes 5Size (rcsparse/75d93404707d.tar.bz2) = 101892 bytes