Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.2:Update
mcstrans
mcstrans.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mcstrans.spec of Package mcstrans
# # spec file for package mcstrans (Version 0.3.1) # # Copyright (c) 2009 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/ # # norootforbuild Name: mcstrans Version: 0.3.1 Release: 2 Url: http://fedora.redhat.com/ License: GPL v2 or later Group: System Environment/Daemons Summary: SELinux Translation Daemon Source: %{name}-%{version}.tar.bz2 Patch0: %{name}-%{version}-initscript.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: libcap-devel libselinux-devel >= 1.30.3 libsepol-devel-static pcre-devel PreReq: %insserv_prereq %fillup_prereq %description Security-enhanced Linux is a feature of the Linux® kernel and a number of utilities with enhanced security functionality designed to add mandatory access controls to Linux. The Security-enhanced Linux kernel contains new architectural components originally developed to improve the security of the Flask operating system. These architectural components provide general support for the enforcement of many kinds of mandatory access control policies, including those based on the concepts of Type Enforcement®, Role-based Access Control, and Multi-level Security. mcstrans provides an translation daemon to translate SELinux categories from internal representations to user defined representation. %prep %setup -q %patch0 %build export CFLAGS="$RPM_OPT_FLAGS" make %{?jobs:-j%jobs} %install mkdir -p $RPM_BUILD_ROOT/%{_lib} mkdir -p $RPM_BUILD_ROOT/%{_libdir} make DESTDIR="$RPM_BUILD_ROOT" LIBDIR="$RPM_BUILD_ROOT%{_libdir}" SHLIBDIR="$RPM_BUILD_ROOT/%{_lib}" install rm -f $RPM_BUILD_ROOT%{_sbindir}/* rm -f $RPM_BUILD_ROOT%{_libdir}/*.a install -D -m 0755 $RPM_BUILD_ROOT/etc/rc.d/init.d/mcstrans $RPM_BUILD_ROOT/etc/init.d/mcstrans rm -rf $RPM_BUILD_ROOT/etc/rc.d mkdir -p $RPM_BUILD_ROOT%{_sbindir} ln -sf ../../etc/init.d/mcstrans $RPM_BUILD_ROOT%{_sbindir}/rcmcstrans %clean rm -rf $RPM_BUILD_ROOT %post %fillup_and_insserv mcstrans %preun %stop_on_removal mcstrans %postun %restart_on_update mcstrans %insserv_cleanup %files %defattr(-,root,root) %{_sysconfdir}/init.d/mcstrans %{_sbindir}/rcmcstrans /sbin/mcstransd %{_mandir}/man8/mcs.8.gz %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor