Gentoo Archives: gentoo-portage-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-portage-dev@l.g.o
Subject: [gentoo-portage-dev] add UUID for comparison of installed package to binary package?
Date: Fri, 12 Feb 2010 20:53:40
Message-Id: 4B75BFFD.2040204@gentoo.org
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Hi,
5
6 I'm thinking about adding a UUID file in /var/db/pkg, for comparing
7 installed packages to binary packages. We already have BINPKGMD5,
8 but the problem with that is that the MD5 of a binary package
9 changes when it's updated for package moves. A UUID would be
10 assigned at build time and remain constant thereafter. We can use
11 python's uuid.uuid4() function to generate a random UUID. Any
12 suggestions for alternative approaches?
13 - --
14 Thanks,
15 Zac
16 -----BEGIN PGP SIGNATURE-----
17 Version: GnuPG v2.0.14 (GNU/Linux)
18
19 iEYEARECAAYFAkt1v/sACgkQ/ejvha5XGaN96ACg20x9kIr6CxAbWxlxqub3XkY7
20 7skAnRH3FdZqQs+v9EePrqFwztGSpHt2
21 =C7Dx
22 -----END PGP SIGNATURE-----

Replies