From owner-freebsd-questions@FreeBSD.ORG Fri May 10 12:36:34 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 366B2842; Fri, 10 May 2013 12:36:34 +0000 (UTC) (envelope-from jhs@berklix.com) Received: from flat.berklix.org (flat.berklix.org [83.236.223.115]) by mx1.freebsd.org (Postfix) with ESMTP id BC5AD6CB; Fri, 10 May 2013 12:36:33 +0000 (UTC) Received: from mart.js.berklix.net (pD9FBFA41.dip0.t-ipconnect.de [217.251.250.65]) (authenticated bits=128) by flat.berklix.org (8.14.5/8.14.5) with ESMTP id r4ACaNOo073031; Fri, 10 May 2013 14:36:25 +0200 (CEST) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by mart.js.berklix.net (8.14.3/8.14.3) with ESMTP id r4ACa7Vw096223; Fri, 10 May 2013 14:36:07 +0200 (CEST) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (localhost [127.0.0.1]) by fire.js.berklix.net (8.14.4/8.14.4) with ESMTP id r4ACZeQf011014; Fri, 10 May 2013 14:36:02 +0200 (CEST) (envelope-from jhs@fire.js.berklix.net) Message-Id: <201305101236.r4ACZeQf011014@fire.js.berklix.net> To: "Ronald F. Guilmette" Subject: Re: WANTED: Tool to verify installed package/port consistancy From: "Julian H. Stacey" Organization: http://berklix.com BSD Unix Linux Consultancy, Munich Germany User-agent: EXMH on FreeBSD http://berklix.com/free/ X-URL: http://www.berklix.com In-reply-to: Your message "Thu, 09 May 2013 15:00:23 PDT." <58355.1368136823@server1.tristatelogic.com> Date: Fri, 10 May 2013 14:35:40 +0200 Sender: jhs@berklix.com Cc: freebsd-questions@freebsd.org, freebsd-ports@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 May 2013 12:36:34 -0000 "Ronald F. Guilmette" wrote: > > The subject line pretty much says it all. Additional to other ideas so far, You could also make a chroot, install normal bins from src, install all your ports, ^D to exit chroot, then do a compare & strip with eg: cd chroot ; find . -type f -exec cmpd -d {} / \; # compare & delete http://berklix.com/~jhs/src/bsd/jhs/bin/public/cmpd/ find . -type l | xargs rm find . -type d -depth -exec rmdir {} \; find . -type f -print | sort | more then consider what got trashed, where, & maybe why, & then reinstall from ports, or crudely cd /chroot/var/db/pkg ; tar cf - */+CONTENTS| (cd /var/db/pkg && tar xf -) PS I find /usr/ports/textproc/mgdiff nice for a visual diff of 2 files. ( if theres lots of small changes in a file ) Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultant, Munich http://berklix.com Reply below not above, like a play script. Indent old text with "> ". Send plain text. No quoted-printable, HTML, base64, multipart/alternative.