Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Apr 2003 14:30:06 -0800
From:      Kris Kennaway <kris@obsecurity.org>
To:        Danny Braniss <danny@cs.huji.ac.il>
Cc:        Kris Kennaway <kris@obsecurity.org>
Subject:   Re: ports and /var/db/pkg
Message-ID:  <20030403223006.GD15705@rot13.obsecurity.org>
In-Reply-To: <E1912YJ-000BX9-00@cs.huji.ac.il>
References:  <20030403081856.GA13152@rot13.obsecurity.org> <E1912YJ-000BX9-00@cs.huji.ac.il>

next in thread | previous in thread | raw e-mail | index | archive | help

--48TaNjbzBVislYPb
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Apr 03, 2003 at 02:06:39PM +0300, Danny Braniss wrote:
>=20
> > Correct.
> >=20
>=20
> ok, so i wrote a small script (tcl, since i don't know perl), that
> does some checking, it reports for each package, the number of files
> how many are realy there, and if so, checks the MD5.
>=20
> now, if im not to far off, if some/all files are missing, or if the
> md5 does not match, i should be able to remove the package info, ...

Well, that's not what you were asking for originally, and tools
already exist to check that.

e.g. pkg_info -g and the example from the pkg_which(1) manpage that I
mentioned to you in a previous email.

Kris

--48TaNjbzBVislYPb
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+jLXuWry0BWjoQKURAgltAJ9jAIQHzUrVgPwayCeBgbnH7Mr+9gCg3SZ1
EvTY2OmmJx9QVl2MDwbPzcY=
=IwYf
-----END PGP SIGNATURE-----

--48TaNjbzBVislYPb--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030403223006.GD15705>