diff --git a/0001-libcgroup-0.37-chmod.patch b/0001-libcgroup-0.37-chmod.patch deleted file mode 100644 index a180dea5b8d14547ee724e9088e439acdb8d5545..0000000000000000000000000000000000000000 --- a/0001-libcgroup-0.37-chmod.patch +++ /dev/null @@ -1,32 +0,0 @@ -diff --git a/src/api.c b/src/api.c -index f8c5acd..3f7d831 100644 ---- a/src/api.c -+++ b/src/api.c -@@ -52,6 +52,10 @@ const struct cgroup_library_version library_version = { - .release = CGROUP_VER_RELEASE, - }; - -+int cg_chmod_file(FTS *fts, FTSENT *ent, mode_t dir_mode, -+ int dirm_change, mode_t file_mode, int filem_change, -+ int owner_is_umask); -+ - /* - * The errno which happend the last time (have to be thread specific) - */ -@@ -184,6 +188,8 @@ static int cg_chown_recursive(char **path, uid_t owner, gid_t group) - { - int ret = 0; - FTS *fts; -+ /* mode 664 */ -+ mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH; - - cgroup_dbg("chown: path is %s\n", *path); - fts = fts_open(path, FTS_PHYSICAL | FTS_NOCHDIR | FTS_NOSTAT, NULL); -@@ -201,6 +207,7 @@ static int cg_chown_recursive(char **path, uid_t owner, gid_t group) - cgroup_warn("fts_read failed\n"); - break; - } -+ cg_chmod_file(fts, ent, mode, 0, mode, 1, 1); - ret = cg_chown_file(fts, ent, owner, group); - } - fts_close(fts); diff --git a/0002-libcgroup-0.40.rc1-coverity.patch b/0002-libcgroup-0.40.rc1-coverity.patch deleted file mode 100644 index b4e8f646d09684c8d54febc0cd3d11259e1653c6..0000000000000000000000000000000000000000 --- a/0002-libcgroup-0.40.rc1-coverity.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/src/daemon/cgrulesengd.c b/src/daemon/cgrulesengd.c -index 7c51412..d95f6a5 100644 ---- a/src/daemon/cgrulesengd.c -+++ b/src/daemon/cgrulesengd.c -@@ -652,7 +652,7 @@ close: - - static int cgre_create_netlink_socket_process_msg(void) - { -- int sk_nl = 0, sk_unix = 0, sk_max; -+ int sk_nl = -1, sk_unix = -1, sk_max; - enum proc_cn_mcast_op *mcop_msg; - struct sockaddr_nl my_nla; - struct sockaddr_un saddr; diff --git a/0003-libcgroup-0.40.rc1-fread.patch b/0003-libcgroup-0.40.rc1-fread.patch deleted file mode 100644 index b4931a639c3c68818b47bb3fd5e8865e94267318..0000000000000000000000000000000000000000 --- a/0003-libcgroup-0.40.rc1-fread.patch +++ /dev/null @@ -1,47 +0,0 @@ -diff --git a/src/api.c b/src/api.c -index 3f7d831..1e4f021 100644 ---- a/src/api.c -+++ b/src/api.c -@@ -3227,26 +3227,26 @@ int cgroup_delete_cgroup_ext(struct cgroup *cgroup, int flags) - static int cg_rd_ctrl_file(const char *subsys, const char *cgroup, const char *file, char **value) - { - char path[FILENAME_MAX]; -- FILE *ctrl_file = NULL; -- int ret; -+ int ctrl_file = -1; -+ ssize_t ret; - - if (!cg_build_path_locked(cgroup, path, subsys)) - return ECGFAIL; - - strncat(path, file, sizeof(path) - strlen(path)); -- ctrl_file = fopen(path, "re"); -- if (!ctrl_file) -+ ctrl_file = open(path, O_RDONLY | O_CLOEXEC); -+ if (ctrl_file < 0) - return ECGROUPVALUENOTEXIST; - - *value = calloc(CG_CONTROL_VALUE_MAX, 1); - if (!*value) { -- fclose(ctrl_file); -+ close(ctrl_file); - last_errno = errno; - return ECGOTHER; - } - -- /* Using %as crashes when we try to read from files like memory.stat */ -- ret = fread(*value, 1, CG_CONTROL_VALUE_MAX-1, ctrl_file); -+ /* Using %as or fread crashes when we try to read from files like memory.stat */ -+ ret = read(ctrl_file, *value, CG_CONTROL_VALUE_MAX-1); - if (ret < 0) { - free(*value); - *value = NULL; -@@ -3256,7 +3256,7 @@ static int cg_rd_ctrl_file(const char *subsys, const char *cgroup, const char *f - (*value)[ret-1] = '\0'; - } - -- fclose(ctrl_file); -+ close(ctrl_file); - - return 0; - } diff --git a/0004-libcgroup-0.40.rc1-templates-fix.patch b/0004-libcgroup-0.40.rc1-templates-fix.patch deleted file mode 100644 index 1b785a8461d0d249ee9b02e891215d440364e0fc..0000000000000000000000000000000000000000 --- a/0004-libcgroup-0.40.rc1-templates-fix.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff --git a/src/api.c b/src/api.c -index 1e4f021..33e99b6 100644 ---- a/src/api.c -+++ b/src/api.c -@@ -4177,9 +4177,9 @@ int cgroup_change_cgroup_flags(uid_t uid, gid_t gid, const char *procname, pid_t - written = snprintf(newdest + j, available, "%d", pid); - break; - case 'p': -- if (procname) { -+ if(procname && strlen(basename(procname))) { - written = snprintf(newdest + j, available, "%s", -- procname); -+ basename(procname)); - } else { - written = snprintf(newdest + j, available, "%d", - pid); diff --git a/1001-libcgroup-tests-unbundle-gtest.patch b/1001-libcgroup-tests-unbundle-gtest.patch deleted file mode 100644 index 826a6e6b7930f9e9898309706342ded28f96f0bc..0000000000000000000000000000000000000000 --- a/1001-libcgroup-tests-unbundle-gtest.patch +++ /dev/null @@ -1,35 +0,0 @@ -diff --git a/tests/gunit/Makefile.am b/tests/gunit/Makefile.am -index ba91039..e2b88e3 100644 ---- a/tests/gunit/Makefile.am -+++ b/tests/gunit/Makefile.am -@@ -9,8 +9,6 @@ - AM_CPPFLAGS = -I$(top_srcdir)/include \ - -I$(top_srcdir)/src \ - -I$(top_srcdir)/src/tools \ -- -I$(top_srcdir)/googletest/googletest/include \ -- -I$(top_srcdir)/googletest/googletest \ - -std=c++11 \ - -Wno-write-strings \ - -DSTATIC= \ -@@ -18,10 +16,7 @@ AM_CPPFLAGS = -I$(top_srcdir)/include \ - LDADD = $(top_builddir)/src/.libs/libcgroupfortesting.la \ - $(top_builddir)/src/tools/.libs/libcgset.la - --EXTRA_DIST = $(top_srcdir)/googletest/googletest/libgtest.so \ -- $(top_srcdir)/googletest/googletest/libgtest_main.so \ -- $(top_srcdir)/googletest/googletest/include \ -- libcgroup_unittest.map -+EXTRA_DIST = libcgroup_unittest.map - - check_PROGRAMS = gtest - TESTS = gtest -@@ -43,8 +38,7 @@ gtest_SOURCES = gtest.cpp \ - 014-cgroupv2_get_subtree_control.cpp \ - 015-cgroupv2_controller_enabled.cpp \ - 016-cgset_parse_r_flag.cpp --gtest_LDFLAGS = -L$(top_srcdir)/googletest/googletest -l:libgtest.so \ -- -rpath $(abs_top_srcdir)/googletest/googletest -+gtest_LDFLAGS = -l:libgtest.so - - clean-local: - ${RM} test-procpidcgroup diff --git a/Add-support-for-multiple-controllers-on-same-mount-point.patch b/Add-support-for-multiple-controllers-on-same-mount-point.patch new file mode 100644 index 0000000000000000000000000000000000000000..fa8442ec6de07a6d6bc2f324afc02241c5dbca9c --- /dev/null +++ b/Add-support-for-multiple-controllers-on-same-mount-point.patch @@ -0,0 +1,73 @@ +From d9c7eee7cbae3de3b092fc317ff3e002e1a02bf9 Mon Sep 17 00:00:00 2001 +From: lipengyu +Date: Fri, 6 Dec 2024 14:38:39 +0800 +Subject: [PATCH] support-for-multiple-controller-nount-to-same-point + +--- + src/config.c | 29 ++++++++++++++++++++++++++++- + 1 file changed, 28 insertions(+), 1 deletion(-) + +diff --git a/src/config.c b/src/config.c +index 7678578..4d33b0d 100644 +--- a/src/config.c ++++ b/src/config.c +@@ -629,6 +629,22 @@ void cgroup_config_cleanup_namespace_table(void) + memset(&config_namespace_table, 0, sizeof(struct cg_mount_table_s) * CG_CONTROLLER_MAX); + } + ++static int is_valid_controller(char *ctrl) ++{ ++ int i; ++ ++ static const char *ctrl_list[] = { "blkio", "cpu", "cpuacct", "cpuset", "devices", ++ "freezer", "hugetlb", "memory", "misc", "net_cls", ++ "net_prio", "perf_event", "pids", "rdma", NULL }; ++ ++ for (i = 0; ctrl_list[i]; i++) { ++ if (strncmp(ctrl, ctrl_list[i], strlen(ctrl_list[i])) == 0) ++ return 1; ++ } ++ ++ return 0; ++} ++ + /** + * Add necessary options for mount. Currently only 'none' option is added + * for mounts with only 'name=xxx' and without real controller. +@@ -657,6 +673,9 @@ static int cgroup_config_ajdust_mount_options(struct cg_mount_table_s *mount, un + + strncpy(mount->name, controller, sizeof(mount->name)); + mount->name[sizeof(mount->name)-1] = '\0'; ++ free(controller); ++ token = strtok_r(NULL, ",", &save); ++ continue; + } + + if (strncmp(token, "nodev", strlen("nodev")) == 0) +@@ -668,6 +687,15 @@ static int cgroup_config_ajdust_mount_options(struct cg_mount_table_s *mount, un + if (strncmp(token, "nosuid", strlen("nosuid")) == 0) + *flags |= MS_NOSUID; + ++ if (is_valid_controller(token)) { ++ controller = strdup(token); ++ if (controller == NULL) ++ break; ++ strncat(mount->name, ",", FILENAME_MAX - strlen(mount->name)-1); ++ strncat(mount->name, controller, FILENAME_MAX - strlen(mount->name) - 1); ++ free(controller); ++ } ++ + } else if (!name_only) { + /* + * We have controller + name=, do the right thing, +@@ -679,7 +707,6 @@ static int cgroup_config_ajdust_mount_options(struct cg_mount_table_s *mount, un + token = strtok_r(NULL, ",", &save); + } + +- free(controller); + free(opts); + + if (name_only) { +-- +2.25.1 + diff --git a/cgconfig.service b/cgconfig.service deleted file mode 100644 index 6be383f99dc294153019da97b20782373441da4b..0000000000000000000000000000000000000000 --- a/cgconfig.service +++ /dev/null @@ -1,18 +0,0 @@ -[Unit] -Description=Control Group configuration service - -# The service should be able to start as soon as possible, -# before any 'normal' services: -DefaultDependencies=no -Conflicts=shutdown.target -Before=basic.target shutdown.target - -[Service] -Type=oneshot -RemainAfterExit=yes -Delegate=yes -ExecStart=/usr/sbin/cgconfigparser -l /etc/cgconfig.conf -s 1664 -ExecStop=/usr/sbin/cgclear -l /etc/cgconfig.conf -e - -[Install] -WantedBy=sysinit.target diff --git a/config.patch b/config.patch new file mode 100644 index 0000000000000000000000000000000000000000..3f45fde1d7dc20e9b68fd0cfc0a0f4e0b4da0567 --- /dev/null +++ b/config.patch @@ -0,0 +1,13 @@ +--- libcgroup-3.1.0/samples/config/cgconfig.sysconfig.orig 2019-12-19 11:25:25.547000000 +0800 ++++ libcgroup-3.1.0/samples/config/cgconfig.sysconfig 2019-12-19 11:26:01.142000000 +0800 +@@ -5,8 +5,5 @@ + # controller to limit cpu.shares of this default group and allowing some more + # important group take most of the CPU. + # +-# By default, create these groups: +-CREATE_DEFAULT=yes +- +-# Uncomment following line to disable creation of the default group on startup: +-# CREATE_DEFAULT=no ++# By default, do not create these groups: ++CREATE_DEFAULT=no diff --git a/libcgroup-3.0.0.tar.gz b/libcgroup-3.0.0.tar.gz deleted file mode 100644 index bbcca5b3bfe677a731005c5195cad41bdea3741d..0000000000000000000000000000000000000000 Binary files a/libcgroup-3.0.0.tar.gz and /dev/null differ diff --git a/libcgroup-3.1.0.tar.gz b/libcgroup-3.1.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..f6a6002362124435b9746f782b04e2ed1c6f03f6 Binary files /dev/null and b/libcgroup-3.1.0.tar.gz differ diff --git a/libcgroup.spec b/libcgroup.spec index ca284898fb113794fcee1d5410c76bd68fc6532a..709593318ddf44e0c3b1fe29ff58a927376d6ee0 100644 --- a/libcgroup.spec +++ b/libcgroup.spec @@ -1,180 +1,189 @@ %define anolis_release 1 -%bcond_with tests - -Name: libcgroup -Version: 3.0.0 -Release: %{anolis_release}%{?dist} -Summary: iLibrary to control and monitor control groups -License: LGPLv2+ -URL: http://libcg.sourceforge.net/ -Source0: https://github.com/%{name}/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz -Source1: cgconfig.service - -Patch0001: 0001-libcgroup-0.37-chmod.patch -Patch0002: 0002-libcgroup-0.40.rc1-coverity.patch -Patch0003: 0003-libcgroup-0.40.rc1-fread.patch -Patch0004: 0004-libcgroup-0.40.rc1-templates-fix.patch -PATCH1001: 1001-libcgroup-tests-unbundle-gtest.patch - -BuildRequires: make gcc-c++ gcc libtool automake autoconf gcc -BuildRequires: gtest-devel pam-devel -BuildRequires: systemd-units byacc coreutils flex -Requires(pre): shadow-utils -Requires(post): systemd -Requires(preun): systemd -Requires(postun): systemd -%description -Control groups infrastructure. The library helps manipulate, control, -administrate and monitor control groups and the associated controllers. - -%package devel -Summary: Development libraries to develop applications that utilize control groups -Requires: %{name} = %{version}-%{release} +%global soversion_major 1 +%global soversion 1.0.41 +%global _hardened_build 1 -%description devel -It provides API to create/delete and modify cgroup nodes. It will also in the -future allow creation of persistent configuration for control groups and -provide scripts to manage that configuration. +Summary: Libcgroup is a library that abstracts the control group file system in Linux +Name: libcgroup +Version: 3.1.0 +Release: %{anolis_release}%{?dist} +License: LGPL-2.1-or-later +URL: https://libcg.sourceforge.net/ +Source: https://github.com/%{name}/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz +Provides: libcgroup-pam = %{version}-%{release} +Provides: libcgroup-tools < %{version}-%{release} +Obsoletes: libcgroup-pam = %{version}-%{release} +Obsoletes: libcgroup-tools < %{version}-%{release} -%package tools -Summary: Command-line utility programs, services and daemons for libcgroup -Requires: %{name} = %{version}-%{release} -Requires: systemd >= 217-0.2 +Patch0: config.patch +Patch1: Add-support-for-multiple-controllers-on-same-mount-point.patch -%description tools -This package contains command-line programs, services and a daemon for -manipulating control groups using the libcgroup library. +BuildRequires: autoconf, automake, libtool +BuildRequires: gcc,gcc-c++,byacc +BuildRequires: systemd-units,pam-devel,flex,coreutils,systemd-devel -%package pam -Summary: A Pluggable Authentication Module for libcgroup -Requires: %{name} = %{version}-%{release} +Requires: systemd >= 217-0.2 +Requires(pre): shadow-utils -%description pam -Linux-PAM module, which allows administrators to classify the user's login -processes to pre-configured control group. +%description +Cgroups is a Linux kernel feature that limits, accounts for, and isolates +the resource usage (CPU, memory, disk I/O, network, etc.) of a collection of processes. +The library helps manipulte and administrate control groups. -%package doc -Summary: Documentation files for %{name} -Requires: %{name} = %{version}-%{release} -BuildArch: noarch +%package devel +Summary: Devel helps applications to use cgroups +Requires: %{name} = %{version}-%{release} +%description devel +Devel provides API for creating,deleting and modifying cgroup nodes.It allows +the creation of cgroups' configuration and provides scripts for managing it. -%description doc -The %{name}-doc package contains documentation files for %{name}. +#%%package_help %prep -%autosetup -p1 -n %{name}-%{version} +%autosetup -p1 -n %{name}-%{version} %build autoreconf -vif -%configure --enable-pam-module-dir=%{_libdir}/security \ - --enable-opaque-hierarchy="name=systemd" \ - --disable-daemon +%configure --enable-pam-module-dir=%{_libdir}/security --enable-opaque-hierarchy="name=systemd" --disable-daemon --disable-static %make_build %install %make_install +#%%delete_la -mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir} -install -m 0644 -p samples/config/cgsnapshot_blacklist.conf $RPM_BUILD_ROOT/%{_sysconfdir}/cgsnapshot_blacklist.conf -install -m 0644 -p samples/config/cgconfig.conf $RPM_BUILD_ROOT/%{_sysconfdir}/cgconfig.conf - -rm -f $RPM_BUILD_ROOT%{_libdir}/security/pam_cgroup.{,l}a -rm -f $RPM_BUILD_ROOT/%{_libdir}/libcgroupfortesting.* -rm -f $RPM_BUILD_ROOT/%{_libdir}/*.{,l}a - -rm -f $RPM_BUILD_ROOT/%{_mandir}/man8/cgrulesengd.8* -rm -f $RPM_BUILD_ROOT/%{_mandir}/man5/cgrules.conf.5* -rm -f $RPM_BUILD_ROOT/%{_mandir}/man5/cgred.conf.5* - -mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/sysconfig -mkdir -p ${RPM_BUILD_ROOT}%{_unitdir} -install -m 0644 -p %SOURCE1 ${RPM_BUILD_ROOT}%{_unitdir}/ - -%generate_compatibility_deps - -%check -%if %{with tests} -make -C tests/gunit check -%endif - -%post tools -%systemd_post cgconfig.service +# config +install -d ${RPM_BUILD_ROOT}%{_sysconfdir} +install -d ${RPM_BUILD_ROOT}%{_sysconfdir}/sysconfig +install -m 644 samples/config/cgsnapshot_denylist.conf $RPM_BUILD_ROOT%{_sysconfdir}/cgsnapshot_denylist.conf -%preun tools -%systemd_preun cgconfig.service +# Only one pam_cgroup.so is needed +#mv -f $RPM_BUILD_ROOT%{_libdir}/security/pam_cgroup.so $RPM_BUILD_ROOT%{_libdir}/security/pam_cgroup.so +rm -f $RPM_BUILD_ROOT%{_libdir}/security/pam_cgroup.so.* -%postun tools -%systemd_postun_with_restart cgconfig.service +rm -f $RPM_BUILD_ROOT%{_libdir}/libcgroupfortesting.* -%triggerun -- libcgroup < 0.38 -/usr/bin/systemd-sysv-convert --save cgconfig >/dev/null 2>&1 ||: +rm -f $RPM_BUILD_ROOT%{_mandir}/man5/cgred.conf.5* +rm -f $RPM_BUILD_ROOT%{_mandir}/man5/cgrules.conf.5* +rm -f $RPM_BUILD_ROOT%{_mandir}/man8/cgrulesengd.8* -/sbin/chkconfig --del cgconfig >/dev/null 2>&1 || : -/bin/systemctl try-restart cgconfig.service >/dev/null 2>&1 || : +%pre +getent group cgred >/dev/null || groupadd -r cgred %files -%dir %{abidir} -%{!?_licensedir:%global license %%doc} %license COPYING -%{_libdir}/libcgroup.so.3* -%{abidir}/libcgroup.dump - -%files tools -%{!?_licensedir:%global license %%doc} -%license COPYING -%config(noreplace) %{_sysconfdir}/cgsnapshot_blacklist.conf -%config(noreplace) %{_sysconfdir}/cgconfig.conf -%{_bindir}/cgcreate -%{abidir}/cgcreate-option.list -%{_bindir}/cgset -%{abidir}/cgset-option.list +%{_libdir}/libcgroup.so.* +%config(noreplace) %{_sysconfdir}/cgsnapshot_denylist.conf %{_bindir}/cgget -%{abidir}/cgget-option.list -%{_bindir}/cgxset -%{abidir}/cgxset-option.list -%{_bindir}/cgxget -%{abidir}/cgxget-option.list +%{_bindir}/cgset +%{_bindir}/cgcreate %{_bindir}/cgdelete -%{abidir}/cgdelete-option.list -%{_bindir}/lssubsys -%{abidir}/lssubsys-option.list -%{_bindir}/lscgroup -%{abidir}/lscgroup-option.list %{_bindir}/cgsnapshot -%{abidir}/cgsnapshot-option.list +%{_bindir}/lscgroup +%{_bindir}/lssubsys %{_sbindir}/cgconfigparser -%{abidir}/cgconfigparser-option.list -%{_bindir}/cgclassify -%{abidir}/cgclassify-option.list -%attr(0755, root, root) %{_bindir}/cgexec -%{abidir}/cgexec-option.list -%{_unitdir}/cgconfig.service -%attr(0644, root, root) %{_mandir}/man8/* -%attr(0644, root, root) %{_mandir}/man5/* -%attr(0644, root, root) %{_mandir}/man1/* - -%files pam -%{!?_licensedir:%global license %%doc} -%license COPYING -%attr(0755,root,root) %{_libdir}/security/pam_cgroup.so -%{abidir}/pam_cgroup.dump +%attr(2755, root, cgred) %{_bindir}/cgexec +%attr(2755, root, cgred) %{_bindir}/cgclassify +%attr(0755, root, root) %{_libdir}/security/pam_cgroup.so +%{_bindir}/cgxget +%{_bindir}/cgxset +%{_bindir}/libcgroup_systemd_idle_thread %files devel -%{!?_licensedir:%global license %%doc} %license COPYING -%{_libdir}/pkgconfig/libcgroup.pc %{_libdir}/libcgroup.so - -%{_includedir}/libcgroup/*.h +%{_libdir}/pkgconfig/libcgroup.pc %{_includedir}/libcgroup.h +%{_includedir}/libcgroup/*.h -%files doc +#%%files help %doc README README_systemd +%attr(0644, root, root) %{_mandir}/man1/* +%attr(0644, root, root) %{_mandir}/man5/* +%attr(0644, root, root) %{_mandir}/man8/* %changelog -* Wed Apr 12 2023 Guyu Wang - 3.0.0-1 -- Update to 3.0.0 +* Tue Nov 26 2024 lipengyu - 3.1.0-6 +- Type:update +- Id:NA +- SUG:NA +- DESC:Add support for multiple controller mount to same point + +* Fri Oct 11 2024 Funda Wang - 3.1.0-5 +- apply patch + +* Fri Jul 12 2024 liuxu - 3.1.0-4 +- Type: bugfix +- Id:NA +- SUG:NA +- DESC:fix config.patch + +* Fri Apr 12 2024 liuxu - 3.1.0-3 +- Type: bugfix +- Id:NA +- SUG:NA +- DESC:fix corrupted libcgroup-3.1.0.tar.gz + +* Mon Aug 28 2023 luoyujie - 3.1.0-2 +- Type: enhancement +- Id:NA +- SUG:NA +- DESC:delete unnecessary cgconfig service support + +* Wed Aug 16 2023 luoyujie - 3.1.0-1 +- Type: upgrade +- Id:NA +- SUG:NA +- DESC:update release version to v3.1.0 + +* Wed Apr 19 2023 jichengke - 2.0.3-2 +- modify bogus date in changelog + +* Thu Feb 9 2023 hanchao - 2.0.3-1 +- Type: upgrade +- Id:NA +- SUG:NA +- DESC:update release version to v2.0.3 + +* Thu Nov 3 2022 wuzx - 0.42.2-3 +- Type:feature +- CVE:NA +- SUG:NA +- DESC:Add sw64 architecture + +* Thu May 5 2022 wangfengtu - 0.42.2-2 +- Type: upgrade +- Id:NA +- SUG:NA +- DESC:update release version + +* Wed Nov 4 2020 leizhongkai - 0.42.2-1 +- Type: upgrade +- Id:NA +- SUG:NA +- DESC:new upstream release 0.42.2 + +* Tue Jan 7 2020 openEuler Buildteam - 0.41-23 +- Type:enhancement +- Id:NA +- SUG:NA +- DESC:modify spec patch + +* Thu Dec 19 2019 openEuler Buildteam - 0.41-22 +- Type:enhancement +- Id:NA +- SUG:NA +- DESC:modify the config patch + +* Thu Nov 7 2019 openEuler Buildteam - 0.41-21 +- Type:enhancement +- Id:NA +- SUG:NA +- DESC:modify the release + +* Tue Jan 22 2019 lunankun - 0.41-20.h1 +- Type:bugfix +- ID:NA +- SUG:restart +- DESC:change parser match order fix cgconfig error. -* Tue Mar 8 2022 forrest_ly - 2.0-1 -- Init for Anolis OS 23 diff --git a/libcgroup.yaml b/libcgroup.yaml new file mode 100644 index 0000000000000000000000000000000000000000..2ff8279bdfa97638187c87cc04552d4e410960f3 --- /dev/null +++ b/libcgroup.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: libcgroup/libcgroup +tag_prefix: ^v +separator: "."