diff --git a/app-crypt/stegcracker/Manifest b/app-crypt/stegcracker/Manifest index ef6412e54..7c8a0810d 100644 --- a/app-crypt/stegcracker/Manifest +++ b/app-crypt/stegcracker/Manifest @@ -1 +1,2 @@ +DIST stegcracker-2.0.7.tar.gz 7997 BLAKE2B 61332e9690ff9ae301c87442e5e898eba0779635e5025aeea0401c2ff74d5156a8611d343b92517d5300268e7374f21d311313e04e5021ce64431bb9792c561b SHA512 64a77b5962c681fd24a372091782156807780067013c7b9b296b525a13086d8273105bfb33788c5aed0a2aa7f77c7bc7ee62214044e7245a7775f5f24a21ee72 DIST stegcracker-20190219.tar.gz 860936 BLAKE2B 1b49276b741c4bc9c5bd5987cb6d7fd5ff8297c300649164a92a8f6f4ba620915ab5d80d4cec6f6f6f754a6ab9c96bf90c1433a55036da5d3a66cb6e086515d8 SHA512 d74255db6541bddf2af54911086af1276ba16bb87b8db3db3ebfc7def5a22d9fa9354393e587fa576a54c9a0d258f70401213fe03180ff84fcc970c19efd3680 diff --git a/app-crypt/stegcracker/files/stegcracker-20190219_minor-changes.patch b/app-crypt/stegcracker/files/stegcracker-20190219_minor-changes.patch new file mode 100644 index 000000000..2b064b537 --- /dev/null +++ b/app-crypt/stegcracker/files/stegcracker-20190219_minor-changes.patch @@ -0,0 +1,40 @@ +diff -ur a/stegcracker b/stegcracker +--- a/stegcracker 2019-02-19 18:51:52.000000000 +0300 ++++ b/stegcracker 2019-11-10 14:46:16.120325974 +0300 +@@ -10,8 +10,6 @@ + # Print usage / Load arguments + if [ $# -eq 0 ]; then + echo "Usage: $0 []" +- echo "Options:" +- echo " --update | Updates StegCracker to the latest version" + exit 1 + else + wordlist=${2:-/usr/share/wordlists/rockyou.txt} +@@ -20,27 +18,9 @@ + # Ensure steghide is installed + if [[ ! $(which steghide) ]]; then + echo -e "\x1B[31mError:\x1B[0m Steghide does not appear to be installed, or has not been added to your current PATH." +- +- if [[ $(cat /etc/issue | grep Kali && which apt-get) ]]; then +- echo " You can install it by running the following command: apt-get install steghide -y" +- fi +- + exit 1 + fi + +-# Is the user trying to update StegCracker? +-if [ ! -f $1 ] && [ $1 = "--update" ]; then +- echo -n "Updating StegCracker to the latest version.. " +- +- if $(curl -s $UPDATE_URL > $(which $0)); then +- echo -e "\x1B[32mDONE\x1B[0m" +- exit +- else +- echo -e "\x1B[31mFAILED\x1B[0m" +- exit 1 +- fi +-fi +- + # Count number of entries in the current wordlist + line_count=$(wc -l "$wordlist" | cut -d ' ' -f 1) + diff --git a/app-crypt/stegcracker/metadata.xml b/app-crypt/stegcracker/metadata.xml new file mode 100644 index 000000000..4fa8ff351 --- /dev/null +++ b/app-crypt/stegcracker/metadata.xml @@ -0,0 +1,8 @@ + + + + + proxy-maint@gentoo.org + Proxy Maintainers + + diff --git a/app-crypt/stegcracker/stegcracker-2.0.7.ebuild b/app-crypt/stegcracker/stegcracker-2.0.7.ebuild new file mode 100644 index 000000000..e1bd679cc --- /dev/null +++ b/app-crypt/stegcracker/stegcracker-2.0.7.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7} ) + +inherit distutils-r1 + +DESCRIPTION="Steganography brute-force utility to uncover hidden data inside files" +HOMEPAGE="https://github.com/Paradoxis/StegCracker" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +KEYWORDS="~amd64 ~x86" +LICENSE="MIT" +SLOT="2" + +RDEPEND="${PYTHON_DEPS} + app-crypt/steghide" diff --git a/app-crypt/stegcracker/stegcracker-20190219-r1.ebuild b/app-crypt/stegcracker/stegcracker-20190219-r1.ebuild new file mode 100644 index 000000000..1006a2d9b --- /dev/null +++ b/app-crypt/stegcracker/stegcracker-20190219-r1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Steganography brute-force utility to uncover hidden data inside files" +HOMEPAGE="https://github.com/Paradoxis/StegCracker" + +HASH_COMMIT="5f656b310033a1cc599676bcef742f25e70f6141" +SRC_URI="https://github.com/Paradoxis/StegCracker/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz" + +KEYWORDS="~amd64 ~x86" +LICENSE="MIT" +SLOT="0" + +RDEPEND="app-crypt/steghide" +DEPEND="" + +PATCHES=( "${FILESDIR}/${P}_minor-changes.patch" ) + +S="${WORKDIR}/StegCracker-${HASH_COMMIT}" + +src_install() { + newbin stegcracker stegcracker-legacy + dodoc README.md +} diff --git a/app-crypt/stegcracker/stegcracker-20190219.ebuild b/app-crypt/stegcracker/stegcracker-20190219.ebuild deleted file mode 100644 index 1a2be60d5..000000000 --- a/app-crypt/stegcracker/stegcracker-20190219.ebuild +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 1999-2019 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="Steganography brute-force utility to uncover hidden data inside files." -HOMEPAGE="https://github.com/Paradoxis/StegCracker" -COMMIT="5f656b310033a1cc599676bcef742f25e70f6141" -MY_P="StegCracker-${COMMIT}" -SRC_URI="https://github.com/Paradoxis/StegCracker/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -RDEPEND="" -DEPEND="${RDEPEND}" - -S="${WORKDIR}/${MY_P}" - -src_install() { - dobin stegcracker -}