2007-01-16 00:44:12 +01:00
|
|
|
#
|
2007-08-20 18:52:32 +02:00
|
|
|
# spec file for package yast2-apparmor (Version 2.1)
|
2007-01-16 00:44:12 +01:00
|
|
|
#
|
2007-07-16 18:38:32 +02:00
|
|
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:44:12 +01:00
|
|
|
# This file and all modifications and additions to the pristine
|
|
|
|
# package are under the same license as the package itself.
|
|
|
|
#
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
|
|
|
Name: yast2-apparmor
|
2007-08-20 18:52:32 +02:00
|
|
|
Summary: YaST2 - Plugins for AppArmor Profile Management
|
|
|
|
Version: 2.1
|
2007-09-17 17:08:04 +02:00
|
|
|
Release: 19
|
2007-01-16 00:44:12 +01:00
|
|
|
Group: Productivity/Security
|
2007-09-17 17:08:04 +02:00
|
|
|
Source0: %{name}-%{version}-977.tar.gz
|
2007-07-16 18:38:32 +02:00
|
|
|
License: GPL v2 or later
|
2007-01-16 00:44:12 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2007-09-17 17:08:04 +02:00
|
|
|
Url: http://forge.novell.com/modules/xfmod/project/?apparmor
|
2007-01-16 00:44:12 +01:00
|
|
|
Requires: yast2 perl-TimeDate
|
2007-09-17 17:08:04 +02:00
|
|
|
BuildArch: noarch
|
2007-01-16 00:44:12 +01:00
|
|
|
Obsoletes: yast2-subdomain
|
|
|
|
Provides: yast2-subdomain
|
|
|
|
BuildRequires: update-desktop-files
|
2007-08-20 18:52:32 +02:00
|
|
|
BuildRequires: yast2 yast2-devtools
|
2007-01-16 00:44:12 +01:00
|
|
|
%if %{suse_version} > 1010
|
2007-08-20 18:52:32 +02:00
|
|
|
BuildRequires: yast2-theme-openSUSE
|
2007-01-16 00:44:12 +01:00
|
|
|
%define themedir /usr/share/YaST2/theme/openSUSE
|
|
|
|
%else
|
|
|
|
%if %{suse_version} > 1000
|
2007-08-20 18:52:32 +02:00
|
|
|
%if 0%{?sles_version} > 9
|
|
|
|
BuildRequires: yast2-theme-NLD
|
|
|
|
%else
|
|
|
|
BuildRequires: yast2-theme-SuSELinux
|
|
|
|
%endif
|
2007-01-16 00:44:12 +01:00
|
|
|
%endif
|
2007-08-20 18:52:32 +02:00
|
|
|
%define themedir /usr/share/YaST2/theme/SuSELinux
|
2007-01-16 00:44:12 +01:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%description
|
|
|
|
Yast2 forms and components for the management of Novell AppArmor
|
|
|
|
profiles.
|
|
|
|
|
|
|
|
This package is part of a suite of tools that used to be named
|
|
|
|
SubDomain.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
ddrewelow@suse.de
|
|
|
|
dreynolds@suse.de
|
|
|
|
jmichael@suse.de
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
|
|
|
|
make DESTDIR=${RPM_BUILD_ROOT} DISTRO=%{distro}
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
|
|
|
|
make install DESTDIR=${RPM_BUILD_ROOT} DISTRO=%{distro} THEMEDIR=%{themedir}
|
|
|
|
# Register as SuSE app
|
|
|
|
for f in `find $RPM_BUILD_ROOT/%{_prefix}/share/applications/YaST2/ -name "*.desktop"` ; do
|
|
|
|
d=${f##*/}
|
|
|
|
if [ "%{suse_version}" -lt 930 ] ; then
|
|
|
|
%suse_update_desktop_file ${d%.desktop}
|
|
|
|
else
|
|
|
|
%suse_update_desktop_file -d ycc_${d%.desktop} ${d%.desktop}
|
|
|
|
fi
|
|
|
|
done
|
2007-08-20 18:52:32 +02:00
|
|
|
# make icons available to GNOME control center (hicolor theme)
|
|
|
|
# (bug #212500)
|
|
|
|
mkdir -p ${RPM_BUILD_ROOT}/usr/share/icons/hicolor/22x22/apps
|
|
|
|
mkdir -p ${RPM_BUILD_ROOT}/usr/share/icons/hicolor/32x32/apps
|
|
|
|
mkdir -p ${RPM_BUILD_ROOT}/usr/share/icons/hicolor/48x48/apps
|
|
|
|
cd $RPM_BUILD_ROOT/%{themedir}/icons
|
|
|
|
for dir in 22x22 32x32 48x48; do
|
|
|
|
cd $RPM_BUILD_ROOT/%{themedir}/icons/${dir}/apps
|
|
|
|
icons=$(ls *.png)
|
|
|
|
cd $RPM_BUILD_ROOT/usr/share/icons/hicolor/${dir}/apps
|
|
|
|
for icon in ${icons}; do
|
|
|
|
ln -s %{themedir}/icons/${dir}/apps/${icon} .
|
|
|
|
done
|
|
|
|
done
|
2007-01-16 00:44:12 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
/usr/bin/*
|
|
|
|
/usr/share/YaST2/clients
|
|
|
|
/usr/share/YaST2/include/subdomain
|
2007-09-17 17:08:04 +02:00
|
|
|
/usr/share/YaST2/include/apparmor-reports
|
2007-01-16 00:44:12 +01:00
|
|
|
/usr/share/YaST2/scrconf
|
2007-09-17 17:08:04 +02:00
|
|
|
/usr/share/YaST2/modules
|
|
|
|
/usr/share/applications/YaST2
|
2007-01-16 00:44:12 +01:00
|
|
|
/usr/share/applications/YaST2/groups
|
|
|
|
/usr/lib/YaST2/servers_non_y2
|
|
|
|
/usr/lib/perl5/vendor_perl/*
|
|
|
|
%{themedir}/icons
|
2007-08-20 18:52:32 +02:00
|
|
|
/usr/share/icons/hicolor/
|
2007-01-16 00:44:12 +01:00
|
|
|
%doc COPYING.LGPL
|
|
|
|
%dir %attr(-,root,root) /etc/apparmor
|
|
|
|
%config(noreplace) /etc/apparmor/reports.crontab
|
|
|
|
%config(noreplace) /etc/apparmor/reports.conf
|
|
|
|
|
|
|
|
%post
|
|
|
|
REPDIR='/var/log/apparmor/reports'
|
|
|
|
REPDIR2='/var/log/apparmor/reports-archived'
|
|
|
|
REPDIR3='/var/log/apparmor/reports-exported'
|
|
|
|
[ -e $REPDIR ] || mkdir -p $REPDIR
|
|
|
|
[ -e $REPDIR2 ] || mkdir -p $REPDIR2
|
|
|
|
[ -e $REPDIR3 ] || mkdir -p $REPDIR3
|
|
|
|
|
|
|
|
%preun
|
|
|
|
|
2007-07-16 18:38:32 +02:00
|
|
|
%changelog
|
2007-09-17 17:08:04 +02:00
|
|
|
* Mon Sep 17 2007 - dreynolds@suse.de
|
|
|
|
- Fixes (#310454) to support new audit log format and new libapparmor1 - ddrewelow@suse.de
|
|
|
|
- Bug #305735 Add support for network toggles, append, and locking to the YaST2
|
|
|
|
EditProfile wizard.
|
|
|
|
- Bug 302588 - 1 CD KDE version fails to install apparmor-docs
|
|
|
|
* Tue Aug 21 2007 - dreynolds@suse.de
|
|
|
|
- Updated spec to set theme-dir based on dist (openSUSE/sles)
|
2007-08-20 18:52:32 +02:00
|
|
|
* Mon Aug 20 2007 - dreynolds@suse.de
|
|
|
|
- sbeattie@suse.de
|
|
|
|
Fix for #212500 "y2controlcenter-gnome does not find AppArmor
|
|
|
|
icons" and its duplicate #297243 "Missing YaST icon: All app armor
|
|
|
|
icons".
|
2007-07-30 12:50:26 +02:00
|
|
|
* Mon Jul 30 2007 - dreynolds@suse.de
|
|
|
|
- Numerous fixes for repository integration
|
2007-07-16 18:38:32 +02:00
|
|
|
* Mon Jul 16 2007 - dreynolds@suse.de
|
|
|
|
- Add support for the AppArmor profile repository
|
|
|
|
Fate: 300517
|
2007-01-16 00:44:12 +01:00
|
|
|
* Sat Nov 18 2006 - ddrewelow@suse.de
|
|
|
|
- Fixed an untranslated string
|
|
|
|
* Sat Nov 18 2006 - ddrewelow@suse.de
|
|
|
|
- Fixed usability and reporting bugs
|
|
|
|
(bnc# 158599,171082,172624,173825)
|
|
|
|
* Tue Nov 14 2006 - ddrewelow@suse.de
|
|
|
|
- Added the missing complain.scr to fix:
|
|
|
|
https://bugzilla.novell.com/show_bug.cgi?id=219898
|
|
|
|
* Mon Nov 13 2006 - ddrewelow@suse.de
|
|
|
|
- Fixes for notification bugs:
|
|
|
|
- configuration of e-mail recipient not saved in YaST
|
|
|
|
(bnc#177039)
|
|
|
|
- AppArmour - Security event Notification - email address fails
|
|
|
|
(bnc#190891)
|
|
|
|
- AppArmor unable to enter ANY notification email address
|
|
|
|
(bnc#198359)
|
|
|
|
* Sat Nov 04 2006 - ddrewelow@suse.de
|
|
|
|
- Add complain/enforce profile state toggle
|
|
|
|
Fate: 300719
|
|
|
|
* Mon Oct 16 2006 - dreynolds@suse.de
|
|
|
|
- Add syntax checks for profiles and display error dialogs to user
|
|
|
|
Fate: 300906
|
|
|
|
* Tue Sep 19 2006 - aj@suse.de
|
|
|
|
- Adjust for theming change.
|
|
|
|
* Tue Jun 06 2006 - dreynolds@suse.de
|
|
|
|
- Fixes for https://bugzilla.novell.com/show_bug.cgi?id=175388,
|
|
|
|
https://bugzilla.novell.com/show_bug.cgi?id=172061. Added support
|
|
|
|
for new profile syntax Px/Ux/m.
|
|
|
|
* Mon Apr 03 2006 - dreynolds@suse.de
|
|
|
|
- Pickup fix for typo regression in profile_dialogs.ycp (thanks rudi)
|
|
|
|
- Remove libapparmor as a dependency for all yast wizards (#160518)
|
|
|
|
* Sun Apr 02 2006 - ro@suse.de
|
|
|
|
- fix typo in subdomain/profile_dialogs.ycp
|
|
|
|
* Mon Mar 27 2006 - jmichael@suse.de
|
|
|
|
- Split aaeventd startup into its own init script so we don't start
|
|
|
|
daemons while in the "boot" runlevel (#158613)
|
|
|
|
- Fix broken notification help localization.
|
|
|
|
* Mon Mar 13 2006 - dreynolds@suse.de
|
|
|
|
- Don't check for event DB intialization when running the audit report.
|
|
|
|
(#155343)
|
|
|
|
- Remove localized text in apparmor.desktop - as the desktop translation
|
|
|
|
is handled by the translation group.
|
|
|
|
https://bugzilla.novell.com/show_bug.cgi?id=151509
|
|
|
|
- Changes the checks from /etc/subdomain.d to /etc/apparmor.d when
|
|
|
|
validated manual selection of #includes in the "Edit Profile" wizard.
|
|
|
|
(#152813)
|
|
|
|
- Replace yast2-devel build-requires with yast2 yast2-devtools
|
|
|
|
* Wed Feb 15 2006 - dreynolds@suse.de
|
|
|
|
- Fixed typo in SD_EditProfie.ycp that was causing a syntax error in the wizard
|
|
|
|
* Mon Feb 13 2006 - dreynolds@suse.de
|
|
|
|
- Include counter (and time) in ag_genprof logmark
|
|
|
|
- (sbeattie@suse.de) Install apparmor packages if not already installed (#137585)
|
|
|
|
- (sbeattie@suse.de) Remove direct dependency on apparmor packages
|
|
|
|
* Mon Feb 06 2006 - sbeattie@suse.de
|
|
|
|
- Fix non-wrapping error-dialog (#146435)
|
|
|
|
- Enable/start aaeventd if notification is enabled
|
|
|
|
- (jmichael) Remove dead code
|
|
|
|
* Sun Jan 29 2006 - sbeattie@suse.de
|
|
|
|
- Add svn repo number to tarball name
|
|
|
|
- (dreynolds) Removed AALite checks
|
|
|
|
- (dreynolds) Fix regex warning
|
|
|
|
- (dreynolds) Fix apparmor control panel to correctly tell if AA is
|
|
|
|
enabled/disabled (#145955)
|
|
|
|
- disable autoyast support in aa configs (#116749)
|
|
|
|
* Wed Jan 25 2006 - mls@suse.de
|
|
|
|
- converted neededforbuild to BuildRequires
|
|
|
|
* Mon Jan 23 2006 - dreynolds@suse.de
|
|
|
|
- Added code to process events from the audit system in addition to syslog
|
|
|
|
* Tue Jan 17 2006 - dreynolds@suse.de
|
|
|
|
- Remove references to message catalog files - now provided by yast2-trans
|
|
|
|
* Fri Dec 09 2005 - sbeattie@suse.de
|
|
|
|
- fix gettext/textdomain() calls to refer to new messages filename
|
|
|
|
- fix references to old package names within .po files
|
|
|
|
* Thu Dec 08 2005 - sbeattie@suse.de
|
|
|
|
- rename package to yast2-apparmor
|
|
|
|
- relicense to GPL and LGPL for open source release
|
|
|
|
- reset version to 2.0-1
|