FreeBSD Port: git-2.0.2_1

Sebastian Bach sbach at nuith.pl
Mon Aug 25 16:38:23 UTC 2014


Hello Michael,

I've checked out git 2.0.1 / revision 362475 from the FreeBSD repository and was able to install it. Our Atlassian Stash is running again. :)

Best regards
Sebastian


-----Original Message-----
From: Michael Gmelin [mailto:freebsd at grem.de] 
Sent: Monday, August 25, 2014 4:52 PM
To: Sebastian Bach
Cc: wxs at FreeBSD.org; ports at FreeBSD.org
Subject: Re: FreeBSD Port: git-2.0.2_1

On Mon, 25 Aug 2014 13:39:50 +0000
Sebastian Bach <sbach at nuith.pl> wrote:

> Hi!
> 
> I've an urgent problem with the current port devel/git (2.0.2). After 
> upgrading  we can't use our Atlassian Stash server anymore. Stash 
> rejects (hard check of 2.0.2 and 2.0.3) to use this specific git 
> version due to a critical bug in 'git diff-tree' which breaks Stash's 
> commit page. Please see the 'DVCS clients' section on their system 
> requirements page:
> https://confluence.atlassian.com/display/STASH/Supported+platforms
> https://jira.atlassian.com/browse/STASH-5052
> 
> I don't know how to downgrade this port. Is this even possible on 
> FreeBSD? However, can you tell me when git 2.0.4 or 2.1.0 will be 
> available in the ports collections?
> 
> Best regards
> Sebastian Bach
> 

If you're using pkg you might be lucky and still have a cached copy in /var/cache/pkg. In that case try pkg delete git and pkg add /var/cache/pkg/git-<version>.txz.

Otherwise one way of doing this is getting the old package skeleton from svn and build it from ports. You need revision 362475 of the ports tree for git version 2.0.1. Alternatively you can download the files from svnweb (a bit clumsy, but doesn't require you to install
subversion):

http://svnweb.freebsd.org/ports/head/devel/git/?pathrev=362475

If you don't have a ports tree yet, do: portsnap fetch extract

Then copy the files in /usr/ports/devel/git, go there and do make install (do pkg delete git beforehand).

--
Michael Gmelin


More information about the freebsd-ports mailing list