Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 705 - New versions of syslog-ng and libol
Summary: New versions of syslog-ng and libol
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Donny Davies (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-02-14 20:29 UTC by Jeld The Dark Elf
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeld The Dark Elf 2002-02-14 20:29:23 UTC
Although these versions are considered development, there are several nice new
features
which are important for proper and easy logging config. One of my favourites is
the "fallback" option which allows to log messages not logged by any other filter.
Comment 1 Jeld The Dark Elf 2002-02-14 20:32:49 UTC
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Donny Davies <woodchip@gentoo.org>
# Changes by Dmitriy Kropivnitskiy <nigde@mitechki.net> aka Jeld The Dark Elf
#
/space/gentoo/cvsroot/gentoo-x86/app-admin/syslog-ng/syslog-ng-1.4.12-r7.ebuild,v
1.3 2001/11/10 02:30:19 hallski Exp

S=${WORKDIR}/${P}
DESCRIPTION="Syslog-ng is a syslog replacement with advanced filtering features"
SRC_URI="http://www.balabit.hu/downloads/syslog-ng/1.5/${P}.tar.gz"
HOMEPAGE="http://www.balabit.hu/en/products/syslog-ng/"

RDEPEND="virtual/glibc >=dev-libs/libol-0.3.1"
DEPEND="sys-devel/flex"

src_compile() {
  ./configure --host=${CHOST} --prefix=/usr --sysconfdir=/etc || die
  emake CFLAGS="${CFLAGS} -I/usr/include/libol -D_GNU_SOURCE" \
        prefix=${D}/usr all || die "compile problem"
}

src_install() {
  make prefix=${D}/usr install || die
  rm -rf ${D}/usr/share/man

  dodoc AUTHORS COPYING ChangeLog INSTALL NEWS PORTS README
  cd doc
  dodoc syslog-ng.conf.sample syslog-ng.conf.demo stresstest.sh
  doman syslog-ng.8 syslog-ng.conf.5
  cd ${S}/doc/sgml
  dodoc syslog-ng.dvi syslog-ng.html.tar.gz syslog-ng.ps syslog-ng.sgml
syslog-ng.txt

  dodir /etc/syslog-ng
  insinto /etc/syslog-ng
  doins ${FILESDIR}/syslog-ng.conf.sample

  exeinto /etc/init.d
  newexe ${FILESDIR}/syslog-ng.rc6 syslog-ng
}
Comment 2 Jeld The Dark Elf 2002-02-14 20:33:46 UTC
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Bruce Locke <blocke@shivan.org>
# Changes by Dmitriy Kropivnitskiy <nigde@mitechki.net> aka Jeld The Dark Elf
# /space/gentoo/cvsroot/gentoo-x86/dev-libs/libol/libol-0.2.23.ebuild,v 1.5
2001/11/10 12:05:20 hallski Exp


S=${WORKDIR}/${P}
DESCRIPTION="Support library for syslog-ng"
SRC_URI="http://www.balabit.hu/downloads/libol/0.3/${P}.tar.gz"
HOMEPAGE="http://www.balabit.hu/en/products/syslog-ng/"

#DEPEND=">="

src_compile() {
        ./configure --host=${CHOST}                                     \
                    --prefix=/usr                                       \
                    --enable-shared                                     \
                    --enable-static                                     \
                    --disable-libtool-lock
        assert

        make CFLAGS="${CFLAGS}" ${MAKEOPTS} prefix=${D}/usr all || die
}

src_install() {
        make prefix=${D}/usr install || die

        dodoc ChangeLog 
}
Comment 3 Donny Davies (RETIRED) gentoo-dev 2002-02-18 19:16:46 UTC
please attach your files, im not cutting and pasting all this.

if they're develpment versions, maybe its not wise to include them?

PLEASE PLEASE if the changes to the existing ebuild are small, then
submiut as a patch!  This will get your submission processed faster
as its easier to digest it.

Sorry, try again.
Comment 4 Jeld The Dark Elf 2002-02-19 11:10:04 UTC
Unfortunately, for some reason attachments do not work for me. I always get "no
file specified" error when I try to create attachment. In future I will submit
patches, sorry.
I have tested these versions for few weeks and they seem to work very well, and
be very stable.