head	1.36;
access;
symbols
	RELEASE_8_3_0:1.32
	RELEASE_9_0_0:1.32
	RELEASE_7_4_0:1.30
	RELEASE_8_2_0:1.30
	RELEASE_6_EOL:1.28
	RELEASE_8_1_0:1.28
	RELEASE_7_3_0:1.28
	RELEASE_8_0_0:1.27
	RELEASE_7_2_0:1.26
	RELEASE_7_1_0:1.24
	RELEASE_6_4_0:1.24
	RELEASE_5_EOL:1.23
	RELEASE_7_0_0:1.22
	RELEASE_6_3_0:1.22
	PRE_XORG_7:1.21
	RELEASE_4_EOL:1.20
	RELEASE_6_2_0:1.19
	RELEASE_6_1_0:1.13
	RELEASE_5_5_0:1.13
	RELEASE_6_0_0:1.11
	RELEASE_5_4_0:1.7
	RELEASE_4_11_0:1.5
	RELEASE_5_3_0:1.4;
locks; strict;
comment	@# @;


1.36
date	2013.01.09.14.44.43;	author svnexp;	state Exp;
branches;
next	1.35;

1.35
date	2012.11.17.06.01.18;	author svnexp;	state Exp;
branches;
next	1.34;

1.34
date	2012.07.03.22.15.17;	author sbz;	state Exp;
branches;
next	1.33;

1.33
date	2012.06.29.16.41.36;	author az;	state Exp;
branches;
next	1.32;

1.32
date	2011.04.20.12.53.50;	author sbz;	state Exp;
branches;
next	1.31;

1.31
date	2011.03.18.10.04.53;	author sbz;	state Exp;
branches;
next	1.30;

1.30
date	2010.12.09.16.03.03;	author jadawin;	state Exp;
branches;
next	1.29;

1.29
date	2010.12.02.08.42.37;	author jadawin;	state Exp;
branches;
next	1.28;

1.28
date	2010.01.25.08.34.48;	author jadawin;	state Exp;
branches;
next	1.27;

1.27
date	2009.05.04.18.35.51;	author miwi;	state Exp;
branches;
next	1.26;

1.26
date	2009.03.19.20.35.40;	author miwi;	state Exp;
branches;
next	1.25;

1.25
date	2009.03.09.18.01.32;	author miwi;	state Exp;
branches;
next	1.24;

1.24
date	2008.06.06.14.01.04;	author edwin;	state Exp;
branches;
next	1.23;

1.23
date	2008.04.29.11.51.33;	author miwi;	state Exp;
branches;
next	1.22;

1.22
date	2007.10.20.23.51.21;	author miwi;	state Exp;
branches;
next	1.21;

1.21
date	2007.02.06.21.05.36;	author miwi;	state Exp;
branches;
next	1.20;

1.20
date	2006.11.08.09.28.29;	author farrokhi;	state Exp;
branches;
next	1.19;

1.19
date	2006.09.12.12.41.11;	author jmelo;	state Exp;
branches;
next	1.18;

1.18
date	2006.09.10.15.40.17;	author erwin;	state Exp;
branches;
next	1.17;

1.17
date	2006.09.06.01.30.47;	author linimon;	state Exp;
branches;
next	1.16;

1.16
date	2006.08.31.22.06.40;	author ahze;	state Exp;
branches;
next	1.15;

1.15
date	2006.07.12.22.06.38;	author itetcu;	state Exp;
branches;
next	1.14;

1.14
date	2006.04.29.00.49.20;	author mnag;	state Exp;
branches;
next	1.13;

1.13
date	2006.02.23.01.42.27;	author ehaupt;	state Exp;
branches;
next	1.12;

1.12
date	2006.01.02.23.19.50;	author edwin;	state Exp;
branches;
next	1.11;

1.11
date	2005.07.03.12.42.07;	author thierry;	state Exp;
branches;
next	1.10;

1.10
date	2005.06.14.18.52.04;	author niels;	state Exp;
branches;
next	1.9;

1.9
date	2005.06.13.14.13.37;	author niels;	state Exp;
branches;
next	1.8;

1.8
date	2005.05.18.16.37.52;	author barner;	state Exp;
branches;
next	1.7;

1.7
date	2005.03.26.22.18.09;	author kris;	state Exp;
branches;
next	1.6;

1.6
date	2005.01.29.00.02.30;	author pav;	state Exp;
branches;
next	1.5;

1.5
date	2004.10.12.08.15.16;	author linimon;	state Exp;
branches;
next	1.4;

1.4
date	2004.08.29.22.05.48;	author pav;	state Exp;
branches;
next	1.3;

1.3
date	2004.08.08.16.01.38;	author thierry;	state Exp;
branches;
next	1.2;

1.2
date	2004.07.25.21.23.47;	author pav;	state Exp;
branches;
next	1.1;

1.1
date	2004.05.15.14.00.59;	author krion;	state Exp;
branches;
next	;


desc
@@


1.36
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/310142
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r310142 | sbz | 2013-01-09 13:17:27 +0000 (Wed, 09 Jan 2013) | 2 lines
## SVN ##
## SVN ## - Convert to new option framework
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@# Created by: Radim Kolar
# $FreeBSD: head/security/rkhunter/Makefile 310142 2013-01-09 13:17:27Z sbz $

PORTNAME=	rkhunter
PORTVERSION=	1.4.0
CATEGORIES=	security
MASTER_SITES=	SF

MAINTAINER=	sbz@@FreeBSD.org
COMMENT=	Rootkit detection tool

LICENSE=	GPLv2

OPTIONS_DEFINE=	LSOF NMAP DOCS
OPTIONS_DEFAULT=LSOF

RUN_DEPENDS+=	p5-Digest-SHA1>=0:${PORTSDIR}/security/p5-Digest-SHA1 \
		${LOCALBASE}/bin/wget:${PORTSDIR}/ftp/wget

USE_PERL5=	yes
NO_BUILD=	yes
SUB_FILES=	415.${PORTNAME}

MAN8=		${PORTNAME}.8
MANCOMPRESSED=	no

PORTDOCS=	ACKNOWLEDGMENTS CHANGELOG FAQ LICENSE README

.include <bsd.port.pre.mk>

.if ${PORT_OPTIONS:MLSOF}
RUN_DEPENDS+=	lsof:${PORTSDIR}/sysutils/lsof
.endif

.if ${PORT_OPTIONS:MNMAP}
RUN_DEPENDS+=	nmap:${PORTSDIR}/security/nmap
.endif

post-patch:
	@@${REINPLACE_CMD} -e 's|{SHAREDIR}/man/man8|{PREFIX}/man/man8|g' \
		${WRKSRC}/installer.sh

do-install:
	cd ${WRKSRC} && ./installer.sh --layout custom ${PREFIX} --install
	${INSTALL_MAN} ${WRKSRC}/files/${PORTNAME}.8 \
		${MAN8PREFIX}/man/man8
	@@${MKDIR} ${PREFIX}/etc/periodic/security
	${INSTALL_SCRIPT} ${WRKDIR}/415.${PORTNAME} ${PREFIX}/etc/periodic/security
.if ${PORT_OPTIONS:MDOCS}
	@@${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/files/|} ${DOCSDIR}
.endif

post-install:
	${INSTALL_DATA} ${WRKSRC}/files/${PORTNAME}.conf ${PREFIX}/etc/${PORTNAME}.conf.sample
	@@if [ ! -f ${PREFIX}/etc/${PORTNAME}.conf ]; then \
		${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf ${PREFIX}/etc; \
	fi
	@@${CAT} ${PKGMESSAGE}

.include <bsd.port.post.mk>
@


1.35
log
@Switch exporter over
@
text
@d1 2
a2 6
# New ports collection makefile for:	rkhunter
# Date created:		15 May 2004
# Whom:			Radim Kolar
#
# $FreeBSD: head/security/rkhunter/Makefile 300897 2012-07-14 14:29:18Z beat $
#
a12 1
LICENSE_FILE=	${WRKSRC}/files/LICENSE
d14 2
a15 2
OPTIONS=	LSOF "Use LSOF" on \
		NMAP "Use NMAP" off
d31 1
a31 1
.if !defined(WITHOUT_LSOF)
d35 1
a35 1
.if defined(WITH_NMAP)
d49 1
a49 1
.if !defined(NOPORTDOCS)
@


1.34
log
@- Update to 1.4.0
- Make portlint happy
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.33
log
@- Remove SITE_PERL from *_DEPENDS

Approved by: portmgr@@ (bapt@@)
@
text
@d9 1
a9 2
PORTVERSION=	1.3.8
PORTREVISION=	1
@


1.32
log
@- Install sample configuration file
- Add LICENSE

PR:		ports/153024
Submitted by:	Trond Endrestøl <Trond.Endrestol at ximalas.info>
Approved by:	jadawin@@ (mentor)
@
text
@d23 1
a23 1
RUN_DEPENDS+=	${SITE_PERL}/${PERL_ARCH}/Digest/SHA1.pm:${PORTSDIR}/security/p5-Digest-SHA1 \
@


1.31
log
@Update my MAINTAINER address to sbz at FreeBSD.org.

Approved by:	jadawin@@ (mentor)
@
text
@d10 1
d17 3
d61 4
@


1.30
log
@- Really give maintainership to Sofian Brabez.

Pointyhat to:	jadawin@@ (myself)
@
text
@d13 1
a13 1
MAINTAINER=	sbrabez@@gmail.com
@


1.29
log
@- Update to 1.3.8
- Submitter is now maintainer

PR:		ports/152607
Submitted by:	Sofian Brabez <sbrabez AT gmail.com>
@
text
@d13 1
a13 1
MAINTAINER=	jadawin@@FreeBSD.org
@


1.28
log
@- Update to 1.3.6 [1]

PR:		ports/142962
Submitted by:	Sergiy Borodych <bor univ.kiev.ua>
[1] Done by:	jadawin@@ (myself)
@
text
@d9 1
a9 1
PORTVERSION=	1.3.6
d24 1
a24 1
SUB_FILES=	415.rkhunter
d26 1
a26 1
MAN8=		rkhunter.8
a28 1
DOCSDIR=	${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION}
d47 1
a47 1
	${INSTALL_MAN} ${WRKSRC}/files/rkhunter.8 \
d50 1
a50 1
	${INSTALL_SCRIPT} ${WRKDIR}/415.rkhunter ${PREFIX}/etc/periodic/security
@


1.27
log
@- Pass maintainership to jadawin
@
text
@d9 1
a9 1
PORTVERSION=	1.3.4
d29 2
a30 1
PORTDOCS=	CHANGELOG README WISHLIST
@


1.26
log
@- Fix build

Reported by:	pavbot
@
text
@d13 1
a13 1
MAINTAINER=	miwi@@FreeBSD.org
@


1.25
log
@- Update to 1.3.4
- Take over maintainership
@
text
@d41 4
@


1.24
log
@Bump portrevision due to upgrade of devel/gettext.

The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@@
Approved by:    portmgr (pav)
@
text
@d9 1
a9 2
PORTVERSION=	1.3.2
PORTREVISION=	1
d13 1
a13 1
MAINTAINER=	farrokhi@@FreeBSD.org
@


1.23
log
@- Update to 1.3.2

PR:		123204
Submitted by:	Lukasz Wasikowski <lukasz@@wasikowski.net>
Approved by:	maintainer implicit
@
text
@d10 1
@


1.22
log
@- Update to 1.3.0

PR:		117269
Submitted by:	Philippe Audeoud <jadawin@@tuxaco.net>
Approved by:	maintainer implicit
@
text
@d9 1
a9 1
PORTVERSION=	1.3.0
@


1.21
log
@- Updatet to 1.2.9

Approved by:	maintainer (implicit)
@
text
@d9 1
a9 1
PORTVERSION=	1.2.9
d11 1
a11 2
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}
d42 3
a44 2
	cd ${WRKSRC} && ./installer.sh --installdir ${PREFIX}
	${INSTALL_MAN} ${WRKSRC}/files/development/rkhunter.8 ${MAN8PREFIX}/man/man8
@


1.20
log
@Change my email address to farrokhi@@ in all ports that I maintain.
Approved by:	miwi (mentor)
@
text
@d9 1
a9 2
PORTVERSION=	1.2.8
PORTREVISION=	3
d11 2
a12 2
MASTER_SITES=	http://downloads.rootkit.nl/ \
		http://mirror.trouble-free.net/sources/
a22 1
WRKSRC=		${WRKDIR}/${PORTNAME}
@


1.19
log
@- Update mastersite.
- Pass maintainership to submitter.

PR:		ports/102933
Submitted by:	Babak Farrokhi <babak@@farrokhi.net>
@
text
@d15 1
a15 1
MAINTAINER=	babak@@farrokhi.net
@


1.18
log
@- Add periodic script to ease the maintenance
- Bump PORTREVISION

PR:		102968
Submitted by:	Gabor Kovesdan <gabor@@FreeBSD.org>
@
text
@d12 2
a13 1
MASTER_SITES=	http://downloads.rootkit.nl/
d15 1
a15 1
MAINTAINER=	ports@@FreeBSD.org
@


1.17
log
@Reset inactive maintainer who has not responded to email.

Hat:		portmgr
@
text
@d10 1
a10 1
PORTREVISION=	2
d26 1
d46 2
d54 1
a54 1
	    @@${CAT} ${PKGMESSAGE}
@


1.16
log
@Now builds on sparc64

Approved by:	maintainer timeout (7+ weeks)
@
text
@d14 1
a14 1
MAINTAINER=	vaidab@@safe-mail.net
@


1.15
log
@- Add OPTIONS for nmap (default on) and lsof (default off) RUN_DEPENDs for
additional checks
- bump portrevision

PR:		ports/99432
Submitted by:	Babak Farrokhi <babak@@farrokhi.net>
Approved by:	maintianer timeout
@
text
@a41 4
.if ${ARCH} == "sparc64"
BROKEN=		Does not build on sparc64
.endif

@


1.14
log
@- Preserv .conf file.
- Bump PORTREVISION

PR:		95553
Reported by:	Torfinn Ingolfsen <torfinn.ingolfsen___broadpark.no>
Approved by:	maintainer timeout (19 days)
@
text
@d10 1
a10 1
PORTREVISION=	1
d17 4
a20 1
RUN_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/Digest/SHA1.pm:${PORTSDIR}/security/p5-Digest-SHA1 \
d34 8
@


1.13
log
@- Update to 1.2.8
- Pacify portlint

PR:		93340
Submitted by:	Babak Farrokhi <babak@@farrokhi.net>
Approved by:	vaidab <vaidab@@Safe-mail.net> (maintainer)
@
text
@d10 1
d39 1
a39 1
	${MKDIR} ${DOCSDIR}
@


1.12
log
@update port security/rkhunter

	- Removed an obselete patch
	- Add pkg-message to show database update notice

PR:		ports/90737
Submitted by:	Babak Farrokhi <babak@@farrokhi.net>
@
text
@d9 1
a9 2
PORTVERSION=	1.2.7
PORTREVISION=	1
a21 1
USE_REINPLACE=	yes
d31 1
a31 1
BROKEN=		"Does not build on sparc64"
@


1.11
log
@Fix dependency and remove the ancient pkg-message.

PR:		82336
Submitted by:	Babak Farrokhi <babak (at) farrokhi.net>
Approved by:	maintainer time-out (> 15 days)
@
text
@d44 3
@


1.10
log
@Change MAINTAINER email back from babak@@farrokhi.net to
vaidab@@safe-mail.net. This was mistakenly changed during
yesterdays patch.

Approved by:	nectar (mentor)
@
text
@d10 1
d17 2
a18 4
RUN_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/Digest/SHA1.pm:${PORTSDIR}/security/p5-Digest-SHA1

# Wget has security holes, and rkhunter can use /usr/bin/fetch instead
#		wget:${PORTSDIR}/ftp/wget
a23 1
PKGMESSAGE=	${WRKDIR}/pkg-message
a35 3
post-patch:
	@@${SED} -e 's|PREFIX|${PREFIX}|g' ${FILESDIR}/pkg-message.in > ${PKGMESSAGE}

a42 1
	@@${CAT} ${PKGMESSAGE}
@


1.9
log
@Upgrade to version 1.2.7

PR:		ports/82193
Submitted by:	Babak Farrokhi
Approved by:	nectar (mentor)
@
text
@d13 1
a13 1
MAINTAINER=	babak@@farrokhi.net
@


1.8
log
@Update to 1.2.3

Submitted by:	maintainer
PR:		ports/79149
@
text
@d9 1
a9 1
PORTVERSION=	1.2.3
d13 1
a13 1
MAINTAINER=	vaidab@@safe-mail.net
@


1.7
log
@BROKEN on sparc64: Does not build

Approved by:    portmgr (self)
@
text
@d9 1
a9 1
PORTVERSION=	1.1.9
d16 4
a19 2
RUN_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/Digest/SHA1.pm:${PORTSDIR}/security/p5-Digest-SHA1 \
		wget:${PORTSDIR}/ftp/wget
@


1.6
log
@- Update to 1.1.9

PR:		ports/76699
Submitted by:	bugghy <vaidab@@safe-mail.net> (maintainer)
@
text
@d30 6
d48 1
a48 1
.include <bsd.port.mk>
@


1.5
log
@Update to 1.1.8.

Note to maintainer: your mailer is apparently changing tabs to spaces.
For short patches like this, it's possible to work around it; for
longer patches, it won't work at all.

PR:		ports/71680
Submitted by:	bugghy <bugghy at rootshell dot be> ( maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	1.1.8
d13 1
a13 1
MAINTAINER=	bugghy@@SAFe-mail.net
d16 2
a17 1
RUN_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/Digest/SHA1.pm:${PORTSDIR}/security/p5-Digest-SHA1
@


1.4
log
@- Update to 1.1.7

PR:		ports/71119
Submitted by:	bugghy <bugghy@@rootshell.be> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	1.1.7
@


1.3
log
@Upgrade to 1.1.4.

PR:		ports/70149
Submitted by:	maintainer.
@
text
@d9 1
a9 1
PORTVERSION=	1.1.4
@


1.2
log
@- Update to 1.1.3

PR:		ports/69574
Submitted by:	bugghy <bugghy@@rootshell.be>
@
text
@d9 1
a9 1
PORTVERSION=	1.1.3
d13 1
a13 1
MAINTAINER=	ports@@FreeBSD.org
d27 2
d37 1
a37 3
	${INSTALL_DATA} ${WRKSRC}/files/CHANGELOG ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/files/README ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/files/WISHLIST ${DOCSDIR}
@


1.1
log
@Add rkhunter 1.0.8,

Rootkit Hunter is scanning tool to ensure you for about 99.9%
you're clean of nasty tools.

This tool scans for rootkits, backdoors and local exploits by
running tests like:

- MD5/SHA1 hash compare
- Look for default files used by rootkits
- Wrong file permissions for binaries
- Look for suspected strings in LKM and KLD modules
- Look for hidden files
- Optional scan within plaintext and binary files

PR:		ports/66660
Submitted by:	Radim Kolar <hsn at netmag dot cz>
@
text
@d9 1
a9 1
PORTVERSION=	1.0.8
d22 1
a22 17

PLIST_DIRS=	rkhunter/scripts rkhunter/db rkhunter/docs rkhunter/tmp rkhunter
PLIST_FILES=	rkhunter/scripts/check_modules.pl \
		rkhunter/scripts/check_port.pl \
		rkhunter/scripts/filehashmd5.pl \
		rkhunter/scripts/filehashsha1.pl \
		bin/rkhunter \
		etc/rkhunter.conf \
		rkhunter/scripts/showfiles.pl \
		rkhunter/db/backdoorports.dat \
		rkhunter/db/mirrors.dat \
		rkhunter/db/os.dat \
		rkhunter/db/defaulthashes.dat \
		rkhunter/db/md5blacklist.dat \
		rkhunter/docs/CHANGELOG \
		rkhunter/docs/README \
		rkhunter/docs/WISHLIST
d27 3
a29 2
pre-install:
		${REINPLACE_CMD} -e "s,/usr/local,${PREFIX},g" ${WRKSRC}/installer.sh
d31 9
a39 2
		cd ${WRKSRC} && ./installer.sh
		${INSTALL_MAN} ${WRKSRC}/files/development/rkhunter.8 ${MAN8PREFIX}/man/man8
@

