summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAron Griffis <agriffis@gentoo.org>2003-01-21 23:01:24 +0000
committerAron Griffis <agriffis@gentoo.org>2003-01-21 23:01:24 +0000
commit9365d05274321e610c6c6b3d9047afb70dc6c788 (patch)
tree3d9bf9d9af2e2c2ca12cfb0b6bddd5ad3ed518f4 /app-admin
parentadded missing digest (diff)
downloadgentoo-2-9365d05274321e610c6c6b3d9047afb70dc6c788.tar.gz
gentoo-2-9365d05274321e610c6c6b3d9047afb70dc6c788.tar.bz2
gentoo-2-9365d05274321e610c6c6b3d9047afb70dc6c788.zip
Bump rev to pick up fixed initscript
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/syslog-ng/ChangeLog5
-rw-r--r--app-admin/syslog-ng/files/digest-syslog-ng-1.4.16-r11
-rw-r--r--app-admin/syslog-ng/syslog-ng-1.4.16-r1.ebuild53
3 files changed, 58 insertions, 1 deletions
diff --git a/app-admin/syslog-ng/ChangeLog b/app-admin/syslog-ng/ChangeLog
index be75f4a531ab..49236e4396c3 100644
--- a/app-admin/syslog-ng/ChangeLog
+++ b/app-admin/syslog-ng/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-admin/syslog-ng
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/ChangeLog,v 1.18 2003/01/21 20:38:52 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/ChangeLog,v 1.19 2003/01/21 23:01:24 agriffis Exp $
+
+ 21 Jan 2003 Aron Griffis <agriffis@gentoo.org> syslog-ng-1.4.16-r1.ebuild:
+ Revision bump to pick up new initscript on the stable package.
21 Jan 2003 Aron Griffis <agriffis@gentoo.org> syslog-ng-1.5.24-r1.ebuild files/syslog-ng.rc6 :
Add a pause after stopping syslog-ng to allow it to stop, particularly in
diff --git a/app-admin/syslog-ng/files/digest-syslog-ng-1.4.16-r1 b/app-admin/syslog-ng/files/digest-syslog-ng-1.4.16-r1
new file mode 100644
index 000000000000..b005ce4bcf42
--- /dev/null
+++ b/app-admin/syslog-ng/files/digest-syslog-ng-1.4.16-r1
@@ -0,0 +1 @@
+MD5 eb5166569577093877427b9bdb17ab0b syslog-ng-1.4.16.tar.gz 22866
diff --git a/app-admin/syslog-ng/syslog-ng-1.4.16-r1.ebuild b/app-admin/syslog-ng/syslog-ng-1.4.16-r1.ebuild
new file mode 100644
index 000000000000..181b62c9bfe0
--- /dev/null
+++ b/app-admin/syslog-ng/syslog-ng-1.4.16-r1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/syslog-ng-1.4.16-r1.ebuild,v 1.1 2003/01/21 23:01:24 agriffis Exp $
+
+DESCRIPTION="Syslog-ng is a syslog replacement with advanced filtering features"
+SRC_URI="http://www.balabit.hu/downloads/syslog-ng/1.4/${P}.tar.gz"
+HOMEPAGE="http://www.balabit.hu/en/products/syslog-ng/"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="x86 ppc sparc "
+IUSE="tcpd"
+
+DEPEND="=dev-libs/libol-0.2.23
+ sys-devel/flex
+ tcpd? ( >=sys-apps/tcp-wrappers-7.6 )"
+
+src_compile() {
+ local myconf
+ use tcpd && myconf="--enable-tcp-wrapper"
+ econf ${myconf}
+
+ # configure script braindamage?
+# cd ${S}/src
+# mv Makefile Makefile.orig
+
+# use tcpd && ( sed -e "s|-lnsl|-lwrap|" Makefile.orig > Makefile || die "sed failure" )
+# use tcpd || ( sed -e "s|-lnsl||" Makefile.orig > Makefile || die "sed failure" )
+
+ emake prefix=${D}/usr all || die "compile problem"
+}
+
+src_install() {
+ einstall
+ rm -rf ${D}/usr/share/man
+
+ dodoc AUTHORS COPYING ChangeLog INSTALL NEWS PORTS README
+ dodoc doc/{syslog-ng.conf.sample,syslog-ng.conf.demo,stresstest.sh}
+ doman doc/{syslog-ng.8,syslog-ng.conf.5}
+ dodoc doc/sgml/{syslog-ng.dvi,syslog-ng.html.tar.gz,syslog-ng.ps,syslog-ng.sgml,syslog-ng.txt}
+
+ insinto /etc/syslog-ng
+ doins ${FILESDIR}/syslog-ng.conf.sample
+
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/syslog-ng.rc6 syslog-ng
+}
+
+pkg_postinst() {
+ einfo "A sample configuration file can be found in /etc/syslog-ng."
+ einfo "To convert your existing syslog.conf for use with syslog-ng,"
+ einfo "use the syslog2ng script in /usr/share/doc/${PF}."
+}