jer         15/02/11 16:51:48

  Modified:             ChangeLog
  Added:                snortalog-2.4.3-r1.ebuild
  Removed:              snortalog-2.4.3.ebuild
  Log:
  Fix CRLFs (bug #539764 by OKUMURA N. Shin-ya).
  
  (Portage version: 2.2.16/cvs/Linux x86_64, signed Manifest commit with key 
A792A613)

Revision  Changes    Path
1.27                 net-analyzer/snortalog/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/snortalog/ChangeLog?rev=1.27&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/snortalog/ChangeLog?rev=1.27&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/snortalog/ChangeLog?r1=1.26&r2=1.27

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/snortalog/ChangeLog,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- ChangeLog   17 Jul 2014 13:24:15 -0000      1.26
+++ ChangeLog   11 Feb 2015 16:51:48 -0000      1.27
@@ -1,6 +1,12 @@
 # ChangeLog for net-analyzer/snortalog
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/snortalog/ChangeLog,v 1.26 
2014/07/17 13:24:15 jer Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/snortalog/ChangeLog,v 1.27 
2015/02/11 16:51:48 jer Exp $
+
+*snortalog-2.4.3-r1 (11 Feb 2015)
+
+  11 Feb 2015; Jeroen Roovers <[email protected]> -snortalog-2.4.3.ebuild,
+  +snortalog-2.4.3-r1.ebuild:
+  Fix CRLFs (bug #539764 by OKUMURA N. Shin-ya).
 
 *snortalog-2.4.3 (17 Jul 2014)
 



1.1                  net-analyzer/snortalog/snortalog-2.4.3-r1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/snortalog/snortalog-2.4.3-r1.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/snortalog/snortalog-2.4.3-r1.ebuild?rev=1.1&content-type=text/plain

Index: snortalog-2.4.3-r1.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/net-analyzer/snortalog/snortalog-2.4.3-r1.ebuild,v 1.1 
2015/02/11 16:51:48 jer Exp $

EAPI=5
inherit eutils

MY_P="${PN}_v${PV}"

DESCRIPTION="a powerful perl script that summarizes snort logs"
HOMEPAGE="http://jeremy.chartier.free.fr/snortalog/";
SRC_URI="${HOMEPAGE}downloads/${PN}/${MY_P}.tar"
LICENSE="GPL-2"
SLOT="0"

KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86"
IUSE="tk"

RDEPEND="
        dev-lang/perl
        dev-perl/HTML-HTMLDoc
        virtual/perl-DB_File
        virtual/perl-Getopt-Long
        tk? ( dev-perl/perl-tk dev-perl/GDGraph )
"

S=${WORKDIR}

src_prepare() {
        edos2unix $(find conf/ modules/ -type f) ${PN}.* CHANGES

        # fix paths, erroneous can access message
        sed -i \
                -e "s:\(modules/\):/usr/lib/snortalog/${PV}/\1:g" \
                -e 's:\($domains_file = 
"\)conf/\(domains\)\(".*\):\1/etc/snortalog/\2\3:' \
                -e 's:\($rules_file = 
"\)conf/\(rules\)\(".*\):\1/etc/snortalog/\2\3:' \
                -e 's:\($picts_dir ="\)picts\(".*\):\1/etc/snortalog/picts\2:' \
                -e 's:\($hw_file = 
"\)conf/\(hw\)\(".*\):\1/etc/snortalog/\2\3:' \
                -e 's:\($lang_file 
="\)conf/\(lang\)\(".*\):\1/etc/snortalog/\2\3:' \
                -e 's:Can access:Cannot access:' \
                snortalog.pl || die
}

src_install () {
        dobin snortalog.pl

        insinto /etc/snortalog
        doins conf/{domains,hw,lang,rules}

        insinto /etc/snortalog/picts
        doins picts/*

        insinto /usr/lib/snortalog/${PV}/modules
        doins -r modules/*

        dodoc CHANGES doc/snortalog_v2.2.1.pdf
}




Reply via email to