aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/publicsuffix
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2024-08-12 19:00:39 +0100
committerVsevolod Stakhov <vsevolod@rspamd.com>2024-08-12 19:00:39 +0100
commite0d97ed1e6834b817bdec53f092cda5c9927f02e (patch)
tree08750f9fb10470ab18be42c6bc015cea59f738ab /contrib/publicsuffix
parent59fc8e364413b66c536a03bd8762659fdb129309 (diff)
downloadrspamd-e0d97ed1e6834b817bdec53f092cda5c9927f02e.tar.gz
rspamd-e0d97ed1e6834b817bdec53f092cda5c9927f02e.zip
[Minor] More docs update
Diffstat (limited to 'contrib/publicsuffix')
-rw-r--r--contrib/publicsuffix/README.md7
-rw-r--r--contrib/publicsuffix/cpanfile3
2 files changed, 9 insertions, 1 deletions
diff --git a/contrib/publicsuffix/README.md b/contrib/publicsuffix/README.md
index a49969f55..eb11436ff 100644
--- a/contrib/publicsuffix/README.md
+++ b/contrib/publicsuffix/README.md
@@ -5,4 +5,9 @@ Update procedure:
1. Download the list from the [official mirror](https://publicsuffix.org/list/public_suffix_list.dat)
2. Proceed through `idn.pl` script
-1 liner: `curl https://publicsuffix.org/list/public_suffix_list.dat | idn.pl > effective_tld_names.dat`
+1 liner: `curl https://publicsuffix.org/list/public_suffix_list.dat | perl idn.pl > effective_tld_names.dat`
+
+## Deps installation
+
+Ensure that you have `cpanm` installed (e.g. by `brew install cpanm`).
+Run `cpanm --installdeps .` once.
diff --git a/contrib/publicsuffix/cpanfile b/contrib/publicsuffix/cpanfile
new file mode 100644
index 000000000..401e27443
--- /dev/null
+++ b/contrib/publicsuffix/cpanfile
@@ -0,0 +1,3 @@
+requires 'Net::IDN::Encode', '2.500';
+requires 'Unicode::Normalize', '1.0';
+