summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfram Schlich <wschlich@gentoo.org>2013-08-24 23:39:10 +0200
committerWolfram Schlich <wschlich@gentoo.org>2013-08-24 23:39:10 +0200
commitcd3ce922da2afea4b2b28019ec9fa1a03f9dbff9 (patch)
tree9c4a9c9395da197a59bdca5ae3d7870f9d0c85fc
parentadded all ebuilds from my old svn repository (diff)
downloadwschlich-cd3ce922da2afea4b2b28019ec9fa1a03f9dbff9.tar.gz
wschlich-cd3ce922da2afea4b2b28019ec9fa1a03f9dbff9.tar.bz2
wschlich-cd3ce922da2afea4b2b28019ec9fa1a03f9dbff9.zip
update from upstream
Package-Manager: portage-2.2.1
-rw-r--r--app-antivirus/skyldav/ChangeLog7
-rw-r--r--app-antivirus/skyldav/Manifest1
-rw-r--r--app-antivirus/skyldav/files/skyldav-0.2_rc3_p20130824-conf.patch21
-rw-r--r--app-antivirus/skyldav/skyldav-0.2_rc3_p20130824.ebuild64
4 files changed, 93 insertions, 0 deletions
diff --git a/app-antivirus/skyldav/ChangeLog b/app-antivirus/skyldav/ChangeLog
index a9496c9..33e976c 100644
--- a/app-antivirus/skyldav/ChangeLog
+++ b/app-antivirus/skyldav/ChangeLog
@@ -1,3 +1,10 @@
+*skyldav-0.2_rc3_p20130824 (24 Aug 2013)
+
+ 24 Aug 2013; Wolfram Schlich <wschlich@gentoo.org>
+ +files/skyldav-0.2_rc3_p20130824-conf.patch,
+ +skyldav-0.2_rc3_p20130824.ebuild:
+ update from upstream
+
*skyldav-0.2_rc3_p20130821-r1 (21 Aug 2013)
21 Aug 2013; Wolfram Schlich <wschlich@gentoo.org>
diff --git a/app-antivirus/skyldav/Manifest b/app-antivirus/skyldav/Manifest
index 5bc49c0..cbb9618 100644
--- a/app-antivirus/skyldav/Manifest
+++ b/app-antivirus/skyldav/Manifest
@@ -3,3 +3,4 @@ DIST skyldav-0.2rc3_p20130816.tar.gz 100972 SHA256 7a3037f2965320c16ee1f29deccf3
DIST skyldav-0.2rc3_p20130817.tar.gz 100247 SHA256 1c96363e1b928ef684ea3e0418995576fa6222a5a7cb1e09ea893930c6635d32 SHA512 1e57ba44d0894ef08788fe17798e7c5d6caea0eb04c2097c83333ebf8ca612fc29ec24625a43cc2d9e15e64b434c02661d5d8bee1e816b0b1e318e02d15929de WHIRLPOOL 6a1f8754e9c4a2816faaa97b9a7543ce738129b016fd88e5e9a90702fd63647b739c50a200b1806fde141628ad2746ee57fe18f285645547c3c9a2316043682a
DIST skyldav-0.2rc3_p20130821-r1.tar.gz 100437 SHA256 1707feb07a6bdc86e0bfa363248de805b924f4ac11674a5de098cfbe85bc43e0 SHA512 05bedb4e69288acee0de0545e1ec2d9f3d625dccd27c0ee6a541b10197dc1b2920f53ebd9afc8402e0cabf649a99c56abcbd466019547f1ada1a7a88d83b590a WHIRLPOOL 2496b984a0a23ea09e6125157ff8f0733cdf19ef03ce04a9463d3c29f5acd6a1afa01a4c117e53c2dafbd00fe85f7061f0bc256004120868d9e243b4e998a919
DIST skyldav-0.2rc3_p20130821.tar.gz 100403 SHA256 8398f5cce013efdc51ee2e9533e7dbe82b0d41c384ba5f19eea4e8e32569f96b SHA512 4a132473be42cf5fdc858be6195fdb474a800955ffdc4a54f7caabe90c8cf17d5df59180de45d9056ffd0dbc0a699774d4fb4372f8a9087d2ef95e18cc95903a WHIRLPOOL 8aa49550e3a7fe13b4a1ccb6b3cd8b0e27ee3bdf546fe6f41f11c1ed55fcaa1291c9edc30b854985defe282952bdd18cbe6737cd82fd03df9c671ad18d724fb6
+DIST skyldav-0.2rc3_p20130824.tar.gz 100909 SHA256 580729fd196fbdc8bea151e1aac31f5870d803601fd3da96c4092ce7613ad0c1 SHA512 eacbeead5b097cffb2587375ee63e14163cbd6e0fe7a21bf1ef8947e630bab28dbfe0f51ec2ba3d646533514e0f4b9d4d1b10137315d72c9aebdb4c4e72b1ebe WHIRLPOOL 35c608f1c30710e7f32f72d30664d91f9c2d007e69c03a183fe3ec5747f7acd623daa3ee8e9630dd03f8325bae74ad56bad233e4251da10408ec9a4b385de44b
diff --git a/app-antivirus/skyldav/files/skyldav-0.2_rc3_p20130824-conf.patch b/app-antivirus/skyldav/files/skyldav-0.2_rc3_p20130824-conf.patch
new file mode 100644
index 0000000..646d148
--- /dev/null
+++ b/app-antivirus/skyldav/files/skyldav-0.2_rc3_p20130824-conf.patch
@@ -0,0 +1,21 @@
+diff -urN skyldav-0.2rc3_p20130824.orig/examples/etc/skyldav.conf skyldav-0.2rc3_p20130824/examples/etc/skyldav.conf
+--- skyldav-0.2rc3_p20130824.orig/examples/etc/skyldav.conf 2013-08-22 20:30:09.000000000 +0200
++++ skyldav-0.2rc3_p20130824/examples/etc/skyldav.conf 2013-08-24 23:24:50.432728000 +0200
+@@ -19,14 +19,15 @@
+
+ # Directories that shall not be scanned (including subdirectories)
+ # EXCLUDE_PATH = /var/noscan, /opt/noscan
++#EXCLUDE_PATH = /usr/portage, /var/db/pkg, /var/tmp/portage, /var/tmp/binpkgs
+
+ # File systems that are local, virus scan results may be cached.
+ # LOCAL_FS = ext3, ext4, iso9660, tmpfs, vfat
+-LOCAL_FS = ext3, ext4, iso9660, tmpfs, vfat
++LOCAL_FS = ext2, ext3, ext4, xfs, zfs, btrfs, reiserfs, vfat, ntfs, iso9660, tmpfs
+
+ # File systems that shall not be marked for virus scan.
+ # NOMARK_FS = proc, sysfs
+-NOMARK_FS = proc, sysfs
++NOMARK_FS = proc, sysfs, devtmpfs, devpts, configfs, securityfs, cgroup, rpc_pipefs
+
+ # Mounts that shall not be marked for virus scan.
+ # NOMARK_MNT = /mnt/noscan
diff --git a/app-antivirus/skyldav/skyldav-0.2_rc3_p20130824.ebuild b/app-antivirus/skyldav/skyldav-0.2_rc3_p20130824.ebuild
new file mode 100644
index 0000000..3ca9d4a
--- /dev/null
+++ b/app-antivirus/skyldav/skyldav-0.2_rc3_p20130824.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit flag-o-matic linux-info linux-mod autotools-utils
+
+MY_PV=${PV/_rc/rc}
+MY_P="${PN}-${MY_PV}"
+#MY_PVR=${PVR/_rc/rc}
+#MY_P="${PN}-${MY_PVR}"
+S="${WORKDIR}/${MY_P}"
+
+DESCRIPTION="Skyld AV: on-access scanning daemon for ClamAV using fanotify"
+#SRC_URI="https://github.com/xypron/skyldav/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
+SRC_URI="http://dev.gentoo.org/~wschlich/src/${CATEGORY}/${PN}/${MY_P}.tar.gz"
+HOMEPAGE="http://xypron.github.io/skyldav/"
+
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+LICENSE="Apache-2.0"
+IUSE="libnotify"
+
+RDEPEND="app-antivirus/clamav
+ sys-apps/util-linux
+ sys-libs/libcap
+ libnotify? (
+ media-libs/libcanberra[gtk]
+ x11-libs/libnotify
+ x11-libs/gtk+:2
+ )"
+DEPEND="${RDEPEND}
+ sys-devel/autoconf-archive"
+
+## autotools-utils.eclass settings
+AUTOTOOLS_AUTORECONF="1"
+AUTOTOOLS_IN_SOURCE_BUILD="1"
+DOCS=( AUTHORS NEWS README )
+PATCHES=(
+ "${FILESDIR}/${P}-conf.patch"
+ "${FILESDIR}/${PN}-0.2_rc3_p20130821-examples.patch"
+ "${FILESDIR}/${PN}-0.2_rc3-sbin.patch"
+)
+
+pkg_setup() {
+ linux-info_pkg_setup
+ kernel_is ge 3 8 0 || die "Linux 3.8.0 or newer recommended"
+ CONFIG_CHECK="FANOTIFY FANOTIFY_ACCESS_PERMISSIONS"
+ check_extra_config
+}
+
+src_configure() {
+ local myeconfargs=(
+ $(use_with libnotify notification)
+ )
+ autotools-utils_src_configure
+}
+
+src_install() {
+ autotools-utils_src_install
+ newinitd "${FILESDIR}/${PN}.initd" ${PN}
+ newconfd "${FILESDIR}/${PN}.confd" ${PN}
+}