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 Kingdiff -r1.8 -r1.9 pkgsrc/devel/ruby-rcsparse/Makefile
(wiz)
@@ -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 | |||
3 | DISTNAME= 0aa8fb608963 | 3 | DISTNAME= 75d93404707d | |
4 | PKGNAME= ${RUBY_PKGPREFIX}-rcsparse-0.0.0.43 | 4 | PKGNAME= ${RUBY_PKGPREFIX}-rcsparse-0.0.0.45 | |
5 | CATEGORIES= devel ruby | 5 | CATEGORIES= devel ruby | |
6 | MASTER_SITES= http://ww2.fs.ei.tum.de/~corecode/hg/rcsparse/archive/ | 6 | MASTER_SITES= http://ww2.fs.ei.tum.de/~corecode/hg/rcsparse/archive/ | |
7 | EXTRACT_SUFX= .tar.bz2 | 7 | EXTRACT_SUFX= .tar.bz2 | |
8 | 8 | |||
9 | MAINTAINER= pkgsrc-users@NetBSD.org | 9 | MAINTAINER= pkgsrc-users@NetBSD.org | |
10 | HOMEPAGE= http://ww2.fs.ei.tum.de/~corecode/hg/rcsparse/ | 10 | HOMEPAGE= http://ww2.fs.ei.tum.de/~corecode/hg/rcsparse/ | |
11 | COMMENT= RCS parsing library for Ruby | 11 | COMMENT= RCS parsing library for Ruby | |
12 | LICENSE= corecode-license | 12 | LICENSE= corecode-license | |
13 | 13 | |||
14 | DIST_SUBDIR= rcsparse | 14 | DIST_SUBDIR= rcsparse | |
15 | WRKSRC= ${WRKDIR}/rcsparse-${DISTNAME} | 15 | WRKSRC= ${WRKDIR}/rcsparse-${DISTNAME} | |
16 | USE_RUBY_EXTCONF= yes | 16 | USE_RUBY_EXTCONF= yes | |
17 | PKG_DESTDIR_SUPPORT= user-destdir | 17 | PKG_DESTDIR_SUPPORT= user-destdir |
@@ -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 | |||
3 | SHA1 (rcsparse/0aa8fb608963.tar.bz2) = c16b05e8c2f0a97bc3798614c7572663ad372e5b | 3 | SHA1 (rcsparse/75d93404707d.tar.bz2) = ca86839830abd00abaa666bbbb42e5220fd5a743 | |
4 | RMD160 (rcsparse/0aa8fb608963.tar.bz2) = 5286f9d777f70b2976ff0abf901bf30636a0d558 | 4 | RMD160 (rcsparse/75d93404707d.tar.bz2) = 1573dee21f22fb676a52e726991583c52f5523f9 | |
5 | Size (rcsparse/0aa8fb608963.tar.bz2) = 101877 bytes | 5 | Size (rcsparse/75d93404707d.tar.bz2) = 101892 bytes |