View | Details | Raw Unified | Return to bug 257065
Collapse All | Expand All

(-)b/security/rkhunter/Makefile (+1 lines)
Lines 2-7 Link Here
2
2
3
PORTNAME=	rkhunter
3
PORTNAME=	rkhunter
4
PORTVERSION=	1.4.6
4
PORTVERSION=	1.4.6
5
PORTREVISION=	1
5
CATEGORIES=	security
6
CATEGORIES=	security
6
MASTER_SITES=	SF
7
MASTER_SITES=	SF
7
8
(-)b/security/rkhunter/files/patch-files_rkhunter (-2 / +16 lines)
Lines 1-6 Link Here
1
--- files/rkhunter.orig	2014-03-12 20:54:55 UTC
1
--- files/rkhunter.orig	2018-02-24 23:08:27 UTC
2
+++ files/rkhunter
2
+++ files/rkhunter
3
@@ -7275,6 +7275,9 @@ download_file() {
3
@@ -4750,7 +4750,12 @@ get_sha_hash_function() {
4
 		return
5
 	fi
6
 
7
-	HFUNC=`find_cmd sha${SHA_SIZE}sum`
8
+	case ${OPERATING_SYSTEM} in
9
+	FreeBSD)
10
+		HFUNC=`find_cmd sha${SHA_SIZE}` ;;
11
+	*)
12
+		HFUNC=`find_cmd sha${SHA_SIZE}sum` ;;
13
+	esac
14
 
15
 	if [ -z "${HFUNC}" ]; then
16
 		HFUNC=`find_cmd sha${SHA_SIZE}`
17
@@ -7522,6 +7527,9 @@ download_file() {
4
 		rm -f "${OUTPUT_FILE}" >/dev/null 2>&1
18
 		rm -f "${OUTPUT_FILE}" >/dev/null 2>&1
5
 
19
 
6
 		case "${RKHWEBCMD_BASE}" in
20
 		case "${RKHWEBCMD_BASE}" in

Return to bug 257065