redlizard    15/01/04 21:12:56

  Modified:             ChangeLog
  Added:                flow-tools-0.68.5.1-r6.ebuild
  Log:
  Revbump to fix init script.
  
  (Portage version: 2.2.14-prefix/cvs/Linux x86_64, signed Manifest commit with 
key 0x10FB016B)

Revision  Changes    Path
1.75                 net-analyzer/flow-tools/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/flow-tools/ChangeLog,v
retrieving revision 1.74
retrieving revision 1.75
diff -u -r1.74 -r1.75
--- ChangeLog   28 Dec 2014 16:03:48 -0000      1.74
+++ ChangeLog   4 Jan 2015 21:12:56 -0000       1.75
@@ -1,6 +1,12 @@
 # ChangeLog for net-analyzer/flow-tools
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/flow-tools/ChangeLog,v 1.74 
2014/12/28 16:03:48 titanofold Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/flow-tools/ChangeLog,v 1.75 
2015/01/04 21:12:56 redlizard Exp $
+
+*flow-tools-0.68.5.1-r6 (04 Jan 2015)
+
+  04 Jan 2015; redlizard <redliz...@gentoo.org> +flow-tools-0.68.5.1-r6.ebuild,
+  files/flowcapture.initd:
+  Revbump to fix init script.
 
   28 Dec 2014; Aaron W. Swenson <titanof...@gentoo.org>
   flow-tools-0.68.5.1-r2.ebuild, flow-tools-0.68.5.1-r4.ebuild,



1.1                  net-analyzer/flow-tools/flow-tools-0.68.5.1-r6.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/flow-tools/flow-tools-0.68.5.1-r6.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/flow-tools/flow-tools-0.68.5.1-r6.ebuild?rev=1.1&content-type=text/plain

Index: flow-tools-0.68.5.1-r6.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/net-analyzer/flow-tools/flow-tools-0.68.5.1-r6.ebuild,v 
1.1 2015/01/04 21:12:56 redlizard Exp $

EAPI=5
inherit eutils user

DESCRIPTION="library and programs to collect, send, process, and generate 
reports from NetFlow data"
HOMEPAGE="http://code.google.com/p/flow-tools/";
SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.bz2";

LICENSE="BSD GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="debug mysql postgres ssl static-libs"

RDEPEND="sys-apps/tcp-wrappers
        sys-libs/zlib
        mysql? ( virtual/mysql )
        postgres? ( dev-db/postgresql )
        ssl? ( dev-libs/openssl )"

DEPEND="${RDEPEND}
        sys-devel/flex
        sys-devel/bison"

DOCS=( ChangeLog README SECURITY TODO )

pkg_setup() {
        enewgroup flows
        enewuser flows -1 -1 /var/lib/flows flows
}

src_prepare() {
        epatch "${FILESDIR}"/${P}-run.patch
        epatch "${FILESDIR}"/${P}-syslog.patch
}

src_configure() {
        econf \
                $(use_enable static-libs static) \
                $(usex mysql --with-mysql '') \
                $(usex postgres --with-postgresql=yes --with-postgresql=no) \
                $(usex ssl --with-openssl '') \
                --sysconfdir=/etc/flow-tools
}

src_install() {
        default

        prune_libtool_files

        exeinto /var/lib/flows/bin
        doexe "${FILESDIR}"/linkme

        keepdir /var/lib/flows/ft

        newinitd "${FILESDIR}/flowcapture.initd" flowcapture
        newconfd "${FILESDIR}/flowcapture.confd" flowcapture

        fowners flows:flows /var/lib/flows
        fowners flows:flows /var/lib/flows/bin
        fowners flows:flows /var/lib/flows/ft

        fperms 0755 /var/lib/flows
        fperms 0755 /var/lib/flows/bin
}

pkg_preinst() {
        enewgroup flows
        enewuser flows -1 -1 /var/lib/flows flows
}




Reply via email to