Date: Sun, 07 Apr 2013 13:14:52 +0200 From: Matthias Andree <matthias.andree@gmx.de> To: f-ports <freebsd-ports@freebsd.org> Cc: parv@pair.com Subject: Re: devel/git to be static Message-ID: <87li8ubnir.fsf@apollo.emma.line.org> In-Reply-To: <20130407014931.GA46372@holstein.holy.cow> (parv@pair.com's message of "Sat, 6 Apr 2013 15:49:31 -1000") References: <20130407014931.GA46372@holstein.holy.cow>
next in thread | previous in thread | raw e-mail | index | archive | help
parv <parv@pair.com> writes: > ( Please do carbon copy me the replies for I am not a ports@ > subscriber. ) > > Hi there, > > Within The Ports, is it possible to compile and install devel/git > (with subversion & Perl support) as (a collection of) static > port? > > The problem that I want to workaround just appeared: I use git > (installed with Perl & subversion support) much; subversion is > currently used only to update FreeBSD ports & src trees. > subversion-1.7.8 was marked to be vulnerable; I thought I could > remove 1.7.8 version, and compile & install a newer version. > > Turned out git had to be de installed also (sans force) before > subversion 1.7.8 could be removed. (Or, if subversion was removed > with force, I would have then needed to do library shuffle to be > able to run git at all.) 1. For updates, use utilities such as portupgrade or portmaster. These will handle the nitty-gritty details of upgrading subversion "underneath" git. 2. You can configure Git to not depend on Subversion, which might, however, remove all relevant functionality. cd /usr/ports/devel/git make config (disable SVN) (save options) make all deinstall install clean and you are set. > I could have lived with older version of subversion support > statically compiled in with git files, (possibly) to be updated > after newer subversion version was installed **successfully**. Would > I need to compile git outside of The Ports to achieve the desired > result? 3. This is probably unnecessary - Git only uses Subversion's Perl bindings, and those are loaded anew each and every time you use git-svn, so updating p5-subversion should suffice. HTH Matthias Andree
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87li8ubnir.fsf>