public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] dev/wschlich:master commit in: app-antivirus/skyldav/, app-antivirus/skyldav/files/
@ 2014-03-30 12:11 Wolfram Schlich
  0 siblings, 0 replies; 6+ messages in thread
From: Wolfram Schlich @ 2014-03-30 12:11 UTC (permalink / raw
  To: gentoo-commits

commit:     1c2547775ee15c83f90547df5dcfd9e423f60e73
Author:     Wolfram Schlich <wschlich <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 30 12:09:24 2014 +0000
Commit:     Wolfram Schlich <wschlich <AT> gentoo <DOT> org>
CommitDate: Sun Mar 30 12:09:24 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/wschlich.git;a=commit;h=1c254777

version bump

Package-Manager: portage-2.2.8-r1

---
 app-antivirus/skyldav/ChangeLog                    |  6 ++
 app-antivirus/skyldav/Manifest                     |  1 +
 app-antivirus/skyldav/files/skyldav-0.4-conf.patch | 27 ++++++++
 app-antivirus/skyldav/skyldav-0.4.ebuild           | 73 ++++++++++++++++++++++
 4 files changed, 107 insertions(+)

diff --git a/app-antivirus/skyldav/ChangeLog b/app-antivirus/skyldav/ChangeLog
index f045211..ef2d7f9 100644
--- a/app-antivirus/skyldav/ChangeLog
+++ b/app-antivirus/skyldav/ChangeLog
@@ -1,3 +1,9 @@
+*skyldav-0.4 (30 Mar 2014)
+
+  30 Mar 2014; Wolfram Schlich <wschlich@gentoo.org>
+  +files/skyldav-0.4-conf.patch, +skyldav-0.4.ebuild:
+  version bump
+
 *skyldav-0.2 (13 Sep 2013)
 
   13 Sep 2013; Wolfram Schlich <wschlich@gentoo.org> +skyldav-0.2.ebuild:

diff --git a/app-antivirus/skyldav/Manifest b/app-antivirus/skyldav/Manifest
index bef8fec..b13d6ae 100644
--- a/app-antivirus/skyldav/Manifest
+++ b/app-antivirus/skyldav/Manifest
@@ -1,3 +1,4 @@
 DIST skyldav-0.2.tar.gz 104415 SHA256 02c1b794c658fe9b6bfbdbf1d162cdb0f72872c7734f59ecbfc9fa5c7bd496ec SHA512 09d4bd99051c8a407ab005d8913c320c481afb44d32ffe8c573ecc0e63be6e632724e89672ff98b5baf4948fe5631c2ba9c8bb56aa84fa05b8ad0deb5ca4fd90 WHIRLPOOL e3e2cb9599c7fd2e55f11fa344bcab8da0ae93e1fe3887ca1a3336aaad178467d635fd13de36c48984602c247281d74bbfbf895fc14cacf0b80e5596bf37d0d2
 DIST skyldav-0.2_rc4_p20130829.tar.gz 104425 SHA256 f05e198553ff4deb60a06b4d3166bccf1099e2fcd86a180f74f9ee7069b7cdef SHA512 0961b068acb693f3225fbd0d58e29bc3346474ea05b0c513bafe12f16a8ddbe6ca6f97d833046b927cff346d4b9a64c213d4bca3199816dbfd8a63213b009a63 WHIRLPOOL 88a721d403d0f23c380b46b8b577f34434e028c63df931eb14ba27820cbd5ab953e35148bc16d2e4e6177884e9615a268a08455323c8703e867babb1f231c463
 DIST skyldav-0.2rc4.tar.gz 102690 SHA256 9752520ca4b50ee181541b4decddffacd17c192bcf059e5d89d5de5485747bc3 SHA512 ed62c459907afed619df362f08b2eb565cef70b2c10f1da7f64d72a0ee2767f776387b38b50c3729eaca33ac640b827bdd1cb02f117778944c512d8902f40858 WHIRLPOOL 90cae16a26122df1db9c4d0c4ba13fa5939febdbc2d2e61ed5a0755234f3fe2ec055bcd138c7f2fd9c2ad1827b0aa3789117d755c5100c1ba1e7f5863a004e09
+DIST skyldav-0.4.tar.gz 105352 SHA256 677f743db5810fd367a06ebb2591f20f6af4dd3fdc9d2bcf038d3576c598beec SHA512 4a98d2d87541b044eeb233e154a6dcbc0da0ed2cba3a38bb89cfb3e27bdea2ae4ee7edf363f6f5b1d3978d042e5a31cac1e04353fecedb52c0053fb888fd144a WHIRLPOOL b7b9b29bac94a76ada5574b72798e2ad125ea0929b99e9efe8fcadcbefe7c430fb5e4d84120677f9c3fdc2531f3f6f23ad390893c37bb675c695f3b28eba5cd1

diff --git a/app-antivirus/skyldav/files/skyldav-0.4-conf.patch b/app-antivirus/skyldav/files/skyldav-0.4-conf.patch
new file mode 100644
index 0000000..337f415
--- /dev/null
+++ b/app-antivirus/skyldav/files/skyldav-0.4-conf.patch
@@ -0,0 +1,27 @@
+diff -urN skyldav-0.4.orig/examples/etc/skyldav.conf skyldav-0.4/examples/etc/skyldav.conf
+--- skyldav-0.4.orig/examples/etc/skyldav.conf	2014-03-21 20:32:49.000000000 +0100
++++ skyldav-0.4/examples/etc/skyldav.conf	2014-03-30 13:23:14.043578460 +0200
+@@ -19,14 +19,21 @@
+ 
+ # 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, cifs
++#
++# Do not exclude devtmpfs and configs, as userspace could write malware onto them.
++# CIFS is also known to cause problems due to a background daemon, so we exclude it here
++# (https://github.com/xypron/skyldav/commit/63b01b912d3eed80f3db92aec8647770546f5c1c).
++# Note that FUSE file systems are automatically excluded from scanning
++# (https://github.com/xypron/skyldav/issues/3).
++NOMARK_FS = proc, sysfs, devpts, debugfs, securityfs, cgroup, rpc_pipefs, autofs, cifs
+ 
+ # Mounts that shall not be marked for virus scan.
+ # NOMARK_MNT = /mnt/noscan

diff --git a/app-antivirus/skyldav/skyldav-0.4.ebuild b/app-antivirus/skyldav/skyldav-0.4.ebuild
new file mode 100644
index 0000000..602cf5c
--- /dev/null
+++ b/app-antivirus/skyldav/skyldav-0.4.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2014 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
+
+DESCRIPTION="Skyld AV: on-access scanning daemon for ClamAV using fanotify"
+HOMEPAGE="http://xypron.github.io/skyldav/"
+
+## github release tarball
+MY_PV=${PV/_rc/rc}
+MY_P="${PN}-${MY_PV}"
+SRC_URI="https://github.com/xypron/skyldav/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
+
+## selfmade tarball
+#MY_PVR=${PVR/_rc/rc}
+#MY_P="${PN}-${MY_PVR}"
+#SRC_URI="http://dev.gentoo.org/~wschlich/src/${CATEGORY}/${PN}/${MY_P}.tar.gz"
+
+## github commit tarball
+#MY_GIT_COMMIT="49bdb5e710b5a77c38ceb87da6015afb7009f1f9"
+#MY_P="xypron-${PN}-${MY_GIT_COMMIT:0:7}"
+#SRC_URI="https://github.com/xypron/${PN}/tarball/${MY_GIT_COMMIT} -> ${PF}.tar.gz"
+
+S="${WORKDIR}/${MY_P}"
+
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+LICENSE="Apache-2.0"
+IUSE="libnotify"
+
+RDEPEND=">=app-antivirus/clamav-0.97.8
+	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}/${PN}-0.2_rc4-more-syslog-messages.patch"
+	"${FILESDIR}/${PN}-0.2_rc4-examples.patch"
+	"${FILESDIR}/${P}-conf.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}
+}


^ permalink raw reply related	[flat|nested] 6+ messages in thread
* [gentoo-commits] dev/wschlich:master commit in: app-antivirus/skyldav/, app-antivirus/skyldav/files/
@ 2016-02-01  6:36 Wolfram Schlich
  0 siblings, 0 replies; 6+ messages in thread
From: Wolfram Schlich @ 2016-02-01  6:36 UTC (permalink / raw
  To: gentoo-commits

commit:     649e20fe8f1ed9e6b387d97e72727349615fa8c6
Author:     Wolfram Schlich <wschlich <AT> gentoo <DOT> org>
AuthorDate: Mon Feb  1 06:36:18 2016 +0000
Commit:     Wolfram Schlich <wschlich <AT> gentoo <DOT> org>
CommitDate: Mon Feb  1 06:36:18 2016 +0000
URL:        https://gitweb.gentoo.org/dev/wschlich.git/commit/?id=649e20fe

app-antivirus/skyldav: make skyldav service being started before skyldavnotify in X sessions (multi-user.target)

Package-Manager: portage-2.2.27

 app-antivirus/skyldav/files/{skyldav.service => skyldav.service-r1} | 1 +
 app-antivirus/skyldav/{skyldav-0.5.ebuild => skyldav-0.5-r1.ebuild} | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/app-antivirus/skyldav/files/skyldav.service b/app-antivirus/skyldav/files/skyldav.service-r1
similarity index 93%
rename from app-antivirus/skyldav/files/skyldav.service
rename to app-antivirus/skyldav/files/skyldav.service-r1
index 8d8ee5e..decd788 100644
--- a/app-antivirus/skyldav/files/skyldav.service
+++ b/app-antivirus/skyldav/files/skyldav.service-r1
@@ -2,6 +2,7 @@
 Description=SkyldAV anti-virus on-access scanning daemon based upon Clam AV and fanotify
 Requires=local-fs.target clamd.service
 After=local-fs.target clamd.service
+Before=multi-user.target
 
 [Service]
 Type=simple

diff --git a/app-antivirus/skyldav/skyldav-0.5.ebuild b/app-antivirus/skyldav/skyldav-0.5-r1.ebuild
similarity index 97%
rename from app-antivirus/skyldav/skyldav-0.5.ebuild
rename to app-antivirus/skyldav/skyldav-0.5-r1.ebuild
index ddefa93..3175fc8 100644
--- a/app-antivirus/skyldav/skyldav-0.5.ebuild
+++ b/app-antivirus/skyldav/skyldav-0.5-r1.ebuild
@@ -88,7 +88,7 @@ src_install() {
 
 	## install systemd service or OpenRC init scripts
 	if use systemd; then
-		systemd_dounit "${FILESDIR}/skyldav.service"
+		systemd_newunit "${FILESDIR}/skyldav.service-r1" skyldav.service
 		systemd_install_serviced "${FILESDIR}"/skyldav.service.conf
 		systemd_newtmpfilesd "${FILESDIR}"/skyldav.tmpfilesd skyldav.conf
 	else


^ permalink raw reply related	[flat|nested] 6+ messages in thread
* [gentoo-commits] dev/wschlich:master commit in: app-antivirus/skyldav/, app-antivirus/skyldav/files/
@ 2016-01-21 16:41 Wolfram Schlich
  0 siblings, 0 replies; 6+ messages in thread
From: Wolfram Schlich @ 2016-01-21 16:41 UTC (permalink / raw
  To: gentoo-commits

commit:     7c9ebf862eb9348514be5c3326eff4e7fc5444a0
Author:     Wolfram Schlich <wschlich <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 21 16:41:20 2016 +0000
Commit:     Wolfram Schlich <wschlich <AT> gentoo <DOT> org>
CommitDate: Thu Jan 21 16:41:20 2016 +0000
URL:        https://gitweb.gentoo.org/dev/wschlich.git/commit/?id=7c9ebf86

version bump including systemd support; removed old versions

Package-Manager: portage-2.2.26

 app-antivirus/skyldav/Manifest                     |   6 +-
 .../skyldav/files/skyldav-0.2_rc4-conf.patch       |  21 ----
 .../skyldav/files/skyldav-0.2_rc4-examples.patch   |  11 ---
 .../skyldav-0.2_rc4-more-syslog-messages.patch     |  16 ---
 .../skyldav/files/skyldav-0.2_rc4-sbin.patch       |  19 ----
 ...yldav-0.4-conf.patch => skyldav-0.5-conf.patch} |   8 +-
 .../skyldav/files/skyldav-0.5-examples.patch       |  11 +++
 .../skyldav/files/skyldav-0.5-syslog.patch         |  22 +++++
 app-antivirus/skyldav/files/skyldav.service        |  14 +++
 app-antivirus/skyldav/files/skyldav.service.conf   |   3 +
 app-antivirus/skyldav/files/skyldav.tmpfilesd      |   2 +
 app-antivirus/skyldav/skyldav-0.2.ebuild           |  74 --------------
 app-antivirus/skyldav/skyldav-0.2_rc4.ebuild       |  74 --------------
 .../skyldav/skyldav-0.2_rc4_p20130829.ebuild       |  74 --------------
 app-antivirus/skyldav/skyldav-0.4.ebuild           |  73 --------------
 app-antivirus/skyldav/skyldav-0.4_p20141106.ebuild |  73 --------------
 app-antivirus/skyldav/skyldav-0.5.ebuild           | 109 +++++++++++++++++++++
 17 files changed, 166 insertions(+), 444 deletions(-)

diff --git a/app-antivirus/skyldav/Manifest b/app-antivirus/skyldav/Manifest
index 3ed79e5..f729e27 100644
--- a/app-antivirus/skyldav/Manifest
+++ b/app-antivirus/skyldav/Manifest
@@ -1,5 +1 @@
-DIST skyldav-0.2.tar.gz 104415 SHA256 02c1b794c658fe9b6bfbdbf1d162cdb0f72872c7734f59ecbfc9fa5c7bd496ec SHA512 09d4bd99051c8a407ab005d8913c320c481afb44d32ffe8c573ecc0e63be6e632724e89672ff98b5baf4948fe5631c2ba9c8bb56aa84fa05b8ad0deb5ca4fd90 WHIRLPOOL e3e2cb9599c7fd2e55f11fa344bcab8da0ae93e1fe3887ca1a3336aaad178467d635fd13de36c48984602c247281d74bbfbf895fc14cacf0b80e5596bf37d0d2
-DIST skyldav-0.2_rc4_p20130829.tar.gz 104425 SHA256 f05e198553ff4deb60a06b4d3166bccf1099e2fcd86a180f74f9ee7069b7cdef SHA512 0961b068acb693f3225fbd0d58e29bc3346474ea05b0c513bafe12f16a8ddbe6ca6f97d833046b927cff346d4b9a64c213d4bca3199816dbfd8a63213b009a63 WHIRLPOOL 88a721d403d0f23c380b46b8b577f34434e028c63df931eb14ba27820cbd5ab953e35148bc16d2e4e6177884e9615a268a08455323c8703e867babb1f231c463
-DIST skyldav-0.2rc4.tar.gz 102690 SHA256 9752520ca4b50ee181541b4decddffacd17c192bcf059e5d89d5de5485747bc3 SHA512 ed62c459907afed619df362f08b2eb565cef70b2c10f1da7f64d72a0ee2767f776387b38b50c3729eaca33ac640b827bdd1cb02f117778944c512d8902f40858 WHIRLPOOL 90cae16a26122df1db9c4d0c4ba13fa5939febdbc2d2e61ed5a0755234f3fe2ec055bcd138c7f2fd9c2ad1827b0aa3789117d755c5100c1ba1e7f5863a004e09
-DIST skyldav-0.4.tar.gz 105352 SHA256 677f743db5810fd367a06ebb2591f20f6af4dd3fdc9d2bcf038d3576c598beec SHA512 4a98d2d87541b044eeb233e154a6dcbc0da0ed2cba3a38bb89cfb3e27bdea2ae4ee7edf363f6f5b1d3978d042e5a31cac1e04353fecedb52c0053fb888fd144a WHIRLPOOL b7b9b29bac94a76ada5574b72798e2ad125ea0929b99e9efe8fcadcbefe7c430fb5e4d84120677f9c3fdc2531f3f6f23ad390893c37bb675c695f3b28eba5cd1
-DIST skyldav-0.4_p20141106.tar.gz 105400 SHA256 34920336c558e7b88b1c6f934453eb6a626b1de5c8adde2c42f7018168680a7d SHA512 8ae7a33459cbd2e1d3706f10058e6a13bae14e1a42628d3e3a3faeaeb56c72375c4e15c2b2ac5bbb6d9f43492cb9431603a9f0aea10aba75f2fbe53f10480d0c WHIRLPOOL bd76825f3acf8e3ceed854c70dd27194915241b2fb3568d2883d443ef630804155585bf93e772dd6fbbb7a339a456d36b6ebdd297342d72900715f41be036b6d
+DIST skyldav-0.5.tar.gz 105274 SHA256 308b7a15b920a33c2c381aeb607db5bece9560e0a85e3e65c2df0d153413f4cc SHA512 24b9e3805574a2498b1e250cde790d6263f6f751546ad906303099bad5e722430568b1081764843a3c52f38730e8f26132f32058bea33c18f19673ac9147c323 WHIRLPOOL 77e77c25eaf3d0d3add4e1b03366c75dd1acdf8152d2987af61418a4793b1b0873cd0088e2bfd00c9864316e3b6e068c4bc96bc064cfec706a1b1b0c318d3aa1

diff --git a/app-antivirus/skyldav/files/skyldav-0.2_rc4-conf.patch b/app-antivirus/skyldav/files/skyldav-0.2_rc4-conf.patch
deleted file mode 100644
index d540b71..0000000
--- a/app-antivirus/skyldav/files/skyldav-0.2_rc4-conf.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-diff -urN skyldav-0.2rc4.orig/examples/etc/skyldav.conf skyldav-0.2rc4/examples/etc/skyldav.conf
---- skyldav-0.2rc4.orig/examples/etc/skyldav.conf	2013-08-25 13:20:14.000000000 +0200
-+++ skyldav-0.2rc4/examples/etc/skyldav.conf	2013-08-25 21:58:02.243407000 +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, debugfs, configfs, securityfs, cgroup, rpc_pipefs
- 
- # Mounts that shall not be marked for virus scan.
- # NOMARK_MNT = /mnt/noscan

diff --git a/app-antivirus/skyldav/files/skyldav-0.2_rc4-examples.patch b/app-antivirus/skyldav/files/skyldav-0.2_rc4-examples.patch
deleted file mode 100644
index bb6eb41..0000000
--- a/app-antivirus/skyldav/files/skyldav-0.2_rc4-examples.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -urN skyldav-0.2rc4.orig/Makefile.am skyldav-0.2rc4/Makefile.am
---- skyldav-0.2rc4.orig/Makefile.am	2013-08-25 13:20:14.000000000 +0200
-+++ skyldav-0.2rc4/Makefile.am	2013-08-25 21:59:35.374015000 +0200
-@@ -9,7 +9,6 @@
- 	rm -rf doc/doxygen
- 
- install-data-local: \
--  install-skyldav-examples \
-   install-skyldav-conf \
-   install-skyldavnotify-desktop
- 

diff --git a/app-antivirus/skyldav/files/skyldav-0.2_rc4-more-syslog-messages.patch b/app-antivirus/skyldav/files/skyldav-0.2_rc4-more-syslog-messages.patch
deleted file mode 100644
index 0fe7d70..0000000
--- a/app-antivirus/skyldav/files/skyldav-0.2_rc4-more-syslog-messages.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-diff -urN skyldav-0.2rc4.orig/src/skyldav/Messaging.cc skyldav-0.2rc4/src/skyldav/Messaging.cc
---- skyldav-0.2rc4.orig/src/skyldav/Messaging.cc	2013-08-25 13:20:14.000000000 +0200
-+++ skyldav-0.2rc4/src/skyldav/Messaging.cc	2013-08-25 21:49:02.856257000 +0200
-@@ -105,10 +105,12 @@
-             break;
-         case DEBUG:
-             type = "D";
-+            syslog(LOG_NOTICE, "%s", message.c_str());
-             std::cout << message << std::endl;
-             return;
-         default:
-             type = " ";
-+            syslog(LOG_NOTICE, "%s", message.c_str());
-             std::cout << message << std::endl;
-             break;
-     }

diff --git a/app-antivirus/skyldav/files/skyldav-0.2_rc4-sbin.patch b/app-antivirus/skyldav/files/skyldav-0.2_rc4-sbin.patch
deleted file mode 100644
index c58e50c..0000000
--- a/app-antivirus/skyldav/files/skyldav-0.2_rc4-sbin.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-diff -urN skyldav-0.2rc4.orig/src/skyldav/Makefile.am skyldav-0.2rc4/src/skyldav/Makefile.am
---- skyldav-0.2rc4.orig/src/skyldav/Makefile.am	2013-08-25 13:20:14.000000000 +0200
-+++ skyldav-0.2rc4/src/skyldav/Makefile.am	2013-08-25 21:59:08.894078000 +0200
-@@ -32,7 +32,7 @@
-   ThreadPool.cc \
-   VirusScan.cc
- 
--bin_PROGRAMS = \
-+sbin_PROGRAMS = \
-   skyldav
- 
- skyldav_LDFLAGS = \
-@@ -41,4 +41,4 @@
- skyldav_SOURCES = skyldav.h main.cc
- 
- check:
--	./skyldav --version
-\ No newline at end of file
-+	./skyldav --version

diff --git a/app-antivirus/skyldav/files/skyldav-0.4-conf.patch b/app-antivirus/skyldav/files/skyldav-0.5-conf.patch
similarity index 81%
rename from app-antivirus/skyldav/files/skyldav-0.4-conf.patch
rename to app-antivirus/skyldav/files/skyldav-0.5-conf.patch
index 337f415..8255f7a 100644
--- a/app-antivirus/skyldav/files/skyldav-0.4-conf.patch
+++ b/app-antivirus/skyldav/files/skyldav-0.5-conf.patch
@@ -1,6 +1,6 @@
-diff -urN skyldav-0.4.orig/examples/etc/skyldav.conf skyldav-0.4/examples/etc/skyldav.conf
---- skyldav-0.4.orig/examples/etc/skyldav.conf	2014-03-21 20:32:49.000000000 +0100
-+++ skyldav-0.4/examples/etc/skyldav.conf	2014-03-30 13:23:14.043578460 +0200
+diff -urN skyldav-0.5.orig/examples/etc/skyldav.conf skyldav-0.5/examples/etc/skyldav.conf
+--- skyldav-0.5.orig/examples/etc/skyldav.conf	2015-02-15 20:32:57.000000000 +0100
++++ skyldav-0.5/examples/etc/skyldav.conf	2016-01-21 14:02:27.656666425 +0100
 @@ -19,14 +19,21 @@
  
  # Directories that shall not be scanned (including subdirectories)
@@ -21,7 +21,7 @@ diff -urN skyldav-0.4.orig/examples/etc/skyldav.conf skyldav-0.4/examples/etc/sk
 +# (https://github.com/xypron/skyldav/commit/63b01b912d3eed80f3db92aec8647770546f5c1c).
 +# Note that FUSE file systems are automatically excluded from scanning
 +# (https://github.com/xypron/skyldav/issues/3).
-+NOMARK_FS = proc, sysfs, devpts, debugfs, securityfs, cgroup, rpc_pipefs, autofs, cifs
++NOMARK_FS = proc, sysfs, devpts, debugfs, securityfs, cgroup, rpc_pipefs, mqueue, autofs, cifs
  
  # Mounts that shall not be marked for virus scan.
  # NOMARK_MNT = /mnt/noscan

diff --git a/app-antivirus/skyldav/files/skyldav-0.5-examples.patch b/app-antivirus/skyldav/files/skyldav-0.5-examples.patch
new file mode 100644
index 0000000..5c61468
--- /dev/null
+++ b/app-antivirus/skyldav/files/skyldav-0.5-examples.patch
@@ -0,0 +1,11 @@
+diff -urN skyldav-0.5.orig/Makefile.am skyldav-0.5/Makefile.am
+--- skyldav-0.5.orig/Makefile.am	2015-02-15 20:32:57.000000000 +0100
++++ skyldav-0.5/Makefile.am	2016-01-21 14:11:14.883632470 +0100
+@@ -9,7 +9,6 @@
+ 	rm -rf doc/doxygen
+ 
+ install-data-local: \
+-  install-skyldav-examples \
+   install-skyldav-conf \
+   install-skyldavnotify-desktop
+ 

diff --git a/app-antivirus/skyldav/files/skyldav-0.5-syslog.patch b/app-antivirus/skyldav/files/skyldav-0.5-syslog.patch
new file mode 100644
index 0000000..2e72ce2
--- /dev/null
+++ b/app-antivirus/skyldav/files/skyldav-0.5-syslog.patch
@@ -0,0 +1,22 @@
+diff -urN skyldav-0.5.orig/src/skyldav/Messaging.cc skyldav-0.5/src/skyldav/Messaging.cc
+--- skyldav-0.5.orig/src/skyldav/Messaging.cc	2015-02-15 20:32:57.000000000 +0100
++++ skyldav-0.5/src/skyldav/Messaging.cc	2016-01-21 14:17:12.492010594 +0100
+@@ -118,15 +118,17 @@
+             break;
+         case INFORMATION:
+             type = "I";
+-            syslog(LOG_NOTICE, "%s", message.c_str());
++            syslog(LOG_INFO, "%s", message.c_str());
+             std::cout << message << std::endl;
+             break;
+         case DEBUG:
+             type = "D";
++            syslog(LOG_DEBUG, "%s", message.c_str());
+             std::cout << message << std::endl;
+             return;
+         default:
+             type = " ";
++            syslog(LOG_NOTICE, "%s", message.c_str());
+             std::cout << message << std::endl;
+             break;
+     }

diff --git a/app-antivirus/skyldav/files/skyldav.service b/app-antivirus/skyldav/files/skyldav.service
new file mode 100644
index 0000000..8d8ee5e
--- /dev/null
+++ b/app-antivirus/skyldav/files/skyldav.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=SkyldAV anti-virus on-access scanning daemon based upon Clam AV and fanotify
+Requires=local-fs.target clamd.service
+After=local-fs.target clamd.service
+
+[Service]
+Type=simple
+Environment="SKYLDAV_MESSAGE_LEVEL=2"
+ExecStart=/usr/sbin/skyldav -d -m ${SKYLDAV_MESSAGE_LEVEL}
+#KillMode=process
+#KillSignal=SIGTERM
+
+[Install]
+WantedBy=multi-user.target

diff --git a/app-antivirus/skyldav/files/skyldav.service.conf b/app-antivirus/skyldav/files/skyldav.service.conf
new file mode 100644
index 0000000..79c23a3
--- /dev/null
+++ b/app-antivirus/skyldav/files/skyldav.service.conf
@@ -0,0 +1,3 @@
+[Service]
+# skyldav message level (-m)
+#Environment="SKYLDAV_MESSAGE_LEVEL=1"

diff --git a/app-antivirus/skyldav/files/skyldav.tmpfilesd b/app-antivirus/skyldav/files/skyldav.tmpfilesd
new file mode 100644
index 0000000..a4f7cdc
--- /dev/null
+++ b/app-antivirus/skyldav/files/skyldav.tmpfilesd
@@ -0,0 +1,2 @@
+# skyldav runtime directory for skyldav.pid and log (used by skyldavnotify)
+d /run/skyldav 0755 root root -

diff --git a/app-antivirus/skyldav/skyldav-0.2.ebuild b/app-antivirus/skyldav/skyldav-0.2.ebuild
deleted file mode 100644
index a7c78e3..0000000
--- a/app-antivirus/skyldav/skyldav-0.2.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# 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
-
-DESCRIPTION="Skyld AV: on-access scanning daemon for ClamAV using fanotify"
-HOMEPAGE="http://xypron.github.io/skyldav/"
-
-## github release tarball
-MY_PV=${PV/_rc/rc}
-MY_P="${PN}-${MY_PV}"
-SRC_URI="https://github.com/xypron/skyldav/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
-
-## selfmade tarball
-#MY_PVR=${PVR/_rc/rc}
-#MY_P="${PN}-${MY_PVR}"
-#SRC_URI="http://dev.gentoo.org/~wschlich/src/${CATEGORY}/${PN}/${MY_P}.tar.gz"
-
-## github commit tarball
-#MY_GIT_COMMIT="49bdb5e710b5a77c38ceb87da6015afb7009f1f9"
-#MY_P="xypron-${PN}-${MY_GIT_COMMIT:0:7}"
-#SRC_URI="https://github.com/xypron/${PN}/tarball/${MY_GIT_COMMIT} -> ${PF}.tar.gz"
-
-S="${WORKDIR}/${MY_P}"
-
-KEYWORDS="~amd64 ~x86"
-SLOT="0"
-LICENSE="Apache-2.0"
-IUSE="libnotify"
-
-RDEPEND=">=app-antivirus/clamav-0.97.8
-	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}/${PN}-0.2_rc4-more-syslog-messages.patch"
-	"${FILESDIR}/${PN}-0.2_rc4-conf.patch"
-	"${FILESDIR}/${PN}-0.2_rc4-examples.patch"
-	"${FILESDIR}/${PN}-0.2_rc4-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}
-}

diff --git a/app-antivirus/skyldav/skyldav-0.2_rc4.ebuild b/app-antivirus/skyldav/skyldav-0.2_rc4.ebuild
deleted file mode 100644
index 64e7220..0000000
--- a/app-antivirus/skyldav/skyldav-0.2_rc4.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# 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
-
-DESCRIPTION="Skyld AV: on-access scanning daemon for ClamAV using fanotify"
-HOMEPAGE="http://xypron.github.io/skyldav/"
-
-## github release tarball
-MY_PV=${PV/_rc/rc}
-MY_P="${PN}-${MY_PV}"
-SRC_URI="https://github.com/xypron/skyldav/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
-
-## selfmade tarball
-#MY_PVR=${PVR/_rc/rc}
-#MY_P="${PN}-${MY_PVR}"
-#SRC_URI="http://dev.gentoo.org/~wschlich/src/${CATEGORY}/${PN}/${MY_P}.tar.gz"
-
-## github commit tarball
-#MY_GIT_COMMIT="3d875c4e361cba43a16d6e564f7b7461ffb5beab"
-#MY_P="xypron-${PN}-${MY_GIT_COMMIT:0:7}"
-#SRC_URI="https://github.com/xypron/${PN}/tarball/${MY_GIT_COMMIT} -> ${PF}.tar.gz"
-
-S="${WORKDIR}/${MY_P}"
-
-KEYWORDS="~amd64 ~x86"
-SLOT="0"
-LICENSE="Apache-2.0"
-IUSE="libnotify"
-
-RDEPEND=">=app-antivirus/clamav-0.97.8
-	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}-more-syslog-messages.patch"
-	"${FILESDIR}/${P}-conf.patch"
-	"${FILESDIR}/${P}-examples.patch"
-	"${FILESDIR}/${P}-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}
-}

diff --git a/app-antivirus/skyldav/skyldav-0.2_rc4_p20130829.ebuild b/app-antivirus/skyldav/skyldav-0.2_rc4_p20130829.ebuild
deleted file mode 100644
index e3dce21..0000000
--- a/app-antivirus/skyldav/skyldav-0.2_rc4_p20130829.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# 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
-
-DESCRIPTION="Skyld AV: on-access scanning daemon for ClamAV using fanotify"
-HOMEPAGE="http://xypron.github.io/skyldav/"
-
-## github release tarball
-#MY_PV=${PV/_rc/rc}
-#MY_P="${PN}-${MY_PV}"
-#SRC_URI="https://github.com/xypron/skyldav/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
-
-## selfmade tarball
-#MY_PVR=${PVR/_rc/rc}
-#MY_P="${PN}-${MY_PVR}"
-#SRC_URI="http://dev.gentoo.org/~wschlich/src/${CATEGORY}/${PN}/${MY_P}.tar.gz"
-
-## github commit tarball
-MY_GIT_COMMIT="49bdb5e710b5a77c38ceb87da6015afb7009f1f9"
-MY_P="xypron-${PN}-${MY_GIT_COMMIT:0:7}"
-SRC_URI="https://github.com/xypron/${PN}/tarball/${MY_GIT_COMMIT} -> ${PF}.tar.gz"
-
-S="${WORKDIR}/${MY_P}"
-
-KEYWORDS="~amd64 ~x86"
-SLOT="0"
-LICENSE="Apache-2.0"
-IUSE="libnotify"
-
-RDEPEND=">=app-antivirus/clamav-0.97.8
-	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}/${PN}-0.2_rc4-more-syslog-messages.patch"
-	"${FILESDIR}/${PN}-0.2_rc4-conf.patch"
-	"${FILESDIR}/${PN}-0.2_rc4-examples.patch"
-	"${FILESDIR}/${PN}-0.2_rc4-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}
-}

diff --git a/app-antivirus/skyldav/skyldav-0.4.ebuild b/app-antivirus/skyldav/skyldav-0.4.ebuild
deleted file mode 100644
index 602cf5c..0000000
--- a/app-antivirus/skyldav/skyldav-0.4.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2014 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
-
-DESCRIPTION="Skyld AV: on-access scanning daemon for ClamAV using fanotify"
-HOMEPAGE="http://xypron.github.io/skyldav/"
-
-## github release tarball
-MY_PV=${PV/_rc/rc}
-MY_P="${PN}-${MY_PV}"
-SRC_URI="https://github.com/xypron/skyldav/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
-
-## selfmade tarball
-#MY_PVR=${PVR/_rc/rc}
-#MY_P="${PN}-${MY_PVR}"
-#SRC_URI="http://dev.gentoo.org/~wschlich/src/${CATEGORY}/${PN}/${MY_P}.tar.gz"
-
-## github commit tarball
-#MY_GIT_COMMIT="49bdb5e710b5a77c38ceb87da6015afb7009f1f9"
-#MY_P="xypron-${PN}-${MY_GIT_COMMIT:0:7}"
-#SRC_URI="https://github.com/xypron/${PN}/tarball/${MY_GIT_COMMIT} -> ${PF}.tar.gz"
-
-S="${WORKDIR}/${MY_P}"
-
-KEYWORDS="~amd64 ~x86"
-SLOT="0"
-LICENSE="Apache-2.0"
-IUSE="libnotify"
-
-RDEPEND=">=app-antivirus/clamav-0.97.8
-	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}/${PN}-0.2_rc4-more-syslog-messages.patch"
-	"${FILESDIR}/${PN}-0.2_rc4-examples.patch"
-	"${FILESDIR}/${P}-conf.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}
-}

diff --git a/app-antivirus/skyldav/skyldav-0.4_p20141106.ebuild b/app-antivirus/skyldav/skyldav-0.4_p20141106.ebuild
deleted file mode 100644
index eb988d6..0000000
--- a/app-antivirus/skyldav/skyldav-0.4_p20141106.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2014 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
-
-DESCRIPTION="Skyld AV: on-access scanning daemon for ClamAV using fanotify"
-HOMEPAGE="http://xypron.github.io/skyldav/"
-
-## github release tarball
-#MY_PV=${PV/_rc/rc}
-#MY_P="${PN}-${MY_PV}"
-#SRC_URI="https://github.com/xypron/skyldav/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
-
-## selfmade tarball
-#MY_PVR=${PVR/_rc/rc}
-#MY_P="${PN}-${MY_PVR}"
-#SRC_URI="http://dev.gentoo.org/~wschlich/src/${CATEGORY}/${PN}/${MY_P}.tar.gz"
-
-## github commit tarball
-MY_GIT_COMMIT="a54c2520d8b3eafa6b68c1c577586a78a0989362"
-MY_P="xypron-${PN}-${MY_GIT_COMMIT:0:7}"
-SRC_URI="https://github.com/xypron/${PN}/tarball/${MY_GIT_COMMIT} -> ${PF}.tar.gz"
-
-S="${WORKDIR}/${MY_P}"
-
-KEYWORDS="~amd64 ~x86"
-SLOT="0"
-LICENSE="Apache-2.0"
-IUSE="libnotify"
-
-RDEPEND=">=app-antivirus/clamav-0.97.8
-	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}/${PN}-0.2_rc4-more-syslog-messages.patch"
-	"${FILESDIR}/${PN}-0.2_rc4-examples.patch"
-	"${FILESDIR}/${P%%_p*}-conf.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}
-}

diff --git a/app-antivirus/skyldav/skyldav-0.5.ebuild b/app-antivirus/skyldav/skyldav-0.5.ebuild
new file mode 100644
index 0000000..ddefa93
--- /dev/null
+++ b/app-antivirus/skyldav/skyldav-0.5.ebuild
@@ -0,0 +1,109 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit flag-o-matic linux-info linux-mod autotools-utils readme.gentoo-r1 systemd
+
+DESCRIPTION="Skyld AV: on-access scanning daemon for ClamAV using fanotify"
+HOMEPAGE="http://xypron.github.io/skyldav/"
+
+## github release tarball
+MY_PV=${PV/_rc/rc}
+MY_P="${PN}-${MY_PV}"
+SRC_URI="https://github.com/xypron/skyldav/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
+
+## selfmade tarball
+#MY_PVR=${PVR/_rc/rc}
+#MY_P="${PN}-${MY_PVR}"
+#SRC_URI="http://dev.gentoo.org/~wschlich/src/${CATEGORY}/${PN}/${MY_P}.tar.gz"
+
+## github commit tarball
+#MY_GIT_COMMIT="49bdb5e710b5a77c38ceb87da6015afb7009f1f9"
+#MY_P="xypron-${PN}-${MY_GIT_COMMIT:0:7}"
+#SRC_URI="https://github.com/xypron/${PN}/tarball/${MY_GIT_COMMIT} -> ${PF}.tar.gz"
+
+S="${WORKDIR}/${MY_P}"
+
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+LICENSE="Apache-2.0"
+IUSE="libnotify systemd"
+
+RDEPEND=">=app-antivirus/clamav-0.97.8
+	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}-syslog.patch"
+	"${FILESDIR}/${P}-examples.patch"
+	"${FILESDIR}/${P}-conf.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
+
+	## define contents for README.gentoo
+	if use systemd; then
+		DOC_CONTENTS='SkyldAV provides a systemd service.'$'\n'
+		DOC_CONTENTS+='Please edit the systemd service config file to match your needs:'$'\n'
+		DOC_CONTENTS+='/etc/systemd/system/skyldav.service.d/00gentoo.conf'$'\n'
+		DOC_CONTENTS+='# systemctl daemon-reload'$'\n'
+		DOC_CONTENTS+='# systemctl restart skyldav.service'$'\n'
+		DOC_CONTENTS+='Example for enabling the SkyldAV service:'$'\n'
+		DOC_CONTENTS+='# systemctl enable skyldav.service'$'\n'
+	else
+		DOC_CONTENTS='SkyldAV provides an init script for OpenRC.'$'\n'
+		DOC_CONTENTS+='Please edit the init script config file to match your needs:'$'\n'
+		DOC_CONTENTS+='/etc/conf.d/skyldav'$'\n'
+		DOC_CONTENTS+='Example for enabling the SkyldAV init script:'$'\n'
+		DOC_CONTENTS+='# rc-update add skyldav default'$'\n'
+	fi
+}
+
+src_configure() {
+	local myeconfargs=(
+		$(use_with libnotify notification)
+	)
+	autotools-utils_src_configure
+}
+
+src_install() {
+	autotools-utils_src_install
+
+	## install systemd service or OpenRC init scripts
+	if use systemd; then
+		systemd_dounit "${FILESDIR}/skyldav.service"
+		systemd_install_serviced "${FILESDIR}"/skyldav.service.conf
+		systemd_newtmpfilesd "${FILESDIR}"/skyldav.tmpfilesd skyldav.conf
+	else
+		newinitd "${FILESDIR}/${PN}.initd" ${PN}
+		newconfd "${FILESDIR}/${PN}.confd" ${PN}
+	fi
+
+	## create README.gentoo from ${DOC_CONTENTS}
+	DISABLE_AUTOFORMATTING=1 readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+	## workaround for /usr/lib/tmpfiles.d/skyldav.conf
+	## not getting processed until the next reboot
+	if use systemd; then
+		install -d -m 0755 -o root -g root /run/skyldav
+	fi
+}


^ permalink raw reply related	[flat|nested] 6+ messages in thread
* [gentoo-commits] dev/wschlich:master commit in: app-antivirus/skyldav/, app-antivirus/skyldav/files/
@ 2013-08-25 20:30 Wolfram Schlich
  0 siblings, 0 replies; 6+ messages in thread
From: Wolfram Schlich @ 2013-08-25 20:30 UTC (permalink / raw
  To: gentoo-commits

commit:     2ea608b71539b4cd76ddba6161012ede9cd7daf2
Author:     Wolfram Schlich <wschlich <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 25 20:27:21 2013 +0000
Commit:     Wolfram Schlich <wschlich <AT> gentoo <DOT> org>
CommitDate: Sun Aug 25 20:27:21 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/wschlich.git;a=commit;h=2ea608b7

version bump, removed old versions

Package-Manager: portage-2.2.1

---
 app-antivirus/skyldav/ChangeLog                    | 12 ++++
 app-antivirus/skyldav/Manifest                     |  3 +-
 .../files/skyldav-0.2_rc3_p20130821-examples.patch | 11 ----
 ...30824-conf.patch => skyldav-0.2_rc4-conf.patch} |  8 +--
 .../skyldav/files/skyldav-0.2_rc4-examples.patch   | 11 ++++
 .../skyldav-0.2_rc4-more-syslog-messages.patch     | 16 ++++++
 ...2_rc3-sbin.patch => skyldav-0.2_rc4-sbin.patch} |  6 +-
 .../skyldav/skyldav-0.2_rc3_p20130824.ebuild       | 64 ----------------------
 ...rc3_p20130825.ebuild => skyldav-0.2_rc4.ebuild} | 19 ++++---
 9 files changed, 57 insertions(+), 93 deletions(-)

diff --git a/app-antivirus/skyldav/ChangeLog b/app-antivirus/skyldav/ChangeLog
index 4def468..89e6bdf 100644
--- a/app-antivirus/skyldav/ChangeLog
+++ b/app-antivirus/skyldav/ChangeLog
@@ -1,3 +1,15 @@
+*skyldav-0.2_rc4 (25 Aug 2013)
+
+  25 Aug 2013; Wolfram Schlich <wschlich@gentoo.org>
+  +files/skyldav-0.2_rc4-conf.patch, +files/skyldav-0.2_rc4-examples.patch,
+  +files/skyldav-0.2_rc4-more-syslog-messages.patch,
+  +files/skyldav-0.2_rc4-sbin.patch, +skyldav-0.2_rc4.ebuild,
+  -files/skyldav-0.2_rc3-sbin.patch,
+  -files/skyldav-0.2_rc3_p20130821-examples.patch,
+  -files/skyldav-0.2_rc3_p20130824-conf.patch,
+  -skyldav-0.2_rc3_p20130824.ebuild, -skyldav-0.2_rc3_p20130825.ebuild:
+  version bump, removed old versions
+
 *skyldav-0.2_rc3_p20130825 (25 Aug 2013)
 
   25 Aug 2013; Wolfram Schlich <wschlich@gentoo.org>

diff --git a/app-antivirus/skyldav/Manifest b/app-antivirus/skyldav/Manifest
index bcbfd85..ce75daa 100644
--- a/app-antivirus/skyldav/Manifest
+++ b/app-antivirus/skyldav/Manifest
@@ -1,2 +1 @@
-DIST skyldav-0.2_rc3_p20130825.tar.gz 101683 SHA256 290dcc7abba2f6da000f0910ef44f3672ca09a304f4702631ba487f359386894 SHA512 cf1537c81ebce00b19d057fa87bc4074413469a132e69b5d568a34f381dd1ff646efb620f117eab7201b0bf57c850f90f380bde6f93e9c4b32127dafa6387717 WHIRLPOOL 9d811f9e8668cbf796ae7ecf7d33fbb2b79ab1c9eb96d4c91bb0523076b8376bcfabba9ada44814235b048cd4f948562acdcc5c52b4c439a589d7aefd1754bd1
-DIST skyldav-0.2rc3_p20130824.tar.gz 100909 SHA256 580729fd196fbdc8bea151e1aac31f5870d803601fd3da96c4092ce7613ad0c1 SHA512 eacbeead5b097cffb2587375ee63e14163cbd6e0fe7a21bf1ef8947e630bab28dbfe0f51ec2ba3d646533514e0f4b9d4d1b10137315d72c9aebdb4c4e72b1ebe WHIRLPOOL 35c608f1c30710e7f32f72d30664d91f9c2d007e69c03a183fe3ec5747f7acd623daa3ee8e9630dd03f8325bae74ad56bad233e4251da10408ec9a4b385de44b
+DIST skyldav-0.2rc4.tar.gz 102690 SHA256 9752520ca4b50ee181541b4decddffacd17c192bcf059e5d89d5de5485747bc3 SHA512 ed62c459907afed619df362f08b2eb565cef70b2c10f1da7f64d72a0ee2767f776387b38b50c3729eaca33ac640b827bdd1cb02f117778944c512d8902f40858 WHIRLPOOL 90cae16a26122df1db9c4d0c4ba13fa5939febdbc2d2e61ed5a0755234f3fe2ec055bcd138c7f2fd9c2ad1827b0aa3789117d755c5100c1ba1e7f5863a004e09

diff --git a/app-antivirus/skyldav/files/skyldav-0.2_rc3_p20130821-examples.patch b/app-antivirus/skyldav/files/skyldav-0.2_rc3_p20130821-examples.patch
deleted file mode 100644
index 03bcb33..0000000
--- a/app-antivirus/skyldav/files/skyldav-0.2_rc3_p20130821-examples.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -urN skyldav-0.2rc3_p20130821.orig/Makefile.am skyldav-0.2rc3_p20130821/Makefile.am
---- skyldav-0.2rc3_p20130821.orig/Makefile.am	2013-08-21 06:56:18.000000000 +0200
-+++ skyldav-0.2rc3_p20130821/Makefile.am	2013-08-21 07:26:49.435950000 +0200
-@@ -9,7 +9,6 @@
- 	rm -rf doc/doxygen
- 
- install-data-local: \
--  install-skyldav-examples \
-   install-skyldav-conf \
-   install-skyldavnotify-desktop
- 

diff --git a/app-antivirus/skyldav/files/skyldav-0.2_rc3_p20130824-conf.patch b/app-antivirus/skyldav/files/skyldav-0.2_rc4-conf.patch
similarity index 62%
rename from app-antivirus/skyldav/files/skyldav-0.2_rc3_p20130824-conf.patch
rename to app-antivirus/skyldav/files/skyldav-0.2_rc4-conf.patch
index 646d148..d540b71 100644
--- a/app-antivirus/skyldav/files/skyldav-0.2_rc3_p20130824-conf.patch
+++ b/app-antivirus/skyldav/files/skyldav-0.2_rc4-conf.patch
@@ -1,6 +1,6 @@
-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
+diff -urN skyldav-0.2rc4.orig/examples/etc/skyldav.conf skyldav-0.2rc4/examples/etc/skyldav.conf
+--- skyldav-0.2rc4.orig/examples/etc/skyldav.conf	2013-08-25 13:20:14.000000000 +0200
++++ skyldav-0.2rc4/examples/etc/skyldav.conf	2013-08-25 21:58:02.243407000 +0200
 @@ -19,14 +19,15 @@
  
  # Directories that shall not be scanned (including subdirectories)
@@ -15,7 +15,7 @@ diff -urN skyldav-0.2rc3_p20130824.orig/examples/etc/skyldav.conf skyldav-0.2rc3
  # 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
++NOMARK_FS = proc, sysfs, devtmpfs, devpts, debugfs, configfs, securityfs, cgroup, rpc_pipefs
  
  # Mounts that shall not be marked for virus scan.
  # NOMARK_MNT = /mnt/noscan

diff --git a/app-antivirus/skyldav/files/skyldav-0.2_rc4-examples.patch b/app-antivirus/skyldav/files/skyldav-0.2_rc4-examples.patch
new file mode 100644
index 0000000..bb6eb41
--- /dev/null
+++ b/app-antivirus/skyldav/files/skyldav-0.2_rc4-examples.patch
@@ -0,0 +1,11 @@
+diff -urN skyldav-0.2rc4.orig/Makefile.am skyldav-0.2rc4/Makefile.am
+--- skyldav-0.2rc4.orig/Makefile.am	2013-08-25 13:20:14.000000000 +0200
++++ skyldav-0.2rc4/Makefile.am	2013-08-25 21:59:35.374015000 +0200
+@@ -9,7 +9,6 @@
+ 	rm -rf doc/doxygen
+ 
+ install-data-local: \
+-  install-skyldav-examples \
+   install-skyldav-conf \
+   install-skyldavnotify-desktop
+ 

diff --git a/app-antivirus/skyldav/files/skyldav-0.2_rc4-more-syslog-messages.patch b/app-antivirus/skyldav/files/skyldav-0.2_rc4-more-syslog-messages.patch
new file mode 100644
index 0000000..0fe7d70
--- /dev/null
+++ b/app-antivirus/skyldav/files/skyldav-0.2_rc4-more-syslog-messages.patch
@@ -0,0 +1,16 @@
+diff -urN skyldav-0.2rc4.orig/src/skyldav/Messaging.cc skyldav-0.2rc4/src/skyldav/Messaging.cc
+--- skyldav-0.2rc4.orig/src/skyldav/Messaging.cc	2013-08-25 13:20:14.000000000 +0200
++++ skyldav-0.2rc4/src/skyldav/Messaging.cc	2013-08-25 21:49:02.856257000 +0200
+@@ -105,10 +105,12 @@
+             break;
+         case DEBUG:
+             type = "D";
++            syslog(LOG_NOTICE, "%s", message.c_str());
+             std::cout << message << std::endl;
+             return;
+         default:
+             type = " ";
++            syslog(LOG_NOTICE, "%s", message.c_str());
+             std::cout << message << std::endl;
+             break;
+     }

diff --git a/app-antivirus/skyldav/files/skyldav-0.2_rc3-sbin.patch b/app-antivirus/skyldav/files/skyldav-0.2_rc4-sbin.patch
similarity index 50%
rename from app-antivirus/skyldav/files/skyldav-0.2_rc3-sbin.patch
rename to app-antivirus/skyldav/files/skyldav-0.2_rc4-sbin.patch
index e984252..c58e50c 100644
--- a/app-antivirus/skyldav/files/skyldav-0.2_rc3-sbin.patch
+++ b/app-antivirus/skyldav/files/skyldav-0.2_rc4-sbin.patch
@@ -1,6 +1,6 @@
-diff -urN skyldav-0.2rc3.orig/src/skyldav/Makefile.am skyldav-0.2rc3/src/skyldav/Makefile.am
---- skyldav-0.2rc3.orig/src/skyldav/Makefile.am	2013-07-20 14:36:43.000000000 +0200
-+++ skyldav-0.2rc3/src/skyldav/Makefile.am	2013-08-16 11:17:41.489230000 +0200
+diff -urN skyldav-0.2rc4.orig/src/skyldav/Makefile.am skyldav-0.2rc4/src/skyldav/Makefile.am
+--- skyldav-0.2rc4.orig/src/skyldav/Makefile.am	2013-08-25 13:20:14.000000000 +0200
++++ skyldav-0.2rc4/src/skyldav/Makefile.am	2013-08-25 21:59:08.894078000 +0200
 @@ -32,7 +32,7 @@
    ThreadPool.cc \
    VirusScan.cc

diff --git a/app-antivirus/skyldav/skyldav-0.2_rc3_p20130824.ebuild b/app-antivirus/skyldav/skyldav-0.2_rc3_p20130824.ebuild
deleted file mode 100644
index 3ca9d4a..0000000
--- a/app-antivirus/skyldav/skyldav-0.2_rc3_p20130824.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# 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}
-}

diff --git a/app-antivirus/skyldav/skyldav-0.2_rc3_p20130825.ebuild b/app-antivirus/skyldav/skyldav-0.2_rc4.ebuild
similarity index 75%
rename from app-antivirus/skyldav/skyldav-0.2_rc3_p20130825.ebuild
rename to app-antivirus/skyldav/skyldav-0.2_rc4.ebuild
index 9932b97..64e7220 100644
--- a/app-antivirus/skyldav/skyldav-0.2_rc3_p20130825.ebuild
+++ b/app-antivirus/skyldav/skyldav-0.2_rc4.ebuild
@@ -10,9 +10,9 @@ DESCRIPTION="Skyld AV: on-access scanning daemon for ClamAV using fanotify"
 HOMEPAGE="http://xypron.github.io/skyldav/"
 
 ## github release tarball
-#MY_PV=${PV/_rc/rc}
-#MY_P="${PN}-${MY_PV}"
-#SRC_URI="https://github.com/xypron/skyldav/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
+MY_PV=${PV/_rc/rc}
+MY_P="${PN}-${MY_PV}"
+SRC_URI="https://github.com/xypron/skyldav/archive/${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
 
 ## selfmade tarball
 #MY_PVR=${PVR/_rc/rc}
@@ -20,9 +20,9 @@ HOMEPAGE="http://xypron.github.io/skyldav/"
 #SRC_URI="http://dev.gentoo.org/~wschlich/src/${CATEGORY}/${PN}/${MY_P}.tar.gz"
 
 ## github commit tarball
-MY_GIT_COMMIT="3d875c4e361cba43a16d6e564f7b7461ffb5beab"
-MY_P="xypron-${PN}-${MY_GIT_COMMIT:0:7}"
-SRC_URI="https://github.com/xypron/${PN}/tarball/${MY_GIT_COMMIT} -> ${PF}.tar.gz"
+#MY_GIT_COMMIT="3d875c4e361cba43a16d6e564f7b7461ffb5beab"
+#MY_P="xypron-${PN}-${MY_GIT_COMMIT:0:7}"
+#SRC_URI="https://github.com/xypron/${PN}/tarball/${MY_GIT_COMMIT} -> ${PF}.tar.gz"
 
 S="${WORKDIR}/${MY_P}"
 
@@ -47,9 +47,10 @@ AUTOTOOLS_AUTORECONF="1"
 AUTOTOOLS_IN_SOURCE_BUILD="1"
 DOCS=( AUTHORS NEWS README )
 PATCHES=(
-	"${FILESDIR}/${PN}-0.2_rc3_p20130824-conf.patch"
-	"${FILESDIR}/${PN}-0.2_rc3_p20130821-examples.patch"
-	"${FILESDIR}/${PN}-0.2_rc3-sbin.patch"
+	"${FILESDIR}/${P}-more-syslog-messages.patch"
+	"${FILESDIR}/${P}-conf.patch"
+	"${FILESDIR}/${P}-examples.patch"
+	"${FILESDIR}/${P}-sbin.patch"
 )
 
 pkg_setup() {


^ permalink raw reply related	[flat|nested] 6+ messages in thread
* [gentoo-commits] dev/wschlich:master commit in: app-antivirus/skyldav/, app-antivirus/skyldav/files/
@ 2013-08-24 22:00 Wolfram Schlich
  0 siblings, 0 replies; 6+ messages in thread
From: Wolfram Schlich @ 2013-08-24 22:00 UTC (permalink / raw
  To: gentoo-commits

commit:     319acbca8260de0c597543be482442e41319569c
Author:     Wolfram Schlich <wschlich <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 24 22:00:47 2013 +0000
Commit:     Wolfram Schlich <wschlich <AT> gentoo <DOT> org>
CommitDate: Sat Aug 24 22:00:47 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/wschlich.git;a=commit;h=319acbca

removed old versions

Package-Manager: portage-2.2.1

---
 app-antivirus/skyldav/ChangeLog                    |  10 +
 app-antivirus/skyldav/Manifest                     |   5 -
 .../skyldav/files/skyldav-0.2_rc3-conf.patch       |  20 --
 .../skyldav/files/skyldav-0.2_rc3-examples.patch   |  12 -
 .../skyldav/files/skyldav-0.2_rc3-openlog.patch    |  12 -
 .../files/skyldav-0.2_rc3_p20130816-syslog.patch   |  24 --
 ...v-0.2_rc3_p20130817-disable-skyldavnotify.patch | 362 ---------------------
 app-antivirus/skyldav/skyldav-0.2_rc3.ebuild       |  54 ---
 .../skyldav/skyldav-0.2_rc3_p20130816.ebuild       |  55 ----
 .../skyldav/skyldav-0.2_rc3_p20130817-r1.ebuild    |  57 ----
 .../skyldav/skyldav-0.2_rc3_p20130817.ebuild       |  54 ---
 .../skyldav/skyldav-0.2_rc3_p20130821-r1.ebuild    |  64 ----
 .../skyldav/skyldav-0.2_rc3_p20130821.ebuild       |  61 ----
 13 files changed, 10 insertions(+), 780 deletions(-)

diff --git a/app-antivirus/skyldav/ChangeLog b/app-antivirus/skyldav/ChangeLog
index 33e976c..4ccb67e 100644
--- a/app-antivirus/skyldav/ChangeLog
+++ b/app-antivirus/skyldav/ChangeLog
@@ -1,3 +1,13 @@
+  24 Aug 2013; Wolfram Schlich <wschlich@gentoo.org>
+  -files/skyldav-0.2_rc3-conf.patch, -files/skyldav-0.2_rc3-examples.patch,
+  -files/skyldav-0.2_rc3-openlog.patch,
+  -files/skyldav-0.2_rc3_p20130816-syslog.patch,
+  -files/skyldav-0.2_rc3_p20130817-disable-skyldavnotify.patch,
+  -skyldav-0.2_rc3.ebuild, -skyldav-0.2_rc3_p20130816.ebuild,
+  -skyldav-0.2_rc3_p20130817-r1.ebuild, -skyldav-0.2_rc3_p20130817.ebuild,
+  -skyldav-0.2_rc3_p20130821-r1.ebuild, -skyldav-0.2_rc3_p20130821.ebuild:
+  removed old versions
+
 *skyldav-0.2_rc3_p20130824 (24 Aug 2013)
 
   24 Aug 2013; Wolfram Schlich <wschlich@gentoo.org>

diff --git a/app-antivirus/skyldav/Manifest b/app-antivirus/skyldav/Manifest
index cbb9618..f8d39dc 100644
--- a/app-antivirus/skyldav/Manifest
+++ b/app-antivirus/skyldav/Manifest
@@ -1,6 +1 @@
-DIST skyldav-0.2rc3.tar.gz 100913 SHA256 219548b8529a0a7737fb774f1e4ba89acf91088982f9fb646bc9b0fb6015f801 SHA512 d535a8b884ea656069bcb50d7683de4d006e160f44691adbd6564d7729310cada7ff1652dc63c3b9b9cd755574fbd1e7516ccc8f10c6f42eb4d13d3c453b58e7 WHIRLPOOL 05217e707abfc47502e93be164ee383a9fff0ba2b40f5129bee77f4dfdddd87fec3f67bcfd974760b5204e27dedc026331249887cb7268066df578e6a23e78ea
-DIST skyldav-0.2rc3_p20130816.tar.gz 100972 SHA256 7a3037f2965320c16ee1f29deccf3bee034581b3f436f1c50042e50e514fb97f SHA512 6d9caf2d3f808c3fdf44daa6b5606d5b47aa3bb19750d25e414a60c21fbd764279dabe09b36f2fdc7cbf08686b3af8610ef926925223f7927f4d87fe039fad49 WHIRLPOOL ba1a4e389d57d994f1575d55878406068b6162243d732697d94fea8797524fd25525736291f2825b0b518af641eafa518eaf1057311185f07645c5173e614957
-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-conf.patch b/app-antivirus/skyldav/files/skyldav-0.2_rc3-conf.patch
deleted file mode 100644
index 3485bb4..0000000
--- a/app-antivirus/skyldav/files/skyldav-0.2_rc3-conf.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-diff -urN skyldav-0.2rc3.orig/examples/etc/skyldav.conf skyldav-0.2rc3/examples/etc/skyldav.conf
---- skyldav-0.2rc3.orig/examples/etc/skyldav.conf	2013-07-20 14:36:43.000000000 +0200
-+++ skyldav-0.2rc3/examples/etc/skyldav.conf	2013-08-17 11:41:17.016278000 +0200
-@@ -19,14 +19,14 @@
- 
- # 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
- 
- # 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
- 
- # Number of threads for file scanning,
- # defaults to the number of available CPUs.

diff --git a/app-antivirus/skyldav/files/skyldav-0.2_rc3-examples.patch b/app-antivirus/skyldav/files/skyldav-0.2_rc3-examples.patch
deleted file mode 100644
index d331dd3..0000000
--- a/app-antivirus/skyldav/files/skyldav-0.2_rc3-examples.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -urN skyldav-0.2rc3.orig/Makefile.am skyldav-0.2rc3/Makefile.am
---- skyldav-0.2rc3.orig/Makefile.am	2013-07-20 14:36:43.000000000 +0200
-+++ skyldav-0.2rc3/Makefile.am	2013-08-16 22:16:35.255347000 +0200
-@@ -9,8 +9,6 @@
- 	rm -rf doc/doxygen
- 
- install-data-local:
--	mkdir -p $(DESTDIR)$(docdir)/examples/
--	cp -rf $(srcdir)/examples/* $(DESTDIR)$(docdir)/examples/
- 	mkdir -p $(DESTDIR)$(sysconfdir)
- 	test -e $(DESTDIR)$(sysconfdir)/skyldav.conf || \
- 	cp examples/etc/skyldav.conf $(DESTDIR)$(sysconfdir)

diff --git a/app-antivirus/skyldav/files/skyldav-0.2_rc3-openlog.patch b/app-antivirus/skyldav/files/skyldav-0.2_rc3-openlog.patch
deleted file mode 100644
index bd790ec..0000000
--- a/app-antivirus/skyldav/files/skyldav-0.2_rc3-openlog.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -urN skyldav-0.2rc3.orig/src/skyldav/Messaging.cc skyldav-0.2rc3/src/skyldav/Messaging.cc
---- skyldav-0.2rc3.orig/src/skyldav/Messaging.cc	2013-07-20 14:36:43.000000000 +0200
-+++ skyldav-0.2rc3/src/skyldav/Messaging.cc	2013-08-16 16:42:56.319762000 +0200
-@@ -47,7 +47,7 @@
- 
-     // Open syslog.
-     setlogmask(LOG_UPTO(LOG_NOTICE));
--    openlog("Skyld AV", 0, LOG_USER);
-+    openlog("skyldav", LOG_PID, LOG_DAEMON);
- 
-     // Set umask = 022;
-     mask = umask(S_IWGRP | S_IWOTH);

diff --git a/app-antivirus/skyldav/files/skyldav-0.2_rc3_p20130816-syslog.patch b/app-antivirus/skyldav/files/skyldav-0.2_rc3_p20130816-syslog.patch
deleted file mode 100644
index d746747..0000000
--- a/app-antivirus/skyldav/files/skyldav-0.2_rc3_p20130816-syslog.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff -urN skyldav-0.2rc3_p20130816.orig/src/skyldav/Messaging.cc skyldav-0.2rc3_p20130816/src/skyldav/Messaging.cc
---- skyldav-0.2rc3_p20130816.orig/src/skyldav/Messaging.cc	2013-08-16 19:58:10.000000000 +0200
-+++ skyldav-0.2rc3_p20130816/src/skyldav/Messaging.cc	2013-08-16 22:07:37.743908000 +0200
-@@ -48,7 +48,7 @@
- 
-     // Open syslog.
-     setlogmask(LOG_UPTO(LOG_NOTICE));
--    openlog(SYSLOG_ID , 0, LOG_USER);
-+    openlog(SYSLOG_ID , LOG_PID, LOG_USER);
- 
-     // Set umask = 022;
-     mask = umask(S_IWGRP | S_IWOTH);
-diff -urN skyldav-0.2rc3_p20130816.orig/src/skyldav/skyldav.h skyldav-0.2rc3_p20130816/src/skyldav/skyldav.h
---- skyldav-0.2rc3_p20130816.orig/src/skyldav/skyldav.h	2013-08-16 19:58:10.000000000 +0200
-+++ skyldav-0.2rc3_p20130816/src/skyldav/skyldav.h	2013-08-16 22:07:10.715968000 +0200
-@@ -63,7 +63,7 @@
- 
-     const char *PID_FILE = "/var/run/skyldav/skyldav.pid";
-     
--    const char *SYSLOG_ID = "SkyldAV";
-+    const char *SYSLOG_ID = "skyldav";
-     
- #ifdef	__cplusplus
- }

diff --git a/app-antivirus/skyldav/files/skyldav-0.2_rc3_p20130817-disable-skyldavnotify.patch b/app-antivirus/skyldav/files/skyldav-0.2_rc3_p20130817-disable-skyldavnotify.patch
deleted file mode 100644
index 9f4a547..0000000
--- a/app-antivirus/skyldav/files/skyldav-0.2_rc3_p20130817-disable-skyldavnotify.patch
+++ /dev/null
@@ -1,362 +0,0 @@
-diff -urN skyldav-0.2rc3_p20130817.orig/configure.ac skyldav-0.2rc3_p20130817/configure.ac
---- skyldav-0.2rc3_p20130817.orig/configure.ac	2013-08-17 00:08:41.000000000 +0200
-+++ skyldav-0.2rc3_p20130817/configure.ac	2013-08-17 13:20:37.887072000 +0200
-@@ -51,10 +51,6 @@
- dnl set linker flags
- LDFLAGS="-g $LDFLAGS"
- 
--PKG_CHECK_MODULES([NOTIFY], [gtk+-2.0 >= 2.20.1 libnotify >= 0.5.0])
--AC_CHECK_HEADER([canberra.h], [],
--  [AC_MSG_ERROR([canberra.h header not found])])
--NOTIFY_LIBS="-lcanberra $NOTIFY_LIBS"
- AC_CHECK_HEADER([libmount/libmount.h], [],
-   [AC_MSG_ERROR([libmount/libmount.h header not found])])
- AC_CHECK_HEADER([sys/capability.h], [],
-@@ -73,7 +69,6 @@
- 
- AC_MSG_NOTICE([CPPFLAGS = $CPPFLAGS])
- AC_MSG_NOTICE([LDFLAGS  = $LDFLAGS])
--AC_MSG_NOTICE([NOTIFY_LIBS = $NOTIFY_LIBS])
- AC_MSG_NOTICE([SKYLDAV_LIBS = $SKYLDAV_LIBS])
- 
- dnl Check includes
-@@ -90,7 +85,6 @@
-   Makefile
-   man/Makefile
-   src/Makefile
--  src/notify/Makefile
-   src/skyldav/Makefile
-   test/Makefile
-   ])
-diff -urN skyldav-0.2rc3_p20130817.orig/Makefile.am skyldav-0.2rc3_p20130817/Makefile.am
---- skyldav-0.2rc3_p20130817.orig/Makefile.am	2013-08-17 00:08:41.000000000 +0200
-+++ skyldav-0.2rc3_p20130817/Makefile.am	2013-08-17 13:21:30.566228000 +0200
-@@ -14,10 +14,6 @@
- 	mkdir -p $(DESTDIR)$(sysconfdir)
- 	test -e $(DESTDIR)$(sysconfdir)/skyldav.conf || \
- 	cp examples/etc/skyldav.conf $(DESTDIR)$(sysconfdir)
--	mkdir -p $(DESTDIR)$(datadir)/autostart/
--	test -e $(DESTDIR)$(datadir)/autostart/skyldavnotify.desktop || \
--	cp examples/usr/share/autostart/skyldavnotify.desktop \
--	$(DESTDIR)$(datadir)/autostart/
- 
- dist-hook:
- 	rm -rf $(distdir)/doc/doxygen
-diff -urN skyldav-0.2rc3_p20130817.orig/man/Makefile.am skyldav-0.2rc3_p20130817/man/Makefile.am
---- skyldav-0.2rc3_p20130817.orig/man/Makefile.am	2013-08-17 00:08:41.000000000 +0200
-+++ skyldav-0.2rc3_p20130817/man/Makefile.am	2013-08-17 13:22:04.636393000 +0200
-@@ -1,6 +1,6 @@
- SECONDARY:
--dist_man_MANS = skyldav.1 skyldavnotify.1
-+dist_man_MANS = skyldav.1
- 
- EXTRA_DIST = \
--skyldav.1 skyldavnotify.1
-+skyldav.1
- 
-diff -urN skyldav-0.2rc3_p20130817.orig/man/skyldavnotify.1 skyldav-0.2rc3_p20130817/man/skyldavnotify.1
---- skyldav-0.2rc3_p20130817.orig/man/skyldavnotify.1	2013-08-17 00:08:41.000000000 +0200
-+++ skyldav-0.2rc3_p20130817/man/skyldavnotify.1	1970-01-01 01:00:00.000000000 +0100
-@@ -1,28 +0,0 @@
--.TH SKYLDAVNOTIFY 1 "June 23th, 2013" "version 0.1" "Skyld AV notification"
--.SH NAME
--skyldavnotify \- Desktop notification for Skyld AV
--.SH SYNOPSIS
--.B skyldavnotify
--.RB [ \-h ]
--.RB [ \-v ]
--.SH DESCRIPTION
--.PP
--This program notifies the user of a windows manager like KDE or GNOME if
--Skyld AV detected malware. Typical usage is to start this file using a
--desktop link
--.IR /usr/share/autostart/skyldavnotify.desktop .
--.PP
--.TP
--.B \-h
--Print usage information.
--.TP
--.B \-v
--Print the program version and licensing information.
--.SH AUTHOR
--Heinrich Schuchardt <xypron.glpk@gmx.de>
--.SH SEE ALSO
--.BR sykldav (1)
--.PP
--Further documentation and examples can be found in the documentation
--path, which defaults to
--.IR /usr/local/share/doc/skyldav .
-diff -urN skyldav-0.2rc3_p20130817.orig/src/Makefile.am skyldav-0.2rc3_p20130817/src/Makefile.am
---- skyldav-0.2rc3_p20130817.orig/src/Makefile.am	2013-08-17 00:08:41.000000000 +0200
-+++ skyldav-0.2rc3_p20130817/src/Makefile.am	2013-08-17 13:21:52.285856000 +0200
-@@ -1 +1 @@
--SUBDIRS = notify skyldav
-+SUBDIRS = skyldav
-diff -urN skyldav-0.2rc3_p20130817.orig/src/notify/Makefile.am skyldav-0.2rc3_p20130817/src/notify/Makefile.am
---- skyldav-0.2rc3_p20130817.orig/src/notify/Makefile.am	2013-08-17 00:08:41.000000000 +0200
-+++ skyldav-0.2rc3_p20130817/src/notify/Makefile.am	1970-01-01 01:00:00.000000000 +0100
-@@ -1,10 +0,0 @@
--AM_CPPFLAGS = $(NOTIFY_CFLAGS)
--skyldavnotify_LDADD = $(NOTIFY_LIBS)
--
--bin_PROGRAMS = \
--  skyldavnotify
--
--skyldavnotify_SOURCES = notify.h notify.cc
--
--check:
--	./skyldavnotify --version	
-\ No newline at end of file
-diff -urN skyldav-0.2rc3_p20130817.orig/src/notify/notify.cc skyldav-0.2rc3_p20130817/src/notify/notify.cc
---- skyldav-0.2rc3_p20130817.orig/src/notify/notify.cc	2013-08-17 00:08:41.000000000 +0200
-+++ skyldav-0.2rc3_p20130817/src/notify/notify.cc	1970-01-01 01:00:00.000000000 +0100
-@@ -1,185 +0,0 @@
--/* 
-- * File:   notify.c
-- * 
-- * Copyright 2013 Heinrich Schuchardt <xypron.glpk@gmx.de>
-- *
-- * Licensed under the Apache License, Version 2.0 (the "License");
-- * you may not use this file except in compliance with the License.
-- * You may obtain a copy of the License at
-- * 
-- *   http://www.apache.org/licenses/LICENSE-2.0
-- * 
-- * Unless required by applicable law or agreed to in writing, software
-- * distributed under the License is distributed on an "AS IS" BASIS,
-- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- * See the License for the specific language governing permissions and
-- * limitations under the License.
-- *
-- */
--
--/**
-- * @file notify.cc
-- * @brief Notify Skyld AV events.
-- *
-- * Sound depends on freedesktop-sound-theme
-- */
--
--#include <gtk/gtk.h>
--#include <libnotify/notify.h>
--#include <glib.h>
--#include <canberra.h>
--#include <stdio.h>
--#include <stdlib.h>
--#include <signal.h>
--#include "config.h"
--#include "notify.h"
--
--#define RUNNING  1
--#define STOPPING 2
--
--volatile sig_atomic_t status;
--
--static void sigint_handler(int sig) {
--    write(0, "\nSTOPPING\n", 10);
--    status = STOPPING;
--    }
--
--/**
-- * @brief Prints help message and exits.
-- */
--static void help() {
--    printf("%s", HELP_TEXT);
--    exit(EXIT_FAILURE);
--}
--
--/**
-- * @brief Shows version information and exits.
-- */
--static void version() {
--    printf("Skyld AV, version %s\n", VERSION);
--    printf("%s", VERSION_TEXT);
--    exit(EXIT_SUCCESS);
--}
--
--int main(int argc, char **argv)
--{
--    int i;
--    char *opt;
--    NotifyNotification *n;
--    char filename[] = "/run/skyldav/log";
--    char application[] = "Skyld AV";
--    char title[] = "Skyld AV";
--    char body[2048];
--    char *msg;
--    FILE *file;
--    struct sigaction sa;
--    
--    // Analyze command line options.
--    for (i = 1; i < argc; i++) {
--        opt = argv[i];
--        if (*opt == '-') {
--            opt++;
--        } else {
--            help();
--        }
--        if (*opt == '-') {
--            opt++;
--        }
--        switch (*opt) {
--            case 'v':
--                version();
--                break;
--            default:
--                help();
--        }
--    }    
--
--    printf("Skyld AV notifier %s\n", VERSION);
--    printf("Exit with CTRL+C\n");
--
--    file = fopen(filename, "r");
--    if (file == NULL) {
--      fprintf(stderr, "File '%s' not found\n", filename);
--      return EXIT_FAILURE;
--    }
--    // position to end of file
--    fseek(file, 0, SEEK_END);
--
--    sa.sa_handler = sigint_handler;
--    sa.sa_flags = 0; // or SA_RESTART
--    sigemptyset(&sa.sa_mask);
--    if (sigaction(SIGINT, &sa, NULL) == -1) {
--      perror("sigaction");
--      return EXIT_FAILURE;
--    }
--    
--    ca_context *c;
--      
--    // initialize gtk
--    gtk_init(&argc,&argv);
--   
--    // initialize notify
--    notify_init(application);
--
--    status = RUNNING;
--    
--    for (;;) {
--
--      msg = fgets(body, 2047, file);
--
--      if (msg == NULL) {
--        if (status != RUNNING) {
--          break;
--        }
--        if (feof(file)) {
--          usleep(500000);
--        }
--        if (ferror(file)) {
--          perror("fgets");
--        }
--        continue;
--      }
--
--      // create a new notification
--      switch(body[0]) {
--        case '\0':
--		case '\n':
--          n = notify_notification_new(title, "<Empty message>",
--		          "dialog-information");
--          break;
--        case 'E':
--          n = notify_notification_new(title, body + 1, "dialog-error");
--          break;
--        case 'W':
--          n = notify_notification_new(title, body + 1, "dialog-warning");
--          break;
--        case 'I':
--          n = notify_notification_new(title, body + 1, "dialog-information");
--          break;
--        default:
--          n = notify_notification_new(title, body + 1, "dialog-information");
--      }
--
--      // set the timeout to 9000 ms
--      notify_notification_set_timeout(n, 9000);
--   
--      // set the urgency level to critical
--      notify_notification_set_urgency (n, NOTIFY_URGENCY_CRITICAL);
--   
--      // show the notification
--      GError *error = NULL;
--      notify_notification_show(n, &error);
--
--      ca_context_create(&c);
--      ca_context_play(c, 0,
--              CA_PROP_EVENT_ID, "dialog-warning",
--              CA_PROP_EVENT_DESCRIPTION, title,
--              NULL);
--      usleep(500000);
--    }
--
--    fclose(file);
--
--    return EXIT_SUCCESS;
--}
--
-diff -urN skyldav-0.2rc3_p20130817.orig/src/notify/notify.h skyldav-0.2rc3_p20130817/src/notify/notify.h
---- skyldav-0.2rc3_p20130817.orig/src/notify/notify.h	2013-08-17 00:08:41.000000000 +0200
-+++ skyldav-0.2rc3_p20130817/src/notify/notify.h	1970-01-01 01:00:00.000000000 +0100
-@@ -1,60 +0,0 @@
--/* 
-- * File:   notify.h
-- * 
-- * Copyright 2013 Heinrich Schuchardt <xypron.glpk@gmx.de>
-- *
-- * Licensed under the Apache License, Version 2.0 (the "License");
-- * you may not use this file except in compliance with the License.
-- * You may obtain a copy of the License at
-- * 
-- *   http://www.apache.org/licenses/LICENSE-2.0
-- * 
-- * Unless required by applicable law or agreed to in writing, software
-- * distributed under the License is distributed on an "AS IS" BASIS,
-- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- * See the License for the specific language governing permissions and
-- * limitations under the License.
-- *
-- */
--
--/**
-- * @file notify.h
-- * @brief Notify Skyld AV events.
-- */
--
--#ifndef NOTIFY_H
--#define	NOTIFY_H
--
--#ifdef	__cplusplus
--extern "C" {
--#endif
--
--    const char *HELP_TEXT =
--            "Usage: skyldavnotify [OPTION]\n"
--            "Notification for Skyld AV on access virus scanner.\n\n"
--            "  -h               help\n"
--            "  -v               version\n\n"
--            "Licensed under the Apache License, Version 2.0.\n"
--            "Report errors to\n"
--            "Heinrich Schuchardt <xypron.glpk@gmx.de>\n";
--
--    const char *VERSION_TEXT =
--            "Notification for Skyld AV on access virus scanner.\n\n"
--            "Copyright 2013 Heinrich Schuchardt <xypron.glpk@gmx.de>\n\n"
--            "Licensed under the Apache License, Version 2.0 (the\n"
--            "\"License\"); you may not use this file except in compliance\n"
--            "with the License. You may obtain a copy of the License at\n\n"
--            "    http://www.apache.org/licenses/LICENSE-2.0\n\n"
--            "Unless required by applicable law or agreed to in writing,\n"
--            "software distributed under the License is distributed on an\n"
--            "\"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,\n"
--            "either express or implied. See the License for the specific\n"
--            "language governing permissions and limitations under the\n"
--            "License.\n";
--
--#ifdef	__cplusplus
--}
--#endif
--
--#endif	/* NOTIFY_H */
--

diff --git a/app-antivirus/skyldav/skyldav-0.2_rc3.ebuild b/app-antivirus/skyldav/skyldav-0.2_rc3.ebuild
deleted file mode 100644
index 548ea6e..0000000
--- a/app-antivirus/skyldav/skyldav-0.2_rc3.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=5
-AUTOTOOLS_AUTORECONF="1"
-
-inherit flag-o-matic linux-info linux-mod autotools-utils
-
-MY_PV=${PV/_rc/rc}
-MY_P="${PN}-${MY_PV}"
-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"
-HOMEPAGE="http://xypron.github.io/skyldav/"
-
-KEYWORDS="~amd64 ~x86"
-SLOT="0"
-LICENSE="Apache-2.0"
-IUSE=""
-
-RDEPEND="sys-apps/util-linux
-	sys-libs/libcap
-	media-libs/libcanberra[gtk]
-	x11-libs/libnotify
-	x11-libs/gtk+:2"
-DEPEND="${RDEPEND}
-	sys-devel/autoconf-archive"
-
-DOCS=( AUTHORS NEWS README )
-
-AUTOTOOLS_IN_SOURCE_BUILD="1"
-
-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_prepare() {
-	epatch "${FILESDIR}/${P}-examples.patch"
-	epatch "${FILESDIR}/${P}-sbin.patch"
-	epatch "${FILESDIR}/${P}-conf.patch"
-	epatch "${FILESDIR}/${P}-openlog.patch"
-	autotools-utils_src_prepare
-}
-
-src_install() {
-	autotools-utils_src_install
-	newinitd "${FILESDIR}/${PN}.initd" ${PN}
-	newconfd "${FILESDIR}/${PN}.confd" ${PN}
-}

diff --git a/app-antivirus/skyldav/skyldav-0.2_rc3_p20130816.ebuild b/app-antivirus/skyldav/skyldav-0.2_rc3_p20130816.ebuild
deleted file mode 100644
index c2545a2..0000000
--- a/app-antivirus/skyldav/skyldav-0.2_rc3_p20130816.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=5
-AUTOTOOLS_AUTORECONF="1"
-
-inherit flag-o-matic linux-info linux-mod autotools-utils
-
-MY_PV=${PV/_rc/rc}
-MY_P="${PN}-${MY_PV}"
-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=""
-
-RDEPEND="sys-apps/util-linux
-	sys-libs/libcap
-	media-libs/libcanberra[gtk]
-	x11-libs/libnotify
-	x11-libs/gtk+:2"
-DEPEND="${RDEPEND}
-	sys-devel/autoconf-archive"
-
-DOCS=( AUTHORS NEWS README )
-
-AUTOTOOLS_IN_SOURCE_BUILD="1"
-
-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_prepare() {
-	epatch "${FILESDIR}/${PN}-0.2_rc3-examples.patch"
-	epatch "${FILESDIR}/${PN}-0.2_rc3-sbin.patch"
-	epatch "${FILESDIR}/${PN}-0.2_rc3-conf.patch"
-	epatch "${FILESDIR}/${P}-syslog.patch"
-	autotools-utils_src_prepare
-}
-
-src_install() {
-	autotools-utils_src_install
-	newinitd "${FILESDIR}/${PN}.initd" ${PN}
-	newconfd "${FILESDIR}/${PN}.confd" ${PN}
-}

diff --git a/app-antivirus/skyldav/skyldav-0.2_rc3_p20130817-r1.ebuild b/app-antivirus/skyldav/skyldav-0.2_rc3_p20130817-r1.ebuild
deleted file mode 100644
index 529eb1b..0000000
--- a/app-antivirus/skyldav/skyldav-0.2_rc3_p20130817-r1.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=5
-AUTOTOOLS_AUTORECONF="1"
-
-inherit flag-o-matic linux-info linux-mod autotools-utils
-
-MY_PV=${PV/_rc/rc}
-MY_P="${PN}-${MY_PV}"
-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="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"
-
-DOCS=( AUTHORS NEWS README )
-
-AUTOTOOLS_IN_SOURCE_BUILD="1"
-
-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_prepare() {
-	epatch "${FILESDIR}/${PN}-0.2_rc3-examples.patch"
-	epatch "${FILESDIR}/${PN}-0.2_rc3-sbin.patch"
-	epatch "${FILESDIR}/${PN}-0.2_rc3-conf.patch"
-	use libnotify || epatch "${FILESDIR}/${P}-disable-skyldavnotify.patch"
-	autotools-utils_src_prepare
-}
-
-src_install() {
-	autotools-utils_src_install
-	newinitd "${FILESDIR}/${PN}.initd" ${PN}
-	newconfd "${FILESDIR}/${PN}.confd" ${PN}
-}

diff --git a/app-antivirus/skyldav/skyldav-0.2_rc3_p20130817.ebuild b/app-antivirus/skyldav/skyldav-0.2_rc3_p20130817.ebuild
deleted file mode 100644
index e5c1f65..0000000
--- a/app-antivirus/skyldav/skyldav-0.2_rc3_p20130817.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=5
-AUTOTOOLS_AUTORECONF="1"
-
-inherit flag-o-matic linux-info linux-mod autotools-utils
-
-MY_PV=${PV/_rc/rc}
-MY_P="${PN}-${MY_PV}"
-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=""
-
-RDEPEND="sys-apps/util-linux
-	sys-libs/libcap
-	media-libs/libcanberra[gtk]
-	x11-libs/libnotify
-	x11-libs/gtk+:2"
-DEPEND="${RDEPEND}
-	sys-devel/autoconf-archive"
-
-DOCS=( AUTHORS NEWS README )
-
-AUTOTOOLS_IN_SOURCE_BUILD="1"
-
-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_prepare() {
-	epatch "${FILESDIR}/${PN}-0.2_rc3-examples.patch"
-	epatch "${FILESDIR}/${PN}-0.2_rc3-sbin.patch"
-	epatch "${FILESDIR}/${PN}-0.2_rc3-conf.patch"
-	autotools-utils_src_prepare
-}
-
-src_install() {
-	autotools-utils_src_install
-	newinitd "${FILESDIR}/${PN}.initd" ${PN}
-	newconfd "${FILESDIR}/${PN}.confd" ${PN}
-}

diff --git a/app-antivirus/skyldav/skyldav-0.2_rc3_p20130821-r1.ebuild b/app-antivirus/skyldav/skyldav-0.2_rc3_p20130821-r1.ebuild
deleted file mode 100644
index 043755a..0000000
--- a/app-antivirus/skyldav/skyldav-0.2_rc3_p20130821-r1.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# 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_PVR=${PVR/_rc/rc}
-#MY_P="${PN}-${MY_PV}"
-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}-examples.patch"
-	"${FILESDIR}/${PN}-0.2_rc3-sbin.patch"
-	"${FILESDIR}/${PN}-0.2_rc3-conf.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}
-}

diff --git a/app-antivirus/skyldav/skyldav-0.2_rc3_p20130821.ebuild b/app-antivirus/skyldav/skyldav-0.2_rc3_p20130821.ebuild
deleted file mode 100644
index ba4ee18..0000000
--- a/app-antivirus/skyldav/skyldav-0.2_rc3_p20130821.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# 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}"
-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="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}-examples.patch"
-	"${FILESDIR}/${PN}-0.2_rc3-sbin.patch"
-	"${FILESDIR}/${PN}-0.2_rc3-conf.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}
-}


^ permalink raw reply related	[flat|nested] 6+ messages in thread
* [gentoo-commits] dev/wschlich:master commit in: app-antivirus/skyldav/, app-antivirus/skyldav/files/
@ 2013-08-24 21:39 Wolfram Schlich
  0 siblings, 0 replies; 6+ messages in thread
From: Wolfram Schlich @ 2013-08-24 21:39 UTC (permalink / raw
  To: gentoo-commits

commit:     cd3ce922da2afea4b2b28019ec9fa1a03f9dbff9
Author:     Wolfram Schlich <wschlich <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 24 21:39:10 2013 +0000
Commit:     Wolfram Schlich <wschlich <AT> gentoo <DOT> org>
CommitDate: Sat Aug 24 21:39:10 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/wschlich.git;a=commit;h=cd3ce922

update from upstream

Package-Manager: portage-2.2.1

---
 app-antivirus/skyldav/ChangeLog                    |  7 +++
 app-antivirus/skyldav/Manifest                     |  1 +
 .../files/skyldav-0.2_rc3_p20130824-conf.patch     | 21 +++++++
 .../skyldav/skyldav-0.2_rc3_p20130824.ebuild       | 64 ++++++++++++++++++++++
 4 files changed, 93 insertions(+)

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}
+}


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-02-01  6:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-30 12:11 [gentoo-commits] dev/wschlich:master commit in: app-antivirus/skyldav/, app-antivirus/skyldav/files/ Wolfram Schlich
  -- strict thread matches above, loose matches on Subject: below --
2016-02-01  6:36 Wolfram Schlich
2016-01-21 16:41 Wolfram Schlich
2013-08-25 20:30 Wolfram Schlich
2013-08-24 22:00 Wolfram Schlich
2013-08-24 21:39 Wolfram Schlich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox