From owner-freebsd-ports@freebsd.org Fri Feb 21 23:59:57 2020 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C9AB62478E8 for ; Fri, 21 Feb 2020 23:59:57 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-ot1-x32e.google.com (mail-ot1-x32e.google.com [IPv6:2607:f8b0:4864:20::32e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48PT3H5T1qz4Lkl for ; Fri, 21 Feb 2020 23:59:55 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mail-ot1-x32e.google.com with SMTP id r16so3669442otd.2 for ; Fri, 21 Feb 2020 15:59:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=FmXm0Bo0Te30KyPtrjroUIJBHwT2Ub96MkQ58Lj4i9g=; b=IAnQKqwL5bGxvWcXPcKgCe8QkUfI4yQxk24p0KiS0ul4A08XnIb0i2gL9jmBZMenHx 1ruynVgCdgWz3uiB0W3sq58nOQSsbJ2UfOT5Uby2fGoF3L8ZFncHhLa0LmKBpSB4tOCA POLt4KyEqx6AyqD8VNKgCyPourCU3SvSopFpiAf7i6U+uDtJDz5n2XY+W9ct12XFoP5b YpRkBuXDPxRpedySXcFBtYVdtN7Wb9zuXr02PNiWimQFoEboTKjN8tBquYM76d/+GfxR BJlzgPvHWyNaBugb+9LxEduB4CELeXLcspcgmFZaQnjFwz/N39IbnKqVQonIjc680xOK NEDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=FmXm0Bo0Te30KyPtrjroUIJBHwT2Ub96MkQ58Lj4i9g=; b=TNLnSJtQcpuaZaJ2SYzuDkok/J8hEX9a0j55sNVneR1TQja8xtLA00nTqzky5V/UpZ 5qGRRP2RsvPF/RxmX6Rp9Fixtl4Vdi0bvl8PIE7SXqMiKaepeAGepyfz3aKm35QgnxXT TritBVocxaAzjIScXKEnmA5kl9Vbc4mrRxoaf01QLk07UpIR4xE1Aj5I+kMplEEg2SWT bZ5Xy05I6iJcEpG5eJ7fKJi7/LbP8MgHNN6qKG5zbKCoi3FmJ8bMG9jVjnQic+KPfEFJ 1VgxFHprMoBanjUNcF8XD0vOqqqVPDzbIvslJfTIwtS9vXnDXdwC+/gLwjXcai/lW99G AgEw== X-Gm-Message-State: APjAAAVZDRMNu+UGRWftHl70o6yglUO1xiAqq55F/WVhQCMUQvlrhTX8 +Wzs5PQVhNIKlBMsv3EN+TodLyuys9VwwMB8nec= X-Google-Smtp-Source: APXvYqxv7zdPR0iXIjjiMcK0UpKhkXJji05SwS8GTkWKKDKaJgnj/jbbsje4GW4OwclD9cOzEECoToRQ0vmiHm96RmM= X-Received: by 2002:a9d:1ca3:: with SMTP id l35mr29898382ota.271.1582329594475; Fri, 21 Feb 2020 15:59:54 -0800 (PST) MIME-Version: 1.0 References: <27EABC0F-6D78-47E1-810B-FAB282D430A3.ref@yahoo.com> <27EABC0F-6D78-47E1-810B-FAB282D430A3@yahoo.com> In-Reply-To: <27EABC0F-6D78-47E1-810B-FAB282D430A3@yahoo.com> From: Kevin Oberman Date: Fri, 21 Feb 2020 15:59:37 -0800 Message-ID: Subject: Re: svn commit: r358166 - head To: Mark Millard Cc: FreeBSD ports , yasu@utahime.org X-Rspamd-Queue-Id: 48PT3H5T1qz4Lkl X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=IAnQKqwL; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of kob6558@gmail.com designates 2607:f8b0:4864:20::32e as permitted sender) smtp.mailfrom=kob6558@gmail.com X-Spamd-Result: default: False [-1.70 / 15.00]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; URI_COUNT_ODD(1.00)[7]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FORGED_SENDER(0.30)[rkoberman@gmail.com,kob6558@gmail.com]; FREEMAIL_TO(0.00)[yahoo.com]; IP_SCORE(0.00)[ip: (-7.95), ipnet: 2607:f8b0::/32(-1.88), asn: 15169(-1.67), country: US(-0.05)]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[rkoberman@gmail.com,kob6558@gmail.com]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ports@freebsd.org]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[e.2.3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Feb 2020 23:59:57 -0000 On Fri, Feb 21, 2020 at 8:38 AM Mark Millard via freebsd-ports < freebsd-ports@freebsd.org> wrote: > Based on the example from https://www.freebsd.org/cgi/man.cgi?ldd > there are commands such as the following that might help: > > # find /usr/local/bin* /usr/local/lib* -type f | xargs -n1 file -F ' ' | > grep 'ELF.*dynamically' | cut -f1 -d' ' | xargs ldd -f '%A %o\n' | grep > ncurses\.so\.8 | more > /usr/local/bin/xterm libncurses.so.8 > /usr/local/bin/msgattrib libncurses.so.8 > /usr/local/bin/msgcat libncurses.so.8 > /usr/local/bin/msgcmp libncurses.so.8 > /usr/local/bin/msgcomm libncurses.so.8 > /usr/local/bin/msgconv libncurses.so.8 > /usr/local/bin/msgen libncurses.so.8 > /usr/local/bin/msgexec libncurses.so.8 > /usr/local/bin/msgfilter libncurses.so.8 > /usr/local/bin/msgfmt libncurses.so.8 > /usr/local/bin/msggrep libncurses.so.8 > /usr/local/bin/msginit libncurses.so.8 > /usr/local/bin/msgmerge libncurses.so.8 > /usr/local/bin/msgunfmt libncurses.so.8 > /usr/local/bin/msguniq libncurses.so.8 > /usr/local/bin/xgettext libncurses.so.8 > /usr/local/bin/gdbmtool libncurses.so.8 > /usr/local/bin/bison libncurses.so.8 > /usr/local/bin/sqlite3 libncurses.so.8 > /usr/local/bin/resize libncurses.so.8 > /usr/local/bin/luac52 libncurses.so.8 > /usr/local/bin/lua52 libncurses.so.8 > /usr/local/bin/gnuplot libncurses.so.8 > /usr/local/bin/FileCheck80 libncurses.so.8 > /usr/local/bin/FileCheck10 libncurses.so.8 > /usr/local/lib/gettext/cldr-plurals libncurses.so.8 > > This can be a lot of files to go through (e.g., lib*) and so > can take a fair amount of time. > > === > Mark Millard > marklmi at yahoo.com > ( dsl-only.net went > away in early 2018-Mar) > You can feed that list into 'pkg which', awk that to remove all of the commands and then all but the last space delimited string of the remainder, and uniq. I also sorted. bison-3.5.2,1 gdbm-1.18.1_1 gettext-tools-0.20.1_1 gnuplot-5.2.8 llvm80-8.0.1_3 lua52-5.2.4 sqlite3-3.30.1,1 xterm-353_1 -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683