SHA256
1
0
forked from pool/tomoyo-tools
tomoyo-tools/tomoyo-tools.spec
Marcus Meissner 08acb48edd - Updated to 2.5.0-20120805 snapshot to work with newer kernels
bnc#800993
  - Rebased using ccs-tools-1.8.3.
  - /usr/sbin/tomoyo-queryd
    Use query id rather than global PID when reading or updating target
    process's domain policy.
  - /usr/lib/tomoyo/init_policy
    Add "socket:[family=\\$:type=\\$:protocol=\\$]" to ANY_PATHNAME group.
  - /sbin/tomoyo-init
    Parse statistics lines correctly.
  - /usr/sbin/tomoyo-editpolicy
    Print number of selected entries if any.
  - /usr/lib/libtomoyotools.so
    Fix IP address parsing.
  - /usr/sbin/tomoyo-checkpolicy
    Fix namespace prefix parsing in exception policy.
  - Rename manpage for init_policy to tomoyo_init_policy
    (to allow parallel installation of ccs-tools package).

OBS-URL: https://build.opensuse.org/package/show/security/tomoyo-tools?expand=0&rev=15
2013-01-29 12:29:52 +00:00

65 lines
1.9 KiB
RPMSpec

#
# spec file for package tomoyo-tools
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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 http://bugs.opensuse.org/
#
%define downloadver 2.5.0-20120805
BuildRequires: ncurses-devel
Name: tomoyo-tools
Summary: Userspace tools for TOMOYO Linux 2.4.x
License: GPL-2.0
Group: Development/Tools/Other
Url: http://sourceforge.jp/projects/tomoyo/
Version: 2.5.0.20120805
Release: 0
Source0: http://osdn.dl.sourceforge.jp/tomoyo/53357/tomoyo-tools-%{downloadver}.tar.gz
Source1: http://osdn.dl.sourceforge.jp/tomoyo/53357/tomoyo-tools-%{downloadver}.tar.gz.asc
Source2: %{name}.keyring
BuildRequires: gpg-offline
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
%gpg_verify %{S:1}
%setup -q -n %{name}
%build
make USRLIBDIR=%_libdir CFLAGS="-Wall $RPM_OPT_FLAGS"
%install
make INSTALLDIR=$RPM_BUILD_ROOT USRLIBDIR=%_libdir install
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-, root, root)
%doc COPYING.tomoyo README.tomoyo
%attr(700,root,root) /sbin/tomoyo-init
%_libdir/lib*.so*
%dir %_libdir/tomoyo
%_libdir/tomoyo/*
/usr/sbin/*
/usr/share/man/man8/*
%changelog