From c5c31d7ac32d10c1a5b808b4e1dd2bb5bf45d88f Mon Sep 17 00:00:00 2001 From: Maxim Koltsov Date: Sun, 22 Apr 2012 16:00:50 +0000 Subject: Bump to 0.2.1, thanks to slepnoga Package-Manager: portage-2.1.10.56/cvs/Linux x86_64 --- app-admin/sagan/ChangeLog | 8 +++- app-admin/sagan/Manifest | 18 +++++--- app-admin/sagan/metadata.xml | 1 + app-admin/sagan/sagan-0.2.1.ebuild | 89 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 109 insertions(+), 7 deletions(-) create mode 100644 app-admin/sagan/sagan-0.2.1.ebuild (limited to 'app-admin/sagan') diff --git a/app-admin/sagan/ChangeLog b/app-admin/sagan/ChangeLog index e06be1d7b04d..fe2919f1537a 100644 --- a/app-admin/sagan/ChangeLog +++ b/app-admin/sagan/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-admin/sagan # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/sagan/ChangeLog,v 1.5 2012/04/07 17:56:55 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/sagan/ChangeLog,v 1.6 2012/04/22 16:00:50 maksbotan Exp $ + +*sagan-0.2.1 (22 Apr 2012) + + 22 Apr 2012; Maxim Koltsov +sagan-0.2.1.ebuild, + metadata.xml: + Bump to 0.2.1, thanks to slepnoga 07 Apr 2012; Markus Meier sagan-0.2.0-r1.ebuild: x86 stable, bug #402165 diff --git a/app-admin/sagan/Manifest b/app-admin/sagan/Manifest index ca9e6912e6bb..9f558786a36b 100644 --- a/app-admin/sagan/Manifest +++ b/app-admin/sagan/Manifest @@ -4,13 +4,19 @@ Hash: SHA1 AUX sagan.confd 239 RMD160 796438f167022580bf83fb95f90d2526a72e8d45 SHA1 bd1d0bc3f62c2e659467f8e5c1f83ffc64c379da SHA256 ef5a99015369648e88e32ec8325261b1bdf53900543f86b77fea5aeb6387de51 AUX sagan.init 611 RMD160 d9441b563b3db13f906ca92090aa7134d3c790dd SHA1 e7accaaadf4a796ce09cc8b0ea2b70fee124df28 SHA256 7a9d6129d5225a25c1d5dc83675d9ce456b71d22cb9b7920b1b2b7742be02d34 DIST sagan-0.2.0.tar.gz 329728 RMD160 5115728dd5901310289eb7562bbe0370c5512e74 SHA1 07a0beb7e7cbd40c3c9190f07bce38c4664e4323 SHA256 cda2d1e4c0e93403469d21af672957302eabebade346a1f67036ae7427f3e399 +DIST sagan-0.2.1.tar.gz 805823 RMD160 82c7d7611ae2a3b81dfa0f3ece5b5e4e85657520 SHA1 a736437aa0a2082fa9a976ad0431e8a78e460f58 SHA256 6c4fe7128a01c6f309bd181563c54cdf0abf2f623db78e0207f9c69176b15858 EBUILD sagan-0.2.0-r1.ebuild 2160 RMD160 a2b5d5090cb09d6b534e87f2e83a4c55235214cc SHA1 384e71885d6ed613fd5af63a36411fab16b3c02b SHA256 1a526bbecd1a892c2c084114e284fe2f1eb39534ee68e17145145b662f461b3e -MISC ChangeLog 931 RMD160 55105df5ca76002a1842dfc2d067392eb73c79b1 SHA1 ce5fadf5a707141646306cc7397a141b941057b8 SHA256 b5d777d618a83b51d4e2f71b0bc424fc1d7c89ba738baccf43a3e73a8255f0d1 -MISC metadata.xml 630 RMD160 7be66a77cd26b84fbeeb569f737a6510c570d774 SHA1 9d60541e8b8167e39c9da3a912c7c3b24f215a65 SHA256 bc0c7a590726478d244df074ca8e1e6045cb64b24d6a50be340abd2366ca0c03 +EBUILD sagan-0.2.1.ebuild 2244 RMD160 d7f0291ff1a568d8536c525c054cb5cbfa6917f6 SHA1 183912e0b9d79e936a97541f6978e6889aed6ffe SHA256 cbee0ad38b3d0167b2911f9ca7fbae04f929ded0910f5362ac721ecf97a62897 +MISC ChangeLog 1088 RMD160 0a95f42319256d5316ba029391145f66dc050548 SHA1 8b21fc361c504afb1d29f8ee8a538a9ebd47f0fd SHA256 eb0ca4261b16ffa108d0301941976b11dabc42c8889a242f0d34fece51b37ea1 +MISC metadata.xml 738 RMD160 61ab76b78d910e848a5aa35a0b445bf0be4b680e SHA1 0cee196eb681b18bd7f305b86267691a5472129c SHA256 c4ab5f553b2ae5b3a601d9e1a0cdb5bb25a6d8fde04c48094c59fc5157e2d4e0 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.17 (GNU/Linux) +Version: GnuPG v2.0.19 (GNU/Linux) -iEYEARECAAYFAk+AgJgACgkQkKaRLQcq0GJZDACggIMG+XFtDJ9qF+9YXmzbMs1f -rg8AnAwv6QGiHbsxpBsaeSVgrz85QG7k -=TZnj +iQEcBAEBAgAGBQJPlCtEAAoJEAmJmMX429re0swIALNdD1OnYElCUrWIXlcaMFYw +yDpgBeH4e6niSJ56p33LMqYREvnpU4PJeiaM7kW9OcbQXmHyTl/rt+5O/u37TZ9h +QcY7gZYIffziPWOnORQmerREOnL1HvutbGbkDQH1UBYbfu3OhztA5LxD2Ln6AV22 +kNosiGMhx5hrIigsyhyVw43cOr8QaCZNHW3wSaiIzh+BgpkqG5t9D9oOtQ8gxEIH +aSpNB/zpUd8vmHty/d4lgiuFU/WXXQS2LlINvY9BJlU8SzsorxS3b7rm1LBV9UiD +ihbgPxldx3K+QYPDV2Qakyy3obQr61FJWCGBWqdjzWKJo8NVBm8g6G5DdUDQUdo= +=3NjH -----END PGP SIGNATURE----- diff --git a/app-admin/sagan/metadata.xml b/app-admin/sagan/metadata.xml index b9836311ed5c..af8e988b6185 100644 --- a/app-admin/sagan/metadata.xml +++ b/app-admin/sagan/metadata.xml @@ -12,5 +12,6 @@ Add support for log/rules normalizations via dev-libs/liblognorm Add support for network packet capture via net-libs/libpcap Add support for dev-libs/libdnet + Add support to interact with Snort IDE using net-analyzer/snortsam' diff --git a/app-admin/sagan/sagan-0.2.1.ebuild b/app-admin/sagan/sagan-0.2.1.ebuild new file mode 100644 index 000000000000..c87410e89c04 --- /dev/null +++ b/app-admin/sagan/sagan-0.2.1.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/sagan/sagan-0.2.1.ebuild,v 1.1 2012/04/22 16:00:50 maksbotan Exp $ + +EAPI=4 + +inherit eutils autotools-utils + +DESCRIPTION="Sagan is a multi-threaded, real time system and event log monitoring system" +HOMEPAGE="http://sagan.softwink.com/" +SRC_URI="http://sagan.softwink.com/download/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="smtp mysql postgres prelude snort +lognorm +libdnet +pcap" + +DEPEND="dev-util/pkgconfig + ${RDEPEND}" + +RDEPEND="dev-libs/libpcre + app-admin/sagan-rules[lognorm?] + smtp? ( net-libs/libesmtp ) + pcap? ( net-libs/libpcap ) + mysql? ( virtual/mysql ) + postgres? ( dev-db/postgresql-base ) + prelude? ( dev-libs/libprelude ) + lognorm? ( dev-libs/liblognorm ) + libdnet? ( dev-libs/libdnet ) + snort? ( >=net-analyzer/snortsam-2.50 ) + " + +AUTOTOOLS_IN_SOURCE_BUILD=1 +DOCS=(AUTHORS ChangeLog FAQ INSTALL README NEWS TODO) + +pkg_setup() { + enewgroup sagan + enewuser sagan -1 -1 /dev/null sagan +} + +src_configure() { + local myeconfargs=( + $(use_enable mysql) + $(use_enable postgres postgresql) + $(use_enable smtp esmtp) + $(use_enable prelude ) + $(use_enable lognorm) + $(use_enable libdnet) + $(use_enable pcap libpcap) + $(use_enable snort snortsam) + ) + + autotools-utils_src_configure +} + +src_install() { + autotools-utils_src_install + + diropts -g sagan -o sagan -m 775 + + dodir /var/log/sagan + dodir /var/run/sagan + + keepdir /var/log/sagan + keepdir /var/run/sagan + + mkfifo -m 0640 "${ED}"/var/run/sagan.fifo + chown sagan.root "${ED}"/var/run/sagan.fifo + + touch "${ED}"/var/log/sagan/sagan.log + chown sagan.sagan "${ED}"/var/log/sagan/sagan.log + + newinitd "${FILESDIR}"/sagan.init sagan + newconfd "${FILESDIR}"/sagan.confd sagan + + insinto /usr/share/doc/${EP}/examples + doins -r extra/* +} + +pkg_postinst() { + if use smtp; then + ewarn "You have enabled smtp use flag. If you plan on using Sagan with" + ewarn "email, create valid writable home directory for user 'sagan'" + ewarn "For security reasons it was created with /dev/null home directory" + fi + + einfo "For configuration assistance see" + einfo "http://wiki.quadrantsec.com/bin/view/Main/SaganHOWTO" +} -- cgit v1.2.3-65-gdbad