sagan-rules-20140617.ebuild 558 B

123456789101112131415161718192021222324252627282930
  1. # Copyright 1999-2015 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=4
  4. DESCRIPTION="Rules for Sagan log analyzer"
  5. HOMEPAGE="http://sagan.softwink.com/"
  6. SRC_URI="http://sagan.quadrantsec.com/rules/sagan-rules-06172014.tar.gz"
  7. LICENSE="BSD"
  8. SLOT="0"
  9. KEYWORDS="amd64 x86"
  10. IUSE="+lognorm"
  11. DEPEND=""
  12. RDEPEND="${DEPEND}"
  13. PDEPEND="app-admin/sagan"
  14. S=${WORKDIR}/rules
  15. src_install() {
  16. insinto /etc/sagan-rules
  17. doins ./*.config
  18. doins ./*rules
  19. doins ./*map
  20. if use lognorm ; then
  21. doins ./*normalize.rulebase
  22. fi
  23. }