ports/80978: problem in Tripwire Makefile

Hans Petter Selasky hselasky at c2i.net
Fri May 13 13:00:15 UTC 2005


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



More information about the freebsd-ports-bugs mailing list