From owner-freebsd-ports@freebsd.org Tue Jul 12 08:46:02 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EE314B93B06 for ; Tue, 12 Jul 2016 08:46:02 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-qt0-x230.google.com (mail-qt0-x230.google.com [IPv6:2607:f8b0:400d:c0d::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AD8411511 for ; Tue, 12 Jul 2016 08:46:02 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: by mail-qt0-x230.google.com with SMTP id w38so4457655qtb.0 for ; Tue, 12 Jul 2016 01:46:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=tciVxgwLAgx/RR9Q+K4qFsHFXWQ4Qup9GnLhSJPBRGs=; b=Z1S7dNuYv3keapfLjJ0Z+6T7SJCt1qmHjrg0V1qnmPiKhN6AdWAySywGO+Bg1kbvLI xm5F+3iF7yQ8fDGYSL3xYsvhcOqZmzDli3DER+ziGaBDYYzUX9sU5KSBGfnCkTrVCnBo SbBVOEHwmVT5M+o4+hd4/zn2L7r3hnsqo8/EiZi8bKmPUjGBgwfI3DiPlnSDNjl6CGqw GQLAs18fGcuFsGLLv9HO9yrJXDcZYcP5NLy36GxdLfWeHi9WDDrg8dlfiimVqWDhV10i r3JBmkklUtD7YYAbXspuKM5Qs4RtCZNg62HMgo5ERThkF4TkaDw+v/ozxddbCv0MFPaM gPUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=tciVxgwLAgx/RR9Q+K4qFsHFXWQ4Qup9GnLhSJPBRGs=; b=Meoa4LnwYZDmaOpguT0XveNnS8pqTYF6XFxCnhbqQQ1z6kjZrbfbqYasvoRXdqU4Yb iaPLjQZT8DXSRSorcBBakPdpJb0VsdaL5nb7crzJKpNClUkKFgHnMVd7HcEDqlHdVGws lVyX4EfommZrjWzLIAQE3UprfMnIkV+oRmw1tw4Hi5egTAp7794ZgJtzNHzK8l68Xtm9 F6/2NfBonRSTdUYw42d0ZMy74a13h1WOImO/kEfx5qcwx1gBQf/3SgYunnj5+f7WTsdG gcXfgxNcaf/rmNOxjq0s/SOi/bjSwB7zZ6gfDdoV3n6JqLjy6WEE4GveZfbYDv6m8195 9VHg== X-Gm-Message-State: ALyK8tJ2tnpkWc4odHWZgCDGWh0quS1UyRIs0CDdoUnjNWyBDlXfAb2ACGO3s1kZcYmb5wWFbMD4gGGJ/0cCGA== MIME-Version: 1.0 X-Received: by 10.200.52.85 with SMTP id v21mr665826qtb.21.1468303020536; Mon, 11 Jul 2016 22:57:00 -0700 (PDT) Received: by 10.237.48.198 with HTTP; Mon, 11 Jul 2016 22:57:00 -0700 (PDT) Received: by 10.237.48.198 with HTTP; Mon, 11 Jul 2016 22:57:00 -0700 (PDT) In-Reply-To: <20160712054913.GF95302@home.opsec.eu> References: <20160712002734.GE33486@www.zefox.net> <20160712052219.GE95302@home.opsec.eu> <20160712054913.GF95302@home.opsec.eu> Date: Mon, 11 Jul 2016 22:57:00 -0700 Message-ID: Subject: Re: Best way to exterminate a port From: Freddie Cash To: Kurt Jaeger Cc: freebsd-ports , bob prohaska Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jul 2016 08:46:03 -0000 On Jul 11, 2016 10:49 PM, "Kurt Jaeger" wrote: > > Hi! > > > > > Is there an easy way to "rip out by the roots" a botched > > > > port install and start over, including re-doing all the > > > > configuration dialogs of the port and its dependencies? > > > > > > For one port: > > > > > > pkg delete port > > > > > > cd /usr/ports/<...> > > > > > > make rmconfig > > > > Isn't there an "rmconfig-recursive" target? > > Thanks, I was not aware of that. > > > And doesn't pkg delete have -r or -R for recursively deleting dependencies? > > man pkg-delete has > > -R > Delete all packages that require the listed packages as well. > > So it looks that this does something else ? Hrm, yeah, that's upwards (delete all the other ports that use this one) and not downwards (all the ports this one needs to install) like the OP wants. Or vice versa? Either way, not what the OP wants.