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

(-)samhain/Makefile (-15 / +5 lines)
Lines 1-8 Link Here
1
# Created by: Nikola Kolev <koue@chaosophia.net>
1
# Created by: Nikola Kolev <koue@chaosophia.net>
2
# $FreeBSD: head/security/samhain/Makefile 518092 2019-11-21 10:49:14Z tobik $
2
# $FreeBSD$
3
3
4
PORTNAME=	samhain
4
PORTNAME=	samhain
5
PORTVERSION=	4.3.3
5
PORTVERSION=	4.4.1
6
CATEGORIES=	security
6
CATEGORIES=	security
7
MASTER_SITES=	http://la-samhna.de/archive/
7
MASTER_SITES=	http://la-samhna.de/archive/
8
DISTNAME=	samhain_signed-${PORTVERSION}
8
DISTNAME=	samhain_signed-${PORTVERSION}
Lines 17-23 Link Here
17
BROKEN_mips64=		fails to configure: error: Could not find the libwrap library
17
BROKEN_mips64=		fails to configure: error: Could not find the libwrap library
18
18
19
OPTIONS_DEFINE=		ASM DB_RELOAD DEBUG DNMALLOC DOCS ENCRYPT GNUPG IPV6 \
19
OPTIONS_DEFINE=		ASM DB_RELOAD DEBUG DNMALLOC DOCS ENCRYPT GNUPG IPV6 \
20
			KCHECK LIBWRAP LOGFILE_MONITOR LOGIN_WATCH MAIL \
20
			LIBWRAP LOGFILE_MONITOR LOGIN_WATCH MAIL \
21
			MOUNTS_CHECK PORT_CHECK POSIX_ACL PRELUDE PROCESS_CHECK \
21
			MOUNTS_CHECK PORT_CHECK POSIX_ACL PRELUDE PROCESS_CHECK \
22
			PTRACE SRP STATIC SUIDCHECK UDP USERFILES XML_LOGS
22
			PTRACE SRP STATIC SUIDCHECK UDP USERFILES XML_LOGS
23
OPTIONS_DEFAULT=	ASM DNMALLOC ENCRYPT LIBWRAP MAIL SRP
23
OPTIONS_DEFAULT=	ASM DNMALLOC ENCRYPT LIBWRAP MAIL SRP
Lines 29-35 Link Here
29
DB_RELOAD_DESC=	Enable database reload on SIGHUP
29
DB_RELOAD_DESC=	Enable database reload on SIGHUP
30
DNMALLOC_DESC=	Enable dnmalloc
30
DNMALLOC_DESC=	Enable dnmalloc
31
ENCRYPT_DESC=	Enable client/server encryption
31
ENCRYPT_DESC=	Enable client/server encryption
32
KCHECK_DESC=	Enable rogue KLD detection
33
LOGFILE_MONITOR_DESC=	Enable monitor logfiles
32
LOGFILE_MONITOR_DESC=	Enable monitor logfiles
34
LOGIN_WATCH_DESC=	Enable watch for login/logout
33
LOGIN_WATCH_DESC=	Enable watch for login/logout
35
MAIL_DESC=	Enable internal SMTP mailer
34
MAIL_DESC=	Enable internal SMTP mailer
Lines 55-61 Link Here
55
		--with-alttimeserver=true
54
		--with-alttimeserver=true
56
55
57
USES=			shebangfix
56
USES=			shebangfix
58
SHEBANG_FILES=		scripts/samhainadmin.pl.in
57
SHEBANG_FILES=		scripts/samhainadmin-gpg.pl.in \
58
			scripts/samhainadmin-sig.pl.in
59
59
60
ASM_CONFIGURE_ENABLE=		asm
60
ASM_CONFIGURE_ENABLE=		asm
61
61
Lines 72-79 Link Here
72
72
73
IPV6_CONFIGURE_ENABLE=		ipv6
73
IPV6_CONFIGURE_ENABLE=		ipv6
74
74
75
KCHECK_CONFIGURE_WITH=		kcheck
76
77
LIBWRAP_CONFIGURE_WITH=		libwrap
75
LIBWRAP_CONFIGURE_WITH=		libwrap
78
76
79
LOGFILE_MONITOR_CONFIGURE_ENABLE=	logfile-monitor
77
LOGFILE_MONITOR_CONFIGURE_ENABLE=	logfile-monitor
Lines 165-178 Link Here
165
IGNORE=		can't build client and server at once
163
IGNORE=		can't build client and server at once
166
.endif
164
.endif
167
165
168
.if ${PORT_OPTIONS:MKCHECK}
169
	@${ECHO_MSG}
170
	@${ECHO_MSG} "Building with kernel checking requires reading /dev/kmem"
171
	@${ECHO_MSG} "and /dev/mem. If you're not building as root, please hit"
172
	@${ECHO_MSG} "Control-C and restart the build as root."
173
	@${ECHO_MSG}
174
.endif
175
176
post-extract:
166
post-extract:
177
	@${TAR} -C ${WRKDIR} -xzf ${WRKSRC}.tar.gz
167
	@${TAR} -C ${WRKDIR} -xzf ${WRKSRC}.tar.gz
178
	@${RM} ${WRKSRC}.tar.gz ${WRKSRC}.tar.gz.asc
168
	@${RM} ${WRKSRC}.tar.gz ${WRKSRC}.tar.gz.asc
(-)samhain/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1570039276
1
TIMESTAMP = 1583533568
2
SHA256 (samhain_signed-4.3.3.tar.gz) = 33ad4bc3dad4699694553bd9635a6b5827939f965d1f0f05fce0b4e9cdadf21b
2
SHA256 (samhain_signed-4.4.1.tar.gz) = a15516f6809b1daf812b39fb5aa6be3fac1a51b5efca53568759fdf54572a2e9
3
SIZE (samhain_signed-4.3.3.tar.gz) = 2142337
3
SIZE (samhain_signed-4.4.1.tar.gz) = 2159641
(-)samhain/files/patch-configure (+16 lines)
Line 0 Link Here
1
--- configure.orig	2020-07-21 09:51:28.253298000 -0400
2
+++ configure	2020-07-21 09:54:19.024797000 -0400
3
@@ -13998,6 +13998,13 @@
4
 then
5
 	cp -a scripts/samhainadmin-gpg.pl scripts/samhainadmin.pl
6
 fi
7
+# Default action if building as network server but without GPG.
8
+# Note in that case the provided functionality won't actually work,
9
+# but this will keep the install-program target from barfing...
10
+if test "x${mygpg}" == x && test "x${mysignify}" == x
11
+then
12
+	cp -a scripts/samhainadmin-gpg.pl scripts/samhainadmin.pl
13
+fi
14
 
15
 
16
 if test "x${cross_compiling}" = xyes

Return to bug 244648