From 45c3952153531899553e08851cc3c93c2cfa59d8a0517bc6995f6d7eeff6b5d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20G=C3=B6ttlicher?= Date: Fri, 18 Nov 2011 09:06:57 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/YaST:Head/yast2-apparmor?expand=0&rev=33 --- yast2-apparmor-2.22.1.tar.bz2 | 3 + yast2-apparmor.changes | 408 ++++++++++++++++++++++++++++++++++ yast2-apparmor.spec | 121 ++++++++++ 3 files changed, 532 insertions(+) create mode 100644 yast2-apparmor-2.22.1.tar.bz2 create mode 100644 yast2-apparmor.changes create mode 100644 yast2-apparmor.spec diff --git a/yast2-apparmor-2.22.1.tar.bz2 b/yast2-apparmor-2.22.1.tar.bz2 new file mode 100644 index 0000000..f15ec59 --- /dev/null +++ b/yast2-apparmor-2.22.1.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a4eb34b60f1b8930c6378c1b707f975d49f98ae652fef188a1317a7026d93e2e +size 151409 diff --git a/yast2-apparmor.changes b/yast2-apparmor.changes new file mode 100644 index 0000000..96b8987 --- /dev/null +++ b/yast2-apparmor.changes @@ -0,0 +1,408 @@ +------------------------------------------------------------------- +Fri Nov 18 00:17:24 UTC 2011 - opensuse@cboltz.de + +- add Requires: for several perl modules +- 2.22.1 + +------------------------------------------------------------------- +Wed Nov 16 12:36:51 CET 2011 - jsuchome@suse.cz + +- merged texts from proofreading +- 2.22.0 + +------------------------------------------------------------------- +Fri Sep 30 11:57:42 UTC 2011 - jsrain@site + +- fixed enabling/disabling apparmor +- fixed setting notifications (and enabling aaeventsd as part of + global switch only) +- prevent profile generator from failing immediately +- prevent window from disappearing when starting a module +- don't close the module after running a report (bnc#531512) +- run the dialog to select application for profiling without + pop-up (bnc#531512) +- disabled Reports part due to changes in AppArmor +- merged editation and deleting of a profile +- 2.21.5 + +------------------------------------------------------------------- +Thu Sep 22 12:42:09 UTC 2011 - jreidinger@suse.com + +- fix category of apparmor module (bnc#719386) +- 2.21.4 + +------------------------------------------------------------------- +Fri Aug 5 12:21:26 CEST 2011 - tgoettlicher@suse.de + +- fixed .desktop file (bnc #681249) + +------------------------------------------------------------------- +Tue Aug 2 23:26:27 CEST 2011 - jeffm@suse.de + +- Rename files to use proper AppArmor names and abbreviations +- Change code to reflect new names + - Basic version needed to use newer perl-apparmor. This version + gets rid of the old SubDomain names entirely. +- Move yast2-apparmor.desktop to apparmor.desktop + +------------------------------------------------------------------ +Fri Jul 22 16:39:45 CEST 2011 - locilka@suse.cz + +- Exec entry in desktop file called using xdg-su (bnc#540627) +- 2.21.2 + +------------------------------------------------------------------- +Thu Jun 30 12:48:43 UTC 2011 - jreidinger@novell.com + +- fix typos (bnc#702639) +- 2.21.1 + +------------------------------------------------------------------- +Tue Jun 14 13:29:32 UTC 2011 - jreidinger@novell.com + +- merge apparmor to one desktop entry (FATE#305278) +- fix typos in translatable strings +- 2.21.0 + +------------------------------------------------------------------- +Thu Feb 24 14:31:56 UTC 2011 - lslezak@suse.cz + +- use perl-macros only in opensSUSE 11.4 (or newer) +- 2.20.1 + +------------------------------------------------------------------- +Fri Feb 11 23:29:22 UTC 2011 - opensuse@cboltz.de + +- add BuildRequires: perl-macros and %{perl_requires} to ensure + Notify.pm is in @INC (bnc#670650#c1) + +------------------------------------------------------------------- +Thu Sep 2 15:04:21 CEST 2010 - kmachalkova@suse.cz + +- Install Notify.pm into @INC so that Perl can see it (bnc#635830) +- 2.20.0 + +------------------------------------------------------------------- +Tue Apr 6 11:04:52 CEST 2010 - juhliarik@suse.cz + +- updated "names" in .desktop files for searching AppArmor related + modules in YaST (bnc#590929) + +------------------------------------------------------------------ +Wed Jan 13 18:56:03 CET 2010 - kmachalkova@suse.cz + +- Adjusted .desktop file(s) to wrap /sbin/yast2/ calls in xdg-su + where root privileges are needed, removed X-KDE-SubstituteUID key + (bnc#540627) + +------------------------------------------------------------------- +Mon Nov 23 16:09:14 CET 2009 - kmachalkova@suse.cz + +- Improved help text (bnc#539352) +- Better error message on unexpected backend termination (bnc#535107) +- Correct saving of event notification levels (bnc#531512) +- 2.19.0 + +------------------------------------------------------------------- +Tue Oct 20 19:11:03 CEST 2009 - kmachalkova@suse.cz + +- Have GenericNames from .desktop files correctly translated (removed + trailing whitespace - bnc#538245) +- 2.18.4 + +------------------------------------------------------------------- +Wed Mar 18 12:44:21 CET 2009 - kmachalkova@suse.cz + +- Reduced number of overly long strings (bnc#384170) +- Extended some helptexts (bnc#482563, bnc#443287) +- 2.18.3 + +------------------------------------------------------------------- +Fri Mar 6 17:50:03 CET 2009 - kmachalkova@suse.cz + +- AA profiles editor adjusted to the new format of parsed profile + data (bnc#480099) +- 2.18.2 + +------------------------------------------------------------------- +Wed Feb 11 15:29:39 CET 2009 - kmachalkova@suse.cz + +- Convert report names and modes to/from human readable strings + (bnc#369119, bnc#371072) +- 2.18.1 + +------------------------------------------------------------------- +Mon Jan 19 15:06:24 CET 2009 - kmachalkova@suse.cz + +- Handle switching between two textdomains (yast2-apparmor & + apparmor-utils) so that strings from both are correctly translated +- 2.18.0 + +------------------------------------------------------------------- +Fri Nov 28 17:53:44 CET 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 10:04:31 CEST 2008 - aschnell@suse.de + +- Fixed help text (bnc #436491) +- 2.17.3 + +------------------------------------------------------------------- +Mon Oct 13 10:27:37 CEST 2008 - locilka@suse.cz + +- Fixed help texts (bnc#430521). +- 2.17.2 + +------------------------------------------------------------------- +Tue Sep 16 16:16:47 CEST 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 17:21:08 CEST 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 16:01:09 CEST 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 16:40:22 CEST 2008 - jsrain@suse.cz + +- added categories Settings and System into desktop file + (bnc #382778) + +------------------------------------------------------------------- +Mon May 12 17:37:05 CEST 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 9 11:07:57 CEST 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 2 14:59:51 CEST 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 12:43:32 CET 2008 - jsrain@suse.cz + +- added 'StartupNotify=true' to the desktop file (bnc #304964) + +------------------------------------------------------------------- +Tue Jan 22 14:32:55 CET 2008 - kmachalkova@suse.cz + +- Icons moved to yast2-theme package +- 2.16.0 + +------------------------------------------------------------------- +Mon Sep 17 06:01:09 CEST 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 22:38:17 CEST 2007 - dreynolds@suse.de + +- Updated spec to set theme-dir based on dist (openSUSE/sles) + +------------------------------------------------------------------- +Mon Aug 20 17:57:15 CEST 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 05:05:01 CEST 2007 - dreynolds@suse.de + +- Numerous fixes for repository integration + +------------------------------------------------------------------- +Mon Jul 16 16:25:52 CEST 2007 - dreynolds@suse.de + +- Add support for the AppArmor profile repository + Fate: 300517 +------------------------------------------------------------------- +Sat Nov 18 02:42:34 CET 2006 - ddrewelow@suse.de + +- Fixed an untranslated string + +------------------------------------------------------------------- +Sat Nov 18 00:09:03 CET 2006 - ddrewelow@suse.de + +- Fixed usability and reporting bugs + (bnc# 158599,171082,172624,173825) + +------------------------------------------------------------------- +Tue Nov 14 23:38:21 CET 2006 - ddrewelow@suse.de + +- Added the missing complain.scr to fix: + https://bugzilla.novell.com/show_bug.cgi?id=219898 + +------------------------------------------------------------------- +Mon Nov 13 23:45:49 CET 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 4 00:20:35 CET 2006 - ddrewelow@suse.de + +- Add complain/enforce profile state toggle + Fate: 300719 + +------------------------------------------------------------------- +Mon Oct 16 19:46:23 CEST 2006 - dreynolds@suse.de + +- Add syntax checks for profiles and display error dialogs to user + Fate: 300906 + +------------------------------------------------------------------- +Tue Sep 19 07:03:31 CEST 2006 - aj@suse.de + +- Adjust for theming change. + +------------------------------------------------------------------- +Tue Jun 6 01:24:50 CEST 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 3 01:36:15 CEST 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 2 16:57:00 CEST 2006 - ro@suse.de + +- fix typo in subdomain/profile_dialogs.ycp + +------------------------------------------------------------------- +Mon Mar 27 09:01:33 CEST 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 09:16:35 CET 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 01:43:15 CET 2006 - dreynolds@suse.de + +- Fixed typo in SD_EditProfie.ycp that was causing a syntax error in the wizard + +------------------------------------------------------------------- +Mon Feb 13 05:45:44 CET 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 6 07:50:42 CET 2006 - sbeattie@suse.de + +- Fix non-wrapping error-dialog (#146435) +- Enable/start aaeventd if notification is enabled +- (jmichael) Remove dead code + +------------------------------------------------------------------- +Sun Jan 29 07:16:11 CET 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 21:49:35 CET 2006 - mls@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Mon Jan 23 08:28:10 CET 2006 - dreynolds@suse.de + +- Added code to process events from the audit system in addition to syslog + +------------------------------------------------------------------- +Tue Jan 17 04:48:00 CET 2006 - dreynolds@suse.de + +- Remove references to message catalog files - now provided by yast2-trans + +------------------------------------------------------------------- +Fri Dec 9 07:39:01 CET 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 8 08:46:08 CET 2005 - sbeattie@suse.de + +- rename package to yast2-apparmor +- relicense to GPL and LGPL for open source release +- reset version to 2.0-1 + diff --git a/yast2-apparmor.spec b/yast2-apparmor.spec new file mode 100644 index 0000000..419eeb6 --- /dev/null +++ b/yast2-apparmor.spec @@ -0,0 +1,121 @@ +# +# spec file for package yast2-apparmor +# +# 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/ +# + +# norootforbuild + + +Name: yast2-apparmor +Version: 2.22.1 +Release: 0 + +BuildRoot: %{_tmppath}/%{name}-%{version}-build +Source0: yast2-apparmor-%{version}.tar.bz2 + +Group: Productivity/Security +License: GPL-2.0+ + +Summary: YaST2 - Plugins for AppArmor Profile Management + +Requires: yast2 +Requires: perl-TimeDate +Requires: perl(Data::Dumper) +Requires: perl(Encode) +Requires: perl(Getopt::Long) +Requires: perl(Immunix::AppArmor) +Requires: perl(Immunix::Notify) +Requires: perl(Immunix::Reports) +Requires: perl(Locale::gettext) +Requires: perl(POSIX) +Requires: perl(ycp) + +BuildArch: noarch +Obsoletes: yast2-subdomain +Provides: yast2-subdomain +BuildRequires: update-desktop-files + +BuildRequires: yast2 yast2-devtools + +%if 0%{?suse_version} >= 1140 +# openSUSE-11.4 or newer +BuildRequires: perl-macros +%{perl_requires} +%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. + +%prep +%setup -n yast2-apparmor-%{version} + +%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} +# V=1: verbose build in case we used AM_SILENT_RULES(yes) +# so that RPM_OPT_FLAGS check works +make %{?jobs:-j%jobs} V=1 + +%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/apparmor +# 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 +%dir %{perl_vendorlib}/Immunix +%{perl_vendorlib}/Immunix/Notify.pm +# license is questionable, PDB says GPL-2.0+ +#%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