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