tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: misc/vym distinfo checksum update



    Date:        Mon, 16 Nov 2009 10:46:32 +0000 (GMT)
    From:        Iain Hibbert <plunky%rya-online.net@localhost>
    Message-ID:  <1258368392.941755.14598.nullmailer%galant.ukfsn.org@localhost>

  | which reminds me that print/cups suffers from such a distinfo error,

Yes, so it does - I hadn't noticed that one, as I have the older distfile
that pkgsrc expects.

This is one of those "trivial" changes that developers sometimes feel
doesn't warrant a new version number on their distfile, but should really:

diff -ur cups-1.3.11-WAS/packaging/cups.spec cups-1.3.11/packaging/cups.spec
--- cups-1.3.11-WAS/packaging/cups.spec 2009-07-03 05:11:23.000000000 +0700
+++ cups-1.3.11/packaging/cups.spec     2009-07-03 05:11:22.000000000 +0700
@@ -39,7 +39,7 @@
 Epoch: 1
 License: GPL
 Group: System Environment/Daemons
-Source: ftp://ftp.easysw.com/pub/cups/1.3.11/cups-1.3.11-source.tar.bz2
+Source: ftp://ftp.easysw.com/pub/cups/1.3.11/cups-1.3.11-source.tar.gz
 Url: http://www.cups.org
 Packager: Anonymous <anonymous%foo.com@localhost>
 Vendor: Apple Inc.


That's the entire difference between the distfile that pkgsrc expects
(the -WAS unpacked distfile) and the current one on the MASTER_SITE
(and all of its mirrors).

pkgsrc barely notices right now, as the "bad checksum refetch" logic
eventually finds ftyp.netbsd.org that has the distfile pkgsrc wants.

Here's a patch that fixes things, if someone wants to use it.
I did a revbump, though it probably really isn't needed for this
trivial change (so go ahead and ignore that if you want).

Index: Makefile
===================================================================
RCS file: /cvsroot/NetBSD/pkgsrc/print/cups/Makefile,v
retrieving revision 1.142
diff -u -r1.142 Makefile
--- Makefile    26 Aug 2009 19:56:52 -0000      1.142
+++ Makefile    16 Nov 2009 14:37:42 -0000
@@ -8,8 +8,9 @@
 PKGNAME=       cups-${VERS}
 BASE_VERS=     1.3.11
 DIST_VERS=     ${BASE_VERS}
+DIST_SUBDIR=   cups-20091010
 VERS=          ${DIST_VERS:S/-/./g}
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    print
 MASTER_SITES=  http://ftp.easysw.com/pub/cups/${BASE_VERS}/ \
                ftp://ftp.ntua.gr/pub/gnu/cups/${BASE_VERS}/ \
Index: distinfo
===================================================================
RCS file: /cvsroot/NetBSD/pkgsrc/print/cups/distinfo,v
retrieving revision 1.64
diff -u -r1.64 distinfo
--- distinfo    11 Oct 2009 16:30:43 -0000      1.64
+++ distinfo    16 Nov 2009 14:37:07 -0000
@@ -1,8 +1,8 @@
 $NetBSD: distinfo,v 1.64 2009/10/11 16:30:43 tnn Exp $
 
-SHA1 (cups-1.3.11-source.tar.bz2) = c8304ee8d631bb370fc10fc1fffbe8ebae413df2
-RMD160 (cups-1.3.11-source.tar.bz2) = aa263fe29350cee307bbd72ef2f5cb061c2476e0
-Size (cups-1.3.11-source.tar.bz2) = 3799424 bytes
+SHA1 (cups-20091010/cups-1.3.11-source.tar.bz2) = 
df5cfb64fb608fc128acadde670dc30af49bdb18
+RMD160 (cups-20091010/cups-1.3.11-source.tar.bz2) = 
a0646f2ba29fbd39d211ea5c3fdbd24a00f66a78
+Size (cups-1.3.11-source.tar.bz2) = 3799393 bytes
 SHA1 (patch-aa) = 51ff6e66f881e445adca768d4cf2f6bd18fc36dd
 SHA1 (patch-ab) = 0b8c6662b836775c693da7ebc613ca7a5594840a
 SHA1 (patch-ac) = 02fab706563f7ba01d66530f9462759689c09f04




Home | Main Index | Thread Index | Old Index