Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 May 2005 14:55:23 +0200
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/80978: problem in Tripwire Makefile
Message-ID:  <200505131455.23888.hselasky@c2i.net>
Resent-Message-ID: <200505131300.j4DD0DTK010171@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200505131455.23888.hselasky>