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