|
@@ -1,18 +1,41 @@
|
|
|
-%define soversion 1.0.37
|
|
|
+%define soversion 1.0.41
|
|
|
%define soversion_major 1
|
|
|
|
|
|
Name: libcgroup
|
|
|
Summary: Tools and libraries to control and monitor control groups
|
|
|
Summary(ja): CGROUPS を管理・監視するためのツールおよびライブラリ
|
|
|
-Version: 0.37.1
|
|
|
-Release: 2%{?_dist_release}
|
|
|
+Version: 0.41
|
|
|
+Release: 1%{?_dist_release}
|
|
|
|
|
|
License: LGPLv2+
|
|
|
Group: System Environment/Libraries
|
|
|
+Vendor: Project Vine
|
|
|
+Distribution: Vine Linux
|
|
|
+
|
|
|
URL: http://libcg.sourceforge.net/
|
|
|
Source0: http://downloads.sourceforge.net/libcg/%{name}-%{version}.tar.bz2
|
|
|
-Patch1: fedora-config.patch
|
|
|
-Patch2: fedora-fix-initscripts.patch
|
|
|
+
|
|
|
+Patch1: libcgroup-0.37-chmod.patch
|
|
|
+Patch2: libcgroup-0.40.rc1-coverity.patch
|
|
|
+Patch3: libcgroup-0.40.rc1-fread.patch
|
|
|
+Patch4: libcgroup-0.40.rc1-templates-fix.patch
|
|
|
+Patch5: libcgroup-0.41-lex.patch
|
|
|
+Patch6: libcgroup-0.41-api.c-support-for-setting-multiline-values-in-contro.patch
|
|
|
+# resolves #1348874
|
|
|
+Patch7: libcgroup-0.41-api.c-fix-order-of-memory-subsystem-parameters.patch
|
|
|
+# resolves #1384504
|
|
|
+Patch8: libcgroup-0.41-api.c-preserve-dirty-flag.patch
|
|
|
+Patch9: libcgroup-0.41-change-cgroup-of-threads.patch
|
|
|
+Patch10: libcgroup-0.41-fix-infinite-loop.patch
|
|
|
+Patch11: libcgroup-0.41-prevent-buffer-overflow.patch
|
|
|
+Patch12: libcgroup-0.41-tasks-file-warning.patch
|
|
|
+Patch13: libcgroup-0.41-fix-log-level.patch
|
|
|
+Patch14: libcgroup-0.41-size-of-controller-values.patch
|
|
|
+Patch15: libcgroup-0.41-CVE-2018-14348.patch
|
|
|
+
|
|
|
+Patch1000: 0001-modify-configurations.patch
|
|
|
+Patch1001: 0002-fixed-initscripts.patch
|
|
|
+
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
|
BuildRequires: pam-devel
|
|
|
BuildRequires: byacc
|
|
@@ -48,9 +71,7 @@ future allow creation of persistent configuration for control groups and
|
|
|
provide scripts to manage that configuration.
|
|
|
|
|
|
%prep
|
|
|
-%setup -q
|
|
|
-%patch1 -p1 -b .config
|
|
|
-%patch2 -p1 -b .lsb
|
|
|
+%autosetup -p1
|
|
|
|
|
|
%build
|
|
|
%configure --bindir=/bin --sbindir=/sbin --libdir=%{_libdir} --enable-initscript-install --enable-pam-module-dir=/%{_lib}/security
|
|
@@ -131,13 +152,14 @@ fi
|
|
|
%attr(0644, root, root) %{_mandir}/man8/*
|
|
|
%attr(0755,root,root) %{_initrddir}/cgconfig
|
|
|
%attr(0755,root,root) %{_initrddir}/cgred
|
|
|
-%doc COPYING INSTALL README_daemon
|
|
|
+%license COPYING
|
|
|
+%doc README_daemon
|
|
|
%attr(0755,root,root) %dir /cgroup
|
|
|
|
|
|
%files pam
|
|
|
%defattr(-,root,root,-)
|
|
|
%attr(0755,root,root) /%{_lib}/security/pam_cgroup.so
|
|
|
-%doc COPYING INSTALL
|
|
|
+%license COPYING
|
|
|
|
|
|
%files devel
|
|
|
%defattr(-,root,root,-)
|
|
@@ -145,9 +167,14 @@ fi
|
|
|
%{_includedir}/libcgroup/*.h
|
|
|
%{_libdir}/libcgroup.*
|
|
|
/%{_libdir}/pkgconfig/libcgroup.pc
|
|
|
-%doc COPYING INSTALL
|
|
|
+%license COPYING
|
|
|
|
|
|
%changelog
|
|
|
+* Sat Jan 12 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.41-1
|
|
|
+- updated and renumbered Patch0 to Patch1000.
|
|
|
+- updated and renumbered Patch1 to Patch1001.
|
|
|
+- imported Patch1-15 from rawhide.
|
|
|
+
|
|
|
* Sun Oct 12 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.37.1-2
|
|
|
- moved libcgroup to System Environment/Libraries
|
|
|
|