Update os recipes using framework v2

This commit is contained in:
Aoran Zeng
2025-08-10 09:54:52 +08:00
parent fd0907bf4b
commit d146a8a62a
30 changed files with 709 additions and 1083 deletions

View File

@@ -1,12 +1,8 @@
/** ------------------------------------------------------------
* SPDX-License-Identifier: GPL-3.0-or-later
* -------------------------------------------------------------
* File Authors : Aoran Zeng <ccmywish@qq.com>
* | Heng Guo <2085471348@qq.com>
* Contributors : Nil Null <nil@null.org>
* Created On : <2023-09-03>
* Last Modified : <2025-07-31>
* ------------------------------------------------------------*/
chef_set_created_on ("2023-09-03");
chef_set_authors ("Aoran Zeng <ccmywish@qq.com>", "Heng Guo <2085471348@qq.com>");
chef_set_contributors ("Nil Null <nil@null.org>");
chef_has_setfn;
use_this;
/**
* @update 2023-09-27
@@ -132,22 +128,4 @@ os_freebsd_setsrc (char *option)
}
Feature_t
os_freebsd_feat (char *option)
{
Feature_t f = {0};
f.can_get = false;
f.can_reset = false;
f.cap_locally = CanNot;
f.cap_locally_explain = NULL;
f.can_english = false;
f.can_user_define = false;
f.note = NULL;
return f;
}
def_target_sf(os_freebsd);
def_target(os_freebsd);

View File

@@ -1,12 +1,9 @@
/** ------------------------------------------------------------
* SPDX-License-Identifier: GPL-3.0-or-later
* -------------------------------------------------------------
* File Authors : Aoran Zeng <ccmywish@qq.com>
* | Heng Guo <2085471348@qq.com>
* Contributors : Nil Null <nil@null.org>
* Created On : <2023-09-05>
* Last Modified : <2025-07-31>
* ------------------------------------------------------------*/
chef_set_created_on ("2023-09-05");
chef_set_authors ("Aoran Zeng <ccmywish@qq.com>", "Heng Guo <2085471348@qq.com>");
chef_set_contributors ("Nil Null <nil@null.org>");
chef_has_getfn;
chef_has_setfn;
use_this;
/**
* @update 2025-07-31
@@ -64,21 +61,4 @@ os_netbsd_setsrc (char *option)
}
Feature_t
os_netbsd_feat (char *option)
{
Feature_t f = {0};
f.can_get = true;
f.can_reset = false;
f.cap_locally = CanNot;
f.cap_locally_explain = NULL;
f.can_english = true;
f.can_user_define = false;
f.note = NULL;
return f;
}
def_target_gsf(os_netbsd);
def_target(os_netbsd);

View File

@@ -1,12 +1,9 @@
/** ------------------------------------------------------------
* SPDX-License-Identifier: GPL-3.0-or-later
* -------------------------------------------------------------
* File Authors : Heng Guo <2085471348@qq.com>
* | Aoran Zeng <ccmywish@qq.com>
* Contributors : Nil Null <nil@null.org>
* Created On : <2023-09-03>
* Last Modified : <2025-07-31>
* ------------------------------------------------------------*/
chef_set_created_on ("2023-09-03");
chef_set_authors ("Heng Guo <2085471348@qq.com>", "Aoran Zeng <ccmywish@qq.com>");
chef_set_contributors ("Nil Null <nil@null.org>");
chef_has_getfn;
chef_has_setfn;
use_this;
/**
* @update 2025-07-31
@@ -58,22 +55,4 @@ os_openbsd_setsrc (char *option)
}
Feature_t
os_openbsd_feat (char *option)
{
Feature_t f = {0};
f.can_get = true;
f.can_reset = false;
f.cap_locally = CanNot;
f.cap_locally_explain = NULL;
f.can_english = true;
f.can_user_define = true;
f.note = NULL;
return f;
}
def_target_gsf(os_openbsd);
def_target(os_openbsd);