deathstar: bump to 20180722. BSD -> GPL-3 license migration and fix metadata.missing

This commit is contained in:
Yury Martynov 2019-11-15 14:02:44 +03:00
parent fdf348a1f1
commit f1d4c25648
No known key found for this signature in database
GPG key ID: EBE62DD0CCEAE19E
4 changed files with 53 additions and 37 deletions

View file

@ -1 +1 @@
DIST deathstar-20180623.tar.gz 26736 BLAKE2B f2e09e31744fa8591942922edfa91f248515c15676c0aabacf0290001d4c2ebb142d6d2f14b8d56f5e8733524755f4c331e18a2d7c13600e6d0b342a31b58938 SHA512 f824806d1e90afbc0a9195428dae3a025f2dbe8d2c628820dbeb1a21d122bf37ae7901b20fd0b5ae4aa6453708d7c3cb36053c134e5719d1e1934a1b315c74e2
DIST deathstar-20180722.tar.gz 26736 BLAKE2B f2e09e31744fa8591942922edfa91f248515c15676c0aabacf0290001d4c2ebb142d6d2f14b8d56f5e8733524755f4c331e18a2d7c13600e6d0b342a31b58938 SHA512 f824806d1e90afbc0a9195428dae3a025f2dbe8d2c628820dbeb1a21d122bf37ae7901b20fd0b5ae4aa6453708d7c3cb36053c134e5719d1e1934a1b315c74e2

View file

@ -1,36 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python3_{5,6} )
inherit python-single-r1
HASH_COMMIT="04356101ec8e9466bc72f8846fd7d83ccac98ba8"
DESCRIPTION="A tool to gain Domain Admin rights with a push of a button"
HOMEPAGE="https://github.com/byt3bl33d3r/DeathStar"
SRC_URI="https://github.com/byt3bl33d3r/DeathStar/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND=">=dev-python/requests-2.3.0[${PYTHON_USEDEP}]
dev-python/termcolor[${PYTHON_USEDEP}]
dev-python/pyopenssl[${PYTHON_USEDEP}]
app-exploits/empire"
DEPEND="${RDEPEND}"
S="${WORKDIR}/DeathStar-${HASH_COMMIT}"
src_install() {
dobin DeathStar.py
}
pkg_postinst() {
elog "See the following URL:"
elog "https://byt3bl33d3r.github.io/automating-the-empire-with-the-death-star-getting-domain-admin-with-a-push-of-a-button.html"
}

View file

@ -0,0 +1,44 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{5,6,7} )
inherit python-r1
DESCRIPTION="A tool to gain Domain Admin rights with a push of a button"
HOMEPAGE="https://github.com/byt3bl33d3r/DeathStar"
HASH_COMMIT="04356101ec8e9466bc72f8846fd7d83ccac98ba8"
SRC_URI="https://github.com/byt3bl33d3r/DeathStar/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
LICENSE="GPL-3"
SLOT="0"
RDEPEND="${PYTHON_DEPS}
app-exploits/empire
dev-python/requests[${PYTHON_USEDEP}]
dev-python/termcolor[${PYTHON_USEDEP}]
dev-python/pyopenssl[${PYTHON_USEDEP}]"
S="${WORKDIR}/DeathStar-${HASH_COMMIT}"
src_prepare() {
sed -i \
-e "s/__version__ = '\(.*\)'/__version__ = '${PV}'/" \
DeathStar.py || die
default
}
src_install() {
python_foreach_impl python_newscript DeathStar.py $PN
dodoc README.md
}
pkg_postinst() {
einfo "\nSee the following URL:"
einfo " * https://byt3bl33d3r.github.io/automating-the-empire-with-the-death-star-getting-domain-admin-with-a-push-of-a-button.html\n"
}

View file

@ -0,0 +1,8 @@
<?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>