You are not logged in.

#1 2006-03-13 11:57:07

Back2Cali
Member
From: Germany
Registered: 2006-02-26
Posts: 223

H+BEDV Free AntiVir

H+BEDV has released their new AntiVir Version for Linux Workstation.
There are several new features implemented. You also do not longer have to register via mail to use it.
Is there anybody who could write an PKGBUILD for it? I'm still a beginner so I don't know how to handle it especialls dealing with PKGBUILDs if there's only an shell script to install the software.   :oops:

Thanks!

Offline

#2 2006-03-13 13:28:31

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: H+BEDV Free AntiVir

Can you post a link? I know H+BEDV are the guys who wrote dazuko, but if I follow links from dazuko.org, I end up at avira.com, where it looks everything has a price. Is there actually a free version available? It will be hard to write and test a PKGBUILD otherwise.

Offline

#3 2006-03-13 20:51:43

Back2Cali
Member
From: Germany
Registered: 2006-02-26
Posts: 223

Re: H+BEDV Free AntiVir

Uups.... totally forgot the link.... sorry.

You can find the english version at www.free-av.com
There's also a german one at www.free-av.de

Thanks!

Offline

#4 2006-03-13 23:05:30

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: H+BEDV Free AntiVir

OK - that's a long script, and I don't have time to pick it apart right now. There's a shortcut we could take, but you'd  need to volunteer for it - that is, install it using their script, and then post a list of which files are installed where. Nothing's being compiled here, AFAICS, so if we know where things are meant to end up, that's a good start. I think a user may be created at some point - we'd need to know about things like that too.

Offline

#5 2006-03-14 10:03:24

Back2Cali
Member
From: Germany
Registered: 2006-02-26
Posts: 223

Re: H+BEDV Free AntiVir

Since I usually don't roll up things like this you may tell me what's the best method to get a list of things that changed while installing AntiVir. Don't know how to check this out except having a loot into all directories where something may have changed.

I'm Gonna check this out on a friends computer because he already installed AntiVir using the script, so I don't have to do (since I don't know if it can be easily uninstalled if I don't like what I see... hehehehe) lol

Just let me know the best way to find out what changed during the install.

Thanks!

Offline

#6 2006-03-14 10:45:11

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: H+BEDV Free AntiVir

doc/MANUAL says:

The script will do the following
- copy files to /usr/lib/AntiVir
- copy configuration files to /etc
- create links in /usr/bin and /usr/sbin (if desired)
- create links in rc.d directory (if desired)
- run a configuration script (if desired)

So it's really the /usr/lib and /etc stuff that we need - we can do our own symlinks and rc.d script.

Offline

#7 2006-03-16 18:06:22

Back2Cali
Member
From: Germany
Registered: 2006-02-26
Posts: 223

Re: H+BEDV Free AntiVir

The output of ls -R /usr/lib/AntiVir/ was this:

/usr/lib/AntiVir/:
agent    antivir0.vdf  antivir2.vdf  antivir-gui    gui        personaledition_classic.key
antivir  antivir1.vdf  antivir3.vdf  configantivir  hbedv.key  updcomp

/usr/lib/AntiVir/agent:
rcscript

/usr/lib/AntiVir/gui:
bin  cert  legal  lib  resources  src

/usr/lib/AntiVir/gui/bin:
antivir_start  avgu_stats  avgu_stats.lck

/usr/lib/AntiVir/gui/cert:
cacert.jks  cacert.pem  client.jks
server.pem

/usr/lib/AntiVir/gui/legal:
LICENSE.apache  LICENSE.gpl    LICENSE.lgpl  LICENSE.nanoxml  LICENSE.skinlf  README
LICENSE.cpl    LICENSE.gsoap  LICENSE.md5  LICENSE.sixlegs  LICENSE.sun

/usr/lib/AntiVir/gui/lib:
antivirskin.jar                  de_antivir_avguard_panel.jar      de_antivir_avscanner_panel.jar  de_antivir_common_panel.jar
de_antivir_avguard_local.jar    de_antivir_avscanner_local.jar    de_antivir_common_local.jar
    de_antivir_framework.jar
de_antivir_avguard_media.jar    de_antivir_avscanner_media.jar    de_antivir_common_media.jar    de_antivir_framework_media.jar
de_antivir_avguard_messages.jar  de_antivir_avscanner_messages.jar  de_antivir_common_messages.jar  ext

/usr/lib/AntiVir/gui/lib/ext:
activation.jar  axis.jar  commons-discovery.jar  commons-logging.jar  jaxrpc.jar  mail.jar  saaj.jar  skinlf.jar  wsdl4j.jar

/usr/lib/AntiVir/gui/resources:
framework.properties  modules.properties

/usr/lib/AntiVir/gui/src:
antivir_start.c

/usr/lib/AntiVir/updcomp:

The config file should be /etc/antivir.conf


If you need the original logfile created during installation let me know. I won't post it unless it's really important. It's recording all your answers, license stuff and things like that, so it's quite large.  smile

If anything else is needed, just let me know!

Offline

#8 2006-03-16 20:18:55

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: H+BEDV Free AntiVir

Can you upload the log file somewhere and post a link to it? I can work with the rest in the meantime.

Offline

#9 2006-03-17 08:11:24

Back2Cali
Member
From: Germany
Registered: 2006-02-26
Posts: 223

Re: H+BEDV Free AntiVir

I don't have webspace so I'm gonna post it anyway:

neo:/home/ndb/debian/antivir-workstation-pers-2.1.5-24# ./install

Starting AntiVir for UNIX Workstation 2.1.5-24 installation...

Before installing this software, you must agree to the terms
of the license.

Use the arrow keys to scroll through the license. When you
are finished reading, press 'q' to exit the viewer.

Press <ENTER> to view the license.

The copyright to this software is owned by

H+BEDV Datentechnik GmbH
Tjark Auerbach; Managing Director
Lindauer Stra 21
88069 Tettang
www.antivir.de
www.hbedv.com
- hereinafter the "Licensor" -

It is an offence to reproduce or distribute this Software or parts
thereof without authorisation. Such actions can lead to criminal
or civil proceedings resulting in severe penalties or damage
claims.

The Licensor grants you - hereinafter the "Licensee" - use of
this Software subject to the following licensing conditions:

1       Object of Licence

1) The Agreement refers to the present computer program in the
released, full version including the licence file necessary for
its release ("Software") together with the program description,
user manual and other accompanying literature ("Documentation").

2) The main program is transferred to the Licensee by order via
sealed data carriers or by downloading from the Licensor's website.
Until a licence file is purchased, the main program can only
be used as a limited test version. In order to use all functions,
the Licensee must purchase a Licence file from the Licensor or
an authorised dealer. The Licence file is transferred to the
Licensee by sending a sealed data carrier or, at the Licensee's
request and in some cases at the Licensor's option, by email.
If the main program or Licence file is downloaded by the Licensee,
the transfer is deemed to have taken place on completion of the
download. The main program is accompanied by the Documentation;
this is supplied by the Licensor irrespective of the mode of
software transfer, either as a printed version or as a file in
a universal format (e.g. hlp, txt or pdf). If the Licensee obtains
the Software by downloading it from the Licensor's server by
modem or internet, he also obtains the Documentation in the same
way.

3) The Software detailed in the Documentation conforms to the
latest technological standard. The Licensee is reminded that
it is not possible according to current technological standards
to produce software which is guaranteed to operate error-free
with all applications and in all combinations (especially with
third-party software).

4) The Software must not be used in hazardous environments requiring
continuous fail-safe performance (high risk activities such as
the operation of nuclear facilities, weapons systems, aircraft
navigation or communication systems and life-support machines).

2       Scope of use

The Licensor grants the Licensee a non-exclusive, non-transferable
right to use one copy of the Software subject to the terms and
conditions of this agreement - particularly with regard to the
type and quantity of computers - ("Licence"). The scope of the
Licence is detailed in the file LIC-INFO.TXT supplied with the
Licence file.

3       Reproduction rights and distribution of Software

1) The Licensee may copy the Software to the extent necessary
for its use. This includes installing the Software from the original
data carrier or downloaded installation archive in the mass memory
of the hardware according to  2 and loading the Software into
the working memory in order to use it.

2) In addition, the Licensee may make a copy of the Software for
backup purposes. Only one backup copy of the original data carrier
or downloaded installation archive may be produced and/or stored.
This backup must be identified as a copy of the purchased Software.

3) Where regular backups of the entire data stocks including the
relevant programs are part of an indispensable routine for reasons
of data security or ensuring a rapid reactivation of the computer
system following a crash, the Licensee may make the number of
backup copies absolutely necessary. The relevant data carriers
must be identified accordingly. The backup copies must be used
exclusively for archiving purposes.

4) The Licensee is obliged to take suitable precautions to prevent
unauthorised third-party access to the Software and Documentation.
The term "third party" also applies to subsidiaries of the Licensee.
The original data carriers and backup copies must be stored in
a place where they are protected from third-party access. The
staff of the Licensee must be explicitly instructed to observe
the present contractual terms and copyright provisions.

5) The Licensee is not permitted,
a.subject to the exceptions explicitly granted in this Agreement,
to make any other copies whether partial or whole of the Software
or Documentation on the same or other carriers; this also applies
to the printing out of the program code;

b.to transfer the Software from one computer via a network or
other data transmission channel to another computer or receiving
device unless the computer or other device at the receiving end
is owned by the Licensee and covered by the terms of this Agreement;

c.without the written permission of the Licensor to modify, translate,
reverse-engineer, decompile or disassemble the Software or create
derivative works therefrom or, unless essential under the contractual
terms of use, to copy, translate or modify the Documentation
or create derivative works therefrom;

d.to remove copyright notices, serial numbers or other program
identification features unless prior written permission has been
granted by the Licensor;

e.to pass on the Software to a third party or make it accessible
to a third party in any other form. This also applies to copies
of the Software. The term "third party" includes all subsidiaries
of the Licensee; distribution of the Software within the group
of companies for exclusive use at the new location is permissible
subject to the written consent of the Licensor which may only
be refused for a good reason. In this case, compliance must be
ensured with  2 and  3 "Scope of use" and the other items agreed
in the present Contract and any subsidiary agreements. After
passing on the Software, the Licensee must delete it and any
backup copies fully and immediately from the previous location
within the group of companies;

f.to transfer the Software or Documentation or parts thereof to
a third party by way of a temporary hire or leasing arrangement.


4       Other rights relating to the Software

In implementing the present agreement, the Licensee acquires full
rights only to the physical data carriers containing the Software
and Documentation. Rights of exploitation and use of the Software
and Documentation are only acquired to the extent explicitly
stated in the present Agreement. The Licensor retains in particular
all rights of publication, reproduction, editing, translation
and other forms of exploitation in respect of the Software.

5       Term of agreement and termination

1) The Licensor is authorised to use the Software and Documentation
for an unlimited period.

2) This shall not affect the right of both parties to give premature
notice of termination for a good reason. In particular, the Licensor
has the right of termination without notice in the event of a
major breach of contractual obligations by the Licensee.

3) After notice of termination, the Licensee is obliged to delete
the Software completely, particularly the original data carrier,
any backup copies and the Software files installed on his computer
system, and to return the Documentation. The Licensor is entitled
to demand from the Licensee a solemn declaration that this deletion
has taken place.

6       Warranty and cooperation of the Licensee

1)      Warranty claims based on defects in the Software or Documentation
may only be asserted by the Licensee against the supplier of
the Software, i.e. especially the dealer.

2)      If the Licensor is himself the supplier - i.e. where the Software
is purchased directly from him - he shall guarantee, unless otherwise
agreed on an individual basis, the possibility of use in accordance
with the Documentation. The legal warranty period begins with
the transfer of the Software according to  1 Section 2. If the
Licensee is not a consumer within the meaning of the German Civil
Code, the following shall apply in addition: the warranty period
shall be 12 months; in the event of deviations from the Documentation
which constitute a major hindrance to the agreed use, the Licensor
shall be obliged to offer replacement or repair at its option.
If the Licensor fails within a reasonable period to eliminate
the deviations by replacement or repair or to circumvent them
in such a way as to allow the Licensee to use the Software as
specified in the Contract, or if the replacement or repair is
deemed to have failed for any other reason, the Licensee can
at its option demand a reduction of the purchase price (redhibition)
or terminate the Licence for the program without notice in return
for reimbursement of the paid remuneration.

3) When transcribing, delimiting, identifying and reporting errors,
the Licensee shall be as precise as possible regarding error
messages and queries and use competent staff for this purpose.
If necessary, checklists from the dealer or Licensor should be
used.

7 Liability and third-party property rights

1) The Licensor shall be liable for any damage for which he is
responsible up to an amount five times the remuneration paid
for the Software or Licence file. The basis for calculation shall
be the remuneration amount excluding VAT at the time of purchase.

2) The Licensor shall not be liable for lack of financial gain,
indirect and consequential damages and damages arising from third-party
claims, with the exception of claims based on the violation of
third-party property rights.

3) The Licensor shall only be liable for negligence if an obligation
is violated whose observance is of particular importance for
the achievement of the contractual purpose (cardinal obligation).

4) The Licensor shall only be liable for the restitution of data
and other damages caused by data loss within the limits of a
typical case of restitution and only once the Licensee has ensured
that these data are reproducible by proper, reasonable efforts
from data stocks available in machine-readable form, i.e. the
Licensee having made regular backups commensurate with the relevant
risks.

5) The liability limitations specified in Sections 1-4 shall not
apply to damage based on intent or gross negligence on the part
of the Licensor, his legal representatives, senior employees
or vicarious agents, or to damages arising from death, injury
or harm to health.

6) Should the Licensee fail to comply with any of the restrictions
on use specified in the present Agreement, particularly  1 Section
4, the Licensor shall not be liable for any damage arising as
a result of this non-compliance.

7) This shall not affect liability under the product liability
act.

8) Should a third party assert claims regarding the contractual
use of the applicable, unaltered original version of the Software
or Documentation arising from a breach of industrial property
rights or copyrights within the Federal Republic of Germany,
the Licensor shall defend the Licensee against all claims. The
Licensor shall assume any costs and damages imposed on the Licensee
by the courts provided the Licensee has notified the Licensor
of the assertion of such claims without delay and all defensive
measures and settlement negotiations are reserved by the Licensor.

9) If claims according to Section 8 or other claims due to the
breach of third-party property rights have been asserted or are
expected to be asserted, the Licensor is entitled at its option
to modify the Software or Documentation or exchange all or part
of it within limits acceptable to the Licensee.

10) If Sections 8 and 9 obtain and it should prove impossible
to modify the Software or secure of a right of use by reasonable
efforts, either party may terminate the Licence for the relevant
Software without notice.

8       Update service

After purchasing the Licence file, the Licensee is entitled to
free use of the Licensor's Fast Update Service FUSE. The term
and scope of this right of use shall depend on the type of licence
purchased and can be ascertained from the Licensor's website
prior to ordering. Subscription to the update service after expiry
of the first period of use is subject to a further fee. If the
Software is purchased direct from the Licensor, the amount of
this fee will depend on the Licensor's price list applicable
at the beginning of the new period of use, which can be viewed
on the Licensor's website.

9       Remuneration of Licensor

1) If the conclusion and implementation of the present Agreement
takes place directly with the Licensor without the mediation
of a dealer,

a)the Licensor shall receive from the Licensee a one-off Licence
fee on purchasing the Licence file necessary for the release
of the Software; this also covers the purchase of an update entitlement
for the first period of use. The amount of the Licence fee is
based on the Licensor's price list applicable at the time or
ordering (available on website) or other relevant agreement.


b)The Licence fee according to a) shall be due immediately on
the transfer of the Licence file according to  1 Section 2 to
the Licensee. The Licensee shall receive an invoice for the payable
amount together with the Licence file.

2) If the Software is purchased via the mediation of a dealer,
the Licence fee and any purchased update entitlement for the
period of use shall be covered by the purchase price.

10      Miscellaneous

1)      Amendments and additions to this Agreement including this clause
must be made in writing. No oral subagreements have been concluded.
Standard terms and conditions of the Licensee are not part of
this Agreement and do not apply to this contractual relationship.

2)      Should any provision of this Agreement be or become invalid
or unfeasible without essentially preventing the achievement
of the contractual purpose, this shall not affect the legal validity
of the remaining provisions. In this case, the parties shall
replace the invalid or unfeasible provision with an acceptable
provision with the same economic intent.

3)      This Agreement is governed by the laws of the Federal Republic
of Germany. The place of jurisdiction for dealer Licensees is
the seat of the Licensor.

4)      Deliveries to EC countries can only be invoiced without VAT
provided the Licensee has quoted its UST/VAT-ID number.

Do you agree to the license terms? [n] y


creating /usr/lib/AntiVir ... done
1) installing command line scanner
checking for existing /etc/antivir.conf ... not found
copying bin/antivir to /usr/lib/AntiVir/ ... done
copying vdf/antivir0.vdf to /usr/lib/AntiVir/ ... done
copying vdf/antivir1.vdf to /usr/lib/AntiVir/ ... done
copying vdf/antivir2.vdf to /usr/lib/AntiVir/ ... done
copying vdf/antivir3.vdf to /usr/lib/AntiVir/ ... done
copying etc/antivir.conf to /etc/ ... done

Enter the path to your key file: [hbedv.key]
copying hbedv.key to /usr/lib/AntiVir/hbedv.key ... done
copying script/configantivir to /usr/lib/AntiVir/ ... done
linking /usr/bin/antivir to /usr/lib/AntiVir/antivir ... done
installation of command line scanner complete


2) installing automatic internet updater
An automatic internet updater is available with version 2.1.5-24 of
AntiVir for UNIX Workstation. This is a daemon that will run in the background
and automatically check for updates (internet access is required).
You may also manually check for updates using:

     antivir --update

You do not need to install the automatic internet updater in order
to manually check for updates. Please read the README file for more
information on updates and how they can best suit you.

Would you like to install the automatic internet updater? [n] y
copying script/avupdater to /usr/lib/AntiVir/ ... done

Would you like to create a link in /usr/sbin for avupdater ? [y] y
linking /usr/sbin/avupdater to /usr/lib/AntiVir/avupdater ... done

Would you like the internet updater to start automatically? [y] y
setting up startup script ... done
installation of automatic internet updater complete


3) installing AvGuard
Version 2.1.5-24 of AntiVir for UNIX Workstation is capable of on-access,
real-time scanning of files. This provides the ultimate protection
against viruses and other unwanted software. The on-access scanner
(called AvGuard) is based on Dazuko, a free software project providing
access control. In order to use AvGuard you will need to compile Dazuko
for your kernel. Please refer to contrib/dazuko/HOWTO-Dazuko for
information about how to do this. There are several ways in which you
can install AvGuard.

        module     - Dazuko will be loaded by the avguard script

        kernel     - Dazuko is always loaded
                     (and should not be loaded by the avguard script)

        no install - do not install AvGuard at this time

Note: Dazuko currently only works with GNU/Linux, FreeBSD and Solaris
      systems. If you are interested in helping us port Dazuko to
      OpenBSD, feel free to check out the Dazuko Project at:
      http://www.dazuko.org

available options: m k n

How should AvGuard be installed? [n] m
Enter the full path to dazuko.ko: /lib/modules/
/lib/modules/ not found.

How should AvGuard be installed? [n] n
AvGuard will NOT be installed. See contrib/dazuko/HOWTO-Dazuko
for more information about Dazuko.


4) installing GUI (+ SMC support)

Note: The AntiVir Security Management Center (SMC) requires this
      feature, even if you do not intend to use the GUI.

This product comes with a GUI that allows you to monitor realtime
activity, view logs, and configure the product. This tool is optional
(not required) for the product to run.

The GUI requires Java 1.4.0 or higher.

Would you like to install the GUI (+ SMC support)? [n] y
checking for existing /etc/avguard.conf ... not found
copying etc/avguard.conf-gui to /etc/avguard.conf ... done
copying common gui files to /usr/lib/AntiVir/gui ... done
copying platform dependant gui files to /usr/lib/AntiVir/gui ... done
copying script/antivir-gui to /usr/lib/AntiVir/ ... done
linking /usr/bin/antivir-gui to /usr/lib/AntiVir/antivir-gui ... done
installation of GUI complete


5) configuring AntiVir
Would you like to configure AntiVir now? [y] y
AutoUpdateEvery2Hours/AutoUpdateDaily                           (1 of 5)
=====================================
AntiVir is equipped with an Automatic Internet Updater. At specified
intervals, AntiVir will connect to an updater server to check for newer
versions of the AntiVir engine or the data files. If a newer
version is available, AntiVir will automatically download and install
the updates without requiring any special attention. This allows AntiVir
to be kept current against attacks and problems.

AntiVir can be configured to check for updates every 2 hours (2) or
once a day (d). You can also choose to have the Automatic Internet
Updater never check (n).

available options: 2 d n

How often should AntiVir check for updates? [n] d





















AutoUpdateTime                                                (1-2 of 5)
==============
The Automatic Internet Updater can be set to always check for updates
at a particular time of day. This is specified in a HH:MM format
(where HH is the hour and MM is the minutes). If you do not have a
permanent connection, you may set it to a time when you are usually
online. You may also let AntiVir choose a random time (r).

If you have a permanent connection then a random time may be preferred
because it will help to disperse the times when other users are
getting updates.

available options: HH:MM r

What time should updates be done? [RANDOM]






















EmailTo                                                         (2 of 5)
=======
You may set AntiVir to send out an email message every time a concerning
file is accessed. The message will also list the action that was taken
to handle the file.

available options: y n

Would you like email notification of alerts? [n] y
What email address will receive notifications? [] ndb



























LogTo                                                           (3 of 5)
=====
In addition to logging concerning activity through syslog, you may
also specify your own log file. This can make it simpler to review
past concerning activity without having to sift through syslog files.

available options: y n

Would you like AntiVir to log to a custom file? [y]
What will be the log file name with absolute path (it must begin with '/')
? [/var/log/avguard.log]


























HTTPProxyServer/HTTPProxyPort                                 (4 of 5)
=============================
If this machine is sitting behind an HTTP proxy server, you will need to
configure AntiVir with the appropriate proxy settings.  Internet access
is required in order to make updates.

available options: y n

Does this machine use an HTTP proxy server? [n]




























SyslogFacility/SyslogPriority                                 (5 of 5)
=============================
Regardless of the other configuration options, AntiVir will always log
important information using syslog. Syslog uses two values to classify
the information to log: facility and priority. Facility specifies the
type of program making the log entry. Priority specifies the importance
of the log entry.

If you are unfamiliar with syslog then you may simply accept the default
values. However, it is encouraged that you learn about syslog since it
is used by many services to log important events.

available FACILITIES: authpriv cron daemon kern lpr mail news syslog user uucp
                      local0 local1 local2 local3 local4 local5 local6 local7

Which syslog FACILITY should AntiVir use? [user]


available PRIORITIES: emerg alert crit err warning notice info debug

Which syslog PRIORITY should AntiVir use? [notice]
















AntiVir Configuration
=====================
Here are the configuration settings you have specified. Look them over
to make sure they are correct.

email notification:           ndb
specific logfile:             /var/log/avguard.log
update frequency:             daily (if avupdater is running)
update time:                  random (if avupdater is running)
syslog output:                user.notice

available options: y n

Save configuration settings? [y]

saving configuration to /etc/antivir.conf ... done





















Running Automatic Internet Updater
==================================
In order for the Automatic Internet Updater to be active on your
system, you must run the software. This can be done manually each
time the system is booted with the command:

/usr/lib/AntiVir/avupdater start

You can have it start automatically by adding avupdater to your
startup scripts. Depending on your Linux distribution, this
can vary. Consult your Linux distribution documentation on startup
scripts.

During the installation, you had the option to set it to
start automatically.

available options: y n

Would you like to start the updater using the new configuration? [y]

Starting AntiVir: avupdater
Warning: the file "antivir.vdf" is more than 14 days old
AntiVir / Linux Version 2.1.5-24 +gui
Copyright (c) 1994-2005 by H+BEDV Datentechnik GmbH.
All rights reserved.

AntiVir Automatic Internet Updater

status: active
update: every 24 hours at 10:23
log:    /var/log/avguard.log
email:  ndb

.



Configuration Complete
======================

email notification:           ndb
specific logfile:             /var/log/avguard.log
update frequency:             daily (if avupdater is running)
update time:                  random (if avupdater is running)
syslog output:                user.notice


Press <ENTER> to continue.



























AntiVir Status: avupdater running.

Here are some commands that you should remember...

AntiVir
=======
configure:  /usr/lib/AntiVir/configantivir

Automatic Internet Updater
==========================
start:      /usr/lib/AntiVir/avupdater start
stop:       /usr/lib/AntiVir/avupdater stop
check:      /usr/lib/AntiVir/avupdater status

Press <ENTER> to continue.


Installation of the following features complete:
     AntiVir command line scanner
     AntiVir Automatic Internet Updater
     AntiVir Guard (previously installed)
     AntiVir GUI


Note: It is highly recommended that you perform an update now to
      ensure up-to-date protection. This can be done by running:

      antivir --update

Be sure to read the README file for additional information.
Thank you for your interest in AntiVir for UNIX Workstation.

neo:/home/ndb/debian/antivir-workstation-pers-2.1.5-24#

Offline

#10 2006-03-29 15:16:27

Back2Cali
Member
From: Germany
Registered: 2006-02-26
Posts: 223

Re: H+BEDV Free AntiVir

Hi!

Anything new happened for this PKGBUILD? Does anyone managed to build a working PKGBUILD?

Thanks for any reply!

Offline

#11 2006-03-29 22:33:07

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: H+BEDV Free AntiVir

Try this:

pkgname=antivir
pkgver=2.1.6
pkgrel=1
pkgdesc="Anti-virus application for Linux workstations"
depends=()
source=(http://free-av.com/personal/en/unix/$pkgname-workstation-pers.tar.gz 
        avupdater)
md5sums=('a57e835ff8e8e28defeba9d80e7daa22' 'cd6c6dfa306ba6da4005b8656437fbe3')
url="http://www.free-av.com"
license="custom"

build() {
  mkdir -p $startdir/pkg/{etc,usr/bin,usr/sbin,usr/lib/AntiVir}
    
  cd $startdir/src/$pkgname-workstation-pers-$pkgver-16
  
  cp hbedv.key bin/linux_glibc22/$pkgname vdf/* script/configantivir 
  script/avupdater script/antivir-gui $startdir/pkg/usr/lib/AntiVir

  cp etc/antivir.conf $startdir/pkg/etc
  cp etc/avguard.conf-gui $startdir/pkg/etc/avguard.conf

  install -D LICENSE $startdir/pkg/usr/share/licenses/antivir/LICENSE
  
  ln -sf /usr/lib/AntiVir/antivir $startdir/pkg/usr/bin/antivir
  ln -sf /usr/lib/AntiVir/avupdater $startdir/pkg/usr/sbin/avupdater
  ln -sf /usr/lib/AntiVir/antivir-gui $startdir/pkg/usr/bin/antivir-gui

  install -D -m 755 ../avupdater $startdir/pkg/etc/rc.d/avupdater

  cd $startdir/pkg/usr/lib/AntiVir
  tar xzf $startdir/src/$pkgname-workstation-pers-$pkgver-16/gui/gui_workstation_common.tgz
  tar xzf $startdir/src/$pkgname-workstation-pers-$pkgver-16/gui/gui_workstation_linux_glibc22.tgz  
}

I've built the package here, and it looks right. I haven't installed or tested it, so give it a try, and let me know how it goes.

Offline

#12 2006-03-30 06:07:19

Back2Cali
Member
From: Germany
Registered: 2006-02-26
Posts: 223

Re: H+BEDV Free AntiVir

Thanks a lot for the PKGBUILD!

There's one thing left:
in the PKGBUILD there's a file named avupdater; do you know where to get it from? Or could you post what's in it?

I'm gonne check it out as soon as I get back from work and let you know if it worked!

Again, thank you very much for your help!

Offline

#13 2006-03-30 06:52:09

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: H+BEDV Free AntiVir

Sorry - forgot to post avupdater. Here it is, but tbh I think it needs a bit more work:

#!/bin/bash

# general config
. /etc/rc.conf
. /etc/rc.d/functions

case "$1" in
  start)
    stat_busy "Starting Antivir Updater"
    /usr/lib/AntiVir/antivir --updater-daemon
    if [ $? -gt 0 ]; then
      stat_fail
    else
      add_daemon avupdater
      stat_done
    fi
    ;;
  stop)
    stat_busy "Stopping Antivir Updater"
    killall antivir &>/dev/null
    if [ $? -gt 0 ]; then
      stat_fail
    else
      rm_daemon avupdater
      stat_done
    fi
    ;;
  restart)
    $0 stop
    sleep 3
    $0 start
    ;;
  *)
    echo "usage: $0 {start|stop|restart}"
esac

Offline

#14 2006-03-30 12:32:37

Back2Cali
Member
From: Germany
Registered: 2006-02-26
Posts: 223

Re: H+BEDV Free AntiVir

OK, the package was build and installed.
After checking out for mistakes I found the following:

- AntiVir needs a group "antivir" which isn't build

- after running "antivir-gui" the system tells me

bash-3.1$ antivir-gui
ls: lib/*.jar: Permission denied
ls: lib/ext/*.jar: Permission denied
Exception in thread "main" java.lang.NoClassDefFoundError: de/antivir/framework/Main

- When running antivir it says:

bash-3.1$ antivir
AntiVir / Linux Version 2.1.6-16
Copyright (c) 2006 by Avira GmbH.
All rights reserved.

error (211): could not perform self check


Any suggestions how the problems might be soved?

Thanks!

Offline

#15 2006-03-30 13:33:26

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: H+BEDV Free AntiVir

Yeah, I thought it seemed a bit too easy. smile

The group can be setup in an .install script, and the java permissions should be OK as well. "error (211)" is a different matter, though, as we don't really know what it means. I'll see what I can do.

Offline

#16 2006-04-27 14:18:20

Back2Cali
Member
From: Germany
Registered: 2006-02-26
Posts: 223

Re: H+BEDV Free AntiVir

Does anyone have an idea of how to get this program to work correct under Archlinux? Anything new on it?

Offline

#17 2006-07-31 08:01:37

Back2Cali
Member
From: Germany
Registered: 2006-02-26
Posts: 223

Re: H+BEDV Free AntiVir

I know I asked before, but did anyone managed to build a PKGBUILD for Antivir yet?
I don't have the knowledge to do it so maybe somebody else has. Or maybe there's somebody who needs a challenge....  wink

Thanks!

Offline

#18 2006-08-15 11:32:08

lolo
Member
Registered: 2006-07-13
Posts: 12

Re: H+BEDV Free AntiVir

I have tried to create a post-installation package with bpkg for antivir. Believe it or not, as soon as you access the installed original files, you systematically have the "error (211)". It seems to steam from a fine-grained verification mechanism. If I am right, you have no way to install it with an arch package. Only with the install script provided.

But... what I would suggest you, is to trace the installation with bpkg (you can find it in the AUR repository, very powerful, similar to checkinstall). It will generate an arch package.

BIG BIG BIG WARNING : Modify the generated package to remove all references to the group, gshadow, passwd files. These references are due to the creation of the antivir group. If not, later removal of the installed files via pacman will end to a (recoverable) blocking of your system. If you are not sure of what you are doing, give up !!! I have warned you.

At this point, since bpkg has touched the installed files, antivir will generate the error (211). So, install the package with pacman -Af. Then remove it via pacman -R. Then reinstall antivir with the install script.

Antivir should now work. You just have to install tomk's avupdater script and create a similar one for the on-access scanner. Later, if you get fed up with antivir, use the previous pacman procedure to remove cleanly all installed files, and remove manually the two extra scripts you added to /etc/rc.d.

Remember : clean the package generated by bpkg from ANY references to /etc/ files before using it.

This procedure is amkward and I don't like it. I just provide it in case you absolutely want have antivir monitor your system. Well, a better solution is to use clamav. But the on-access scanner is too much ressource consuming. I prefer to use AVG. Check the package I juste have submitted to AUR.

Offline

Board footer

Powered by FluxBB