Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1:Test
apparmor-utils
apparmor-utils.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File apparmor-utils.spec of Package apparmor-utils
# # spec file for package apparmor-utils # # Copyright (c) 2011 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/ # # Evergreen/11.1: in sync with 11.2 # norootforbuild Name: apparmor-utils %if ! %{?distro:1}0 %define distro suse %endif Summary: AppArmor User-Level Utilities Useful for Creating AppArmor Profiles Version: 2.3.1 Release: 5.<RELEASE6> Group: Productivity/Security Source0: %{name}-%{version}-1377.tar.gz Patch1: apparmor-utils-string-split Patch2: apparmor-utils-null-path-fix Patch3: apparmor-utils-fix-subdomain-refs Patch4: apparmor-utils-cleanup-on-abort Patch5: apparmor-utils-add-log-types Patch6: apparmor-utils-filenames-in-slash Patch7: handle-null-profile-logs-correctly License: GPLv2+ ; LGPLv2.1+ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch Url: http://forge.novell.com/modules/xfmod/project/?apparmor %if %{distro} == "rhel4" # Bleah, on RHEL4, individual requirements on perl modules are # calculated, even if the modules are conditionally used. Requires: perl Requires: /bin/sh AutoReqProv: no Requires: perl-DateManip %else Requires: perl-TimeDate %endif Requires: perl-DBI perl-DBD-SQLite perl-File-Tail perl-gettext perl-RPC-XML perl-TermReadKey perl-libapparmor Obsoletes: subdomain-utils Provides: subdomain-utils %description This package provides the aa-logprof, aa-genprof, aa-autodep, aa-enforce, and aa-complain tools to assist with profile authoring. Besides it provides the aa-unconfined server information tool and the aa-eventd event reporting system. It is part of a suite of tools that used to be named SubDomain. Authors: -------- jmichael@suse.de seth.arnold@suse.de %prep %setup -q %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 %patch6 -p1 %patch7 -p1 %build %install make install DESTDIR=${RPM_BUILD_ROOT} DISTRO=%{distro} \ BINDIR=${RPM_BUILD_ROOT}%{_prefix}/sbin/ \ PERLDIR=${RPM_BUILD_ROOT}%{_prefix}/lib/perl5/vendor_perl/Immunix \ MANDIR=%{_mandir} %find_lang %{name} %clean rm -rf ${RPM_BUILD_ROOT} %files -f %{name}.lang %defattr(-,root,root) %config /etc/apparmor/* %{_prefix}/sbin/* %{_prefix}/lib/perl5/vendor_perl/* %dir /var/log/apparmor %dir /etc/apparmor %{_mandir}/man*/* %doc *.[0-9].html %doc common/apparmor.css %preun if [ -x "/usr/sbin/sd-event-dispatch.pl" -a -e "/var/run/sd-event-dispatch.init.pid" ] ; then echo "Shutting down SubDomain Event daemon" ; /sbin/killproc -p /var/run/sd-event-disptach.init.pid -TERM /usr/sbin/sd-event-dispatch.pl >& /dev/null ; fi # only do the following when uninstalling if [ "$1" = 0 ] ; then if [ -x "/usr/sbin/aa-eventd" -a -e "/var/run/aa-eventd.pid" ] ; then echo "Shutting down AppArmor Event daemon" ; /sbin/killproc -p /var/run/aa-eventd.pid -TERM /usr/sbin/aa-eventd >& /dev/null; fi fi %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