1
0
yast2-apparmor/yast2-apparmor.spec

261 lines
9.6 KiB
RPMSpec

#
# spec file for package yast2-apparmor (Version 2.17.5)
#
# Copyright (c) 2008 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
Url: http://forge.novell.com/modules/xfmod/project/?apparmor
Name: yast2-apparmor
Version: 2.17.5
Release: 1
License: GPL v2 or later
Group: Productivity/Security
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: yast2-apparmor-2.17.5.tar.bz2
Prefix: /usr
Summary: YaST2 - Plugins for AppArmor Profile Management
Requires: yast2 perl-TimeDate
BuildArch: noarch
Obsoletes: yast2-subdomain
Provides: yast2-subdomain
BuildRequires: update-desktop-files
BuildRequires: yast2 yast2-devtools
%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 -n yast2-apparmor-2.17.5
%build
%{prefix}/bin/y2tool y2autoconf
%{prefix}/bin/y2tool y2automake
autoreconf --force --install
export CFLAGS="$RPM_OPT_FLAGS -DNDEBUG"
export CXXFLAGS="$RPM_OPT_FLAGS -DNDEBUG"
%{?suse_update_config:%{suse_update_config -f}}
./configure --libdir=%{_libdir} --prefix=%{prefix} --mandir=%{_mandir}
make %{?jobs:-j%jobs}
%install
make install DESTDIR="$RPM_BUILD_ROOT"
[ -e "%{prefix}/share/YaST2/data/devtools/NO_MAKE_CHECK" ] || Y2DIR="$RPM_BUILD_ROOT/usr/share/YaST2" make check DESTDIR="$RPM_BUILD_ROOT"
for f in `find $RPM_BUILD_ROOT/%{prefix}/share/applications/YaST2/ -name "*.desktop"` ; do
d=${f##*/}
%suse_update_desktop_file -d ycc_${d%.desktop} ${d%.desktop}
done
%clean
rm -rf "$RPM_BUILD_ROOT"
%files
%defattr(-,root,root)
/usr/bin/*
/usr/share/YaST2/clients
/usr/share/YaST2/include/subdomain
# empty directory, commenting out
# /usr/share/YaST2/include/apparmor-reports
/usr/share/YaST2/scrconf
/usr/share/YaST2/modules
/usr/share/applications/YaST2
/usr/lib/YaST2/servers_non_y2
/usr/lib/perl5/vendor_perl/*
# license is questionable, PDB says GPL v2 or later
#%doc COPYING.LGPL
%dir %attr(-,root,root) /etc/apparmor
%config(noreplace) /etc/apparmor/reports.crontab
%config(noreplace) /etc/apparmor/reports.conf
%doc %{prefix}/share/doc/packages/yast2-apparmor
%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
%changelog
* Wed Dec 17 2008 kmachalkova@suse.cz
- Handle switching between two textdomains (yast2-apparmor &
apparmor-utils) so that strings from both are correctly translated
- 2.17.5
* Fri Nov 28 2008 kmachalkova@suse.cz
- Removed source of UI syntax error - invalid items listing
(bnc#441510)
- Integrated jjohansen's patch for bnc#258079 (e-mail address
validation)
- Make translatable strings from Perl agents really translated (and
correctly encoded) (bnc#448390)
- 2.17.4
* Sat Oct 18 2008 aschnell@suse.de
- Fixed help text (bnc #436491)
- 2.17.3
* Mon Oct 13 2008 locilka@suse.cz
- Fixed help texts (bnc#430521).
- 2.17.2
* Tue Sep 16 2008 kmachalkova@suse.cz
- Have all clients understand 'help' commandline option
(bnc#269891 & friends) (many thanks, stano)
- Reference to up-to-date docs (bnc#177615)
- 2.17.1
* Tue Jun 17 2008 kmachalkova@suse.cz
- AA reports: Do not mess up the whole dialog up when user decides
to cancel 'Browse' operation ( pass 'nil' filename) (bnc#397851)
- Set the reporting dialog title correctly (bnc#397872)
- Reload subdomain upon exit from profile mode configuration dialog
(if modified) (bnc#369249)
- Make adding hats to newly added (manually created) profiles work
(bnc#397881)
- 2.17.0
* Thu May 29 2008 kmachalkova@suse.cz
- Have ag_subdomain and ag_subdomain_profiles understand `result
command so they can be correctly terminated by y2base (bnc#393957)
- 2.16.4
* Fri May 16 2008 jsrain@suse.cz
- added categories Settings and System into desktop file
(bnc #382778)
* Mon May 12 2008 kmachalkova@suse.cz
- Make reportgen.pl executable again (opensuse.org svn migration
regression - bnc#157814)
- Integrating jjohansen's patch for UI support of late AA backend
features (FaTE#300560, FaTE#300571)
- 2.16.3
* Fri May 09 2008 kmachalkova@suse.cz
- Use button labels from Label:: module (thanks, msvec)
- Removed 2 widgets with the same ID ( AA general setup module failed
to launch ) (bnc #383792)
- Removed other sources of YUI exceptions: correct opening/closing
dialogs, fixed event loop, no 'nil' button labels
- 2.16.2
* Wed Apr 02 2008 kmachalkova@suse.cz
- i18n: additional strings marked for translation (bnc#371052)
- Archived reports: improved UI layout to prevent string cut-off
(bnc#368175)
- Fixed typos (bnc#374628)
- 2.16.1
* Mon Mar 17 2008 jsrain@suse.cz
- added 'StartupNotify=true' to the desktop file (bnc #304964)
* Tue Jan 22 2008 kmachalkova@suse.cz
- Icons moved to yast2-theme package
- 2.16.0
* 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)
* 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".
* Mon Jul 30 2007 dreynolds@suse.de
- Numerous fixes for repository integration
* Mon Jul 16 2007 dreynolds@suse.de
- Add support for the AppArmor profile repository
Fate: 300517
* 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