mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-17 04:10:58 +02:00
pret: remove, https://github.com/pentoo/pentoo-overlay/issues/560
This commit is contained in:
parent
96676140c6
commit
30ed3098d3
3 changed files with 0 additions and 61 deletions
|
|
@ -1 +0,0 @@
|
|||
DIST pret-20180611.tar.gz 1568200 BLAKE2B 98b5108c8fcfef73b12c95398fd6be5037a2ac93b684ce45b21822b7b9f7afb6f1f6b74ea75c0d96b97c00a97694471b13a639399272316c11b1885e25f678ea SHA512 a2fdc6f6623dca6df686c7a78ca8a9ec6924c3ccf1c6b3943f8913b7bdfc9db7dbb048572c31552e4e8a120428f2556adc836b3b3fc17d24b700d8a159f8ec72
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
|
@ -1,52 +0,0 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
# https://github.com/RUB-NDS/PRET/issues/35
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit eutils python-single-r1
|
||||
|
||||
DESCRIPTION="Printer Exploitation Toolkit"
|
||||
HOMEPAGE="https://github.com/RUB-NDS/PRET"
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
inherit golang-vcs
|
||||
else
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
EGIT_COMMIT="4f3820a83cd0e8bd88fcc1d09641e54720e5bbc9"
|
||||
SRC_URI="https://github.com/RUB-NDS/PRET/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
app-text/ghostscript-gpl
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/colorama[${PYTHON_MULTI_USEDEP}]
|
||||
dev-python/pysnmp[${PYTHON_MULTI_USEDEP}]
|
||||
')
|
||||
media-gfx/imagemagick"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/PRET-${EGIT_COMMIT}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
python_fix_shebang "${S}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/share/${PN}"
|
||||
doins -r db/ fonts/ lpd/ mibs/ overlays/ testpages/ *.py
|
||||
fperms 0755 "/usr/share/${PN}/${PN}.py"
|
||||
|
||||
python_optimize "${D}/usr/share/${PN}"
|
||||
|
||||
make_wrapper $PN \
|
||||
"${EPYTHON} /usr/share/${PN}/pret.py" \
|
||||
"/usr/share/${PN}"
|
||||
}
|
||||
Loading…
Reference in a new issue