tomoyo-tools/tomoyo-tools.spec
Marcus Meissner d187804396 Accepting request 922162 from home:msmeissn:branches:security
- updated to 2.6.1-20210910
  - Add -DNCURSES_WIDECHAR=0 to programs using ncurses library.
  - Loosen pathname/domainname validation.
  - Limit wildcard recursion depth.
  - Remove "socket:[family=\\$:type=\\$:protocol=\\$]" from ANY_PATHNAME group.
  - Adjust to TOMOYO 2.6.
  - Rebase to ccs-tools 1.8.5-2.
- moved /sbin/tomoyo-init binary to /usr/sbin/tomoyo-init (bsc#1191101)

OBS-URL: https://build.opensuse.org/request/show/922162
OBS-URL: https://build.opensuse.org/package/show/security/tomoyo-tools?expand=0&rev=22
2021-09-29 11:33:12 +00:00

62 lines
1.9 KiB
RPMSpec

#
# spec file for package tomoyo-tools
#
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define downloadver 2.6.1-20210910
Name: tomoyo-tools
Version: 2.6.1.20210910
Release: 0
Summary: Userspace tools for TOMOYO Linux 2.4.x
License: GPL-2.0-only
Group: Development/Tools/Other
URL: http://sourceforge.jp/projects/tomoyo/
Source0: http://osdn.dl.sourceforge.jp/tomoyo/70710/tomoyo-tools-%{downloadver}.tar.gz
Source1: http://osdn.dl.sourceforge.jp/tomoyo/70710/tomoyo-tools-%{downloadver}.tar.gz.asc
# http://i-love.sakura.ne.jp/kumaneko-key
Source2: %name.keyring
BuildRequires: ncurses-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This package contains userspace tools for administrating TOMOYO Linux 2.4.
Please see http://tomoyo.sourceforge.jp/2.4/ for documentation.
%prep
%setup -q -n %{name}
%build
make %{?_smp_mflags} USRLIBDIR=%{_libdir} CFLAGS="-Wall %{optflags}"
%install
make INSTALLDIR=%{buildroot} USRLIBDIR=%{_libdir} SBINDIR=%{_sbindir} install
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-, root, root)
%doc COPYING.tomoyo README.tomoyo
%attr(700,root,root) %_sbindir/tomoyo-init
%{_libdir}/lib*.so*
%dir %{_libdir}/tomoyo
%{_libdir}/tomoyo/*
%{_sbindir}/*
%{_mandir}/man8/*
%changelog