mirror of
https://github.com/egor-white/zaprett.git
synced 2026-03-22 00:18:13 +05:00
update nfqws and nfqws2
This commit is contained in:
@@ -28,8 +28,8 @@ cp -a src/* zaprett/
|
||||
cp -r zaprett/* zaprett-hosts/
|
||||
|
||||
echo "Download and copy actual lists"
|
||||
wget https://raw.githubusercontent.com/CherretGit/zaprett-repo/refs/heads/main/lists/include/list-youtube.txt -O lists/list-youtube.txt
|
||||
wget https://raw.githubusercontent.com/CherretGit/zaprett-repo/refs/heads/main/lists/include/list-discord.txt -O lists/list-discord.txt
|
||||
wget https://raw.githubusercontent.com/CherretGit/zaprett-repo/refs/heads/main/files/lists/include/list-youtube.txt -O lists/list-youtube.txt
|
||||
wget https://raw.githubusercontent.com/CherretGit/zaprett-repo/refs/heads/main/files/lists/include/list-discord.txt -O lists/list-discord.txt
|
||||
cp lists/* zaprett/zaprett/lists/include/
|
||||
cp lists/* zaprett-hosts/zaprett/lists/include/
|
||||
cp hosts/hosts zaprett-hosts/system/etc
|
||||
|
||||
@@ -161,6 +161,66 @@ fn main() {
|
||||
"parse_cidr6",
|
||||
"config_from_file",
|
||||
"cleanup_args",
|
||||
"save_file",
|
||||
"HostlistPoolAddStrLen",
|
||||
"HostlistPoolAddStr",
|
||||
"HostlistPoolGetStr",
|
||||
"HostlistPoolCheckStr",
|
||||
"HostlistPoolDestroy",
|
||||
"HostFailPoolDestroy",
|
||||
"HostFailPoolAdd",
|
||||
"HostFailPoolFind",
|
||||
"HostFailPoolDel",
|
||||
"HostFailPoolPurge",
|
||||
"HostFailPoolPurgeRateLimited",
|
||||
"HostFailPoolDump",
|
||||
"strlist_add",
|
||||
"strlist_destroy",
|
||||
"strlist_search",
|
||||
"hostlist_files_add",
|
||||
"hostlist_files_destroy",
|
||||
"hostlist_files_search",
|
||||
"hostlist_files_reset_modtime",
|
||||
"hostlist_collection_add",
|
||||
"hostlist_collection_destroy",
|
||||
"hostlist_collection_search",
|
||||
"hostlist_collection_is_empty",
|
||||
"kavl_find_kavl_bit",
|
||||
"kavl_insert_kavl_bit",
|
||||
"kavl_erase_kavl_bit",
|
||||
"kavl_itr_first_kavl_bit",
|
||||
"kavl_itr_find_kavl_bit",
|
||||
"kavl_bit_delete",
|
||||
"kavl_bit_destroy",
|
||||
"kavl_bit_add",
|
||||
"kavl_bit_get",
|
||||
"ipset4Check",
|
||||
"ipset4Add",
|
||||
"ipset4Print",
|
||||
"ipset6Check",
|
||||
"ipset6Add",
|
||||
"ipset6Print",
|
||||
"ipsetDestroy",
|
||||
"ipsetPrint",
|
||||
"ipset_files_add",
|
||||
"ipset_files_destroy",
|
||||
"ipset_files_search",
|
||||
"ipset_files_reset_modtime",
|
||||
"ipset_collection_add",
|
||||
"ipset_collection_destroy",
|
||||
"ipset_collection_search",
|
||||
"ipset_collection_is_empty",
|
||||
"port_filter_add",
|
||||
"port_filters_destroy",
|
||||
"port_filters_deny_if_empty",
|
||||
"blob_collection_add",
|
||||
"blob_collection_add_blob",
|
||||
"blob_collection_destroy",
|
||||
"blob_collection_empty",
|
||||
"ipcacheDestroy",
|
||||
"ipcachePrint",
|
||||
"ipcacheTouch",
|
||||
"ipcachePurgeRateLimited",
|
||||
];
|
||||
let mut cc_builder = cc::Build::new();
|
||||
cc_builder.files(
|
||||
|
||||
Submodule rust/crates/libnfqws/zapret updated: afce40981c...f0b0d89f02
@@ -161,6 +161,66 @@ fn main() {
|
||||
"parse_cidr6",
|
||||
"config_from_file",
|
||||
"cleanup_args",
|
||||
"save_file",
|
||||
"HostlistPoolAddStrLen",
|
||||
"HostlistPoolAddStr",
|
||||
"HostlistPoolGetStr",
|
||||
"HostlistPoolCheckStr",
|
||||
"HostlistPoolDestroy",
|
||||
"HostFailPoolDestroy",
|
||||
"HostFailPoolAdd",
|
||||
"HostFailPoolFind",
|
||||
"HostFailPoolDel",
|
||||
"HostFailPoolPurge",
|
||||
"HostFailPoolPurgeRateLimited",
|
||||
"HostFailPoolDump",
|
||||
"strlist_add",
|
||||
"strlist_destroy",
|
||||
"strlist_search",
|
||||
"hostlist_files_add",
|
||||
"hostlist_files_destroy",
|
||||
"hostlist_files_search",
|
||||
"hostlist_files_reset_modtime",
|
||||
"hostlist_collection_add",
|
||||
"hostlist_collection_destroy",
|
||||
"hostlist_collection_search",
|
||||
"hostlist_collection_is_empty",
|
||||
"kavl_find_kavl_bit",
|
||||
"kavl_insert_kavl_bit",
|
||||
"kavl_erase_kavl_bit",
|
||||
"kavl_itr_first_kavl_bit",
|
||||
"kavl_itr_find_kavl_bit",
|
||||
"kavl_bit_delete",
|
||||
"kavl_bit_destroy",
|
||||
"kavl_bit_add",
|
||||
"kavl_bit_get",
|
||||
"ipset4Check",
|
||||
"ipset4Add",
|
||||
"ipset4Print",
|
||||
"ipset6Check",
|
||||
"ipset6Add",
|
||||
"ipset6Print",
|
||||
"ipsetDestroy",
|
||||
"ipsetPrint",
|
||||
"ipset_files_add",
|
||||
"ipset_files_destroy",
|
||||
"ipset_files_search",
|
||||
"ipset_files_reset_modtime",
|
||||
"ipset_collection_add",
|
||||
"ipset_collection_destroy",
|
||||
"ipset_collection_search",
|
||||
"ipset_collection_is_empty",
|
||||
"port_filter_add",
|
||||
"port_filters_destroy",
|
||||
"port_filters_deny_if_empty",
|
||||
"blob_collection_add",
|
||||
"blob_collection_add_blob",
|
||||
"blob_collection_destroy",
|
||||
"blob_collection_empty",
|
||||
"ipcacheDestroy",
|
||||
"ipcachePrint",
|
||||
"ipcacheTouch",
|
||||
"ipcachePurgeRateLimited",
|
||||
];
|
||||
let mut cc_builder = cc::Build::new();
|
||||
cc_builder.files(
|
||||
@@ -240,6 +300,7 @@ fn main() {
|
||||
|
||||
let bindings = builder
|
||||
.parse_callbacks(Box::new(bindgen::CargoCallbacks::new()))
|
||||
.blocklist_file(".*/linux/icmp.*")
|
||||
.generate()
|
||||
.expect("Unable to generate libnfqws2");
|
||||
|
||||
|
||||
Submodule rust/crates/libnfqws2/zapret2 updated: 36ee42bc8c...d41151ef6f
@@ -1,6 +1,6 @@
|
||||
set shell := ["bash", "-eu", "-c"]
|
||||
|
||||
export ANDROID_API := "21"
|
||||
export ANDROID_API := "24"
|
||||
export ANDROID_NDK_VERSION := "r27d-linux"
|
||||
|
||||
TARGET := `pwd` + "/target"
|
||||
|
||||
Reference in New Issue
Block a user