From b4a2742d8bda1eb1c47a8d690da334b04f919fdb Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Mon, 2 Apr 2007 11:40:22 +0000 Subject: [PATCH] De bashify init script. Package-Manager: portage-2.1.2.3 --- app-antivirus/clamav/ChangeLog | 5 ++++- app-antivirus/clamav/Manifest | 16 ++++++++-------- app-antivirus/clamav/files/clamd.rc | 4 ++-- 3 files changed, 14 insertions(+), 11 deletions(-) diff --git a/app-antivirus/clamav/ChangeLog b/app-antivirus/clamav/ChangeLog index 710e1d0bb7e9..3f7666fd51c3 100644 --- a/app-antivirus/clamav/ChangeLog +++ b/app-antivirus/clamav/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for app-antivirus/clamav # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/ChangeLog,v 1.218 2007/03/28 18:17:38 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/ChangeLog,v 1.219 2007/04/02 11:40:22 uberlord Exp $ + + 02 Apr 2007; Roy Marples files/clamd.rc: + De bashify init script. 28 Mar 2007; Raúl Porcel clamav-0.90.ebuild: ia64 stable wrt bug 167201 diff --git a/app-antivirus/clamav/Manifest b/app-antivirus/clamav/Manifest index ba49f4960093..a92609daf820 100644 --- a/app-antivirus/clamav/Manifest +++ b/app-antivirus/clamav/Manifest @@ -18,10 +18,10 @@ AUX clamd.conf 193 RMD160 abebb5e1607e6819859b51e1a41b583c8266c6df SHA1 5b27737a MD5 e29ee77ca9bfe28ed18dbf67a9c90e75 files/clamd.conf 193 RMD160 abebb5e1607e6819859b51e1a41b583c8266c6df files/clamd.conf 193 SHA256 cd867dc66af694282584fa2cfd40a662ac2a7c25d6f2288b9afdc657a07226e3 files/clamd.conf 193 -AUX clamd.rc 2611 RMD160 1b7aca4e359965197e878f74ca5220146a9da179 SHA1 ac14080483affc3d66db38c86833e16f2c7120d0 SHA256 22ee3c3e3ff78884a4e8a25b0fde656594511c552094deeedd427d526ea91772 -MD5 0759b0e9f6a66bd869e9c7f439c54a8f files/clamd.rc 2611 -RMD160 1b7aca4e359965197e878f74ca5220146a9da179 files/clamd.rc 2611 -SHA256 22ee3c3e3ff78884a4e8a25b0fde656594511c552094deeedd427d526ea91772 files/clamd.rc 2611 +AUX clamd.rc 2612 RMD160 6866b38dad3bbe3796e5350ca9f1cefdd727b994 SHA1 49147a0a1eff66a06ed00d745f7efa43e0a11ffb SHA256 727280353537d3f0e1e69b2fcb7ea04555e09c87c894e4e90020196b7bebe763 +MD5 a5de4a0c4862bbae6b1c983867272153 files/clamd.rc 2612 +RMD160 6866b38dad3bbe3796e5350ca9f1cefdd727b994 files/clamd.rc 2612 +SHA256 727280353537d3f0e1e69b2fcb7ea04555e09c87c894e4e90020196b7bebe763 files/clamd.rc 2612 DIST clamav-0.88.7.tar.gz 9510548 RMD160 14d7c6255df618b16b704fc1cb5ce2b1385fa0e8 SHA1 7d7833dc454437ed7044b1c734f0a13e4dc1ead2 SHA256 702cb5928bff3d0e647a4a6b505d434e3a0f10f2af74bddac5239a200b92d1e2 DIST clamav-0.90.1.tar.gz 11643310 RMD160 1fd343d6510fea337a676e32bb1e4e404da4bd6d SHA1 d51f279fce2d702c3e97b2e08fe3b4b863f0acc6 SHA256 08a0255b4f6bdc4312eea6c118e79ecf684aed10640b45037d9dc5890c7687be DIST clamav-0.90.tar.gz 11575374 RMD160 1b22144d3a41376093b73bbeb5302092a18ca685 SHA1 574b84429b878df3a9d862ea386c970326850158 SHA256 c39005318d4a7d27d9710c3d71396b8c500e0bc5a184cb7392051c9ca9dea60d @@ -49,10 +49,10 @@ EBUILD clamav-0.90.ebuild 3958 RMD160 acabf30bc728a8edc824d14d7e965b858b324340 S MD5 1a6bb4a7e8d417feff74b768aaa216e9 clamav-0.90.ebuild 3958 RMD160 acabf30bc728a8edc824d14d7e965b858b324340 clamav-0.90.ebuild 3958 SHA256 ec400f0e7387af9362c5ee2d77cb686a227634f9caf638be381f2094e43b6ace clamav-0.90.ebuild 3958 -MISC ChangeLog 34653 RMD160 b55d1b48eb880d84ae3e7a39ef2f43c12af2008a SHA1 e0c0a0997a2de53b6c4747555817d179c29ebdfb SHA256 25e0b7d6bbe2b3df4d64429912e37f98469568a3bfeb03a3211f7d5d9d4ed1b5 -MD5 b81b94e44c97502afb1dbae5ec1aabdf ChangeLog 34653 -RMD160 b55d1b48eb880d84ae3e7a39ef2f43c12af2008a ChangeLog 34653 -SHA256 25e0b7d6bbe2b3df4d64429912e37f98469568a3bfeb03a3211f7d5d9d4ed1b5 ChangeLog 34653 +MISC ChangeLog 34746 RMD160 41197195c36a4da6eb62dbaddbdfbeaef99f38e9 SHA1 2bf507d22e662fef283bd6f8fd2cb5cd75152ff0 SHA256 6d8e99c8a79903dfaddf38ded27cd705c968880abcd462d5c8bff2cc4d80df07 +MD5 a87ae4cc811a9a3d9e9ca60ff564cd64 ChangeLog 34746 +RMD160 41197195c36a4da6eb62dbaddbdfbeaef99f38e9 ChangeLog 34746 +SHA256 6d8e99c8a79903dfaddf38ded27cd705c968880abcd462d5c8bff2cc4d80df07 ChangeLog 34746 MISC metadata.xml 184 RMD160 c37bff1fc1cd7139c91dae9b0fa5082e1d81f153 SHA1 cc0a188d9ad2411e78747326c62dd046bd5413c8 SHA256 d51011aa837db802ef539a1321a4af0a4a00879d475b92fd58f3c01df7320b58 MD5 7e32edfd72887a57b16ecd73f0f7a1a0 metadata.xml 184 RMD160 c37bff1fc1cd7139c91dae9b0fa5082e1d81f153 metadata.xml 184 diff --git a/app-antivirus/clamav/files/clamd.rc b/app-antivirus/clamav/files/clamd.rc index 309a8fc8c924..e2dfbb1a8f4a 100644 --- a/app-antivirus/clamav/files/clamd.rc +++ b/app-antivirus/clamav/files/clamd.rc @@ -1,7 +1,7 @@ #!/sbin/runscript # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/files/clamd.rc,v 1.12 2007/03/25 19:25:17 ticho Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/files/clamd.rc,v 1.13 2007/04/02 11:40:22 uberlord Exp $ opts="logfix" @@ -87,7 +87,7 @@ logfix() { # fix freshclam log permissions # (might be clobbered by logrotate or something) logfile=`awk '$1 == "UpdateLogFile" { print $2 }' /etc/freshclam.conf` - if [[ -n "${logfile}" && -n "${clamav_user}" ]]; then + if [ -n "${logfile}" -a -n "${clamav_user}" ]; then if [ ! -f "${logfile}" ]; then touch ${logfile} fi -- 2.26.2