Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 48567 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]
DrWeb version 4.32.2 ebuild
drweb-4.32.2.ebuild (text/plain), 3.03 KB, created by
Arhont
on 2005-01-15 12:07:33 UTC
(
hide
)
Description:
DrWeb version 4.32.2 ebuild
Filename:
MIME Type:
Creator:
Arhont
Created:
2005-01-15 12:07:33 UTC
Size:
3.03 KB
patch
obsolete
># Copyright 1999-2005 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: Exp $ > > >#IUSE="emul-linux-x86" > >inherit eutils > >MY_P="drweb-${PV}" >S=${WORKDIR}/${P}-glibc2.3 > >DESCRIPTION="DrWeb virus scaner for linux " >HOMEPAGE="http://www.drweb.com" >SRC_URI="http://download.drweb.com/files/unix/Linux/Generic/${MY_P}-glibc2.3.tar.gz" >DEPEND="" ># unzip and perl are needed for the updates.pl script >RDEPEND=">=app-arch/unzip-5.42-r1 > net-misc/wget > dev-lang/perl > dev-perl/libwww-perl" ># emul-linux-x86? >#( >=app-emulation/emul-linux-x86-baselibs-1.0 )" >PROVIDE="virtual/antivirus" > >SLOT="0" >LICENSE="DRWEB" >KEYWORDS="~x86 -ppc -sparc ~amd64" > >src_unpack() { > unpack ${MY_P}-glibc2.3.tar.gz > cd ${S} > epatch ${FILESDIR}/${PF}-gentoo.patch || die "epatch failed" >} > >src_install () >{ > cp -a ${S}/opt/ ${D}/opt || die "copy of opt dir failed" > cp -a ${S}/var/ ${D}/var || die "copy of var dir failed" > cp -a ${S}/etc/ ${D}/etc || die "copy of etc dir failed" > ># Create log dir in proper location > mkdir -p ${D}/var/log/drweb > mkdir -p ${D}/var/spool/drweb > ># Create drweb user/group > enewgroup drweb > enewuser drweb -1 /bin/false /var/drweb drweb > ># Chown drweb dirs > fowners drweb:drweb /opt/drweb/ > fowners drweb:drweb /opt/drweb/update > fowners drweb:drweb /var/drweb/{bases,infected,run,updates} > fowners drweb:drweb /etc/drweb/ > ># Chown logging and spooling directory in proper location > fowners drweb:drweb /var/log/drweb > fowners drweb:drweb /var/spool/drweb > >} > >pkg_postinst() { ># Check if fcrontab exists and add crontab entry > >if [ -x /usr/bin/fcrontab ]; then > echo "* */4 * * * if [ -x /opt/drweb/update/update.pl ]; then /opt/drweb/update/update.pl; fi" >/var/spool/cron/fcrontabs/drweb.orig > /usr/bin/fcrontab -u drweb -z >else > einfo "" > einfo " Create a cron entry for DrWeb auto updates in a similar manner:" > einfo "" > einfo " crontab -u drweb -e" > einfo "" > einfo " and Add the following line (change the frequency of update if required):" > einfo "" > einfo " * */4 * * * if [ -x /opt/drweb/update/update.pl ]; then /opt/drweb/update/update.pl; fi" > einfo "" >fi > ># Check if logrotate exists, copy logrotate file to /etc/logrotate.d >if [ -x /usr/sbin/logrotate ]; then > if [ ! -f /etc/logrotate.d/drweb-log ]; then > mv /etc/drweb/drweb-log /etc/logrotate.d > fi >else > einfo "" > einfo " DrWeb logrotate script has been provided. If required, install logrotate, edit /etc/drweb/drweb-log to your requirements and" > einfo " copy the script from /etc/drweb/drweb-log to /etc/logrotate.d/" > einfo "" >fi > > ># Delete drweb default log and spool dirs > rm -rf /var/drweb/log/ > rm -rf /var/drweb/spool/ > > einfo "" > einfo "IMPORTANT!!!" > einfo "" > einfo "If you don't have a license for DrWeb, go to http://download.drweb.com/demo/ to obtain a demo licence" > einfo "" > einfo "Additional information can be obtained from /opt/drweb/doc/readme.license" > einfo "" >}
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 Raw
Actions:
View
Attachments on
bug 78124
:
48567
|
48568
|
61226
|
88809
|
88810