# signature { license=0, seed=277031123, key="632ea001b5bc0cb9f9d725082dcee647" }

name = "oauth";
pkgname = "inoauth";
version = "2.0.2";
license =  0;
TEST = nil ~= version:find('test')

description =
{
    name     = "InOAuth";
	summary  = "Implements OAuth-2.0 athentication for POP3 and SMTP";
	detailed = [[
InOAuth is a SMTP and POP3 proxy that implements the OAuth-2.0 authentication protocol for
InMail and other InApps that send or receive emails.
	]];
	copyright  = "©2023-2024 NEC Platforms, Ltd";
	buttons =
	{
		{ img="config.png"; href="oauth/oauth.cgi?cmd=cfghome"; id="config"; "Configure"; target="_blank"};
	};
}

files =
{
	"manifest";

	"cfghome.lua";
	"config.lua";
	"geti18n.lua";
	"gmail.cfg";
	"i18n.def";
	"install.lua";
	"log.lua";
	"o365.cfg";
	"oauth.lua";
	"oauth2.lua";
	"parsecs.lua";
	"paths.lua";
	"pop3.lua";
	"smtp.lua";
	"viewlog.lua";
	html=
	{
		'authorized.cgi';
		"backup.png";
		"gmail.png";
		"home.png";
		"icon.png";
		"langdn.png";
		"langup.png";
		"o365.png";
		"oauth.cgi";
		"oauth.css";
		"redirect.html";
		"restore.png";
		"viewlog.png";
	};
}

permissions =
{
	OS_MEMORY = 0x400000;
}

resources =
{
	memory = permissions.OS_MEMORY;
	LuaVMs = 1;
}
