Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 Feb 2021 21:35:33 +0100
From:      Walter von Entferndt <walter.von.entferndt@posteo.net>
To:        freebsd@casidy.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Installing git draws a lot of dependencies
Message-ID:  <1956204.4WAli8B44Z@t450s.local.lan>
In-Reply-To: <mailman.133.1612267202.6851.freebsd-questions@freebsd.org>
References:  <mailman.133.1612267202.6851.freebsd-questions@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
At Dienstag, 2. Februar 2021, 13:00:02 CET freebsd@casidy.com (you) 
wrote:
> Can you point me to a discussion explaining why we have to keep up
> with sooo many dependencies?
> 
http://forums.freebsd.org

> [...] But I can't believe what I am reading, when I do 'pkg install
> git' I can see a lot of dependencies where I can't see the
> relationship with git. [...]
>   * bash??? I don't need that
>   * perl5? Come on! I just want git!
>   * python What? Why do you need Perl5 in the first place?
>   * subversion? Git is using subversion???
>   * tpm-emulator? Emulator of what?
> 
> Installing git will consume up to 367 MiB of my SDCard on my Pi...
>
edit /usr/local/etc/pkf.conf, in the ALIAS section change
+  all-rdepends: rquery %dn-%dv,
-  comment: query -i "%c",
+  comment: query -i "[%C/%n] %c",
+  rcomment: rquery -i "[%o] %c",
+  license: query "%l: %L",
+  provides: query "[%n-%v] %b",
+  provides-all: query -a "[%n-%v] %b",
+  rprovides: rquery "[%n-%v] %b",
+  rprovides-all: rquery -a "[%n-%v] %b",
+  message: "query '[%C/%n] %M'",
+  prime-list: "query -e '%a = 0' '%n'",
+  prime-origins: "query -e '%a = 0' '%o'",
+  rinfo: rquery -i "%c",
+  rlicense: rquery -i "%l: %L",

pkg install psearch
(do some search)
pkg all-rdepends gitup
pkg install gitup
(enjoy)
-- 
=|o)  "Stell' Dir vor es geht und keiner kriegt's hin." (Wolfgang Neuss)





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1956204.4WAli8B44Z>