diff options
author | Benjamin Smee <strerror@gentoo.org> | 2005-12-24 23:28:04 +0000 |
---|---|---|
committer | Benjamin Smee <strerror@gentoo.org> | 2005-12-24 23:28:04 +0000 |
commit | 8d7e4dc653f4fb4c55bddb04a2fb152bfc53a806 (patch) | |
tree | 161992468be33a4295dbeee40460e6b459270e42 /net-analyzer/sguil-server | |
parent | Version bump (diff) | |
download | gentoo-2-8d7e4dc653f4fb4c55bddb04a2fb152bfc53a806.tar.gz gentoo-2-8d7e4dc653f4fb4c55bddb04a2fb152bfc53a806.tar.bz2 gentoo-2-8d7e4dc653f4fb4c55bddb04a2fb152bfc53a806.zip |
Version bump
(Portage version: 2.0.53)
Diffstat (limited to 'net-analyzer/sguil-server')
-rw-r--r-- | net-analyzer/sguil-server/ChangeLog | 8 | ||||
-rw-r--r-- | net-analyzer/sguil-server/Manifest | 14 | ||||
-rw-r--r-- | net-analyzer/sguil-server/files/digest-sguil-server-0.6.0_p1 | 1 | ||||
-rw-r--r-- | net-analyzer/sguil-server/sguil-server-0.6.0_p1.ebuild | 105 |
4 files changed, 116 insertions, 12 deletions
diff --git a/net-analyzer/sguil-server/ChangeLog b/net-analyzer/sguil-server/ChangeLog index bbf9d030b030..00a46c7c7fc7 100644 --- a/net-analyzer/sguil-server/ChangeLog +++ b/net-analyzer/sguil-server/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-analyzer/sguil-server # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/sguil-server/ChangeLog,v 1.1 2005/10/08 14:01:29 strerror Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/sguil-server/ChangeLog,v 1.2 2005/12/24 23:28:04 strerror Exp $ + +*sguil-server-0.6.0_p1 (24 Dec 2005) + + 24 Dec 2005; Benjamin Smee <strerror@gentoo.org> + +sguil-server-0.6.0_p1.ebuild: + Version bump *sguil-server-0.5.3 (08 Oct 2005) diff --git a/net-analyzer/sguil-server/Manifest b/net-analyzer/sguil-server/Manifest index 0a8fb7857056..99d90ba5c571 100644 --- a/net-analyzer/sguil-server/Manifest +++ b/net-analyzer/sguil-server/Manifest @@ -1,16 +1,8 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 9b034117cb3d3b420f9f45f4268c3cb7 ChangeLog 416 +MD5 7b9858fcfc0edaa09794c5c7c7275d8b ChangeLog 554 MD5 9f4730ccda90d1234e864f039ed296e1 files/digest-sguil-server-0.5.3 69 +MD5 c9ea8df29e35fe90b1b9e83613700ad0 files/digest-sguil-server-0.6.0_p1 71 MD5 0be733a9afedd03d8a6769142ec3a389 files/sguild.confd 616 MD5 b11d3d2b0472af4628e9b1caaa17e919 files/sguild.initd 1342 MD5 5355b4f79a0130d075711f0a54840239 metadata.xml 223 MD5 50beb04e878bd2e84eea0145a5cad66d sguil-server-0.5.3.ebuild 2866 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.2 (GNU/Linux) - -iD8DBQFDTnu9I1lqEGTUzyQRAmYBAJ9tx5huU4/+otvgXDgVFvrFO65eswCguxLp -vDIxcjSiYcTZwjuINdeh7WU= -=afP6 ------END PGP SIGNATURE----- +MD5 0aa072687580e692df3b6cbd5af1fd93 sguil-server-0.6.0_p1.ebuild 3007 diff --git a/net-analyzer/sguil-server/files/digest-sguil-server-0.6.0_p1 b/net-analyzer/sguil-server/files/digest-sguil-server-0.6.0_p1 new file mode 100644 index 000000000000..ce2d10968c8f --- /dev/null +++ b/net-analyzer/sguil-server/files/digest-sguil-server-0.6.0_p1 @@ -0,0 +1 @@ +MD5 5fd4234f2c9bbfb5fadac2a81dcc6a4a sguil-server-0.6.0p1.tar.gz 92009 diff --git a/net-analyzer/sguil-server/sguil-server-0.6.0_p1.ebuild b/net-analyzer/sguil-server/sguil-server-0.6.0_p1.ebuild new file mode 100644 index 000000000000..dd5199a4a24e --- /dev/null +++ b/net-analyzer/sguil-server/sguil-server-0.6.0_p1.ebuild @@ -0,0 +1,105 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/sguil-server/sguil-server-0.6.0_p1.ebuild,v 1.1 2005/12/24 23:28:04 strerror Exp $ + +inherit eutils ssl-cert + +MY_PV="${PV/_p/p}" +DESCRIPTION="Daemon for Sguil Network Security Monitoring" +HOMEPAGE="http://sguil.sourceforge.net" +SRC_URI="mirror://sourceforge/sguil/sguil-server-${MY_PV}.tar.gz" +LICENSE="QPL" +SLOT="0" +KEYWORDS="~x86" +IUSE="ssl" + +DEPEND=">=dev-lang/tcl-8.3 + >=dev-tcltk/tclx-8.3 + dev-tcltk/tcllib + dev-tcltk/mysqltcl + ssl? ( >=dev-tcltk/tls-1.4.1 )" +RDEPEND="${DEPEND} + net-analyzer/p0f + net-analyzer/tcpflow + net-misc/openssh" + +S="${WORKDIR}/sguil-${MY_PV}" + +pkg_setup() { + if built_with_use dev-lang/tcl threads ; then + eerror + eerror "Sguil does not run when tcl was built with threading enabled." + eerror "Please rebuild tcl without threads and reemerge this ebuild." + eerror + die + fi + enewgroup sguil + enewuser sguil -1 -1 /var/lib/sguil sguil +} + +src_unpack(){ + unpack ${A} + cd ${S}/server + sed -i -e 's:DEBUG 2:DEBUG 1:' -e 's:DAEMON 0:DAEMON 1:' \ + -e 's:SGUILD_LIB_PATH ./lib:SGUILD_LIB_PATH /usr/lib/sguild:g' \ + -e 's:/sguild_data/rules:/var/lib/sguil/rules:g' \ + -e 's:/sguild_data/archive:/var/lib/sguil/archive:g' \ + sguild.conf || die "sed failed" + sed -i -e 's:set VERSION "SGUIL-0.6.0":set VERSION "SGUIL-0.6.0p1":' \ + sguild || die "sed failed" +} + +src_install(){ + dodoc server/sql_scripts/* + dodoc doc/CHANGES doc/OPENSSL.README doc/USAGE doc/INSTALL \ + doc/TODO doc/sguildb.dia + + insopts -m640 + insinto /etc/sguil + doins server/{sguild.email,sguild.users,sguild.conf,sguild.queries,sguild.access,autocat.conf} + + insinto /usr/lib/sguild + doins server/lib/* + dobin server/sguild + newinitd "${FILESDIR}/sguild.initd" sguild + newconfd "${FILESDIR}/sguild.confd" sguild + + if use ssl + then + sed -i -e "s/#OPENSSL/OPENSSL/" "${D}/etc/conf.d/sguild" + + if ! [ -f ${ROOT}/etc/sguil/sguild.key ]; then + insinto /etc/sguil + docert sguild + fi + fi + + diropts -g sguil -o sguil + keepdir /var/run/sguil \ + /var/lib/sguil \ + /var/lib/sguil/archive \ + /var/lib/sguil/rules + +} + +pkg_postinst(){ + + if [ -d ${ROOT}/etc/snort/rules ] ; then + ln -s /etc/snort/rules ${ROOT}/var/lib/sguil/rules/${HOSTNAME} + fi + + einfo + einfo "Please customize the sguild configuration files in /etc/sguild before" + einfo "trying to run the daemon. Additionally you will need to setup the" + einfo "mysql database. See /usr/share/doc/${PF}/INSTALL.gz for information." + einfo "Please note that it is STRONGLY recommended to mount a separate" + einfo "filesystem at /var/lib/sguil for both space and performance reasons" + einfo "as a large amount of data will be kept in the directory structure" + einfo "underneath that top directory." + einfo + einfo "You should create the sguild db as per the instructions in" + einfo "/usr/share/doc/${PF}/INSTALL.gz and use the appropriate" + einfo "database setup script located in the same directory." + + einfo +} |