forked from ports/contrib
wordlistctl: deleted unmaintained port
This commit is contained in:
parent
49a0da6b13
commit
313e3d869d
@ -1,12 +0,0 @@
|
|||||||
drwxr-xr-x root/root usr/
|
|
||||||
drwxr-xr-x root/root usr/bin/
|
|
||||||
-rwxr-xr-x root/root usr/bin/wordlistctl
|
|
||||||
drwxr-xr-x root/root usr/share/
|
|
||||||
drwxr-xr-x root/root usr/share/bash-completion/
|
|
||||||
drwxr-xr-x root/root usr/share/bash-completion/completions/
|
|
||||||
-rw-r--r-- root/root usr/share/bash-completion/completions/wordlistctl
|
|
||||||
drwxr-xr-x root/root usr/share/man/
|
|
||||||
drwxr-xr-x root/root usr/share/man/man1/
|
|
||||||
-rw-r--r-- root/root usr/share/man/man1/wordlistctl.1.gz
|
|
||||||
drwxr-xr-x root/root usr/share/wordlistctl/
|
|
||||||
-rw-r--r-- root/root usr/share/wordlistctl/repo.json
|
|
@ -1,7 +0,0 @@
|
|||||||
untrusted comment: verify with /etc/ports/contrib.pub
|
|
||||||
RWSagIOpLGJF39eh8RDqEJ+8TT5DbW17SVrkihVzkPzcw4ZU+ytz+VncmkPchRMGj2cw4kjNzau0ArwYhj/+u5kYDxJMy5AQqgQ=
|
|
||||||
SHA256 (Pkgfile) = b9f84ebbba4f6fb0c756dc18baa97a214f260d3e86d4a1e32e66d941e13d6302
|
|
||||||
SHA256 (.footprint) = 4975c8f87d55e610b6ad0d08a4cf81a55bfc186bf9b22bc4bfa65faf3d23588c
|
|
||||||
SHA256 (wordlistctl-0.9.0.tar.gz) = 75803087826ec57ff6120e3d7870dcb85375d59f62696ebab3b0e63eef24956f
|
|
||||||
SHA256 (0001-remove-unnecessary-termcolor-dependency.patch) = 647eccfc4ac68d13a6683b00abdc9339eba33b39f79925095db7441351060432
|
|
||||||
SHA256 (0001-fix-repo.json-path.patch) = 3c5879bb189f8e9e285b12cbbecc8f765abc96940ae1e727760816151c34f476
|
|
@ -1,25 +0,0 @@
|
|||||||
From be6fd8fb033cdcdba91cc3f4e452964229493675 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Alexandr Savca <alexandrsavca89@gmail.com>
|
|
||||||
Date: Thu, 24 Sep 2020 11:19:50 +0300
|
|
||||||
Subject: [PATCH] fix repo.json path
|
|
||||||
|
|
||||||
---
|
|
||||||
wordlistctl.py | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/wordlistctl.py b/wordlistctl.py
|
|
||||||
index 92e0738..f986ee9 100755
|
|
||||||
--- a/wordlistctl.py
|
|
||||||
+++ b/wordlistctl.py
|
|
||||||
@@ -64,7 +64,7 @@ def banner() -> None:
|
|
||||||
|
|
||||||
def load_repo() -> None:
|
|
||||||
global REPOSITORY
|
|
||||||
- repofile: str = f"{os.path.dirname(os.path.realpath(__file__))}/repo.json"
|
|
||||||
+ repofile: str = "/usr/share/wordlistctl/repo.json"
|
|
||||||
try:
|
|
||||||
if not os.path.isfile(repofile):
|
|
||||||
raise FileNotFoundError("repository file not found")
|
|
||||||
--
|
|
||||||
2.28.0
|
|
||||||
|
|
@ -1,55 +0,0 @@
|
|||||||
From 0c71afede9c3c26e6080f9bf532a012d886e3e10 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Alexandr Savca <alexandrsavca89@gmail.com>
|
|
||||||
Date: Thu, 24 Sep 2020 11:05:23 +0300
|
|
||||||
Subject: [PATCH] remove unnecessary termcolor dependency
|
|
||||||
|
|
||||||
---
|
|
||||||
wordlistctl.py | 13 +++++--------
|
|
||||||
1 file changed, 5 insertions(+), 8 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/wordlistctl.py b/wordlistctl.py
|
|
||||||
index d87f3d1..92e0738 100755
|
|
||||||
--- a/wordlistctl.py
|
|
||||||
+++ b/wordlistctl.py
|
|
||||||
@@ -24,7 +24,6 @@ from concurrent.futures import ThreadPoolExecutor
|
|
||||||
|
|
||||||
try:
|
|
||||||
import requests
|
|
||||||
- from termcolor import colored
|
|
||||||
except Exception as ex:
|
|
||||||
print(f"[-] {ex}", file=sys.stderr)
|
|
||||||
sys.exit(-1)
|
|
||||||
@@ -44,25 +43,23 @@ RETRY_COUNT: int = 5
|
|
||||||
|
|
||||||
|
|
||||||
def error(string: str) -> None:
|
|
||||||
- print(colored("[-]", "red", attrs=["bold"]) +
|
|
||||||
- f" {string}", file=sys.stderr)
|
|
||||||
+ print(f"[-] {string}", file=sys.stderr)
|
|
||||||
|
|
||||||
|
|
||||||
def warning(string: str) -> None:
|
|
||||||
- print(colored("[!]", "yellow", attrs=["bold"]) + f" {string}")
|
|
||||||
+ print(f"[!] {string}")
|
|
||||||
|
|
||||||
|
|
||||||
def info(string: str) -> None:
|
|
||||||
- print(colored("[*]", "blue", attrs=["bold"]) + f" {string}")
|
|
||||||
+ print(f"[*] {string}")
|
|
||||||
|
|
||||||
|
|
||||||
def success(string: str) -> None:
|
|
||||||
- print(colored("[+]", "green", attrs=["bold"]) + f" {string}")
|
|
||||||
+ print(f"[+] {string}")
|
|
||||||
|
|
||||||
|
|
||||||
def banner() -> None:
|
|
||||||
- print(colored(f"--==[ {__project__} by {__organization__} ]==--\n",
|
|
||||||
- "red", attrs=["bold"]))
|
|
||||||
+ print(f"--==[ {__project__} by {__organization__} ]==--\n")
|
|
||||||
|
|
||||||
|
|
||||||
def load_repo() -> None:
|
|
||||||
--
|
|
||||||
2.28.0
|
|
||||||
|
|
@ -1,25 +0,0 @@
|
|||||||
# Description: Fetch, install and search wordlist archives from websites
|
|
||||||
# URL: https://github.com/BlackArch/wordlistctl
|
|
||||||
# Maintainer: UNMAINTAINED
|
|
||||||
# Depends on: python3-requests
|
|
||||||
|
|
||||||
name=wordlistctl
|
|
||||||
version=0.9.0
|
|
||||||
release=1
|
|
||||||
source=(https://github.com/BlackArch/$name/archive/v$version/$name-$version.tar.gz
|
|
||||||
0001-remove-unnecessary-termcolor-dependency.patch
|
|
||||||
0001-fix-repo.json-path.patch)
|
|
||||||
|
|
||||||
build() {
|
|
||||||
cd $name-$version
|
|
||||||
|
|
||||||
patch -p1 < $SRC/0001-remove-unnecessary-termcolor-dependency.patch
|
|
||||||
patch -p1 < $SRC/0001-fix-repo.json-path.patch
|
|
||||||
|
|
||||||
install -pDm644 bash-completion/$name \
|
|
||||||
$PKG/usr/share/bash-completion/completions/$name
|
|
||||||
install -pDm644 man/$name.1 $PKG/usr/share/man/man1/$name.1
|
|
||||||
|
|
||||||
install -pDm755 wordlistctl.py $PKG/usr/bin/$name
|
|
||||||
install -pDm644 repo.json -t $PKG/usr/share/$name
|
|
||||||
}
|
|
@ -1,4 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
if [ ! -e /etc/ssl/certs/ca-certificates.crt ]; then
|
|
||||||
ln -s /etc/ssl/cert.pem /etc/ssl/certs/ca-certificates.crt
|
|
||||||
fi
|
|
Loading…
x
Reference in New Issue
Block a user