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. 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
Responsible Changed From-To: freebsd-ports-bugs->cy Assign to maintainer.
State Changed From-To: open->analyzed FreeBSD 2.X and 3.X supported compressed binaries. 4.X, 5.X, and 6.X do not. As a floppy cannot contain a database and the binaries the floppy creation code will be removed from the Makefile.
State Changed From-To: analyzed->closed Tripwire no longer creates a floppy disk. Since FreeBSD no longer supports compressed binaries and since systems are larger these days, it is reasonable to expect the user to user Tripwire 2 or create a CDROM or DVD with the Tripwire binaries and database, along with some kind of tool (e.g. gpg) to verify the integrity of the binaries and database stored on the CDROM or DVD.