Date: Friday, January 22, 2021 @ 19:45:11 Author: anthraxx Revision: 824989
archrelease: copy trunk to community-any Added: exploitdb/repos/community-any/PKGBUILD (from rev 824988, exploitdb/trunk/PKGBUILD) exploitdb/repos/community-any/rcfile.diff (from rev 824988, exploitdb/trunk/rcfile.diff) Deleted: exploitdb/repos/community-any/PKGBUILD exploitdb/repos/community-any/rcfile.diff -------------+ PKGBUILD | 76 +++++++++++++++++++++++++++++----------------------------- rcfile.diff | 62 +++++++++++++++++++++++------------------------ 2 files changed, 69 insertions(+), 69 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-01-22 19:45:07 UTC (rev 824988) +++ PKGBUILD 2021-01-22 19:45:11 UTC (rev 824989) @@ -1,38 +0,0 @@ -# Maintainer: Eli Schwartz <eschwa...@archlinux.org> -# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> - -pkgname=exploitdb -_pkgver=2021-01-09 -pkgver=${_pkgver//-/} -pkgrel=1 -pkgdesc="Offensive Security’s Exploit Database Archive" -arch=('any') -url="https://www.exploit-db.com/" -license=('GPL') -optdepends=('libxml2: to check nmap XML results' - 'xclip: copy paths to the clipboard') -backup=('etc/searchsploit_rc') -options=('!strip') -source=("https://github.com/offensive-security/${pkgname}/archive/${_pkgver}/${pkgname}-${_pkgver}.tar.gz" - "rcfile.diff") -sha512sums=('540b830162017c4619a64e0ed18c4d72d78d35c2af0b827ba4dcf83c19dfea64a46c44055d3479e230d9f5cdfeec941983db72b5eb6bc0220aaade7a443f1054' - 'e170da5b974975c6c23c5b09e8c1825bbb17446fb506f2d00f92f86f94394acf18a53458bd90969de38da642fc1f7abb08ba940969108002dab17415b88211d6') -b2sums=('5ce226ee4d11259fecdd837836f175357ce3027dc201208a9b69bffeaf6c9d475dbbc199bdb56a3fd9ad4c23378235ef04b2622916f9b3232d9c53b7881d5564' - 'f033a50db6358297580363d62bbd9d4a6003b5476ba361650133841138af76b990ed49e2e34d487cf4167ebeb3cd6b8f9230e5e700a5d96f7f06cbc5b42c4076') - -prepare() { - cd ${pkgname}-${_pkgver} - - patch -p1 -i ../rcfile.diff -} - -package() { - cd ${pkgname}-${_pkgver} - - install -Dm755 searchsploit "${pkgdir}"/usr/bin/searchsploit - install -Dm644 .searchsploit_rc "${pkgdir}"/etc/searchsploit_rc - mkdir -p "${pkgdir}"/usr/share/${pkgname} - cp -a exploits/ shellcodes/ files_*.csv "${pkgdir}"/usr/share/${pkgname} -} - -# vim: ts=4 sw=4 et: Copied: exploitdb/repos/community-any/PKGBUILD (from rev 824988, exploitdb/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-01-22 19:45:11 UTC (rev 824989) @@ -0,0 +1,38 @@ +# Maintainer: Eli Schwartz <eschwa...@archlinux.org> +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> + +pkgname=exploitdb +_pkgver=2021-01-22 +pkgver=${_pkgver//-/} +pkgrel=1 +pkgdesc="Offensive Security’s Exploit Database Archive" +arch=('any') +url="https://www.exploit-db.com/" +license=('GPL') +optdepends=('libxml2: to check nmap XML results' + 'xclip: copy paths to the clipboard') +backup=('etc/searchsploit_rc') +options=('!strip') +source=("https://github.com/offensive-security/${pkgname}/archive/${_pkgver}/${pkgname}-${_pkgver}.tar.gz" + "rcfile.diff") +sha512sums=('b2c255eed8eb2f7707aa004ca210b636989a6f0e8daf62b7e8afbdc9aaa2483b4883e18f4569884be7c98b26217c0b55dc12156e4184b3930320a401c89c4987' + 'e170da5b974975c6c23c5b09e8c1825bbb17446fb506f2d00f92f86f94394acf18a53458bd90969de38da642fc1f7abb08ba940969108002dab17415b88211d6') +b2sums=('35730d650ce151ba4d832de236632b7a81fed1f1302288eb30c7ff3a08d91c9f9fbe2254e8a72e38144743a8ee22720679c314dbd2df3f00942426dd9b1baa4b' + 'f033a50db6358297580363d62bbd9d4a6003b5476ba361650133841138af76b990ed49e2e34d487cf4167ebeb3cd6b8f9230e5e700a5d96f7f06cbc5b42c4076') + +prepare() { + cd ${pkgname}-${_pkgver} + + patch -p1 -i ../rcfile.diff +} + +package() { + cd ${pkgname}-${_pkgver} + + install -Dm755 searchsploit "${pkgdir}"/usr/bin/searchsploit + install -Dm644 .searchsploit_rc "${pkgdir}"/etc/searchsploit_rc + mkdir -p "${pkgdir}"/usr/share/${pkgname} + cp -a exploits/ shellcodes/ files_*.csv "${pkgdir}"/usr/share/${pkgname} +} + +# vim: ts=4 sw=4 et: Deleted: rcfile.diff =================================================================== --- rcfile.diff 2021-01-22 19:45:07 UTC (rev 824988) +++ rcfile.diff 2021-01-22 19:45:11 UTC (rev 824989) @@ -1,31 +0,0 @@ -diff --git a/.searchsploit_rc b/.searchsploit_rc -index 36c9b1c8..62bbe404 100644 ---- a/.searchsploit_rc -+++ b/.searchsploit_rc -@@ -4,7 +4,7 @@ progname="$( basename "$0" )" - - ##-- Exploits - files_array+=("files_exploits.csv") --path_array+=("/opt/exploitdb") -+path_array+=("/usr/share/exploitdb") - name_array+=("Exploit") - git_array+=("https://github.com/offensive-security/exploitdb.git") - package_array+=("exploitdb") -@@ -12,7 +12,7 @@ package_array+=("exploitdb") - - ##-- Shellcodes - files_array+=("files_shellcodes.csv") --path_array+=("/opt/exploitdb") -+path_array+=("/usr/share/exploitdb") - name_array+=("Shellcode") - git_array+=("https://github.com/offensive-security/exploitdb.git") - package_array+=("exploitdb") -@@ -20,7 +20,7 @@ package_array+=("exploitdb") - - ##-- Papers - files_array+=("files_papers.csv") --path_array+=("/opt/exploitdb-papers") -+path_array+=("/usr/share/exploitdb-papers") - name_array+=("Paper") - git_array+=("https://github.com/offensive-security/exploitdb-papers.git") - package_array+=("exploitdb-papers") Copied: exploitdb/repos/community-any/rcfile.diff (from rev 824988, exploitdb/trunk/rcfile.diff) =================================================================== --- rcfile.diff (rev 0) +++ rcfile.diff 2021-01-22 19:45:11 UTC (rev 824989) @@ -0,0 +1,31 @@ +diff --git a/.searchsploit_rc b/.searchsploit_rc +index 36c9b1c8..62bbe404 100644 +--- a/.searchsploit_rc ++++ b/.searchsploit_rc +@@ -4,7 +4,7 @@ progname="$( basename "$0" )" + + ##-- Exploits + files_array+=("files_exploits.csv") +-path_array+=("/opt/exploitdb") ++path_array+=("/usr/share/exploitdb") + name_array+=("Exploit") + git_array+=("https://github.com/offensive-security/exploitdb.git") + package_array+=("exploitdb") +@@ -12,7 +12,7 @@ package_array+=("exploitdb") + + ##-- Shellcodes + files_array+=("files_shellcodes.csv") +-path_array+=("/opt/exploitdb") ++path_array+=("/usr/share/exploitdb") + name_array+=("Shellcode") + git_array+=("https://github.com/offensive-security/exploitdb.git") + package_array+=("exploitdb") +@@ -20,7 +20,7 @@ package_array+=("exploitdb") + + ##-- Papers + files_array+=("files_papers.csv") +-path_array+=("/opt/exploitdb-papers") ++path_array+=("/usr/share/exploitdb-papers") + name_array+=("Paper") + git_array+=("https://github.com/offensive-security/exploitdb-papers.git") + package_array+=("exploitdb-papers")