Gentoo Archives: gentoo-dev

From: Aron Griffis <agriffis@g.o>
To: Andrew Gaffney <agaffney@×××××××××××××××××××.net>
Cc: gentoo-dev@g.o
Subject: Re: [gentoo-dev] CONTENTS file
Date: Wed, 12 Nov 2003 22:17:57
Message-Id: 20031112221719.GE30382@time
In Reply to: [gentoo-dev] CONTENTS file by Andrew Gaffney
1 Andrew,
2
3 I'm catching up on old mail. See epm for this. Epm is written in perl
4 and does exactly the checking you're describing.
5
6 Aron
7
8 Andrew Gaffney wrote: [Sat Oct 11 2003, 02:45:53PM EDT]
9 > I'm writing a Perl script that verifies file MD5SUMs against what portage
10 > recorded in /var/db/pkg/category/package/CONTENTS at install. I'm wondering
11 > what would happen in that file if some package were to install a file that
12 > had a space in the name. Currently, a line looks like:
13 >
14 > obj /usr/libexec/webmin/acl/defaultacl a6897506f8609645d3a215988d1a937c
15 > 1063945574
16 >
17 > This can easily be pulled apart with a regex, but what if it looked like
18 > this:
19 >
20 > obj /usr/libexec/webmin/acl/default acl a6897506f8609645d3a215988d1a937c
21 > 1063945574
22 >
23 > Can this happen?
24 >
25 > --
26 > Andrew Gaffney
27 >
28 >
29 > --
30 > gentoo-dev@g.o mailing list
31
32 --
33 gentoo-dev@g.o mailing list