commit: 088fa2cc9f285427189e01aa498345f166096410
Author: Hanno Böck <hanno <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 19 11:44:41 2023 +0000
Commit: Hanno Böck <hanno <AT> gentoo <DOT> org>
CommitDate: Sun Feb 19 11:44:41 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=088fa2cc
app-misc/freewvs: Python 3.11 support, EAPI 8.
Also add pypi to metadata.xml.
Signed-off-by: Hanno Böck <hanno <AT> gentoo.org>
app-misc/freewvs/freewvs-0.1.3-r1.ebuild | 29 +++++++++++++++++++++++++++++
app-misc/freewvs/metadata.xml | 3 +++
2 files changed, 32 insertions(+)
diff --git a/app-misc/freewvs/freewvs-0.1.3-r1.ebuild
b/app-misc/freewvs/freewvs-0.1.3-r1.ebuild
new file mode 100644
index 000000000000..a8ff9a29ba4d
--- /dev/null
+++ b/app-misc/freewvs/freewvs-0.1.3-r1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( python3_{9,10,11} )
+DISTUTILS_SINGLE_IMPL=1
+DISTUTILS_USE_PEP517=setuptools
+inherit distutils-r1
+
+DESCRIPTION="Scans filesystem for known vulnerable web applications"
+HOMEPAGE="https://freewvs.schokokeks.org/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="CC0-1.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DOCS=( README.md )
+
+pkg_postinst() {
+ einfo To use freewvs you need to run
+ einfo update-freewvsdb
+ einfo first. You should run this on a regular basis to update
+ einfo the web application data, e.g. via a cronjob.
+}
+
+# Only codingstyle and similar tests, require dependencies
+# not packaged in Gentoo
+RESTRICT="test"
diff --git a/app-misc/freewvs/metadata.xml b/app-misc/freewvs/metadata.xml
index 4da67a4f4b42..29f8136298e8 100644
--- a/app-misc/freewvs/metadata.xml
+++ b/app-misc/freewvs/metadata.xml
@@ -4,4 +4,7 @@
<maintainer type="person">
<email>[email protected]</email>
</maintainer>
+ <upstream>
+ <remote-id type="pypi">freewvs</remote-id>
+ </upstream>
</pkgmetadata>