From 37d37728caeacc2efa41d7fad97319a282be5d8b Mon Sep 17 00:00:00 2001 From: "xiaobing.wang" Date: Mon, 20 Jan 2025 18:58:40 +0800 Subject: [PATCH] feat: 1.0.5 --- sdk/kong/kong-safeline-1.0.3-1.rockspec | 2 +- sdk/kong/kong-safeline-1.0.4-1.rockspec | 31 +++++++++++++++++++++++++ sdk/kong/kong-safeline-1.0.5-1.rockspec | 31 +++++++++++++++++++++++++ 3 files changed, 63 insertions(+), 1 deletion(-) create mode 100644 sdk/kong/kong-safeline-1.0.4-1.rockspec create mode 100644 sdk/kong/kong-safeline-1.0.5-1.rockspec diff --git a/sdk/kong/kong-safeline-1.0.3-1.rockspec b/sdk/kong/kong-safeline-1.0.3-1.rockspec index 66d97b3..1ce7c5a 100644 --- a/sdk/kong/kong-safeline-1.0.3-1.rockspec +++ b/sdk/kong/kong-safeline-1.0.3-1.rockspec @@ -1,7 +1,7 @@ package = "kong-safeline" version = "1.0.3-1" source = { - url = "git://github.com/chaitin/SafeLine.git", + url = "file://kong-safeline-1.0.3.tar.gz", } build = { type = "script", diff --git a/sdk/kong/kong-safeline-1.0.4-1.rockspec b/sdk/kong/kong-safeline-1.0.4-1.rockspec new file mode 100644 index 0000000..2e6719e --- /dev/null +++ b/sdk/kong/kong-safeline-1.0.4-1.rockspec @@ -0,0 +1,31 @@ +package = "kong-safeline" +version = "1.0.4-1" +source = { + url = "git://github.com/chaitin/SafeLine.git", +} +build = { + type = "script", + rockspec = { + build = { + "git clone https://github.com/chaitin/SafeLine.git", + "cp -r sdk/kong .", + "rm -rf SafeLine" + } + } +} +description = { + summary = "Kong plugin for Chaitin SafeLine Web Application Firewall", + homepage = "https://github.com/chaitin/SafeLine", + license = "Apache License 2.0", + maintainer = "Xiaobing Wang " +} +dependencies = { + "lua-resty-t1k >= 1.1.5" +} +build = { + type = "builtin", + modules = { + ["kong.plugins.safeline.handler"] = "kong/plugins/safeline/handler.lua", + ["kong.plugins.safeline.schema"] = "kong/plugins/safeline/schema.lua" + } +} diff --git a/sdk/kong/kong-safeline-1.0.5-1.rockspec b/sdk/kong/kong-safeline-1.0.5-1.rockspec new file mode 100644 index 0000000..946808d --- /dev/null +++ b/sdk/kong/kong-safeline-1.0.5-1.rockspec @@ -0,0 +1,31 @@ +package = "kong-safeline" +version = "1.0.5-1" +source = { + url = "git://github.com/chaitin/SafeLine.git", +} +build = { + type = "script", + rockspec = { + build = { + "git clone https://github.com/chaitin/SafeLine.git", + "cp -r sdk/kong .", + "rm -rf SafeLine" + } + } +} +description = { + summary = "Kong plugin for Chaitin SafeLine Web Application Firewall", + homepage = "https://github.com/chaitin/SafeLine", + license = "Apache License 2.0", + maintainer = "Xiaobing Wang " +} +dependencies = { + "lua-resty-t1k >= 1.1.5" +} +build = { + type = "builtin", + modules = { + ["kong.plugins.safeline.handler"] = "kong/plugins/safeline/handler.lua", + ["kong.plugins.safeline.schema"] = "kong/plugins/safeline/schema.lua" + } +}