From owner-freebsd-ports@FreeBSD.ORG Fri Apr 22 19:33:46 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 388B716A4CE for ; Fri, 22 Apr 2005 19:33:46 +0000 (GMT) Received: from swip.net (mailfe08.swip.net [212.247.154.225]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7642843D46 for ; Fri, 22 Apr 2005 19:33:45 +0000 (GMT) (envelope-from hselasky@c2i.net) X-T2-Posting-ID: Y1QAsIk9O44SO+J/q9KNyQ== Received: from mp-217-201-28.daxnet.no ([193.217.201.28] verified) by mailfe08.swip.net (CommuniGate Pro SMTP 4.3c5) with ESMTP id 151250450 for ports@freebsd.org; Fri, 22 Apr 2005 21:33:44 +0200 From: Hans Petter Selasky To: ports@freebsd.org Date: Fri, 22 Apr 2005 22:34:44 +0200 User-Agent: KMail/1.7 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200504222234.45774.hselasky@c2i.net> Subject: Bug in Tripwire-131 port X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: hselasky@c2i.net List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Apr 2005 19:33:46 -0000 Hi, I looked at the Tripwire-131 port in 6-current, (/usr/ports/security/tripwire-131/), and noticed that the Makefile has support for creating a floppy. I looked at the commands used and the following does not make sense to me: ${GZIP_CMD} < ${PREFIX}/bin/tripwire > /mnt/tripwire ${GZIP_CMD} < /usr/bin/gunzip > /mnt/gunzip The twcheck script put into /mnt/ is then supposed to execute ./tripwire and ./gunzip, but that is not possible ? I get: gzip < /usr/bin/gunzip > gunzip chmod 555 gunzip ./gunzip: Exec format error. Binary file not executable. Am I missing something here ? The solution is to change: ${GZIP_CMD} < /usr/bin/gunzip > /mnt/gunzip into: cat /usr/bin/gunzip > /mnt/gunzip The database should be compressed though. Yours --HPS