From owner-freebsd-ports@FreeBSD.ORG Mon Feb 4 16:33:08 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 2632B6C8 for ; Mon, 4 Feb 2013 16:33:08 +0000 (UTC) (envelope-from m@micheas.net) Received: from mail-lb0-f173.google.com (mail-lb0-f173.google.com [209.85.217.173]) by mx1.freebsd.org (Postfix) with ESMTP id AA55A7DC for ; Mon, 4 Feb 2013 16:33:07 +0000 (UTC) Received: by mail-lb0-f173.google.com with SMTP id gf7so6828632lbb.18 for ; Mon, 04 Feb 2013 08:33:06 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:x-gm-message-state; bh=kXpTbWRG6056N8u+KadyKbQGIiHZJ6q7WUqmnuGDzEw=; b=TxejWEJpWK/Hv7sHAhd+IhZv3aU+7bL31zWY6A0i7j/F8h7BU4pk2EhfCbyBVEjrkt ucjTnQaKlPbRXM8cMTKkQC3CDHMnafDHQZRHQeApGWCvLYNvEoWlk606phyT0w4FCzok z1sId1BOy1/1qA1TUZ9IDQlgPu82i7rftOX3PgnkQDfxKjNNQPwCOzeX/3NslaILgpVn mHZ9kuUx788q509erBtM8SQnoKvy2JwJWvOKe/GtYw7m63qb1+0pVTDw3Kp1kB3p5E20 USFy7R4Vx828PUZQ1JRgR+fUCdAKwCnMhV8PKraAlF9mi7m1ex0aeMQtDy6urtdFzd3z 8bzg== MIME-Version: 1.0 X-Received: by 10.152.103.48 with SMTP id ft16mr19941606lab.27.1359995586417; Mon, 04 Feb 2013 08:33:06 -0800 (PST) Received: by 10.112.75.33 with HTTP; Mon, 4 Feb 2013 08:33:06 -0800 (PST) In-Reply-To: <39A84EC03A29CF90A1609C44@utd71538.campus.ad.utdallas.edu> References: <39A84EC03A29CF90A1609C44@utd71538.campus.ad.utdallas.edu> Date: Mon, 4 Feb 2013 08:33:06 -0800 Message-ID: Subject: Re: I need help with git From: Micheas Herman To: Paul Schmehl X-Gm-Message-State: ALoCoQnsahHBhzG1SJvHdnoP3PdbAWavQebVPKbWfHfKp/h/ZKeh08EhmHzJ1dfkJBlOn3gFuYtf Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Ports List X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Feb 2013 16:33:08 -0000 On Monday, February 4, 2013, Paul Schmehl wrote: > I'm the maintainer for security/barnyard2. The software recently changed > so that all distros are pulled from github. The developers made new > commits, and now the port is broken, and I cannot figure out how to fix it. > > Here's the relevant code from the Makefile: > > PORTNAME= barnyard2 > PORTVERSION= 1.11 > CATEGORIES= security > > MAINTAINER= pauls@utdallas.edu > COMMENT= Interpreter for Snort unified2 binary output files > > LICENSE= GPLv2 > > USE_GITHUB= yes > GH_ACCOUNT= firnsy > GH_PROJECT= ${PORTNAME} > GH_TAGNAME= master You need to change th GH_TAGNAME to the release you want if you go to the repository on github and you can find the tags that the maintainers have added to the project. If you want a snapshot in time that is not tagged you could either request the authors tag it, or fork it on github tag it yourself and put your own account as the GH_ACCOUNT. > GH_COMMIT= 4dfdc80 Probably not needed if you specify a tag other than master. > > The master tagname apparently gets moved to the new commit every time the > developers commit changes. This is NOT what I want. I want the port to > stay at the release version until a new version is released. > > I've tried everything I can think of to get this port to pull the commit I > want. It does not work. I've tried changing the tagname to v2-1.11, > v2-${PORTVERSION}, stable, dev-next, etc., etc. Nothing works. > > Here's the git site: barnyard2/commits/master > > > > If I pull master, I get commit f57e464. That's not what I want. Why > doesn't this thing pull the commit I'm telling it to pull? > > I'm so frustrated by this I'm about to drop this port. I do NOT want to > have to update the port every time the developers commit more code. That > is NOT how software should work. > > Is there anyone who can tell me how to fix this problem so the port will > remain at the release version until the next version is released no matter > how many commits the developers make? > > -- > Paul Schmehl, Senior Infosec Analyst > As if it wasn't already obvious, my opinions > are my own and not those of my employer. > ********************************************* > "It is as useless to argue with those who have > renounced the use of reason as to administer > medication to the dead." Thomas Jefferson > "There are some ideas so wrong that only a very > intelligent person could believe in them." George Orwell > > ______________________________**_________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/**mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" >