diff options
author | Sam James <sam@gentoo.org> | 2021-03-12 15:35:19 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-03-12 15:35:23 +0000 |
commit | 409321d5479a254c2480ab786016db4650194138 (patch) | |
tree | f66e19323a4d2a02ba935c30ea9b851dc6bb12ab /app-admin/sagan | |
parent | sys-fs/dmraid: update metadata.xml USE (diff) | |
download | gentoo-409321d5479a254c2480ab786016db4650194138.tar.gz gentoo-409321d5479a254c2480ab786016db4650194138.tar.bz2 gentoo-409321d5479a254c2480ab786016db4650194138.zip |
app-admin/sagan: drop 1.0.0_rc3
Bug: https://bugs.gentoo.org/665814
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-admin/sagan')
-rw-r--r-- | app-admin/sagan/sagan-1.0.0_rc3.ebuild | 96 |
1 files changed, 0 insertions, 96 deletions
diff --git a/app-admin/sagan/sagan-1.0.0_rc3.ebuild b/app-admin/sagan/sagan-1.0.0_rc3.ebuild deleted file mode 100644 index e03a2f39f7e4..000000000000 --- a/app-admin/sagan/sagan-1.0.0_rc3.ebuild +++ /dev/null @@ -1,96 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools flag-o-matic user - -DESCRIPTION="Sagan is a multi-threaded, real time system and event log monitoring system" -HOMEPAGE="http://sagan.quadrantsec.com/" -SRC_URI="http://sagan.quadrantsec.com/download/sagan-1.0.0RC3.tar.gz" -S="${WORKDIR}/sagan-1.0.0RC3/" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="geoip +libdnet +lognorm mysql +pcap smtp snort" - -BDEPEND="virtual/pkgconfig" -RDEPEND="dev-libs/libpcre - app-admin/sagan-rules[lognorm?] - smtp? ( net-libs/libesmtp ) - pcap? ( net-libs/libpcap ) - mysql? ( virtual/mysql ) - lognorm? ( - dev-libs/liblognorm - dev-libs/json-c:= - dev-libs/libee - dev-libs/libestr - ) - libdnet? ( dev-libs/libdnet ) - snort? ( >=net-analyzer/snortsam-2.50 ) - geoip? ( dev-libs/geoip ) -" -DEPEND="${RDEPEND}" - -DOCS=( AUTHORS ChangeLog FAQ INSTALL README NEWS TODO ) - -PATCHES=( - "${FILESDIR}"/${PN}-1.0.0-liblognorm-json-c.patch -) - -pkg_setup() { - enewgroup sagan - enewuser sagan -1 -1 /dev/null sagan -} - -src_prepare() { - default - - eautoreconf -} - -src_configure() { - append-flags -fcommon - - local myeconfargs=( - $(use_enable smtp esmtp) - $(use_enable lognorm) - $(use_enable libdnet) - $(use_enable pcap libpcap) - $(use_enable snort snortsam) - $(use_enable geoip) - ) - - econf "${myeconfargs[@]}" -} - -src_install() { - default - - diropts -g sagan -o sagan -m 775 - - dodir /var/log/sagan - - keepdir /var/log/sagan - - touch "${ED}"/var/log/sagan/sagan.log || die - chown sagan.sagan "${ED}"/var/log/sagan/sagan.log || die - - newinitd "${FILESDIR}"/sagan.init-r1 sagan - newconfd "${FILESDIR}"/sagan.confd sagan - - docinto examples - dodoc -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" -} |