From owner-freebsd-questions@freebsd.org Fri Nov 10 03:05:37 2017 Return-Path: Delivered-To: freebsd-questions@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 59931E63594 for ; Fri, 10 Nov 2017 03:05:37 +0000 (UTC) (envelope-from Olivier.Nicole@cs.ait.ac.th) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 2E8F23EA0 for ; Fri, 10 Nov 2017 03:05:37 +0000 (UTC) (envelope-from Olivier.Nicole@cs.ait.ac.th) Received: by mailman.ysv.freebsd.org (Postfix) id 2B12EE63593; Fri, 10 Nov 2017 03:05:37 +0000 (UTC) Delivered-To: questions@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 2AB3CE63592 for ; Fri, 10 Nov 2017 03:05:37 +0000 (UTC) (envelope-from Olivier.Nicole@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D33E13E9F for ; Fri, 10 Nov 2017 03:05:36 +0000 (UTC) (envelope-from Olivier.Nicole@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (localhost [127.0.0.1]) by mail.cs.ait.ac.th (Postfix) with ESMTP id BA10ED7884 for ; Fri, 10 Nov 2017 09:58:19 +0700 (ICT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.ait.ac.th; h= content-type:content-type:mime-version:message-id:date:date :subject:subject:from:from:received:received:received; s= selector1; t=1510282699; x=1512097100; bh=bmIFr8/Mh4ocefPGMUyAcB V0SEMQELmCOQQBq3elkOc=; b=GwBe8g8ZQV/4Na28SOVqS246Bx/G3ggCBNA0/x Ei5rrEyYkwheN7J8TTZCQI9q4VwSKGNzxfCR0JRKhxkGHzF9SkgNI+pknTHMD0Vq tcJsI5pNqPC2awuwka4pazrKvuOkmIDxMA+5tYiQRZlQrdFp+84eryKCUF4g3jF6 +BiyQ= X-Virus-Scanned: amavisd-new at cs.ait.ac.th Received: from mail.cs.ait.ac.th ([127.0.0.1]) by mail.cs.ait.ac.th (mail.cs.ait.ac.th [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id EZhsRcxG0eDO for ; Fri, 10 Nov 2017 09:58:19 +0700 (ICT) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.cs.ait.ac.th (Postfix) with ESMTPS id 18551D7883 for ; Fri, 10 Nov 2017 09:58:19 +0700 (ICT) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.15.2/8.15.2/Submit) id vAA2wIZZ013990; Fri, 10 Nov 2017 09:58:18 +0700 (ICT) (envelope-from on@banyan.cs.ait.ac.th) From: Olivier To: questions@freebsd.org Subject: Find ports that are not in the requeirement of others Date: Fri, 10 Nov 2017 09:58:17 +0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Nov 2017 03:05:37 -0000 Hi, After a couple of years runnig and using one single machine, installing some ports for testing, etc. I end up with hundred of ports and packages, especially libraries that I never use directly, so am not really aware of. Is there an incantation of pkg(8) that can list all the ports that are a leaf in the tree of the installed ports. For example, emacs would be such a leaf, or wireshark. But libjpeg is not a leaf (unless I delete emacs and all other software that use it). I know I could make something like that but why reinventing the wheel? Best regards, Olivier --