Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 20099

Summary: New proposed ebuild: fwlogwatch-0.9.2, A packet filter and firewall log analyzer
Product: Gentoo Linux Reporter: Jan Henrik Gundelsby <jhg>
Component: New packagesAssignee: Martin Holzer (RETIRED) <mholzer>
Status: RESOLVED FIXED    
Severity: enhancement CC: blkdeath, brad
Priority: High Keywords: EBUILD
Version: unspecified   
Hardware: x86   
OS: Linux   
URL: http://www.kyb.uni-stuttgart.de/boris/software.shtml
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: ebuild
fwlogwatch 0.9.2 ebuild
Updated ebuild

Description Jan Henrik Gundelsby 2003-04-28 08:50:17 UTC
I just created this for personal use, may become a new ebuild in the portage tree?
Ebuild attached under additional information.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: $

P="fwlogwatch-0.9.2"
DESCRIPTION="A packet filter and firewall log analyzer"
HOMEPAGE="http://www.kyb.uni-stuttgart.de/boris/software.shtml"
SRC_URI="http://www.kyb.uni-stuttgart.de/boris/sw/${P}.tar.gz"
LICENSE="GPL-1"
SLOT="0"
KEYWORDS="x86"
IUSE=""
DEPEND=""
RDEPEND=""
S=${WORKDIR}/${P}

src_compile() {
        sed -e "s/^CFLAGS = /CFLAGS = ${CFLAGS} /g" Makefile >
${T}/Makefile.fwlogwatch
        mv -f ${T}/Makefile.fwlogwatch Makefile
        make || die 
}

src_install() {
        dosbin fwlogwatch
        dosbin contrib/fwlw_notify
        dosbin contrib/fwlw_respond
        dodir /var/fwlogwatch/contrib
        insinto /var/fwlogwatch/contrib
        doins contrib/fwlogsummary.cgi
        doins contrib/fwlogsummary_small.cgi
        doins contrib/fwlogwatch.php
        doins contrib
        insinto /etc
        doins fwlogwatch.config fwlogwatch.template 
        dodoc AUTHORS ChangeLog CREDITS COPYING README
        doman fwlogwatch.8
}
pkg_postinst() {
        einfo "The contrib-files can be found under /var/fwlogwatch/contrib."
}
Comment 1 Jan Henrik Gundelsby 2003-04-28 08:51:50 UTC
Created attachment 11246 [details]
ebuild
Comment 2 Stewart (RETIRED) gentoo-dev 2003-06-11 19:43:59 UTC
Created attachment 13134 [details]
fwlogwatch 0.9.2 ebuild

Updated ebuild; some minor cosmetic changes, and moved /var/fwlogwatch to
/usr/share/fwlogwatch. Otherwise, excellent build.

Suggest commit to net-analyzer/
Comment 3 Stewart (RETIRED) gentoo-dev 2003-06-11 19:59:34 UTC
Created attachment 13135 [details]
Updated ebuild

Re-added SLOT. My bad. :>
Comment 4 Brad Laue (RETIRED) gentoo-dev 2003-06-18 20:50:58 UTC
Committed