* [gentoo-commits] repo/gentoo:master commit in: app-antivirus/skyldav/files/, app-antivirus/skyldav/
@ 2016-02-01 13:23 Wolfram Schlich
0 siblings, 0 replies; 4+ messages in thread
From: Wolfram Schlich @ 2016-02-01 13:23 UTC (permalink / raw
To: gentoo-commits
commit: f9e12fafac50b3d0ab4dfd5e3308e7316ecc5dd3
Author: Wolfram Schlich <wschlich <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 1 13:23:07 2016 +0000
Commit: Wolfram Schlich <wschlich <AT> gentoo <DOT> org>
CommitDate: Mon Feb 1 13:23:28 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9e12faf
app-antivirus/skyldav: adjust default config
Package-Manager: portage-2.2.27
.../{skyldav-0.5-conf.patch => skyldav-0.5-conf-r1.patch} | 8 +++++---
.../skyldav/{skyldav-0.5-r1.ebuild => skyldav-0.5-r2.ebuild} | 10 +++++-----
2 files changed, 10 insertions(+), 8 deletions(-)
diff --git a/app-antivirus/skyldav/files/skyldav-0.5-conf.patch b/app-antivirus/skyldav/files/skyldav-0.5-conf-r1.patch
similarity index 81%
rename from app-antivirus/skyldav/files/skyldav-0.5-conf.patch
rename to app-antivirus/skyldav/files/skyldav-0.5-conf-r1.patch
index 8255f7a..86b78c3 100644
--- a/app-antivirus/skyldav/files/skyldav-0.5-conf.patch
+++ b/app-antivirus/skyldav/files/skyldav-0.5-conf-r1.patch
@@ -1,11 +1,13 @@
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 @@
++++ skyldav-0.5/examples/etc/skyldav.conf 2016-02-01 11:29:19.449054900 +0100
+@@ -19,14 +19,23 @@
# 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
++#
++# Exclude various portage directories for performance reasons
++EXCLUDE_PATH = /usr/portage, /var/cache/edb, /var/db/pkg, /var/tmp/portage, /var/tmp/binpkgs, /var/log/portage
# File systems that are local, virus scan results may be cached.
# LOCAL_FS = ext3, ext4, iso9660, tmpfs, vfat
diff --git a/app-antivirus/skyldav/skyldav-0.5-r1.ebuild b/app-antivirus/skyldav/skyldav-0.5-r2.ebuild
similarity index 90%
rename from app-antivirus/skyldav/skyldav-0.5-r1.ebuild
rename to app-antivirus/skyldav/skyldav-0.5-r2.ebuild
index 3175fc8..9b78b0a 100644
--- a/app-antivirus/skyldav/skyldav-0.5-r1.ebuild
+++ b/app-antivirus/skyldav/skyldav-0.5-r2.ebuild
@@ -49,7 +49,7 @@ DOCS=( AUTHORS NEWS README )
PATCHES=(
"${FILESDIR}/${P}-syslog.patch"
"${FILESDIR}/${P}-examples.patch"
- "${FILESDIR}/${P}-conf.patch"
+ "${FILESDIR}/${P}-conf-r1.patch"
)
pkg_setup() {
@@ -60,18 +60,18 @@ pkg_setup() {
## define contents for README.gentoo
if use systemd; then
- DOC_CONTENTS='SkyldAV provides a systemd service.'$'\n'
+ DOC_CONTENTS='Skyld AV 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+='Example for enabling the Skyld AV service:'$'\n'
DOC_CONTENTS+='# systemctl enable skyldav.service'$'\n'
else
- DOC_CONTENTS='SkyldAV provides an init script for OpenRC.'$'\n'
+ DOC_CONTENTS='Skyld AV 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+='Example for enabling the Skyld AV init script:'$'\n'
DOC_CONTENTS+='# rc-update add skyldav default'$'\n'
fi
}
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-antivirus/skyldav/files/, app-antivirus/skyldav/
@ 2016-04-22 16:24 Wolfram Schlich
0 siblings, 0 replies; 4+ messages in thread
From: Wolfram Schlich @ 2016-04-22 16:24 UTC (permalink / raw
To: gentoo-commits
commit: 7f30703fcaa8a58bbcca2f7c48de9cf9b44922c5
Author: Wolfram Schlich <wschlich <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 22 16:23:52 2016 +0000
Commit: Wolfram Schlich <wschlich <AT> gentoo <DOT> org>
CommitDate: Fri Apr 22 16:24:13 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f30703f
app-antivirus/skyldav: version bump
Package-Manager: portage-2.2.28
app-antivirus/skyldav/Manifest | 1 +
app-antivirus/skyldav/files/skyldav-0.6-conf.patch | 21 ++++
.../skyldav/files/skyldav-0.6-examples.patch | 11 +++
app-antivirus/skyldav/skyldav-0.6.ebuild | 108 +++++++++++++++++++++
4 files changed, 141 insertions(+)
diff --git a/app-antivirus/skyldav/Manifest b/app-antivirus/skyldav/Manifest
index f729e27..bdf78a4 100644
--- a/app-antivirus/skyldav/Manifest
+++ b/app-antivirus/skyldav/Manifest
@@ -1 +1,2 @@
DIST skyldav-0.5.tar.gz 105274 SHA256 308b7a15b920a33c2c381aeb607db5bece9560e0a85e3e65c2df0d153413f4cc SHA512 24b9e3805574a2498b1e250cde790d6263f6f751546ad906303099bad5e722430568b1081764843a3c52f38730e8f26132f32058bea33c18f19673ac9147c323 WHIRLPOOL 77e77c25eaf3d0d3add4e1b03366c75dd1acdf8152d2987af61418a4793b1b0873cd0088e2bfd00c9864316e3b6e068c4bc96bc064cfec706a1b1b0c318d3aa1
+DIST skyldav-0.6.tar.gz 105783 SHA256 a8820960a5296c23974dc59acf021c387678f392b295b4de70d134147753cca5 SHA512 3dcc6be287bfc7115cc360df97677fa12db5974d4917e476f37ad72097a6c2f224c3f57f84430591760c231ff02f277b908002a0b2bad250e971571f663d51c1 WHIRLPOOL 9cc38dc603ef46b12b6f14af2e58e20b44497afa47410d929187ecbc8ace15cd500d35fc7f35c68abd6d9587a6c83d355e32956455b120ab33b7bbd0800fe97c
diff --git a/app-antivirus/skyldav/files/skyldav-0.6-conf.patch b/app-antivirus/skyldav/files/skyldav-0.6-conf.patch
new file mode 100644
index 0000000..879e445
--- /dev/null
+++ b/app-antivirus/skyldav/files/skyldav-0.6-conf.patch
@@ -0,0 +1,21 @@
+diff -urN skyldav-0.6.orig/examples/etc/skyldav.conf skyldav-0.6/examples/etc/skyldav.conf
+--- skyldav-0.6.orig/examples/etc/skyldav.conf 2016-04-13 00:55:28.000000000 +0200
++++ skyldav-0.6/examples/etc/skyldav.conf 2016-04-22 10:18:56.631146410 +0200
+@@ -22,6 +22,9 @@
+
+ # Directories that shall not be scanned (including subdirectories)
+ # EXCLUDE_PATH = /var/noscan, /opt/noscan
++#
++# Exclude various portage directories for performance reasons
++EXCLUDE_PATH = /usr/portage, /var/cache/edb, /var/db/pkg, /var/tmp/portage, /var/tmp/binpkgs, /var/log/portage
+
+ # File systems that are local, virus scan results may be cached.
+ # LOCAL_FS = ext3, ext4, iso9660, tmpfs, vfat
+@@ -31,6 +34,7 @@
+ # File systems that shall not be marked for virus scan.
+ # Cifs uses a background daemon which causes problems when scanned.
+ # Exclusion of fuse file systems is hard coded.
++# Do not exclude devtmpfs and configfs, as userspace could write malware onto them!
+ # NOMARK_FS = proc, sysfs
+ NOMARK_FS = proc, sysfs, devpts, debugfs, securityfs, cgroup, rpc_pipefs
+ NOMARK_FS = mqueue, autofs, cifs
diff --git a/app-antivirus/skyldav/files/skyldav-0.6-examples.patch b/app-antivirus/skyldav/files/skyldav-0.6-examples.patch
new file mode 100644
index 0000000..7ae29a1
--- /dev/null
+++ b/app-antivirus/skyldav/files/skyldav-0.6-examples.patch
@@ -0,0 +1,11 @@
+diff -urN skyldav-0.6.orig/Makefile.am skyldav-0.6/Makefile.am
+--- skyldav-0.6.orig/Makefile.am 2016-04-13 00:55:28.000000000 +0200
++++ skyldav-0.6/Makefile.am 2016-04-22 10:19:55.730771296 +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/skyldav-0.6.ebuild b/app-antivirus/skyldav/skyldav-0.6.ebuild
new file mode 100644
index 0000000..c484868
--- /dev/null
+++ b/app-antivirus/skyldav/skyldav-0.6.ebuild
@@ -0,0 +1,108 @@
+# 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}-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='Skyld AV 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 Skyld AV service:'$'\n'
+ DOC_CONTENTS+='# systemctl enable skyldav.service'$'\n'
+ else
+ DOC_CONTENTS='Skyld AV 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 Skyld AV 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_newunit "${FILESDIR}/skyldav.service-r1" 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] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-antivirus/skyldav/files/, app-antivirus/skyldav/
@ 2017-02-23 15:40 Wolfram Schlich
0 siblings, 0 replies; 4+ messages in thread
From: Wolfram Schlich @ 2017-02-23 15:40 UTC (permalink / raw
To: gentoo-commits
commit: 248d73194d0b5f8bfe3ac413d55438241aed5ef0
Author: Wolfram Schlich <wschlich <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 23 15:35:59 2017 +0000
Commit: Wolfram Schlich <wschlich <AT> gentoo <DOT> org>
CommitDate: Thu Feb 23 15:36:16 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=248d7319
app-antivirus/skyldav: removed old versions
Package-Manager: portage-2.3.3
app-antivirus/skyldav/Manifest | 2 -
.../skyldav/files/skyldav-0.5-conf-r1.patch | 29 ------
.../skyldav/files/skyldav-0.5-examples.patch | 11 ---
.../skyldav/files/skyldav-0.5-syslog.patch | 22 -----
app-antivirus/skyldav/files/skyldav-0.6-conf.patch | 21 ----
.../skyldav/files/skyldav-0.6-examples.patch | 11 ---
app-antivirus/skyldav/skyldav-0.5-r2.ebuild | 109 ---------------------
app-antivirus/skyldav/skyldav-0.6.ebuild | 108 --------------------
8 files changed, 313 deletions(-)
diff --git a/app-antivirus/skyldav/Manifest b/app-antivirus/skyldav/Manifest
index 870891d2b2..74a70c226a 100644
--- a/app-antivirus/skyldav/Manifest
+++ b/app-antivirus/skyldav/Manifest
@@ -1,3 +1 @@
-DIST skyldav-0.5.tar.gz 105274 SHA256 308b7a15b920a33c2c381aeb607db5bece9560e0a85e3e65c2df0d153413f4cc SHA512 24b9e3805574a2498b1e250cde790d6263f6f751546ad906303099bad5e722430568b1081764843a3c52f38730e8f26132f32058bea33c18f19673ac9147c323 WHIRLPOOL 77e77c25eaf3d0d3add4e1b03366c75dd1acdf8152d2987af61418a4793b1b0873cd0088e2bfd00c9864316e3b6e068c4bc96bc064cfec706a1b1b0c318d3aa1
-DIST skyldav-0.6.tar.gz 105783 SHA256 a8820960a5296c23974dc59acf021c387678f392b295b4de70d134147753cca5 SHA512 3dcc6be287bfc7115cc360df97677fa12db5974d4917e476f37ad72097a6c2f224c3f57f84430591760c231ff02f277b908002a0b2bad250e971571f663d51c1 WHIRLPOOL 9cc38dc603ef46b12b6f14af2e58e20b44497afa47410d929187ecbc8ace15cd500d35fc7f35c68abd6d9587a6c83d355e32956455b120ab33b7bbd0800fe97c
DIST skyldav-0.7.tar.gz 244444 SHA256 e238706fd923cc3da685b27ef6d89bd49200d56102eba11dc279a47b93840a6d SHA512 008988ca7ab24ea8b77377e7a639ddc0a26149eab41af1d429cf8f870320617feda01ec2c9403493a3bb0bd5cd0c8cad94701bcb6c28993f2d9739e1a1b36c0b WHIRLPOOL b8612e3d835b0ef086f17fc430b671fdded6f5e7d53a0340638a95db59d2c0d79496c56962bdbbf9371f9a5389ec70751e2aee460244af462f618d46d6a2574d
diff --git a/app-antivirus/skyldav/files/skyldav-0.5-conf-r1.patch b/app-antivirus/skyldav/files/skyldav-0.5-conf-r1.patch
deleted file mode 100644
index 86b78c335b..0000000000
--- a/app-antivirus/skyldav/files/skyldav-0.5-conf-r1.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-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-02-01 11:29:19.449054900 +0100
-@@ -19,14 +19,23 @@
-
- # Directories that shall not be scanned (including subdirectories)
- # EXCLUDE_PATH = /var/noscan, /opt/noscan
-+#
-+# Exclude various portage directories for performance reasons
-+EXCLUDE_PATH = /usr/portage, /var/cache/edb, /var/db/pkg, /var/tmp/portage, /var/tmp/binpkgs, /var/log/portage
-
- # 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, 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
deleted file mode 100644
index 5c61468574..0000000000
--- a/app-antivirus/skyldav/files/skyldav-0.5-examples.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-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
deleted file mode 100644
index 2e72ce2ab5..0000000000
--- a/app-antivirus/skyldav/files/skyldav-0.5-syslog.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-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-0.6-conf.patch b/app-antivirus/skyldav/files/skyldav-0.6-conf.patch
deleted file mode 100644
index 879e445039..0000000000
--- a/app-antivirus/skyldav/files/skyldav-0.6-conf.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-diff -urN skyldav-0.6.orig/examples/etc/skyldav.conf skyldav-0.6/examples/etc/skyldav.conf
---- skyldav-0.6.orig/examples/etc/skyldav.conf 2016-04-13 00:55:28.000000000 +0200
-+++ skyldav-0.6/examples/etc/skyldav.conf 2016-04-22 10:18:56.631146410 +0200
-@@ -22,6 +22,9 @@
-
- # Directories that shall not be scanned (including subdirectories)
- # EXCLUDE_PATH = /var/noscan, /opt/noscan
-+#
-+# Exclude various portage directories for performance reasons
-+EXCLUDE_PATH = /usr/portage, /var/cache/edb, /var/db/pkg, /var/tmp/portage, /var/tmp/binpkgs, /var/log/portage
-
- # File systems that are local, virus scan results may be cached.
- # LOCAL_FS = ext3, ext4, iso9660, tmpfs, vfat
-@@ -31,6 +34,7 @@
- # File systems that shall not be marked for virus scan.
- # Cifs uses a background daemon which causes problems when scanned.
- # Exclusion of fuse file systems is hard coded.
-+# Do not exclude devtmpfs and configfs, as userspace could write malware onto them!
- # NOMARK_FS = proc, sysfs
- NOMARK_FS = proc, sysfs, devpts, debugfs, securityfs, cgroup, rpc_pipefs
- NOMARK_FS = mqueue, autofs, cifs
diff --git a/app-antivirus/skyldav/files/skyldav-0.6-examples.patch b/app-antivirus/skyldav/files/skyldav-0.6-examples.patch
deleted file mode 100644
index 7ae29a191a..0000000000
--- a/app-antivirus/skyldav/files/skyldav-0.6-examples.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -urN skyldav-0.6.orig/Makefile.am skyldav-0.6/Makefile.am
---- skyldav-0.6.orig/Makefile.am 2016-04-13 00:55:28.000000000 +0200
-+++ skyldav-0.6/Makefile.am 2016-04-22 10:19:55.730771296 +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/skyldav-0.5-r2.ebuild b/app-antivirus/skyldav/skyldav-0.5-r2.ebuild
deleted file mode 100644
index 9b78b0a778..0000000000
--- a/app-antivirus/skyldav/skyldav-0.5-r2.ebuild
+++ /dev/null
@@ -1,109 +0,0 @@
-# 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-r1.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='Skyld AV 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 Skyld AV service:'$'\n'
- DOC_CONTENTS+='# systemctl enable skyldav.service'$'\n'
- else
- DOC_CONTENTS='Skyld AV 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 Skyld AV 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_newunit "${FILESDIR}/skyldav.service-r1" 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
-}
diff --git a/app-antivirus/skyldav/skyldav-0.6.ebuild b/app-antivirus/skyldav/skyldav-0.6.ebuild
deleted file mode 100644
index c48486815c..0000000000
--- a/app-antivirus/skyldav/skyldav-0.6.ebuild
+++ /dev/null
@@ -1,108 +0,0 @@
-# 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}-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='Skyld AV 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 Skyld AV service:'$'\n'
- DOC_CONTENTS+='# systemctl enable skyldav.service'$'\n'
- else
- DOC_CONTENTS='Skyld AV 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 Skyld AV 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_newunit "${FILESDIR}/skyldav.service-r1" 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] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-antivirus/skyldav/files/, app-antivirus/skyldav/
@ 2020-03-19 7:13 Mikle Kolyada
0 siblings, 0 replies; 4+ messages in thread
From: Mikle Kolyada @ 2020-03-19 7:13 UTC (permalink / raw
To: gentoo-commits
commit: a52e33ae054d49917b4fa38e4437c1b37397a0ed
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 19 07:13:03 2020 +0000
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Thu Mar 19 07:13:03 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a52e33ae
app-antivirus/skyldav: remove last-rited pkg
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
app-antivirus/skyldav/Manifest | 1 -
app-antivirus/skyldav/files/skyldav-conf.patch | 21 ----
app-antivirus/skyldav/files/skyldav-examples.patch | 11 ---
app-antivirus/skyldav/files/skyldav.confd | 10 --
app-antivirus/skyldav/files/skyldav.initd | 25 -----
app-antivirus/skyldav/files/skyldav.service-r1 | 15 ---
app-antivirus/skyldav/files/skyldav.service.conf | 3 -
app-antivirus/skyldav/files/skyldav.tmpfilesd | 2 -
app-antivirus/skyldav/metadata.xml | 9 --
app-antivirus/skyldav/skyldav-0.7.ebuild | 107 ---------------------
10 files changed, 204 deletions(-)
diff --git a/app-antivirus/skyldav/Manifest b/app-antivirus/skyldav/Manifest
deleted file mode 100644
index 83194e446f6..00000000000
--- a/app-antivirus/skyldav/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST skyldav-0.7.tar.gz 244444 BLAKE2B 7c5e6448a1a3ab83904d01844e9054471666ca3c7f32bc89c3fb56caf02711ade4adf0d7ea73738f21e4c3db1936b8382d7c12d992ea6576dffc3537dbc8e774 SHA512 008988ca7ab24ea8b77377e7a639ddc0a26149eab41af1d429cf8f870320617feda01ec2c9403493a3bb0bd5cd0c8cad94701bcb6c28993f2d9739e1a1b36c0b
diff --git a/app-antivirus/skyldav/files/skyldav-conf.patch b/app-antivirus/skyldav/files/skyldav-conf.patch
deleted file mode 100644
index ed5b2058f6a..00000000000
--- a/app-antivirus/skyldav/files/skyldav-conf.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-diff -urN skyldav-0.7.orig/examples/etc/skyldav.conf skyldav-0.7/examples/etc/skyldav.conf
---- skyldav-0.7.orig/examples/etc/skyldav.conf 2016-06-12 18:39:51.000000000 +0200
-+++ skyldav-0.7/examples/etc/skyldav.conf 2017-02-21 15:12:06.875945224 +0100
-@@ -22,6 +22,9 @@
-
- # Directories that shall not be scanned (including subdirectories)
- # EXCLUDE_PATH = /var/noscan, /opt/noscan
-+#
-+# Exclude various portage directories for performance reasons
-+EXCLUDE_PATH = /usr/portage, /var/cache/edb, /var/db/pkg, /var/tmp/portage, /var/tmp/binpkgs, /var/log/portage
-
- # File systems that are local, virus scan results may be cached.
- # LOCAL_FS = ext3, ext4, iso9660, tmpfs, vfat
-@@ -31,6 +34,7 @@
- # File systems that shall not be marked for virus scan.
- # Cifs uses a background daemon which causes problems when scanned.
- # Exclusion of fuse file systems is hard coded.
-+# Do not exclude devtmpfs and configfs, as userspace could write malware onto them!
- # NOMARK_FS = proc, sysfs
- NOMARK_FS = proc, sysfs, devpts, debugfs, securityfs, cgroup, rpc_pipefs
- NOMARK_FS = mqueue, autofs, cifs
diff --git a/app-antivirus/skyldav/files/skyldav-examples.patch b/app-antivirus/skyldav/files/skyldav-examples.patch
deleted file mode 100644
index b62e78cc969..00000000000
--- a/app-antivirus/skyldav/files/skyldav-examples.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -urN skyldav-0.7.orig/Makefile.am skyldav-0.7/Makefile.am
---- skyldav-0.7.orig/Makefile.am 2016-06-12 18:39:51.000000000 +0200
-+++ skyldav-0.7/Makefile.am 2017-02-21 15:11:35.709518793 +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.confd b/app-antivirus/skyldav/files/skyldav.confd
deleted file mode 100644
index 87829b658eb..00000000000
--- a/app-antivirus/skyldav/files/skyldav.confd
+++ /dev/null
@@ -1,10 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-# Config file for /etc/init.d/skyldav
-
-# Options to pass to the skyldav daemon.
-# Option -d for daemonizing is always passed!
-# See the skyldav(1) man page for more info.
-
-#SKYLDAV_OPTS="-m 1"
diff --git a/app-antivirus/skyldav/files/skyldav.initd b/app-antivirus/skyldav/files/skyldav.initd
deleted file mode 100644
index 539cd4f083c..00000000000
--- a/app-antivirus/skyldav/files/skyldav.initd
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-SKYLDAV_BIN="/usr/sbin/skyldav"
-SKYLDAV_OPTS="${SKYLDAV_OPTS:--m 2}"
-SKYLDAV_CONFIGFILE="/etc/skyldav.conf"
-SKYLDAV_PIDFILE_DIR="${SKYLDAV_PIDFILE_DIR:-/var/run/${RC_SVCNAME}}"
-SKYLDAV_PIDFILE="${SKYLDAV_PIDFILE:-${SKYLDAV_PIDFILE_DIR}/${RC_SVCNAME}.pid}"
-
-name="${SKYLDAV_BIN##*/}"
-command="${SKYLDAV_BIN}"
-command_args="-d ${SKYLDAV_OPTS}"
-pidfile="${SKYLDAV_PIDFILE}"
-description="Skyld AV is an anti-virus on-access scanner based upon Clam AV and fanotify"
-required_files="${SKYLDAV_CONFIG}"
-
-depend() {
- use logger
- need localmount
-}
-
-start_pre() {
- checkpath -d -m 0755 -o root:root "${SKYLDAV_PIDFILE_DIR}"
-}
diff --git a/app-antivirus/skyldav/files/skyldav.service-r1 b/app-antivirus/skyldav/files/skyldav.service-r1
deleted file mode 100644
index decd788a9f8..00000000000
--- a/app-antivirus/skyldav/files/skyldav.service-r1
+++ /dev/null
@@ -1,15 +0,0 @@
-[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
-Before=multi-user.target
-
-[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
deleted file mode 100644
index 79c23a3ff05..00000000000
--- a/app-antivirus/skyldav/files/skyldav.service.conf
+++ /dev/null
@@ -1,3 +0,0 @@
-[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
deleted file mode 100644
index a4f7cdc4742..00000000000
--- a/app-antivirus/skyldav/files/skyldav.tmpfilesd
+++ /dev/null
@@ -1,2 +0,0 @@
-# skyldav runtime directory for skyldav.pid and log (used by skyldavnotify)
-d /run/skyldav 0755 root root -
diff --git a/app-antivirus/skyldav/metadata.xml b/app-antivirus/skyldav/metadata.xml
deleted file mode 100644
index 260112f35a3..00000000000
--- a/app-antivirus/skyldav/metadata.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <!-- maintainer-needed -->
- <upstream>
- <remote-id type="github">xypron/skyldav</remote-id>
- </upstream>
-</pkgmetadata>
-
diff --git a/app-antivirus/skyldav/skyldav-0.7.ebuild b/app-antivirus/skyldav/skyldav-0.7.ebuild
deleted file mode 100644
index 0a0ef09e08f..00000000000
--- a/app-antivirus/skyldav/skyldav-0.7.ebuild
+++ /dev/null
@@ -1,107 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-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="https://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}/${PN}-examples.patch"
- "${FILESDIR}/${PN}-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='Skyld AV 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 Skyld AV service:'$'\n'
- DOC_CONTENTS+='# systemctl enable skyldav.service'$'\n'
- else
- DOC_CONTENTS='Skyld AV 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 Skyld AV 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_newunit "${FILESDIR}/skyldav.service-r1" 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] 4+ messages in thread
end of thread, other threads:[~2020-03-19 7:13 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-19 7:13 [gentoo-commits] repo/gentoo:master commit in: app-antivirus/skyldav/files/, app-antivirus/skyldav/ Mikle Kolyada
-- strict thread matches above, loose matches on Subject: below --
2017-02-23 15:40 Wolfram Schlich
2016-04-22 16:24 Wolfram Schlich
2016-02-01 13:23 Wolfram Schlich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox