diff options
author | Aron Griffis <agriffis@gentoo.org> | 2004-08-18 16:42:13 +0000 |
---|---|---|
committer | Aron Griffis <agriffis@gentoo.org> | 2004-08-18 16:42:13 +0000 |
commit | 8f8ac31057be8ab9fb69ace422ac81cbc80849a5 (patch) | |
tree | beb1fd79a8773c889efdea3ebe5d5fa4e6e42541 /app-admin/syslog-ng | |
parent | Fix array stripping with patch from Chet #60127 (diff) | |
download | historical-8f8ac31057be8ab9fb69ace422ac81cbc80849a5.tar.gz historical-8f8ac31057be8ab9fb69ace422ac81cbc80849a5.tar.bz2 historical-8f8ac31057be8ab9fb69ace422ac81cbc80849a5.zip |
Add xargs into the init-script to make parsing conf file more robust #60487
Diffstat (limited to 'app-admin/syslog-ng')
-rw-r--r-- | app-admin/syslog-ng/ChangeLog | 5 | ||||
-rw-r--r-- | app-admin/syslog-ng/Manifest | 16 | ||||
-rw-r--r-- | app-admin/syslog-ng/files/syslog-ng.rc6 | 6 |
3 files changed, 15 insertions, 12 deletions
diff --git a/app-admin/syslog-ng/ChangeLog b/app-admin/syslog-ng/ChangeLog index fb69169de1ab..b2a60f638b6f 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-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/ChangeLog,v 1.64 2004/08/16 22:28:39 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/ChangeLog,v 1.65 2004/08/18 16:42:13 agriffis Exp $ + + 18 Aug 2004; Aron Griffis <agriffis@gentoo.org> files/syslog-ng.rc6: + Add xargs into the init-script to make parsing conf file more robust #60487 *syslog-ng-1.6.5 (16 Aug 2004) diff --git a/app-admin/syslog-ng/Manifest b/app-admin/syslog-ng/Manifest index a478cae3a297..e58ac18676ca 100644 --- a/app-admin/syslog-ng/Manifest +++ b/app-admin/syslog-ng/Manifest @@ -1,14 +1,14 @@ -MD5 95bcd03e078ccd0c90ef2a1ee14a63c4 ChangeLog 9989 -MD5 70bb2d5dfd0b8e1cdf52395aa51efdbc syslog-ng-1.6.4.ebuild 1613 -MD5 589e3519209fd75963d4de420dfa7b78 syslog-ng-1.6.2.ebuild 1766 MD5 1e59718f4b92bd26d38b9fd9834734a9 syslog-ng-1.6.0_rc3-r1.ebuild 2087 -MD5 06a2fa1e0308f065f818db6fae959fe9 metadata.xml 257 MD5 eeb51c744b6294939cd2ca552d8b4192 syslog-ng-1.6.5.ebuild 1623 +MD5 589e3519209fd75963d4de420dfa7b78 syslog-ng-1.6.2.ebuild 1766 +MD5 8070b37c49e44ac73891f63695d772a0 ChangeLog 10138 +MD5 06a2fa1e0308f065f818db6fae959fe9 metadata.xml 257 +MD5 70bb2d5dfd0b8e1cdf52395aa51efdbc syslog-ng-1.6.4.ebuild 1613 +MD5 f0f2cd6e0951bc82d74c7f92c4e3b417 files/syslog-ng.conf.sample 3735 +MD5 b48d452f2ef894e02ff2b247086944d6 files/digest-syslog-ng-1.6.2 67 MD5 d55e983790598d0428f0a439bd098d09 files/digest-syslog-ng-1.6.4 67 MD5 ed7691a108eb1acf100c3a7c540de262 files/digest-syslog-ng-1.6.5 67 -MD5 905946412f858f18a7991d93569a8619 files/syslog-ng.rc6 1491 MD5 2f74ad6ee4a5100535a90c156a866ecd files/digest-syslog-ng-1.6.0_rc3-r1 70 -MD5 ec03b691f321f282bc875862b147922c files/syslog-ng.conf.gentoo 1068 -MD5 f0f2cd6e0951bc82d74c7f92c4e3b417 files/syslog-ng.conf.sample 3735 +MD5 a21cc09cdd47f1858cc9e11c5d9cab33 files/syslog-ng.rc6 1498 MD5 fe66a527c7f36a560197b4187ad6d9db files/syslog-ng.logrotate 342 -MD5 b48d452f2ef894e02ff2b247086944d6 files/digest-syslog-ng-1.6.2 67 +MD5 ec03b691f321f282bc875862b147922c files/syslog-ng.conf.gentoo 1068 diff --git a/app-admin/syslog-ng/files/syslog-ng.rc6 b/app-admin/syslog-ng/files/syslog-ng.rc6 index 608dfc6f52bc..376f950057b5 100644 --- a/app-admin/syslog-ng/files/syslog-ng.rc6 +++ b/app-admin/syslog-ng/files/syslog-ng.rc6 @@ -1,13 +1,13 @@ #!/sbin/runscript # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/files/syslog-ng.rc6,v 1.14 2004/08/05 01:05:13 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/files/syslog-ng.rc6,v 1.15 2004/08/18 16:42:13 agriffis Exp $ opts="depend checkconfig start stop reload" depend() { - # make networking dependency conditional on configuration - sed 's/#.*//' /etc/syslog-ng/syslog-ng.conf | \ + # Make networking dependency conditional on configuration + sed 's/#.*//' /etc/syslog-ng/syslog-ng.conf | xargs | \ grep -Eq '(source|destination).*(tcp|udp)' && need net need clock hostname |