| 1 |
Summary: Userspace tools for CaitSith 0.2 |
| 2 |
|
| 3 |
Name: caitsith-tools |
| 4 |
Version: 0.2 |
| 5 |
Release: 5 |
| 6 |
License: GPL |
| 7 |
Group: System Environment/Kernel |
| 8 |
ExclusiveOS: Linux |
| 9 |
Autoreqprov: no |
| 10 |
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
| 11 |
## |
| 12 |
## This spec file is intended to be distribution independent. |
| 13 |
## 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 |
Requires: ncurses |
| 18 |
Conflicts: caitsith-tools < 0.2-5 |
| 19 |
|
| 20 |
Source0: https://sourceforge.net/projects/tomoyo/files/caitsith-tools/0.2/caitsith-tools-0.2-20210910.tar.gz |
| 21 |
|
| 22 |
%description |
| 23 |
This package contains userspace tools for administrating CaitSith 0.2. |
| 24 |
Please see https://caitsith.osdn.jp/ for documentation. |
| 25 |
|
| 26 |
%prep |
| 27 |
|
| 28 |
%setup -q -n caitsith-tools |
| 29 |
|
| 30 |
%build |
| 31 |
|
| 32 |
make USRLIBDIR=%_libdir CFLAGS="-Wall $RPM_OPT_FLAGS" |
| 33 |
|
| 34 |
%install |
| 35 |
|
| 36 |
rm -rf $RPM_BUILD_ROOT |
| 37 |
make INSTALLDIR=$RPM_BUILD_ROOT USRLIBDIR=%_libdir install |
| 38 |
|
| 39 |
%clean |
| 40 |
|
| 41 |
rm -rf $RPM_BUILD_ROOT |
| 42 |
|
| 43 |
%post |
| 44 |
ldconfig || true |
| 45 |
|
| 46 |
%files |
| 47 |
%defattr(-,root,root) |
| 48 |
/sbin/* |
| 49 |
%_libdir/caitsith/* |
| 50 |
%_libdir/libcaitsith* |
| 51 |
/usr/sbin/* |
| 52 |
|
| 53 |
%changelog |
| 54 |
* Fri Sep 10 2021 0.2-5 |
| 55 |
- Add -DNCURSES_WIDECHAR=0 to programs using ncurses library. |
| 56 |
( https://lists.gnu.org/archive/html/bug-ncurses/2021-07/msg00021.html ) |
| 57 |
|
| 58 |
* Sun Jun 06 2021 0.2-4 |
| 59 |
- Reflect policy syntax update in caitsith-patch 0.2.10. |
| 60 |
|
| 61 |
* Mon May 15 2017 0.2-3 |
| 62 |
- Correct errors in kernel_test/ programs. |
| 63 |
|
| 64 |
* Sun Oct 16 2016 0.2-2 |
| 65 |
- In order to cancel the effect of MS_REC|MS_SHARED done by systemd, |
| 66 |
mark MS_REC|MS_PRIVATE before mounting securityfs. |
| 67 |
|
| 68 |
* Wed Oct 05 2016 0.2-1 |
| 69 |
- Use /sys/kernel/security/caitsith/ by default and fall back to |
| 70 |
/proc/caitsith/ . |
| 71 |
|
| 72 |
* Thu Jul 23 2015 0.1-5 |
| 73 |
- caitsith-queryd: Copy a line to edit buffer correctly. |
| 74 |
|
| 75 |
* Sun Jan 05 2014 0.1-4 |
| 76 |
- Let caitsith-queryd use poll() rather than select(). |
| 77 |
|
| 78 |
* Thu Feb 14 2013 0.1-3 |
| 79 |
- Change Makefile's build flags, as suggested by Simon Ruderich and Hideki |
| 80 |
Yamane. (Debian bug 674723) |
| 81 |
- Change / to /* in rpm's %files section because Fedora 18 complains conflicts. |
| 82 |
|
| 83 |
* Sat May 05 2012 0.1-2 |
| 84 |
- caitsith-init: Count number of ACL entries correctly. |
| 85 |
|
| 86 |
* Sun Apr 01 2012 0.1-1 |
| 87 |
- First-release. |