Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 88810 Details for
Bug 78124
Server version of DrWeb, an antivirus suit.
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
files/drweb-4.33-gentoo.patch
drweb-4.33-gentoo.patch (text/plain), 3.01 KB, created by
Jakub Moc (RETIRED)
on 2006-06-09 17:25:21 UTC
(
hide
)
Description:
files/drweb-4.33-gentoo.patch
Filename:
MIME Type:
Creator:
Jakub Moc (RETIRED)
Created:
2006-06-09 17:25:21 UTC
Size:
3.01 KB
patch
obsolete
>--- etc/init.d/drwebd.orig 2006-03-07 15:41:12.000000000 +0100 >+++ etc/init.d/drwebd 2006-06-09 23:59:38.000000000 +0200 >@@ -1,40 +1,36 @@ >-#!/bin/sh >-# >-# Dr.Web (R) init script >-# $Revision: 1.5 $ >-# >+#!/sbin/runscript >+# Copyright 1999-2006 Gentoo Foundation >+# Distributed under the terms of the GNU General Public License v2 >+# $Header: $ > >-BIN="drwebd" >-PROGRAM="/opt/drweb/$BIN" >-PIDFILE="/var/drweb/run/drwebd.pid" >+PID=/var/drweb/run/drwebd.pid >+SCVNAME="DrWeb daemon" > >-case "$1" in >- stop) >- echo -n "Shutting down Dr. Web daemon..." >- if [ -f $PIDFILE ] ; then >- kill `head -1 $PIDFILE` >- fi >- ;; >- reload) >- echo -n "Reloading Dr. Web daemon..." >- if [ -f $PIDFILE ] ; then >- kill -HUP `head -1 $PIDFILE` >- fi >- ;; >- restart) >- echo -n "Restarting Dr. Web daemon..." >- if [ -f $PIDFILE ] ; then >- kill `head -1 $PIDFILE` >- fi >- sleep 3 >- $PROGRAM >- ;; >- start) >- echo -n "Starting Dr. Web daemon..." >- $PROGRAM >- ;; >- *) >- echo $0: 'start|stop|restart|reload' >- ;; >-esac >+depend() { >+ need net >+} >+ >+start() { >+ ebegin "Starting ${SVCNAME}" >+ start-stop-daemon --quiet --start --pidfile ${PID} --exec /opt/drweb/drwebd >+ eend $? "Failed to start ${SVCNAME}" >+} > >+stop() { >+ ebegin "Stopping ${SVCNAME}" >+ start-stop-daemon --quiet --stop --pidfile ${PID} >+ eend $? "Failed to stop ${SVCNAME}" >+} >+ >+reload() { >+ ebegin "Reloading ${SVCNAME} ..." >+ if [[ -f ${PID} ]] ; then >+ kill -HUP `head -1 ${PID}` >+ fi >+ eend $? >+ >+restart() { >+ svc_stop >+ sleep 2 >+ svc_start >+} > >--- etc/drweb/drweb-log 1970-01-01 01:00:00.000000000 +0100 >+++ etc/drweb/drweb-log 2006-06-09 23:59:38.000000000 +0200 >@@ -0,0 +1,11 @@ >+/var/log/drweb/*.log { >+ rotate 4 >+ monthly >+ missingok >+ notifempty >+ compress >+ postrotate >+ /etc/init.d/syslog-ng reload > /dev/null 2>&1 || true >+ /etc/init.d/drwebd restart > /dev/null 2>&1 || true >+ endscript >+} > >--- etc/drweb/drweb32.ini.orig 2006-03-07 15:41:12.000000000 +0100 >+++ etc/drweb/drweb32.ini 2006-06-10 00:07:36.000000000 +0200 >@@ -32,7 +32,7 @@ > ; This path is used by the antivirus engine for creating temporary files. > ; /tmp would be used if TempPath is not defined. > ; Normally, the daemon attempts to avoid using TempPath. >-TempPath = "/var/drweb/spool" >+TempPath = "/var/spool/drweb" > > ;LngFileName = { path to the language resource file, usual extension - dwl } > ; Localization file location. >@@ -228,7 +228,7 @@ > ;LogFileName = "syslog" > ;SyslogFacility = "Daemon" > ;SyslogPriority = "Info" >-LogFileName = "/var/drweb/log/drwebd.log" >+LogFileName = "/var/log/drweb/drwebd.log" > > ;LimitLog = { Yes | No } > ; Enable/Disable limit for log file size. Parameter >@@ -611,7 +611,7 @@ > ;LogFileName = "syslog" > ;SyslogFacility = "Daemon" > ;SyslogPriority = "Info" >-LogFileName = "/var/drweb/log/drweb.log" >+LogFileName = "/var/log/drweb/drweb.log" > > ;LimitLog = { Yes | No } > ; Enable/Disable limit for log file size. Parameter
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 78124
:
48567
|
48568
|
61226
|
88809
| 88810