]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] More docs update
authorVsevolod Stakhov <vsevolod@rspamd.com>
Mon, 12 Aug 2024 18:00:39 +0000 (19:00 +0100)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Mon, 12 Aug 2024 18:00:39 +0000 (19:00 +0100)
contrib/publicsuffix/README.md
contrib/publicsuffix/cpanfile [new file with mode: 0644]

index a49969f551a366c89e18005d527087143dd54c7b..eb11436ffbfc64c6b7100b64a1776d0726c58dd2 100644 (file)
@@ -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 (file)
index 0000000..401e274
--- /dev/null
@@ -0,0 +1,3 @@
+requires 'Net::IDN::Encode', '2.500';
+requires 'Unicode::Normalize', '1.0';
+