From owner-freebsd-stable@FreeBSD.ORG Fri Sep 5 05:30:24 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B4DFA1A7 for ; Fri, 5 Sep 2014 05:30:24 +0000 (UTC) Received: from isis.morrow.me.uk (isis.morrow.me.uk [204.109.63.142]) by mx1.freebsd.org (Postfix) with ESMTP id 8F3CA1B55 for ; Fri, 5 Sep 2014 05:30:24 +0000 (UTC) Received: from anubis.morrow.me.uk (host86-173-253-182.range86-173.btcentralplus.com [86.173.253.182]) (Authenticated sender: mauzo) by isis.morrow.me.uk (Postfix) with ESMTPSA id 77E3C45038; Fri, 5 Sep 2014 05:30:19 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.8.3 isis.morrow.me.uk 77E3C45038 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=morrow.me.uk; s=dkim201101; t=1409895022; bh=taxetIyy9F2uAxJfdREuNSwX6WZcxBV3BbJmyKiwP7c=; h=Date:From:To:Subject:References:In-Reply-To; b=LhzkDkTEcmaMaDMHrvoPaqiNdLZOAT8hzt2+eKrvQ6WmbCVZotvP7S0S4HbocJ57p YcZE+gNgPro5he+sSfNidDkRVp7LqAn2d0L5svcV8vgMTB32ZLjmXS6tMapE4He4/M fmaQXpzTvc9YvQPA1Yivz1dRGLKEeW+d5FHEo97Y= X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.98.1 at isis.morrow.me.uk Received: by anubis.morrow.me.uk (Postfix, from userid 5001) id F39B014977; Fri, 5 Sep 2014 06:30:14 +0100 (BST) Date: Fri, 5 Sep 2014 06:30:14 +0100 From: Ben Morrow To: gmx@ross.cx, freebsd-stable@freebsd.org Subject: Re: Forcing pkg Message-ID: <20140905053009.GA9438@anubis.morrow.me.uk> Mail-Followup-To: gmx@ross.cx, freebsd-stable@freebsd.org References: <20140904051535.GX9400@home.opsec.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Newsgroups: gmane.os.freebsd.stable User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Sep 2014 05:30:24 -0000 Quoth "Michael Ross" : > > > >> Is there any equivalent to "pkg_add --force"? > > > > cd /tmp > > mkdir tempdir > > cd tempdir > > tar xf mypkg.txz > > > > and move those extracted stuff to the place where it's needed. > > That's hardly equivalent. > > I'm all for pkg, don't get me wrong. > With poudriere it looks very promising. > > I'd like it to have a "just install this and don't mind anything"-option. > For doing quick and dirty stuff. I suspect that would break the database, which, because it's now SQL, would matter a lot more than before. What you can do is tar -xf $pkg +MANIFEST vi ./+MANIFEST tar -cf nomanifest --exclude +MANIFEST @$pkg tar -cJf $newpkg +MANIFEST @nomanifest This isn't exactly easy, but I'm not sure this is something which should be easy. Ben