Remove code to create a tripwire floppy disk. As FreeBSD no longer supports
gzipped binaries and since systems with larger data stores, it is no longer reasonable to expect to fit the tripwire binary and database onto a single floppy disk. PR: 80978
This commit is contained in:
parent
c7559159b8
commit
85a2430bda
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=135216
1 changed files with 0 additions and 14 deletions
|
@ -38,20 +38,6 @@ post-install:
|
|||
.ifndef NO_DB_BUILD
|
||||
@ ${ECHO} Creating tripwire database
|
||||
@ (cd /var/adm/tcheck; tripwire -initialize)
|
||||
.if defined(TRIPWIRE_FLOPPY) && ${TRIPWIRE_FLOPPY} == YES
|
||||
@ disklabel -w -B /dev/rfd0c fd1440
|
||||
@ newfs -u 0 -t 0 -i 196608 -m 0 -T minimum -o space /dev/rfd0c
|
||||
@ mount /dev/fd0c /mnt
|
||||
@ ${GZIP_CMD} < ${PREFIX}/bin/tripwire > /mnt/tripwire
|
||||
@ ${CP} -p /var/adm/tcheck/tw.config /mnt/tw.config
|
||||
@ ${GZIP_CMD} < /var/adm/tcheck/databases/tw.db_`hostname` \
|
||||
> /mnt/tw.db_`hostname`.gz
|
||||
@ ${CP} -p ${FILESDIR}/twcheck /mnt/twcheck
|
||||
@ ${GZIP_CMD} < /usr/bin/gunzip > /mnt/gunzip
|
||||
@ ${CHMOD} 555 /mnt/tripwire /mnt/gunzip /mnt/twcheck
|
||||
@ umount /mnt
|
||||
@ ${ECHO} Do not forget to remove and write-protect the floppy.
|
||||
.endif
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
Loading…
Reference in a new issue