1 |
Summary: Userspace tools for TOMOYO Linux 1.8.x |
2 |
|
3 |
## |
4 |
## Change to /usr/lib64 if needed. |
5 |
## |
6 |
%define usrlibdir /usr/lib |
7 |
|
8 |
Name: ccs-tools |
9 |
Version: 1.8.2 |
10 |
Release: 5 |
11 |
License: GPL |
12 |
Group: System Environment/Kernel |
13 |
ExclusiveOS: Linux |
14 |
Autoreqprov: no |
15 |
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
16 |
## |
17 |
## This spec file is intended for distribution independent. |
18 |
## I don't enable "BuildRequires:" line because rpmbuild will fail on |
19 |
## environments where packages are managed by (e.g.) apt. |
20 |
## |
21 |
# BuildRequires: ncurses-devel |
22 |
Requires: ncurses |
23 |
Conflicts: ccs-tools < 1.8.2-5 |
24 |
|
25 |
Source0: http://osdn.dl.sourceforge.jp/tomoyo/49693/ccs-tools-1.8.2-20110820.tar.gz |
26 |
|
27 |
%description |
28 |
This package contains userspace tools for administrating TOMOYO Linux 1.8.x. |
29 |
Please see http://tomoyo.sourceforge.jp/1.8/ for documentation. |
30 |
|
31 |
%prep |
32 |
|
33 |
%setup -q -n ccstools |
34 |
|
35 |
%build |
36 |
|
37 |
make USRLIBDIR=%{usrlibdir} CFLAGS="-Wall $RPM_OPT_FLAGS" |
38 |
|
39 |
%install |
40 |
|
41 |
rm -rf $RPM_BUILD_ROOT |
42 |
make INSTALLDIR=$RPM_BUILD_ROOT USRLIBDIR=%{usrlibdir} \ |
43 |
CFLAGS="-Wall $RPM_OPT_FLAGS" install |
44 |
|
45 |
%clean |
46 |
|
47 |
rm -rf $RPM_BUILD_ROOT |
48 |
|
49 |
%post |
50 |
ldconfig || true |
51 |
|
52 |
%files |
53 |
%defattr(-,root,root) |
54 |
/sbin/ |
55 |
%{usrlibdir}/ccs/ |
56 |
%{usrlibdir}/libccs* |
57 |
/usr/sbin/ |
58 |
/usr/share/man/man8/ |
59 |
|
60 |
%changelog |
61 |
* Sat Aug 20 2011 1.8.2-5 |
62 |
- Add /proc/self/exe as aggregator entry. |
63 |
- Fix policy unpacking when multiple namespaces exist. |
64 |
- Include linux/sched.h if sched.h does not provide CLONE_NEWNS. |
65 |
|
66 |
* Wed Jul 13 2011 1.8.2-4 |
67 |
- Let ccs-init handle profiles in all namespaces. |
68 |
- Let ccs-editpolicy print domain's name rather than shortcut's name. |
69 |
- Let ccs-editpolicy parse and print IPv6 address in RFC5952 format. |
70 |
- Let ccs-checkpolicy parse and check IPv6 address in RFC5952 format. |
71 |
- Let libccstools.so.2 parse IPv6 address in RFC5952 format. |
72 |
|
73 |
* Thu Jul 07 2011 1.8.2-3 |
74 |
- Fix bugs in ccs-editpolicy's domain transition jump information. |
75 |
- Let ccs-setprofile use /proc/ccs/domain_policy rather than /proc/ccs/.domain_status . |
76 |
|
77 |
* Sun Jun 26 2011 1.8.2-2 |
78 |
- Improve ccs-editpolicy's domain transition jump information. |
79 |
- Fix several bugs in ccs-editpolicy. |
80 |
|
81 |
* Mon Jun 20 2011 1.8.2-1 |
82 |
- Updated to handle TOMOYO 1.8.2's syntax. |
83 |
- Support policy namespace. |
84 |
- Let ccs-editpolicy validate policy when editing on-disk policy files. |
85 |
- Let ccs-auditd reload configuration file upon SIGHUP. |
86 |
- Let ccs-notifyd reload configuration file upon SIGHUP. |
87 |
|
88 |
* Wed May 11 2011 1.8.1-2 |
89 |
- Fix wrong domainname validation. |
90 |
- Fix wrong ACL lines counting. |
91 |
- Allow configuring ccs-editpolicy's background color. |
92 |
|
93 |
* Fri Apr 01 2011 1.8.1-1 |
94 |
- Updated to handle TOMOYO 1.8.1's syntax. |
95 |
- Support packed policy format. |
96 |
- Fix build error on parallel build. |
97 |
- Make ccs-editpolicy handle all domain transition related directives. |
98 |
|
99 |
* Mon Feb 14 2011 1.8.0-4 |
100 |
- Use readymade manpages in order to remove help2man and gzip from build dependency. |
101 |
- Removed examples from build target in order to remove readline-devel from build dependency. |
102 |
- Use Include.make for passing variables. |
103 |
- Use install command rather than cp/chmod/chown commands. |
104 |
- Add comments on and reconstruct some of files. |
105 |
- Stop if failed to build ccs-editpolicy (probably due to lack of ncurses-devel). |
106 |
|
107 |
* Fri Dec 31 2010 1.8.0-3 |
108 |
- Usability enhancement release. |
109 |
- Not compatible with 1.8.0-2 and earlier. |
110 |
- Needs ccs-patch 1.8.0-20101231 due to pathname changes in audit interface. |
111 |
- Various bugs were fixed and configuration files are introduced. |
112 |
|
113 |
* Mon Nov 22 2010 1.8.0-2 |
114 |
- ccs-patternize must print "network " keyword. |
115 |
|
116 |
* Thu Nov 11 2010 1.8.0-1 |
117 |
- Fifth anniversary release. |
118 |
|
119 |
* Thu Apr 01 2010 1.7.2-1 |
120 |
- ccs-sortpolicy should not remove use_profile lines. |
121 |
- ccs-init calls /etc/ccs/ccs-load-module for loading TOMOYO which was built as a loadable kernel module. |
122 |
- Updated to handle TOMOYO 1.7.2's syntax. |
123 |
|
124 |
* Sun Jan 10 2010 1.7.1-2 |
125 |
- ccs-auditd should call fflush() immediately after fprintf(). |
126 |
- ccs-queryd was not able to handle /etc/ld.so.cache updates. |
127 |
- ccs-checkpolicy was not able to handle some of TOMOYO 1.7.1's syntax. |
128 |
- Use dynamic buffer allocation for supporting longer lines. |
129 |
- Ignore /proc/0 which is an invalid proc entry. |
130 |
|
131 |
* Wed Nov 11 2009 1.7.1-1 |
132 |
- Fourth anniversary release. |
133 |
- Added network mode support to ccs-queryd and ccs-auditd. |
134 |
- Removed policy diff support from ccs-savepolicy, ccs-loadpolicy, ccs-init . |
135 |
- Added ccs-diffpolicy for generating policy diff file. |
136 |
- Updated to handle TOMOYO 1.7.x's syntax. |
137 |
- Added ccs-selectpolicy for picking up specific domain's policy. |
138 |
- Added convert-audit-log for generating policy from audit logs. |
139 |
- Added "--file" option to ccs-patternize. |
140 |
|
141 |
* Thu Sep 03 2009 1.7.0-1 |
142 |
- Removed programs for TOMOYO 2.2.0 from this package. |
143 |
Please use tomoyo-tools-2.2.0 package for TOMOYO 2.2.0 . |
144 |
- Converted /sbin/ccs-init and /usr/lib/ccs/init_policy to binary programs. |
145 |
- Removed "realpath", "make_alias", "makesyaoranconf". |
146 |
- Added "--with-domainname" option to ccs-findtemp program. |
147 |
- Changed installation directory from /usr/lib/ccs/ to /usr/sbin/ . |
148 |
- Changed installation directory from /usr/lib/ccs/misc/ to /usr/lib/ccs/ . |
149 |
|
150 |
* Tue Jun 23 2009 1.6.8-2 |
151 |
- ccs-auditd: Print error message if auditing interface is not available. |
152 |
|
153 |
* Thu May 28 2009 1.6.8-1 |
154 |
- Minor update release. |
155 |
|
156 |
* Wed Apr 01 2009 1.6.7-1 |
157 |
- Feature enhancement release. |
158 |
|
159 |
* Mon Feb 02 2009 1.6.6-1 |
160 |
- Fix is_alphabet_char() bug. |
161 |
|
162 |
* Tue Nov 11 2008 1.6.5-1 |
163 |
- Third anniversary release. |
164 |
- Updated coding style and fixed some bugs. |
165 |
|
166 |
* Wed Sep 03 2008 1.6.4-1 |
167 |
- Minor update release. |
168 |
|
169 |
* Tue Jul 15 2008 1.6.3-1 |
170 |
- Bug fix release. |
171 |
- Dropped suid-root from /usr/lib/ccs/misc/proxy because /usr/lib/ccs/ is 0755. |
172 |
|
173 |
* Wed Jun 25 2008 1.6.2-1 |
174 |
- Minor update release. |
175 |
- Change permission of /usr/lib/ccs/ to 0755 |
176 |
|
177 |
* Sat May 10 2008 1.6.1-1 |
178 |
- Minor update release. |
179 |
|
180 |
* Tue Apr 01 2008 1.6.0-1 |
181 |
- Feature enhancement release. |
182 |
|
183 |
* Thu Jan 31 2008 1.5.3-1 |
184 |
- Minor update release. |
185 |
|
186 |
* Wed Dec 05 2007 1.5.2-1 |
187 |
- Minor update release. |
188 |
- Added manpage. |
189 |
|
190 |
* Thu Oct 19 2007 1.5.1-1 |
191 |
- Minor update release. |
192 |
|
193 |
* Thu Sep 20 2007 1.5.0-1 |
194 |
- First-release. |