When using the rkhunter port as usual, one updates the mirror.dat to get new signatures. Once this update has been done, the 'pkg_info -g' report the checksum mismatch: pkg_info -g rkhunter-1.4.0 Information for rkhunter-1.4.0: Mismatched Checksums: /usr/local/var/lib/rkhunter/db/mirrors.dat fails the original MD5 checksum How-To-Repeat: See above
Responsible Changed From-To: freebsd-ports-bugs->sbz Over to maintainer (via the GNATS Auto Assign Tool)
Author: sbz Date: Thu Mar 6 16:38:42 2014 New Revision: 347273 URL: http://svnweb.freebsd.org/changeset/ports/347273 QAT: https://qat.redports.org/buildarchive/r347273/ Log: - Fix checksum mismatch problem during updates by installing signatures as sample PR: ports/182789 Submitted by: pirzyk Modified: head/security/rkhunter/Makefile Modified: head/security/rkhunter/Makefile ============================================================================== --- head/security/rkhunter/Makefile Thu Mar 6 16:37:56 2014 (r347272) +++ head/security/rkhunter/Makefile Thu Mar 6 16:38:42 2014 (r347273) @@ -3,6 +3,7 @@ PORTNAME= rkhunter PORTVERSION= 1.4.0 +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= SF @@ -57,6 +58,14 @@ post-install: @if [ ! -f ${PREFIX}/etc/${PORTNAME}.conf ]; then \ ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf ${PREFIX}/etc; \ fi + ${INSTALL_DATA} -m 640 ${WRKSRC}/files/programs_bad.dat ${PREFIX}/var/lib/${PORTNAME}/db/programs_bad.dat.sample + ${INSTALL_DATA} -m 640 ${WRKSRC}/files/mirrors.dat ${PREFIX}/var/lib/${PORTNAME}/db/mirrors.dat.sample + @if [ ! -f ${PREFIX}/var/lib/${PORTNAME}/db/mirrors.dat ]; then \ + ${INSTALL_DATA} -m 640 ${WRKSRC}/files/mirrors.dat ${PREFIX}/var/lib/${PORTNAME}/db/mirrors.dat; \ + fi + @if [ ! -f ${PREFIX}/var/lib/${PORTNAME}/db/programs_bad.dat ]; then \ + ${INSTALL_DATA} -m 640 ${WRKSRC}/files/programs_bad.dat ${PREFIX}/var/lib/${PORTNAME}/db/programs_bad.dat; \ + fi @${CAT} ${PKGMESSAGE} .include <bsd.port.post.mk> _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed. Thanks!