From owner-freebsd-ports@freebsd.org Fri Jun 15 02:16:11 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CC19810072E8 for ; Fri, 15 Jun 2018 02:16:11 +0000 (UTC) (envelope-from mqudsi@neosmart.net) Received: from mail-oi0-x22a.google.com (mail-oi0-x22a.google.com [IPv6:2607:f8b0:4003:c06::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6A09A7145B for ; Fri, 15 Jun 2018 02:16:11 +0000 (UTC) (envelope-from mqudsi@neosmart.net) Received: by mail-oi0-x22a.google.com with SMTP id 14-v6so7531879oie.3 for ; Thu, 14 Jun 2018 19:16:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=neosmart.net; s=google; h=mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=LdaLIdFRJ5T0xlSkDftlx6oWFVumCbuR1Wfs+ali5IY=; b=LWACTiiDPe2Q66UfdFkFvK2ftpBbOtfEciKIuVU9MvqcAG1X/L1fd7wqIB+ZBGM3CD wNX74fD/McdV/o1uZlzLZVTGrh+zEuKJ1Gw71aZSztarEJJUv5PNVUb3kFOSP+NO5CSF W4ckuGvSLcnToM+BcoycjUpfbGYJZl7tAQs5s= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=LdaLIdFRJ5T0xlSkDftlx6oWFVumCbuR1Wfs+ali5IY=; b=pXdQB99+Cb62Zmdzjr+DAGWMG16/x9lYiiYXhALzy+y1cpcPbHXkgCIGGV4Liwsx8y SIq6cU0kgBDXs65q7emW4DrNRCelOnv7CkWA63rBPdVEYzy1kJZh9vVMsEjKS+8VftGx Dov/BdvYf65UvIaXzZZe5GecjcwFbblD96GxD2jQbJYDrdnGcdExBfqa7TPmC7/6VFmr TiTkbV2nqyAU1ELmSpHfwDDYkS/1vJZg8KkvjB7Uqf1Zy1xsZTjGV6kZLVs1yiIDySuc gX+zHfL4LN9CkUpoA+390CYpeNT+K4CKvQ/L9QvTUBFz8ol/zAfyJlwottC3klgRrhlv H1Zw== X-Gm-Message-State: APt69E0XjQ1ab7V9/TyPS64N2xinN/83TBunnT6bX7JPdwTDJXW1RM6p /I6/Q6tPXDl3fuhLDFEC3JsRuNvu4BitPDMYc3+GF3YU X-Google-Smtp-Source: ADUXVKLoF4Y1mB3zLhaSjC0ZTIDEeWQDRkixH0OiLepy+rbqvXo6rPXhnK5nKXfKN+ieMcQ7HIvCFACVwls/L1Drn4w= X-Received: by 2002:aca:a11:: with SMTP id 17-v6mr2844833oik.57.1529028970170; Thu, 14 Jun 2018 19:16:10 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a9d:e8f:0:0:0:0:0 with HTTP; Thu, 14 Jun 2018 19:15:49 -0700 (PDT) From: Mahmoud Al-Qudsi Date: Thu, 14 Jun 2018 21:15:49 -0500 Message-ID: Subject: Removing git dependencies on perl5 and python27 To: freebsd-ports@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jun 2018 02:16:12 -0000 Hello list, I'm probably not alone in considering git to be a core development tool, perhaps just a notch or two below the C compiler. `git` and `sudo` are the = two packages I first install (after `pkg` itself) on any machine, and in many cases that suffices to get a basic development environment going. However, the git package currently brings in a host of unwanted dependencie= s, and I *believe* they can be done without. This is the complete dependency graph for the git package [0] (generated wi= th the newly-minted pkg-graph [1]). It pulls in perl5 and python27, both sizea= ble packages and both not required to use git. While git can be compiled without some of the additional dependencies such = as expat or pcre, this results in a "crippled" git lacking in some core featur= es, and requires special build-time definitions like NO_EXPAT or NO_PCRE passed= to the git Makefile. The other dependencies like curl, pcre, and gettext are a= lso relatively small and typically part of even the most minimal system, but pe= rl5 and python27 are full-blown runtimes for interpreted languages that have fallen out of favor and have been successfully stripped from FreeBSD core (= and even many Linux distributions). I'm sure these packages are not just there to have a good time and they ser= ve some purpose and enable a subset of the git functionality, but my question here today is whether that functionality is worth its weight in dependencie= s, and whether the ports team is open to seeing the git package stripped of th= ese dependencies. (Obviously the option of adding a "git-lite" package =C3=A0 la "vim-lite" a= lso exists, but I think it's fair to say that would be an ugly and unnecessary compromise.) [0]: https://goo.gl/hozu1b [1]: https://github.com/neosmart/pkg-graph Many thanks, Mahmoud Al-Qudsi NeoSmart Technologies