Bug 196066 - [NEW PORT] devel/git-lite: Light-weight version of devel/git without any bindings
Summary: [NEW PORT] devel/git-lite: Light-weight version of devel/git without any bind...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Renato Botelho
URL:
Keywords: easy, feature, needs-patch
Depends on:
Blocks:
 
Reported: 2014-12-17 16:30 UTC by chrissicool
Modified: 2015-02-25 11:27 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback?


Attachments
devel/git-lite slave port for devel/git (596 bytes, application/gzip)
2014-12-18 13:04 UTC, chrissicool
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description chrissicool 2014-12-17 16:30:31 UTC
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.
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2014-12-17 16:30:31 UTC
Auto-assigned to maintainer wxs@FreeBSD.org
Comment 2 Kubilay Kocak freebsd_committer freebsd_triage 2014-12-18 11:06:18 UTC
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?
Comment 3 chrissicool 2014-12-18 13:04:26 UTC
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
Comment 4 commit-hook freebsd_committer freebsd_triage 2015-02-25 11:26:09 UTC
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