diff --git a/package/alessandro/syslog-ng/syslog-ng.cache b/package/alessandro/syslog-ng/syslog-ng.cache index 327557634..d1380c6b5 100644 --- a/package/alessandro/syslog-ng/syslog-ng.cache +++ b/package/alessandro/syslog-ng/syslog-ng.cache @@ -6,7 +6,7 @@ [COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text! [COPY] [COPY] ROCK Linux: rock-src/package/alessandro/syslog-ng/syslog-ng.cache -[COPY] ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf +[COPY] ROCK Linux is Copyright (C) 1998 - 2004 Clifford Wolf [COPY] [COPY] This program is free software; you can redistribute it and/or modify [COPY] it under the terms of the GNU General Public License as published by diff --git a/package/alessandro/syslog-ng/syslog-ng.conf b/package/alessandro/syslog-ng/syslog-ng.conf new file mode 100644 index 000000000..7ca09d54f --- /dev/null +++ b/package/alessandro/syslog-ng/syslog-ng.conf @@ -0,0 +1,32 @@ +# --- ROCK-COPYRIGHT-NOTE-BEGIN --- +# +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# Please add additional copyright information _after_ the line containing +# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +# +# ROCK Linux: rock-src/package/alessandro/syslog-ng/syslog-ng.conf +# ROCK Linux is Copyright (C) 1998 - 2004 Clifford Wolf +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. A copy of the GNU General Public +# License can be found at Documentation/COPYING. +# +# Many people helped and are helping developing ROCK Linux. Please +# have a look at http://www.rocklinux.org/ and the Documentation/TEAM +# file for details. +# +# --- ROCK-COPYRIGHT-NOTE-END --- + +syslogng_postmake() +{ + install_init syslog-ng $confdir/syslog-ng.init + mkdir -p $root/etc/syslog-ng/ + if [ -f "$root/etc/syslog.conf" ]; then + contrib/syslog2ng < $root/etc/syslog.conf > $root/etc/syslog-ng/syslog-ng.conf + fi +} + +hook_add postmake 5 "syslogng_postmake" diff --git a/package/alessandro/syslog-ng/syslog-ng.desc b/package/alessandro/syslog-ng/syslog-ng.desc index af9cdff11..bf7b4daca 100644 --- a/package/alessandro/syslog-ng/syslog-ng.desc +++ b/package/alessandro/syslog-ng/syslog-ng.desc @@ -7,7 +7,7 @@ [COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text! [COPY] [COPY] ROCK Linux: rock-src/package/alessandro/syslog-ng/syslog-ng.desc -[COPY] ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf +[COPY] ROCK Linux is Copyright (C) 1998 - 2004 Clifford Wolf [COPY] [COPY] This program is free software; you can redistribute it and/or modify [COPY] it under the terms of the GNU General Public License as published by @@ -39,9 +39,8 @@ [C] base/system [L] OpenSource -[S] Gamma -[V] 1.6.0rc3 +[S] Stable +[V] 1.6.5 [P] X -?-3-----9 186.900 -[D] 1184476399 syslog-ng-1.6.0rc3.tar.gz http://www.balabit.hu/downloads/syslog-ng/1.6/src/ - +[D] 1128026683 syslog-ng-1.6.5.tar.gz http://www.balabit.com/downloads/syslog-ng/stable/src/ diff --git a/package/alessandro/syslog-ng/syslog-ng.init b/package/alessandro/syslog-ng/syslog-ng.init new file mode 100644 index 000000000..aab2e5ec0 --- /dev/null +++ b/package/alessandro/syslog-ng/syslog-ng.init @@ -0,0 +1,43 @@ +#!/bin/sh +# +# --- ROCK-COPYRIGHT-NOTE-BEGIN --- +# +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# Please add additional copyright information _after_ the line containing +# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +# +# ROCK Linux: rock-src/package/alessandro/syslog-ng/syslog-ng.init +# ROCK Linux is Copyright (C) 1998 - 2004 Clifford Wolf +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. A copy of the GNU General Public +# License can be found at Documentation/COPYING. +# +# Many people helped and are helping developing ROCK Linux. Please +# have a look at http://www.rocklinux.org/ and the Documentation/TEAM +# file for details. +# +# --- ROCK-COPYRIGHT-NOTE-END --- +# +# Desc: alternative linux system logging utilities +# Runlevel: 11 rcX +# + +main_begin + + block_begin(start, `Starting system log daemon syslog-ng.') + check(`D_prefix/sbin/syslog-ng') + block_split(`Starting kernel log daemon klogd.') + check(`D_prefix/sbin/klogd') + block_end + + block_begin(stop, `Stopping kernel log daemon klogd.') + check(`killall -15 klogd') + block_split(`Stopping system log daemon syslog-ng.') + check(`killall -15 syslog-ng') + block_end + +main_end