diff --git a/app-exploits/exploitdb/exploitdb-20200331.ebuild b/app-exploits/exploitdb/exploitdb-20200717.ebuild similarity index 100% rename from app-exploits/exploitdb/exploitdb-20200331.ebuild rename to app-exploits/exploitdb/exploitdb-20200717.ebuild diff --git a/app-exploits/exploitdb/exploitdb-99999999.ebuild b/app-exploits/exploitdb/exploitdb-99999999.ebuild index 871df25c8..1d62eb77f 100644 --- a/app-exploits/exploitdb/exploitdb-99999999.ebuild +++ b/app-exploits/exploitdb/exploitdb-99999999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -24,7 +24,7 @@ RDEPEND=" virtual/awk x11-misc/xclip" -PATCHES=( "${FILESDIR}"/disable-update.patch ) +PATCHES=( "${FILESDIR}"/disable-update2.patch ) src_install() { insinto "/etc" diff --git a/app-exploits/exploitdb/files/disable-update2.patch b/app-exploits/exploitdb/files/disable-update2.patch new file mode 100644 index 000000000..06734dbce --- /dev/null +++ b/app-exploits/exploitdb/files/disable-update2.patch @@ -0,0 +1,16 @@ +--- a/searchsploit.orig 2020-07-18 12:46:59.287018894 +0800 ++++ b/searchsploit 2020-07-18 12:48:36.286025200 +0800 +@@ -135,6 +135,13 @@ + + ## Update database check + function update() { ++ echo -e "\nWarning: the build-in update (-u) is disabled in Pentoo \n " ++ echo -e "Instead, you should update it using one of the following commands:" ++ echo -e " emerge -1 app-exploits/exploitdb" ++ echo -e " smart-live-rebuild\n" ++ #something went wrong ++ exit 1 ++ + arraylength="${#files_array[@]}" + for (( i=0; i<${arraylength}; i++ )); do + ## Check to see if we already have the value