From owner-freebsd-ports@FreeBSD.ORG Thu Jun 12 21:52:34 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F40B9908 for ; Thu, 12 Jun 2014 21:52:33 +0000 (UTC) Received: from ip-001.utdallas.edu (ip-001.utdallas.edu [129.110.180.40]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "smtpauth.utdallas.edu", Issuer "COMODO High-Assurance Secure Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 9E4E02D1D for ; Thu, 12 Jun 2014 21:52:33 +0000 (UTC) X-Group: None X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ah4ZAOUfmlOBbgogVWdsb2JhbABargsGBoRLjReHPAGBIQQBFwQHAgkHFCiEAwEBAQMBAQI1Aj8FCwsOOCgbFAYTiDoIuT+ZIBeFXIh/B4MrgRYEijuNEo4Vi30f X-IPAS-Result: Ah4ZAOUfmlOBbgogVWdsb2JhbABargsGBoRLjReHPAGBIQQBFwQHAgkHFCiEAwEBAQMBAQI1Aj8FCwsOOCgbFAYTiDoIuT+ZIBeFXIh/B4MrgRYEijuNEo4Vi30f X-IronPort-AV: E=Sophos;i="5.01,467,1400043600"; d="scan'208";a="18319196" Received: from zxtm01.utdallas.edu (HELO utd71538.utdallas.edu) ([129.110.10.32]) by ip-001.utdallas.edu with ESMTP/TLS/DHE-RSA-AES256-SHA; 12 Jun 2014 16:52:33 -0500 Date: Thu, 12 Jun 2014 16:52:29 -0500 From: Paul Schmehl Reply-To: Paul Schmehl To: Kurt Jaeger Subject: Re: SHEBANG_FILES Message-ID: In-Reply-To: <20140612212503.GA2341@home.opsec.eu> References: <7646251E3D4A8BC9D9A9A9BB@localhost> <20140612212503.GA2341@home.opsec.eu> X-Mailer: Mulberry/4.1.0a1 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline; size=1459 Cc: FreeBSD Ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jun 2014 21:52:34 -0000 --On June 12, 2014 at 11:25:03 PM +0200 Kurt Jaeger wrote: > Hi! > >> I'm working on switching one of my ports over to staging. During >> testing, I got this: >> >> Error: '/usr/bin/perl' is an invalid shebang you need USES=shebangfix >> for 'bin/argus-lsof' >> Error: '/bin/bash' is an invalid shebang you need USES=shebangfix for >> 'bin/argus-vmstat' >> >> I've never seen this before, so I had to do a little digging. >> Eventually I put this in the Makefile: >> >> USES= shebangfix >> SHEBANG_FILES= bin/argus-lsof bin/argus-vmstat > > Almost correct. > Do I need a comma between the files? >> But I'm getting errors: >> >> ===> Patching for argus-sasl-3.0.6.1 >> sed: bin/argus-lsof: No such file or directory >> >> The argus-lsof and argus-vmstat files don't exist in the tarball. They >> are created during the make process. > > Can you fix the path from the source files they are created from ? > > Then you do not need shebangfix for them. > Well, yeah, I could. > Which port is that ? net-mgmt/argus3 -- 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