head	1.10;
access;
symbols
	RELEASE_8_3_0:1.8
	RELEASE_9_0_0:1.8
	RELEASE_7_4_0:1.8
	RELEASE_8_2_0:1.8
	RELEASE_6_EOL:1.7
	RELEASE_8_1_0:1.7
	RELEASE_7_3_0:1.7
	RELEASE_8_0_0:1.7
	RELEASE_7_2_0:1.6
	RELEASE_7_1_0:1.6
	RELEASE_6_4_0:1.6
	RELEASE_5_EOL:1.5
	RELEASE_7_0_0:1.4
	RELEASE_6_3_0:1.4
	PRE_XORG_7:1.3
	RELEASE_4_EOL:1.3;
locks; strict;
comment	@# @;


1.10
date	2013.02.18.01.24.54;	author svnexp;	state Exp;
branches;
next	1.9;

1.9
date	2012.11.17.06.01.19;	author svnexp;	state Exp;
branches;
next	1.8;

1.8
date	2010.12.16.02.34.03;	author glarkin;	state Exp;
branches;
next	1.7;

1.7
date	2009.08.22.00.35.05;	author amdmi3;	state Exp;
branches;
next	1.6;

1.6
date	2008.06.06.14.01.04;	author edwin;	state Exp;
branches;
next	1.5;

1.5
date	2008.05.03.13.22.15;	author araujo;	state Exp;
branches;
next	1.4;

1.4
date	2007.05.19.20.22.52;	author flz;	state Exp;
branches;
next	1.3;

1.3
date	2006.12.22.02.51.16;	author kuriyama;	state Exp;
branches;
next	1.2;

1.2
date	2006.12.21.13.31.56;	author kuriyama;	state Exp;
branches;
next	1.1;

1.1
date	2006.11.15.21.33.51;	author miwi;	state Exp;
branches;
next	;


desc
@@


1.10
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/312468
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# Created by: Paul Schmehl <pauls@@utdallas.edu>
# $FreeBSD: head/security/sguil-client/Makefile 312468 2013-02-18 01:03:14Z miwi $

PORTNAME=	sguil-client
PORTVERSION=	0.8.0
CATEGORIES=	security
MASTER_SITES=	SF/sguil/sguil/sguil-${PORTVERSION}

MAINTAINER=	pauls@@utdallas.edu
COMMENT=	Sguil is a network security monitoring program

LIB_DEPENDS=	tls:${PORTSDIR}/devel/tcltls
RUN_DEPENDS=	dtplite:${PORTSDIR}/devel/tcllib \
		${LOCALBASE}/lib/tclx8.4/tclx.tcl:${PORTSDIR}/lang/tclX \
		${LOCALBASE}/lib/iwidgets/iwidgets.tcl:${PORTSDIR}/x11-toolkits/iwidgets \
		gpg2:${PORTSDIR}/security/gnupg

LICENSE_NAME=	QPLv1.0 COPYRIGHT
LICENSE_COMB=	multi
LICENSE_FILE=	${WRKSRC}/doc/LICENSE.QPL
LICENSE_PERMS=	auto-accept
LICENSE_FILE=	${WRKSRC}/client/lib/tablelist4.1/COPYRIGHT.txt
LICENSE_PERMS=	auto-accept

OPTIONS_DEFINE=	AUDIO SANCP WIRESHARK
AUDIO_DESC=	Install Festival Speech Synthesis
SANCP_DESC=	Use sancp
WIRESHARK_DESC=	Install wireshark

NO_BUILD=	yes
USE_TK_WRAPPER=	yes
USE_TCL=	yes
WRKSRC=		${WRKDIR}/sguil-${PORTVERSION}
SUB_LIST=	SGUILDIR=${SGUILDIR}
SUB_FILES=	pkg-message
PLIST_SUB=	SGUILDIR=${SGUILDIR}
SGUILDIR?=	sguil-client

PORTDOCS1=	README
PORTDOCS2=	CHANGES FAQ INSTALL INSTALL.openbsd OPENSSL.README TODO UPGRADE USAGE sguildb.dia

LIBFILES=	SguilUtil.tcl dkffont.tcl email17.tcl extdata.tcl sellib.tcl sancp.tcl \
		 sound.tcl guilib.tcl qrybuild.tcl qrylib.tcl report.tcl stdquery.tcl whois.tcl

.include <bsd.port.options.mk>

.if $(PORT_OPTIONS:MAUDIO)
RUN_DEPENDS+=	festival:${PORTSDIR}/audio/festival
.endif

.if ${PORT_OPTIONS:MSANCP}
RUN_DEPENDS+=	sancp:${PORTSDIR}/security/sancp
.endif

.if $(PORT_OPTIONS:MWIRESHARK)
RUN_DEPENDS+=	wireshark:${PORTSDIR}/net/wireshark
.endif

do-install:
	@@${MKDIR} ${PREFIX}/bin/${SGUILDIR}
	${INSTALL_SCRIPT} -m 751 ${WRKSRC}/client/sguil.tk \
		${PREFIX}/bin/${SGUILDIR}/sguil.tk
.for f in sguil.conf
	${INSTALL_DATA} ${WRKSRC}/client/${f} \
		${PREFIX}/etc/${f}-sample
.endfor
.for f in ${LIBFILES}
	@@${MKDIR} ${PREFIX}/bin/${SGUILDIR}/lib
	${INSTALL_DATA} ${WRKSRC}/client/lib/${f} ${PREFIX}/bin/${SGUILDIR}/lib/${f}
.endfor
.for f in sguil_logo_h.gif
	@@${MKDIR} ${PREFIX}/bin/${SGUILDIR}/images
	${INSTALL_DATA} ${WRKSRC}/client/lib/images/${f} \
		${PREFIX}/bin/${SGUILDIR}/images/${f}
.endfor

	(cd ${WRKSRC}/client/lib/tablelist4.1 && ${COPYTREE_SHARE} \* \
		${PREFIX}/bin/${SGUILDIR}/lib/tablelist4.1/)

.if ${PORT_OPTIONS:MDOCS}
	@@${MKDIR} ${DOCSDIR}
	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS1} ${DOCSDIR}
	cd ${WRKSRC}/doc && ${INSTALL_DATA} ${PORTDOCS2} ${DOCSDIR}
.endif
	@@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>
@


1.9
log
@Switch exporter over
@
text
@d1 2
a2 6
# New ports collection makefile for:	sguil-client
# Date created:				2 Nov 2006
# Whom:					Paul Schmehl <pauls@@utdallas.edu>
#
# $FreeBSD: head/security/sguil-client/Makefile 300897 2012-07-14 14:29:18Z beat $
#
d5 1
a5 2
PORTVERSION=	0.7.0
PORTREVISION=	2
a13 1
		gpg2:${PORTSDIR}/security/gnupg \
d15 2
a16 1
		${LOCALBASE}/lib/iwidgets/iwidgets.tcl:${PORTSDIR}/x11-toolkits/iwidgets
d18 15
a32 5
OPTIONS=	WIRESHARK "Install wireshark" off \
		AUDIO "Install Festival Speech Synthesis" off

NO_BUILD=	YES
WISH_CMD?=	wish8.4
d36 1
a36 1
PLIST_SUB=	SGUILDIR=${SGUILDIR} LIBDIR=${LIBDIR} IMAGEDIR=${IMAGEDIR} SCRIPTDIR=${SCRIPTDIR}
a37 22
LIBDIR?=	${SGUILDIR}/lib
IMAGEDIR?=	${LIBDIR}/tablelist4.1/images
SCRIPTDIR?=	${LIBDIR}/tablelist4.1/scripts

PORTDOCS=	CHANGES FAQ INSTALL INSTALL.openbsd LICENSE.QPL \
		OPENSSL.README TODO UPGRADE USAGE sguildb.dia

LIBFILES=	SguilUtil.tcl dkffont.tcl email17.tcl extdata.tcl guilib.tcl nessusheader.html \
		qrybuild.tcl qrylib.tcl report.tcl sancp.tcl sellib.tcl sound.tcl stdquery.tcl \
		whois.tcl

IMAGES=		DarkLineDown10x9.xbm DarkLineDown12x11.xbm DarkLineDown8x7.xbm DarkLineUp10x9.xbm \
		DarkLineUp12x11.xbm DarkLineUp8x7.xbm LightLineDown10x9.xbm LightLineDown12x11.xbm \
		LightLineDown8x7.xbm LightLineUp10x9.xbm LightLineUp12x11.xbm LightLineUp8x7.xbm \
		TriangleDown10x9.xbm TriangleDown12x11.xbm TriangleDown7x4.xbm TriangleDown7x7.xbm \
		TriangleDown8x5.xbm TriangleDown8x7.xbm TriangleDown9x5.xbm TriangleUp10x9.xbm \
		TriangleUp12x11.xbm TriangleUp7x4.xbm TriangleUp7x7.xbm TriangleUp8x5.xbm \
		TriangleUp8x7.xbm TriangleUp9x5.xbm checked.xbm unchecked.xbm

SCRIPTS=	mwutil.tcl repair.tcl tablelistBind.tcl tablelistConfig.tcl tablelistEdit.tcl \
		tablelistMove.tcl tablelistSort.tcl tablelistThemes.tcl tablelistUtil.tcl \
		tablelistWidget.tcl tclIndex
d39 7
a45 1
.include <bsd.port.pre.mk>
d47 2
a48 2
.if defined(WITH_WIRESHARK)
RUN_DEPENDS+=	wireshark:${PORTSDIR}/net/wireshark
d51 2
a52 2
.if defined(WITH_AUDIO)
RUN_DEPENDS+=	festival:${PORTSDIR}/audio/festival
d55 3
a57 5
post-patch:
.for f in sguil.tk
	@@${REINPLACE_CMD} -e 's:exec wish:exec ${PREFIX}/bin/${WISH_CMD}:g' \
		${WRKSRC}/client/${f}
.endfor
d68 2
a69 2
	@@${MKDIR} ${PREFIX}/bin/${LIBDIR}
	${INSTALL_DATA} ${WRKSRC}/client/lib/${f} ${PREFIX}/bin/${LIBDIR}/${f}
d71 4
a74 14
.for f in tablelist.tcl tablelistPublic.tcl COPYRIGHT.txt
	@@${MKDIR} ${PREFIX}/bin/${LIBDIR}/tablelist4.1
	${INSTALL_DATA} ${WRKSRC}/client/lib/tablelist4.1/${f} \
		${PREFIX}/bin/${LIBDIR}/tablelist4.1/${f}
.endfor
.for f in ${IMAGES}
	@@${MKDIR} ${PREFIX}/bin/${IMAGEDIR}
	${INSTALL_DATA} ${WRKSRC}/client/lib/tablelist4.1/images/${f} \
		${PREFIX}/bin/${IMAGEDIR}/${f}
.endfor
.for f in ${SCRIPTS}
	@@${MKDIR} ${PREFIX}/bin/${SCRIPTDIR}
	${INSTALL_DATA} ${WRKSRC}/client/lib/tablelist4.1/scripts/${f} \
		${PREFIX}/bin/${SCRIPTDIR}/${f}
d77 4
a80 1
.if !defined(NOPORTDOCS)
d82 2
a83 2
	cd ${WRKSRC}/doc && ${INSTALL_DATA} \
		${PORTDOCS} ${DOCSDIR}
d87 1
a87 1
.include <bsd.port.post.mk>
@


1.8
log
@- Chase security/libksba shlib version bump

Requested by:	kwm
Pointyhat to:	glarkin
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.7
log
@- Switch SourceForge ports to the new File Release System: categories starting with P,R,S
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.6
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
@d12 1
a12 2
MASTER_SITES=	SF
MASTER_SITE_SUBDIR=	sguil
@


1.5
log
@- Update to 0.7.0.

PR:		ports/122645, ports/122646, ports/122647
Submitted by:	Paul Schmehl <pauls@@utdallas.edu> (maintainer)
@
text
@d10 1
@


1.4
log
@- Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
@
text
@d9 1
a9 2
PORTVERSION=	0.6.1
PORTREVISION=	3
d11 1
a11 1
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
d17 1
d19 1
a19 1
		gpgv:${PORTSDIR}/security/gnupg1 \
d23 1
a23 2
OPTIONS=	TLS "Include openssl support" off \
		WIRESHARK "Install wireshark" off \
d41 2
a42 1
		qrybuild.tcl qrylib.tcl report.tcl sancp.tcl sellib.tcl sound.tcl stdquery.tcl whois.tcl
a57 4
.if defined(WITH_TLS)
LIB_DEPENDS+=	tls:${PORTSDIR}/devel/tcltls
.endif

@


1.3
log
@- Since security/gnupg (2.x) installs symlink $PREFIX/bin/gpg,
  depending on $PREFIX/bin/gpg for security/gnupg1 (1.4.x) is not
  correct.  To work around this, change dependency line from bin/gpg
  to bin/gpgv which exists in security/gnupg1 port only.

Spotted by:	ume
@
text
@d10 1
a10 1
PORTREVISION=	2
@


1.2
log
@- Upgrade gnupg to 2.0.1.  Old stable version (1.4.6) was repocopied
  to security/gnupg1.

Thanks to:	dougb, lofi
@
text
@d10 1
a10 1
PORTREVISION=	1
d19 1
a19 1
		gpg:${PORTSDIR}/security/gnupg1 \
@


1.1
log
@Sguil (pronounced "sgweel") is a graphical interface to snort,
an open source intrusion detection system.
The actual interface and GUI server are written in tcl/tk.
Sguil also relies on other open source software
in order to function properly.

The client requires gpg, iwidgets and other tcl packages and may
also use wireshark, festival and tls depending on your selection
of options.  Run "make config" in the port to see what options
are available.

Sguil currently functions as an analysis interface and has
no snort sensor or rule management capabilities.

WWW: http://sguil.sourceforge.net/index.php
pauls@@utdallas.edu

PR:		ports/105496
Submitted by:	Paul Schmehl <pauls at utdallas.edu>
@
text
@d10 1
d19 1
a19 1
		gpg:${PORTSDIR}/security/gnupg \
@

