diff options
author | Mikle Kolyada <zlogene@gentoo.org> | 2020-03-19 10:13:03 +0300 |
---|---|---|
committer | Mikle Kolyada <zlogene@gentoo.org> | 2020-03-19 10:13:03 +0300 |
commit | a52e33ae054d49917b4fa38e4437c1b37397a0ed (patch) | |
tree | 85ff0969713a4c1e1edcf420442e8be231a96285 /app-antivirus/skyldav | |
parent | dev-python/Kivy: remove last-rited pkg (diff) | |
download | gentoo-a52e33ae054d49917b4fa38e4437c1b37397a0ed.tar.gz gentoo-a52e33ae054d49917b4fa38e4437c1b37397a0ed.tar.bz2 gentoo-a52e33ae054d49917b4fa38e4437c1b37397a0ed.zip |
app-antivirus/skyldav: remove last-rited pkg
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Diffstat (limited to 'app-antivirus/skyldav')
-rw-r--r-- | app-antivirus/skyldav/Manifest | 1 | ||||
-rw-r--r-- | app-antivirus/skyldav/files/skyldav-conf.patch | 21 | ||||
-rw-r--r-- | app-antivirus/skyldav/files/skyldav-examples.patch | 11 | ||||
-rw-r--r-- | app-antivirus/skyldav/files/skyldav.confd | 10 | ||||
-rw-r--r-- | app-antivirus/skyldav/files/skyldav.initd | 25 | ||||
-rw-r--r-- | app-antivirus/skyldav/files/skyldav.service-r1 | 15 | ||||
-rw-r--r-- | app-antivirus/skyldav/files/skyldav.service.conf | 3 | ||||
-rw-r--r-- | app-antivirus/skyldav/files/skyldav.tmpfilesd | 2 | ||||
-rw-r--r-- | app-antivirus/skyldav/metadata.xml | 9 | ||||
-rw-r--r-- | app-antivirus/skyldav/skyldav-0.7.ebuild | 107 |
10 files changed, 0 insertions, 204 deletions
diff --git a/app-antivirus/skyldav/Manifest b/app-antivirus/skyldav/Manifest deleted file mode 100644 index 83194e446f6e..000000000000 --- 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 ed5b2058f6a6..000000000000 --- 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 b62e78cc9698..000000000000 --- 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 87829b658ebe..000000000000 --- 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 539cd4f083cd..000000000000 --- 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 decd788a9f83..000000000000 --- 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 79c23a3ff05d..000000000000 --- 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 a4f7cdc47423..000000000000 --- 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 260112f35a3d..000000000000 --- 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 0a0ef09e08fb..000000000000 --- 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 -} |