pkill37 / linuxify

🍏🐧 Transparently transform the macOS CLI into a fresh GNU/Linux CLI experience.
MIT License
888 stars 69 forks source link

Feature request - add tools gnutls gnupg gnu-getopt tree #28

Open jkoppenol opened 3 years ago

jkoppenol commented 3 years ago

Hi, I just installed another package from Homebrew, and I noticed that some more gnu or common linux tools are available which are not "featured" in this nice project:

######################################################################## 100.0% ==> Installing dependencies for pass: gnu-getopt, ... , tree ... ==> Installing pass dependency: gnu-getopt ==> Pouring gnu-getopt-2.36.1.catalina.bottle.tar.gz ... ==> Installing pass dependency: gnutls ==> Pouring gnutls-3.6.15.catalina.bottle.tar.gz ... ==> Installing pass dependency: gnupg ==> Pouring gnupg-2.2.27.catalina.bottle.tar.gz ... ==> Installing pass dependency: tree ==> Pouring tree-1.8.0.catalina.bottle.tar.gz

Can these be added to the scripts?

pkill37 commented 3 years ago

I'll consider this. A change like this means I should probably also rename this from "linuxify" to "gnuify"

bengaywins commented 3 years ago

It's more than just GNU stuff though. So I think it's more prescriptive about that it's being more like Linux as opposed to just straight GNU.

jkoppenol commented 3 years ago

I agree with Ben,.

Adding the GNU stuff I requested is good, but renaming it he project is overdoing it.

Regards,

Jeffrey

Sent from my iPad

On 31 Mar 2021, at 22:25, Ben Gray @.***> wrote:

 It's more than just GNU stuff though. So I think it's more prescriptive about that it's being more like Linux as opposed to just straight GNU.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

pkill37 commented 3 years ago

Anyone want to send a PR for this? :)

jstelzer commented 2 years ago

Hello, I just recently found this project and it's quite nice.

For this feature, I would caution that things like gnupg can be touchy.

For instance, brew's gnupg package is version 2.3 The gnupg@2.2 package is the 'stable' version. From the 2.3 release notes:

Although some bugs might linger in the 2.3 versions, they are intended
to replace the 2.2 series.  2.3 may even be used for production purposes
if either the risk of minor regressions is acceptable or the new
features are important.

I bring this up because I use gnupg@2.2 daily in connection with my yubikeys. I have not had the bandwidth to figure out the issues with ssh key forwarding from the gnupg daemon yet. There are enough moving parts that it's not top of mind.

If this were to blindly install gnupg then that would make this guide near impossible to follow: https://github.com/drduh/YubiKey-Guide

There are ways to work around this, env vars, command line opts, etc but those all add complexity. All I'm saying is that there are issues here to consider before just going down the simple, obvious and wrong path :)

jkoppenol commented 2 years ago

Thanks for poniting this out @jstelzer ! Perhaps it's wise to verify this for all sensitive packages (like gnupg, libressl, openssh, etc)