Date: Fri, 22 Apr 2005 22:34:44 +0200 From: Hans Petter Selasky <hselasky@c2i.net> To: ports@freebsd.org Subject: Bug in Tripwire-131 port Message-ID: <200504222234.45774.hselasky@c2i.net>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200504222234.45774.hselasky>