File: tomoyo-tools.spec

package info (click to toggle)
tomoyo-tools 2.6.0-20201111-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 1,160 kB
  • sloc: ansic: 22,075; sh: 125; makefile: 98
file content (99 lines) | stat: -rw-r--r-- 2,614 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
Summary: Userspace tools for TOMOYO Linux 2.6.x

Name: tomoyo-tools
Version: 2.6.0
Release: 3
License: GPL
Group: System Environment/Kernel
ExclusiveOS: Linux
Autoreqprov: no
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
##
## This spec file is intended to be distribution independent.
## I don't enable "BuildRequires:" line because rpmbuild will fail on
## environments where packages are managed by (e.g.) apt.
##
# BuildRequires: ncurses-devel
Requires: ncurses
Conflicts: tomoyo-tools < 2.6.0-3

Source0: https://osdn.dl.osdn.jp/tomoyo/70710/tomoyo-tools-2.6.0-20201111.tar.gz

%description
This package contains userspace tools for administrating TOMOYO Linux 2.6.x.
Please see https://tomoyo.osdn.jp/2.6/ for documentation.

%prep

%setup -q -n tomoyo-tools

%build

make USRLIBDIR=%_libdir CFLAGS="-Wall $RPM_OPT_FLAGS"

%install

rm -rf $RPM_BUILD_ROOT
make INSTALLDIR=$RPM_BUILD_ROOT USRLIBDIR=%_libdir install

%clean

rm -rf $RPM_BUILD_ROOT

%post
ldconfig || true

%files
%defattr(-,root,root)
/sbin/*
%_libdir/tomoyo/*
%_libdir/libtomoyo*
/usr/sbin/*
/usr/share/man/man8/*

%changelog
* Wed Nov 01 2020 2.6.0-3
- Loosen pathname/domainname validation.
- Limit wildcard recursion depth.

* Wed Jan 01 2020 2.6.0-2
- Remove "socket:[family=\\$:type=\\$:protocol=\\$]" from ANY_PATHNAME group.

* Tue Mar 05 2019 2.6.0-1
- Adjust to TOMOYO 2.6.

* Mon Jan 02 2017 2.5.0-9
- Rebase to ccs-tools 1.8.5-2.

* Sun Jun 01 2014 2.5.0-8
- Let tomoyo-editpolicy print "acl_group $N" correctly when using offline mode.

* Sun Jan 05 2014 2.5.0-7
- Let init_policy add path to systemd , as suggested by Shawn Landden.
- Let tomoyo-queryd use poll() rather than select().

* Sat Apr 06 2013 2.5.0-6
- Fix compile warning from clang.

* Thu Feb 14 2013 2.5.0-5
- Change Makefile's build flags, as suggested by Simon Ruderich and Hideki
  Yamane. (Debian bug 674723)
- Change / to /* in rpm's %files section because Fedora 18 complains conflicts.

* Sun Aug 05 2012 2.5.0-4
- Let tomoyo-checkpolicy handle namespace prefix in exception policy.
- Rename manpage for init_policy to tomoyo_init_policy
  (to allow parallel installation of ccs-tools package).

* Sat Apr 14 2012 2.5.0-3
- Let tomoyo-init parse statistics lines correctly.
- Let tomoyo-editpolicy print number of selected entries if any.
- Fix IP address parsing in ccs_parse_ip().

* Tue Oct 25 2011 2.5.0-2
- Let tomoyo-queryd use query id rather than global PID when reaching target
  process's domain policy.
- Add "socket:[family=\\$:type=\\$:protocol=\\$]" to ANY_PATHNAME group.

* Thu Sep 29 2011 2.5.0-1
- Major update release.