mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
app-antivirus/fangfrisch: Post-stabilisation cleanup
Remove obsolete ebuild now that Fangfrisch has been stabilised. Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Ralph Seichter <gentoo@seichter.de> Closes: https://github.com/gentoo/gentoo/pull/15872 Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
committed by
Michał Górny
parent
580a3c74ed
commit
2e29aaec56
@@ -1,64 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
PYTHON_COMPAT=( python3_{7,8} )
|
||||
|
||||
inherit distutils-r1 readme.gentoo-r1
|
||||
|
||||
DESCRIPTION="Update and verify unofficial Clam Anti-Virus signatures"
|
||||
HOMEPAGE="https://github.com/rseichter/fangfrisch https://pypi.org/project/fangfrisch/"
|
||||
SRC_URI="https://github.com/rseichter/fangfrisch/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
MY_CONF="/etc/${PN}.conf"
|
||||
MY_DBDIR="/var/lib/${PN}"
|
||||
DISABLE_AUTOFORMATTING=1
|
||||
DOC_CONTENTS="See https://rseichter.github.io/fangfrisch/ for the official
|
||||
documentation.
|
||||
|
||||
### Fresh installations:
|
||||
|
||||
Modify ${MY_CONF} according to your preferences.
|
||||
Assuming you place the database into ${MY_DBDIR}
|
||||
(recommended), execute the following commands in a root shell:
|
||||
|
||||
mkdir -m 0770 ${MY_DBDIR}
|
||||
chgrp clamav ${MY_DBDIR}
|
||||
sudo -u clamav -- fangfrisch -c ${MY_CONF} initdb
|
||||
|
||||
You can now enable /etc/cron.d/${PN} for periodic updates.
|
||||
|
||||
### Alternative: Updating from release 1.0.1:
|
||||
|
||||
Either create a fresh database or manually delete all existing
|
||||
database tables, then run the initdb command as shown above."
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND=">=dev-python/requests-2.22.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/sqlalchemy-1.3.11[${PYTHON_USEDEP}]"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
distutils_enable_tests unittest
|
||||
|
||||
python_prepare_all() {
|
||||
sed -i -e '/SQLAlchemy/d' setup.py || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
insinto /etc
|
||||
doins "${FILESDIR}/${PN}.conf"
|
||||
insinto /etc/cron.d
|
||||
newins "${FILESDIR}/${PN}.cron" ${PN}
|
||||
distutils-r1_python_install_all
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
FORCE_PRINT_ELOG=1 readme.gentoo_print_elog
|
||||
}
|
||||
Reference in New Issue
Block a user