I run a pkg-only version of FreeBSD 10 as a jail-host. Some custom software on the host needs to be fetched via git, though. Installing devel/git leads to a bunch of Perl and Python dependencies, that are unnecessary for a minimal git that just fetches some software. I propose a -lite version of the devel/git package, much in the same way as other packages do (e.g. vim). The new package has minimal dependencies and can be used as pure git client. Let me know what you think of the idea.
Auto-assigned to maintainer wxs@FreeBSD.org
I'm +1 on this and the naming is in line with existing examples (vim-lite). I'd also like to see it implemented as a slave port. What is the recursive dependency delta before/after removing 'non-lite' OPTIONS compared to the current OPTIONS_DEFAULT? Can you attach a patch for what you have in mind?
Created attachment 150716 [details] devel/git-lite slave port for devel/git Sorry, I forgot to upload the attachment earlier. It misses adding a CONFLICT for the new port to devel/git itself. The following dependency delta is a diff for both ports from # make package-depends-list | awk '{print $3}' --- git.deps +++ git-lite.deps @@ -1,20 +1,5 @@ textproc/expat2 devel/gettext-runtime print/indexinfo -lang/p5-Error -lang/perl5.18 -mail/p5-Net-SMTP-SSL -security/p5-IO-Socket-SSL -security/p5-Net-SSLeay -www/p5-Mozilla-CA -net/p5-IO-Socket-IP -net/p5-Socket -converters/p5-MIME-Base64 -security/p5-Authen-SASL -security/p5-Digest-HMAC -security/p5-GSSAPI ftp/curl security/ca_root_nss -devel/cvsps -lang/python27 -devel/libffi
A commit references this bug: Author: garga Date: Wed Feb 25 11:25:44 UTC 2015 New revision: 379898 URL: https://svnweb.freebsd.org/changeset/ports/379898 Log: Add git-lite, a new git slave port with minimal set of dependencies PR: 196066 Submitted by: chrissicool@gmail.com Changes: head/devel/git-lite/ head/devel/git-lite/Makefile head/devel/git-lite/pkg-descr head/devel/git-subversion/Makefile