From owner-freebsd-pkg@FreeBSD.ORG Wed May 14 23:45:17 2014 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 49488CCA for ; Wed, 14 May 2014 23:45:17 +0000 (UTC) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "ca.infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id E59F1271D for ; Wed, 14 May 2014 23:45:16 +0000 (UTC) Received: from seedling.local ([137.122.64.21]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.8/8.14.8) with ESMTP id s4ENj9YM079090 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Thu, 15 May 2014 00:45:11 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) Authentication-Results: lucid-nonsense.infracaninophile.co.uk; dmarc=none header.from=infracaninophile.co.uk DKIM-Filter: OpenDKIM Filter v2.8.3 smtp.infracaninophile.co.uk s4ENj9YM079090 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1400111112; bh=L5W6uAwlB//2eazjrbpo30dhG0qIGwGTtPjg8uKBYtg=; h=Date:From:To:Subject:References:In-Reply-To; z=Date:=20Wed,=2014=20May=202014=2019:45:02=20-0400|From:=20Matthew =20Seaman=20|To:=20freebsd-pkg@fr eebsd.org|Subject:=20Re:=20Delta=20packages|References:=20<2014051 42153.s4ELr0Ym038936@kithrup.com>|In-Reply-To:=20<201405142153.s4E Lr0Ym038936@kithrup.com>; b=A9dRqxClzgFaR2lbfAqbGrgJGyAeIH+Wu1H5YdBMDWFtiB2bcQDm7Vc5Rg4iEMb3D vAhPNxR5sFuhY64/4PvIHxmIs0dI0IMqZxCsgVo4/1BDWYMFVB8lrmXna3vYNzE1/Q epNuYua9O4cU8B+Amhvmg0wLkiUSOKCfyj1O8GWI= X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host [137.122.64.21] claimed to be seedling.local Message-ID: <5373FFFE.5060604@infracaninophile.co.uk> Date: Wed, 14 May 2014 19:45:02 -0400 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: freebsd-pkg@freebsd.org Subject: Re: Delta packages References: <201405142153.s4ELr0Ym038936@kithrup.com> In-Reply-To: <201405142153.s4ELr0Ym038936@kithrup.com> X-Enigmail-Version: 1.6 OpenPGP: id=E7F39EBF Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="cjl01sdjB9paDwA68dl69G2IU8qhdKPiJ" X-Virus-Scanned: clamav-milter 0.98.1 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-0.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RCVD_IN_PBL,RDNS_NONE,SPF_FAIL autolearn=no autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 May 2014 23:45:17 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --cjl01sdjB9paDwA68dl69G2IU8qhdKPiJ Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 14/05/2014 17:53, Sean Eric Fagan wrote: > So, while I'm discussing this: why aren't symlinks checksummed in the > manifest? >=20 > (My current tool works on pkg files, and so it determines what is diffe= rent by > comparing the entries. Symlinks have "" as a hash, which means that it= 's not > possible to tell if it's changed between the two versions.) A symlink is entirely defined by the name of the link and what it points at. Calculating 160 bytes of sha512 on top of that would be overkill. So, why doesn't pkg record symlink name and target in the pkg metadata, instead adding the symlink as a separate file in the tar archive? Hmmm.... good question. We need to fix that. Issue #804 created. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey JID: matthew@infracaninophile.co.uk --cjl01sdjB9paDwA68dl69G2IU8qhdKPiJ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.20 (Darwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQJ8BAEBCgBmBQJTdAAFXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATbg8P/iTutyDxC/0j9kK83TBm7uKA G+X+cru+kjU7xEFlMOPVjCKk0Mi4wfENkocwxCGRQGuf/MvUsxB5R44d35bVm27c /VbhcpP1p02bYWxjwoHGSJfiJ97Y9WFJug69JluaeKQLrV30iKEdHVCkITrBb2Za KPCpcEMoMMLo7vJc/TvSDp2lxXPiKdHggTPyiaDR3Ck8fYvvg2UbI8KV1Ov8c/Tl 3Y4uvPWaQ7RZ2kbUy7nCbqb/sfgMN5vEjaNxmaXlXWKKVs/RBe44JtFa6C441EvV 7sCjBQhyx28/RKiteN/T3FHGFyCBDyPg5Gcjy5uLblcC3AVhP5GF6wzswGxV+CUF bGHmpzDqelDqdq8pK1wkIGl3chMrL9QEhP3Tu8YwtIbfNdSRpvFA6PUTZjJ1bqoL ZJyL+WOVcgPIynY4T5jw5ZQE9W7u/nKKhkXCdHj5tMbUfh8lCMN0TE0590qORGmS +Yf4kbrmKLOV1HX4Nw28g+OTWFO1QODv7qA2mIA44K9GqQcghsA5AduqcdUx/JE4 ZolJZta8VEq5h++thyfZJFQj1DlfaTYgtbYRJKz9UHGT+uVDHDvxunvw1ci8te/c 4PY/PPFzwx/t0vaY/NPmxM47LMDhkRKYVf+oN/yOpRLnOeOroroxd11Mhs2SBnqv w4etiSovUv6EmrklfBsM =xF3Q -----END PGP SIGNATURE----- --cjl01sdjB9paDwA68dl69G2IU8qhdKPiJ--