From owner-freebsd-ports@freebsd.org Sat Feb 22 02:50:38 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 1186624CEFD for ; Sat, 22 Feb 2020 02:50:38 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic309-22.consmr.mail.gq1.yahoo.com (sonic309-22.consmr.mail.gq1.yahoo.com [98.137.65.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48PXrC6tC0z3J5V for ; Sat, 22 Feb 2020 02:50:35 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: z3KZ_YYVM1lxeAeI3wY7jiXmMTJl5urYDVRMVzz4VT0XJkwu0vxEQcHtKV7Pd0q Ja0Eer9xBDafOyfO1kGlQLtL.HvHmkqZd.Rnahvige.3pBCRToLZcODbTiujHGBHZKtGzj6crwyI 4RE.h6rF0cJbVi0KwNQj4HJAKAvo1GTN1dVraR7TqeavNj0a_.DTHUka6Sut1kKcv3XT5NvB89Uo MDLja6EoYLLPslGm0WFyaeZIpA8PLMWEROtz0NmQZW21QU8zTq39L0b6RaRCrslpLkic4DAGkco. oMms2oEH65IwG8LyMsMmgU2qSUarGCBmkKUhUZKqzIqf2LzzKTxpkO6wIylbab9lLllHXgwMTV_m Pf3myrFiChosXVPiWaj5c.NhTfKiVh2aCQcg6GC1ByRGmuokWI0Z4o6WDrNTyZekPva77A_l3mRI MB63C3BM1hfNE8HqjUx5yoablTPqBMWKDzRJqmByRza4rvKFZni6KrNYUeWWUK_WaFMP7nZTBQ_i 4DUq2otkqiNrcsn.eMOUP_QCdEOYXz_Bnu8xkVXm0WzGT0F0B_BY8wHhNgQ9vtqegffFJeZ9rkOD ADqS13SxO52.2tTFDanGlU6W_Jn7AurecwUYThuxawxYsS_.Xqr2OKkKNWgRjzHV1I1CFWnnv5q8 drRTxCWreATIefMX3waYjqEQvsR4_FGlamyMPMc0IGGTWlu0F7kd.ewhdXWaz.RIMxf1yvlPQHQ6 0cV5lrajsJeWJlzK76_FnffIXYh7hjd_Vjta1Rb_qEU9okHVrW7d1TUkol1QFk3st7zZFWmckrhC aWcyvtw6qPd08Co_SHKV6FoR5nkfS7FsAVBZ1d0dHEId7gDofV.ouPu14fz02O4DW19XMRKqG3jd Mn0lOy_mpHOM0ZVAW5CXuUwK2vRERlvWyfY2k1lFVGvEeErM6BxUCIvWLa3dk33k4knLOt3MFHfC DyLPtnY4Y81nMd3YN2PK3ZYeVWj9obcRZ4jvGLpJpVKoDESfEb.5Snv292mT9iQSuhMcN.5AfRuf d_xHaf0myaNYJdF0_v0aeWVN3s1K9Xe52V_Wb4kIaJQXC0kcpdgPU_E2.D3F3dg40G.XCClvKrXd QysBVSvgak0rrkEvqJh5emE9Nqmg7AEOAxbWcGf3RjyNNujZjSquAvw4aqSYZ5bKi9WYzcjbAyeE QkV3E7docYwPlTjIo2N3bIwSvTmQD0BYwSzoEc252VR4d7GJq86OYcMqWxrzdj040OpOS8L7aBMA Yzw0xnyj_wFNSexoAvvN6ao2EOzFrarz8pBppi5JnNBoO5DQeAbqj60d73enz0NKAlcXG4iUQG9. wtMDGGz8rU.rCfr7uYnC_1m1sbIBALFepk4xqzhwb0fFjIhsZvbbFEnhzRQf2XNQXIsyhjf0dueR 9We.vXfEw.usPf2LQZS_85Xyhj2BQ4b8UT8s- Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.gq1.yahoo.com with HTTP; Sat, 22 Feb 2020 02:50:33 +0000 Received: by smtp422.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 5853d1b51f419607757567d23a8cfe6f; Sat, 22 Feb 2020 02:50:31 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.60.0.2.5\)) Subject: Re: svn commit: r358166 - head From: Mark Millard In-Reply-To: Date: Fri, 21 Feb 2020 18:50:29 -0800 Cc: FreeBSD ports , yasu@utahime.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <27EABC0F-6D78-47E1-810B-FAB282D430A3.ref@yahoo.com> <27EABC0F-6D78-47E1-810B-FAB282D430A3@yahoo.com> To: Kevin Oberman X-Mailer: Apple Mail (2.3608.60.0.2.5) X-Rspamd-Queue-Id: 48PXrC6tC0z3J5V X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.50 / 15.00]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MV_CASE(0.50)[]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(0.00)[ip: (-2.48), ipnet: 98.137.64.0/21(0.83), asn: 36647(0.66), country: US(-0.05)]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[148.65.137.98.list.dnswl.org : 127.0.5.0]; RCVD_COUNT_TWO(0.00)[2] 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: Sat, 22 Feb 2020 02:50:38 -0000 On 2020-Feb-21, at 15:59, Kevin Oberman wrote: > On Fri, Feb 21, 2020 at 8:38 AM Mark Millard via freebsd-ports = wrote: > Based on the example from https://www.freebsd.org/cgi/man.cgi?ldd > there are commands such as the following that might help: >=20 > . . . >=20 > This can be a lot of files to go through (e.g., lib*) and so > can take a fair amount of time. >=20 > =3D=3D=3D > Mark Millard > marklmi at yahoo.com > ( dsl-only.net went > away in early 2018-Mar) > =20 > 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 Cool. In the style of my prior examples (including the change that found libedit and such), analogous would be: # find /usr/local/*bin* /usr/local/lib* -type f \ | xargs -n1 file -F ' ' | grep 'ELF' | cut -f1 -d' ' \ | xargs ldd -f '%A %p\n' 2>&1 | grep ncurses\.so\.8 | cut -f1 -d' ' \ | xargs pkg which | cut -f6 -d' ' | sort -u | more bison-3.5.2,1 gdbm-1.18.1_1 gettext-tools-0.20.1_1 gnuplot-5.2.8 libedit-3.1.20191211,1 libtextstyle-0.20.1 llvm10-10.0.0.r2 llvm80-8.0.1_3 lua52-5.2.4 mesa-dri-18.3.2_9 ruby-2.6.5,1 sqlite3-3.30.1,1 xterm-353_1 Looks like I'll be reasonably ready when I get to the point of wanting to deal with this. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)