summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Moc <jakub@gentoo.org>2006-06-10 12:05:13 +0000
committerJakub Moc <jakub@gentoo.org>2006-06-10 12:05:13 +0000
commit36fa1b80e038a197b6e9a6c10ca5566e4838ee40 (patch)
tree0610ebc20ddb69d7dae7f1326c49f32377f4a22b /app-antivirus
parentapp-antivirus/xfprot - New ebuild. An improved version of an ebuild originall... (diff)
downloadsunrise-36fa1b80e038a197b6e9a6c10ca5566e4838ee40.tar.gz
sunrise-36fa1b80e038a197b6e9a6c10ca5566e4838ee40.tar.bz2
sunrise-36fa1b80e038a197b6e9a6c10ca5566e4838ee40.zip
app-antivirus/kav4fileserver - New ebuild for Kaspersky Anti-Virus for Fileservers, Bug 62588.
svn path=/; revision=40
Diffstat (limited to 'app-antivirus')
-rw-r--r--app-antivirus/kav4fileservers/ChangeLog7
-rw-r--r--app-antivirus/kav4fileservers/Manifest12
-rw-r--r--app-antivirus/kav4fileservers/files/digest-kav4fileservers-5.5.33
-rw-r--r--app-antivirus/kav4fileservers/kav4fileservers-5.5.3.ebuild90
4 files changed, 112 insertions, 0 deletions
diff --git a/app-antivirus/kav4fileservers/ChangeLog b/app-antivirus/kav4fileservers/ChangeLog
new file mode 100644
index 000000000..a1f4a4bc3
--- /dev/null
+++ b/app-antivirus/kav4fileservers/ChangeLog
@@ -0,0 +1,7 @@
+# ChangeLog for app-antivirus/kav4fileservers
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 10 Jun 2006; Jakub Moc <jakub@gentoo.org> +kav4fileservers-5.5.3.ebuild:
+ New ebuild, Bug 62588.
+
diff --git a/app-antivirus/kav4fileservers/Manifest b/app-antivirus/kav4fileservers/Manifest
new file mode 100644
index 000000000..58a3b840d
--- /dev/null
+++ b/app-antivirus/kav4fileservers/Manifest
@@ -0,0 +1,12 @@
+DIST kav4fileservers-linux-5.5.3.tar.gz 1953339 RMD160 e8877d7b20269575c488d73590f4bc98cdb94cec SHA1 b65a5ded4cc510b83be910a26245e2add318a755 SHA256 03d09d62c4460ccf3b65fa898e8430dd6040063c207bf9b0f70b1bb5d527b093
+EBUILD kav4fileservers-5.5.3.ebuild 2626 RMD160 f14dd2c7604623489ee1ecfda84255686f397266 SHA1 22d43299a56773d2464fd8dadbe4147fe6f47c4b SHA256 fc9483882f3613e5820318d0f3e0961ea117d797055d307d0d2493e061748c15
+MD5 f8cb8a557dde73f08c7b0b93563078c9 kav4fileservers-5.5.3.ebuild 2626
+RMD160 f14dd2c7604623489ee1ecfda84255686f397266 kav4fileservers-5.5.3.ebuild 2626
+SHA256 fc9483882f3613e5820318d0f3e0961ea117d797055d307d0d2493e061748c15 kav4fileservers-5.5.3.ebuild 2626
+MISC ChangeLog 231 RMD160 f6a52e275b37869087e40fd7b50b6affb4ab785c SHA1 094779a61ca175d63ad1de7ce77771319f9f11ad SHA256 11fb181558f9b90b17b8a82d589c8fdfd2947230e9284464cc6eecf201e16523
+MD5 3c8a72db6e6dc2403a7dbd2d3473f557 ChangeLog 231
+RMD160 f6a52e275b37869087e40fd7b50b6affb4ab785c ChangeLog 231
+SHA256 11fb181558f9b90b17b8a82d589c8fdfd2947230e9284464cc6eecf201e16523 ChangeLog 231
+MD5 82052ede56929a27fa39abd5422cc253 files/digest-kav4fileservers-5.5.3 286
+RMD160 1a9e2d1e7f33fec92c8c0e8b2e3f5d1b61c0879b files/digest-kav4fileservers-5.5.3 286
+SHA256 08d35027429931610c69dff253d078712fbad774a1375ba1105fec50db4dd85a files/digest-kav4fileservers-5.5.3 286
diff --git a/app-antivirus/kav4fileservers/files/digest-kav4fileservers-5.5.3 b/app-antivirus/kav4fileservers/files/digest-kav4fileservers-5.5.3
new file mode 100644
index 000000000..845287d0d
--- /dev/null
+++ b/app-antivirus/kav4fileservers/files/digest-kav4fileservers-5.5.3
@@ -0,0 +1,3 @@
+MD5 0cf3431f5630e0a4e3cd996ddb4fc034 kav4fileservers-linux-5.5.3.tar.gz 1953339
+RMD160 e8877d7b20269575c488d73590f4bc98cdb94cec kav4fileservers-linux-5.5.3.tar.gz 1953339
+SHA256 03d09d62c4460ccf3b65fa898e8430dd6040063c207bf9b0f70b1bb5d527b093 kav4fileservers-linux-5.5.3.tar.gz 1953339
diff --git a/app-antivirus/kav4fileservers/kav4fileservers-5.5.3.ebuild b/app-antivirus/kav4fileservers/kav4fileservers-5.5.3.ebuild
new file mode 100644
index 000000000..f373c9a0d
--- /dev/null
+++ b/app-antivirus/kav4fileservers/kav4fileservers-5.5.3.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils
+
+MY_P="kav4fileservers-linux-${PV}"
+S="${WORKDIR}/kav4fileservers-linux-install"
+
+DESCRIPTION="Kaspersky File Server virus scanner"
+HOMEPAGE="http://www.kaspersky.com/"
+SRC_URI="ftp://ftp.kaspersky.com/products/release/english/businessoptimal/file_servers/kavlinuxserver/${MY_P}.tar.gz"
+
+SLOT="0"
+LICENSE="KASPERSKY"
+KEYWORDS="-* ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="virtual/cron"
+PROVIDE="virtual/antivirus"
+RESTRICT="mirror strip"
+
+pkg_setup() {
+ enewgroup klusers
+ enewuser kluser -1 -1 /var/db/kav klusers
+}
+
+src_compile() {
+ einfo "Nothing to compile, installing Kasperky AV for Fileservers..."
+}
+
+src_install() {
+ dodir /var/log/kav/5.5/kav4unix
+ dodir /var/db/kav/5.5/kav4unix/{bases,bases.backup,licenses,patches}
+ fowners kluser:klusers /var/log/kav/5.5/kav4unix
+ fowners kluser:klusers /var/db/kav/5.5/kav4unix/licenses
+ fperms 0770 /var/log/kav/5.5/kav4unix
+ fperms 0770 /var/db/kav/5.5/kav4unix/licenses
+
+ insinto /var/db/kav/5.5/kav4unix/bases
+ doins bases/*
+
+ into /opt/kav/5.5/kav4unix
+ dobin bin/*
+
+ insinto /opt/kav/5.5/kav4unix/contrib
+ insopts -m0755
+ doins contrib/*.sh
+ insopts -m0644
+ doins contrib/*.wbm
+
+ insinto /etc/kav/5.5/kav4unix
+ doins kav4unix/kav4unix.conf
+
+ # TODO: provide a gentooified initscript
+ doinitd ${S}/init.d/kavmonitor
+
+ dodoc kav4unix/ChangeLog
+ doman man8/*.8
+}
+
+pkg_postinst() {
+ ewarn "IMPORTANT!!! You must install a valid Kaspersky Lab license file"
+ ewarn "to use the application. Licenses should be installed into"
+ ewarn "/var/db/kav/5.5/kav4unix/licenses. To do this, run:"
+ ewarn
+ ewarn " /opt/kav/5.5/kav4unix/bin/licensemanager -a <keyfile> "
+ ewarn
+ ewarn "You need to download the latest anti-virus bases before using"
+ ewarn "this application. To do this, run:"
+ ewarn
+ ewarn " /opt/kav/5.5/kav4unix/bin/keepup2date"
+
+ einfo
+ einfo " To keep anti-virus bases up-to-date, create a cron job for KAV:"
+ einfo
+ einfo " crontab -u kluser -e"
+ einfo
+ einfo " and add the following line (change the frequency of update if required):"
+ einfo
+ einfo " * */4 * * * /opt/kav/5.5/kav4unix/bin/keepup2date >/dev/null 2>&1"
+ einfo
+ einfo "Configuration file was installed in /etc/kav/5.5/kav4unix/kav4unix.conf."
+ einfo "See \"man 8 kav4unix.conf\" for detailed configuration info."
+ einfo
+ einfo "If you want to use web interface to configure and use Kaspersky Anti-Virus"
+ einfo "emerge app-admin/webmin and then install the module via webmin interface."
+ einfo "Webmin module is located in /opt/kav/5.5/kav4unix/contrib/kavfs.wbm"
+}