- Update to 2.2.4

PR:		ports/102915
Submitted by:	David Thiel <lx at redundancy.redundancy.org> (maintainer)
This commit is contained in:
Rong-En Fan 2006-09-06 07:03:14 +00:00
parent 9528f1c27f
commit 5c173816cf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=172380
5 changed files with 26 additions and 25 deletions

View file

@ -5,7 +5,7 @@
# $FreeBSD$
PORTNAME= samhain
PORTVERSION= 2.2.1
PORTVERSION= 2.2.4
CATEGORIES= security
MASTER_SITES= http://la-samhna.de/archive/ \
http://redundancy.redundancy.org/mirror/
@ -35,6 +35,7 @@ BUILD_DEPENDS+= gpg:${PORTSDIR}/security/gnupg
.endif
GNU_CONFIGURE= yes
USE_RC_SUBR= yes
CONFIGURE_ARGS= --enable-login-watch --localstatedir=/var \
--mandir=${PREFIX}/man --enable-suidcheck
@ -136,11 +137,11 @@ pre-install:
post-install:
.if !defined(WITH_SERVER)
@${CP} ${WRKSRC}/init/samhain.startFreeBSD ${PREFIX}/etc/rc.d/samhain.sh.sample
@${CP} ${WRKSRC}/init/samhain.startFreeBSD ${PREFIX}/etc/rc.d/samhain.sh
@${CP} ${WRKSRC}/samhainrc ${PREFIX}/etc/samhainrc.sample
@${CHGRP} wheel ${PREFIX}/etc/samhainrc.sample
.else
@${CP} ${WRKSRC}/init/samhain.startFreeBSD ${PREFIX}/etc/rc.d/yule.sh.sample
@${CP} ${WRKSRC}/init/samhain.startFreeBSD ${PREFIX}/etc/rc.d/yule.sh
@${CP} ${WRKSRC}/yulerc ${PREFIX}/etc/yulerc.sample
.endif
.if !defined(NOPORTDOCS)
@ -158,4 +159,5 @@ post-install:
${INSTALL_MAN} ${WRKSRC}/docs/sh_userfiles.txt ${DOCSDIR}
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>

View file

@ -1,3 +1,3 @@
MD5 (samhain_signed-2.2.1.tar.gz) = 24d9f7b5043266bed81cb66fd8786212
SHA256 (samhain_signed-2.2.1.tar.gz) = 822efb7c8c8025ed11e2296d1b2c204af1aece264c0f49e1ee4c457728fcbd14
SIZE (samhain_signed-2.2.1.tar.gz) = 1506866
MD5 (samhain_signed-2.2.4.tar.gz) = e6b981dd4d8f91f1fd73f2b011a3468c
SHA256 (samhain_signed-2.2.4.tar.gz) = 298ed40bb7115883e974ebcd677f6b5a3901c99b64a10c9a4f5eedb15a4207cf
SIZE (samhain_signed-2.2.4.tar.gz) = 1520568

View file

@ -1,16 +0,0 @@
--- src/sh_extern.c.orig Fri Apr 7 20:07:53 2006
+++ src/sh_extern.c Mon May 22 08:18:29 2006
@@ -1067,9 +1067,11 @@
*/
int sh_ext_add_default (const char * dummy)
{
- (void) dummy;
- char * p = NULL;
+ char * p;
int i;
+ (void) dummy;
+
+ p = NULL;
SL_ENTER(_("sh_ext_add_default"));
if (dummy[0] == 'n' || dummy[0] == 'N' ||

View file

@ -0,0 +1,15 @@
###############################################################
To start the samhain daemon at system boot, add:
samhain_enable="YES"
and/or
yule_enable="YES"
to /etc/rc.conf.
###############################################################

View file

@ -3,11 +3,11 @@
%%YULE%%sbin/yule_setpwd
%%YULE%%sbin/yule
%%YULE%%sbin/yulectl
%%YULE%%etc/rc.d/yule.sh.sample
%%YULE%%@unexec echo To delete the yule user permanently, use 'pw userdel ${USER}'"
%%YULE%%etc/rc.d/yule.sh
%%YULE%%@unexec echo "To delete the yule user permanently, use 'pw userdel ${USER}'"
%%YULE%%@unexec rmdir /var/lib/yule 2>/dev/null || true
%%SAMHAIN%%sbin/samhain
%%SAMHAIN%%etc/rc.d/samhain.sh.sample
%%SAMHAIN%%etc/rc.d/samhain.sh
%%SAMHAIN%%etc/samhainrc.sample
%%SAMHAIN%%@unexec rmdir /var/lib/samhain 2>/dev/null || true
%%SETPWD%%sbin/samhain_setpwd