From owner-freebsd-ports-bugs@FreeBSD.ORG Fri May 13 13:00:15 2005 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6F01F16A4CE for ; Fri, 13 May 2005 13:00:15 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 37D3B43D7B for ; Fri, 13 May 2005 13:00:15 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j4DD0D6p010172 for ; Fri, 13 May 2005 13:00:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j4DD0DTK010171; Fri, 13 May 2005 13:00:13 GMT (envelope-from gnats) Resent-Date: Fri, 13 May 2005 13:00:13 GMT Resent-Message-Id: <200505131300.j4DD0DTK010171@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, hselasky@c2i.net Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 55A5916A4CE for ; Fri, 13 May 2005 12:54:45 +0000 (GMT) Received: from swip.net (mailfe05.swip.net [212.247.154.129]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF7FF43D55 for ; Fri, 13 May 2005 12:54:44 +0000 (GMT) (envelope-from hselasky@c2i.net) Received: from mp-216-39-169.daxnet.no ([193.216.39.169] verified) by mailfe05.swip.net (CommuniGate Pro SMTP 4.3c5) with ESMTP id 168264790 for FreeBSD-gnats-submit@freebsd.org; Fri, 13 May 2005 14:54:43 +0200 Message-Id: <200505131455.23888.hselasky@c2i.net> Date: Fri, 13 May 2005 14:55:23 +0200 From: Hans Petter Selasky To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/80978: problem in Tripwire Makefile X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: hselasky@c2i.net List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 May 2005 13:00:15 -0000 >Number: 80978 >Category: ports >Synopsis: problem in Tripwire Makefile >Confidential: no >Severity: critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri May 13 13:00:13 GMT 2005 >Closed-Date: >Last-Modified: >Originator: HPS >Release: FreeBSD 6.0-CURRENT i386 >Organization: >Environment: System: FreeBSD 6.0-CURRENT FreeBSD 6.0-CURRENT #45: Mon Mar 21 15:40:17 CET 2005 root@:/usr/obj/usr/src/sys/custom i386 >Description: 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 database should be compressed though. >How-To-Repeat: >Fix: change: ${GZIP_CMD} < ${PREFIX}/bin/tripwire > /mnt/tripwire ${GZIP_CMD} < /usr/bin/gunzip > /mnt/gunzip into: cat ${PREFIX}/bin/tripwire > /mnt/tripwire cat /usr/bin/gunzip > /mnt/gunzip >Release-Note: >Audit-Trail: >Unformatted: