mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-30 05:47:59 +00:00
Removed spec example. Added file that got missed during previous
checkin.
This commit is contained in:
parent
b2b21d0940
commit
1a3dc3f609
@ -0,0 +1,52 @@
|
||||
/*
|
||||
Copyright (C) 2006 Novell Inc. All Rights Reserved.
|
||||
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of version 2 of the GNU General Public
|
||||
License published by the Free Software Foundation.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, contact Novell, Inc.
|
||||
|
||||
*/
|
||||
|
||||
|
||||
import "Popup";
|
||||
textdomain "yast2-apparmor";
|
||||
|
||||
define boolean checkProfileSyntax () {
|
||||
map <string,string> args = $[];
|
||||
string errmsg = "<ul>";
|
||||
boolean syntax_ok = true;
|
||||
|
||||
args["profile-syntax-check"] = "1";
|
||||
list <string> errors = (list <string>) SCR::Execute (.subdomain, "profile-syntax-check" );
|
||||
foreach ( string error, errors, ``{
|
||||
syntax_ok = false;
|
||||
errmsg = errmsg + "<li>" + error + "</li>";
|
||||
});
|
||||
errmsg = errmsg + "</ul>";
|
||||
if ( syntax_ok == false ) {
|
||||
string headline = _("Errors found in AppArmor profiles");
|
||||
errmsg = _("<p>These problems must be corrected before AppArmor can be \
|
||||
started or the profile management tools can be used.</p> ")
|
||||
+ "<p>" + errmsg + "</p>"
|
||||
+ _("<p>You can find a description of AppArmor profile syntax by \
|
||||
running ")
|
||||
+ "<code>man apparmor.d</code></p>"
|
||||
+ _("<p>Comprehensive documentation about AppArmor is available in \
|
||||
the users guide for the distribution. This is available in the \
|
||||
directory: ")
|
||||
+ "</p>"
|
||||
+ "<code>/usr/share/doc/manual/suselinux-manual_LANGUAGE</code>. "
|
||||
+ _("<p>Please refer to this for more detailed information about \
|
||||
AppArmor</p>");
|
||||
Popup::LongText( headline, `RichText(errmsg), 55, 15);
|
||||
}
|
||||
return( syntax_ok );
|
||||
}
|
@ -1,375 +0,0 @@
|
||||
#
|
||||
# spec file for package yast2-shass (Version 1..0.1)
|
||||
#
|
||||
# Copyright (c) 2004 Immunix Inc
|
||||
# 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://www.immunix.com
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
# neededforbuild yast2-devel-packages yast2-pam
|
||||
|
||||
BuildRequires: aaa_base acl attr bash bind-utils bison bzip2 coreutils cpio cpp cracklib cvs cyrus-sasl db devs diffutils e2fsprogs file filesystem fillup findutils flex gawk gdbm-devel glibc glibc-devel glibc-locale gpm grep groff gzip info insserv kbd less libacl libattr libgcc libselinux libstdc++ libxcrypt m4 make man mktemp module-init-tools ncurses ncurses-devel net-tools netcfg openldap2-client openssl pam pam-modules patch permissions popt procinfo procps psmisc pwdutils rcs readline sed strace syslogd sysvinit tar tcpd texinfo timezone unzip util-linux vim zlib zlib-devel autoconf automake binutils curl dejagnu doxygen expect gcc gdbm gettext libtool liby2util liby2util-devel openslp openslp-devel perl perl-XML-Writer popt-devel rpm tcl update-desktop-files yast2 yast2-core yast2-core-devel yast2-devtools yast2-packagemanager yast2-packagemanager-devel yast2-pam yast2-testsuite
|
||||
|
||||
Name: yast2-shass
|
||||
Version: 1.0
|
||||
Release: 1
|
||||
License: GPL
|
||||
Group: System/YaST
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Source0: yast2-y-2.9.14.tar.bz2
|
||||
prefix: /usr
|
||||
Requires: yast2
|
||||
Provides: yast2-shass
|
||||
Obsoletes: yast2-shass
|
||||
BuildArchitectures: noarch
|
||||
Summary: YaST2 - Immunix AppArmor Configuration Forms
|
||||
|
||||
%description
|
||||
The YaST2 components for managing Immunix AppArmor security profiles.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Dominic Reynolds <dominic@immunix.com>
|
||||
Jesse Michael <jesse@immunix.com>
|
||||
David Drewelow <davidd@immunix.com>
|
||||
|
||||
%prep
|
||||
%setup -n yast2-shass-%{version}-%{release}
|
||||
|
||||
%build
|
||||
make
|
||||
|
||||
%install
|
||||
[ "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != "/" ] && rm -rf "$RPM_BUILD_ROOT"
|
||||
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/*.desktop` ; do
|
||||
d=${f##*/}
|
||||
%suse_update_desktop_file ${d%.desktop}
|
||||
done
|
||||
|
||||
%clean
|
||||
[ "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != "/" ] && rm -rf "$RPM_BUILD_ROOT"
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%dir /usr/share/YaST2/include/security
|
||||
/usr/share/YaST2/include/security/*
|
||||
%{prefix}/share/applications/YaST2/security.desktop
|
||||
/usr/share/YaST2/clients/security*.ycp
|
||||
/usr/share/YaST2/modules/Security.y*
|
||||
/usr/share/YaST2/scrconf/*.scr
|
||||
%doc %{prefix}/share/doc/packages/yast2-security
|
||||
|
||||
%changelog -n yast2-security
|
||||
* Sun Apr 04 2004 - msvec@suse.cz
|
||||
- changed minimum UID from 500 to 1000 (#38181)
|
||||
- 2.9.14
|
||||
* Fri Apr 02 2004 - msvec@suse.cz
|
||||
- changed license to GPL
|
||||
- 2.9.13
|
||||
* Wed Mar 17 2004 - jsuchome@suse.cz
|
||||
- fixed testsuite (forced by change of PamSettings::Write)
|
||||
- 2.9.12
|
||||
* Fri Mar 12 2004 - jsuchome@suse.cz
|
||||
- flush changes of pam configuration (#35721)
|
||||
- 2.9.11
|
||||
* Thu Mar 11 2004 - msvec@suse.cz
|
||||
- enabled the testsuite again
|
||||
- 2.9.10
|
||||
* Wed Mar 10 2004 - jsuchome@suse.de
|
||||
- disabled testsuite
|
||||
- 2.9.9
|
||||
* Wed Mar 10 2004 - nashif@suse.de
|
||||
- Adapted for new wizard
|
||||
* Mon Mar 08 2004 - msvec@suse.cz
|
||||
- set title icons
|
||||
- 2.9.8
|
||||
* Fri Mar 05 2004 - msvec@suse.cz
|
||||
- more strict type casts
|
||||
- 2.9.7
|
||||
* Mon Mar 01 2004 - msvec@suse.cz
|
||||
- proof-read messages
|
||||
- 2.9.6
|
||||
* Tue Feb 24 2004 - msvec@suse.cz
|
||||
- fix enabling of the remote XDM access (#34879)
|
||||
- 2.9.5
|
||||
* Fri Feb 06 2004 - msvec@suse.cz
|
||||
- use Sequencer module
|
||||
- drop y2cc config file
|
||||
- 2.9.4
|
||||
* Mon Jan 26 2004 - msvec@suse.cz
|
||||
- updates for the new interpreter
|
||||
- 2.9.3
|
||||
* Fri Jan 23 2004 - msvec@suse.cz
|
||||
- NI updates
|
||||
- 2.9.2
|
||||
* Wed Oct 22 2003 - msvec@suse.cz
|
||||
- routines cleanup
|
||||
- 2.9.1
|
||||
* Fri Sep 26 2003 - jsuchome@suse.cz
|
||||
- read new settings from /etc/login.defs (SYSTEM_UID_MAX, USERADD_CMD etc.)
|
||||
- 2.9.0
|
||||
* Thu Sep 11 2003 - msvec@suse.cz
|
||||
- changed "UNIX system" to "UNIX like system" in helps (#30495)
|
||||
- 2.8.6
|
||||
* Thu Sep 11 2003 - nashif@suse.de
|
||||
- #30291: return list of required packages for autoinstallation
|
||||
* Tue Sep 09 2003 - msvec@suse.cz
|
||||
- show correctly the current level (#30320)
|
||||
- 2.8.5
|
||||
* Fri Sep 05 2003 - msvec@suse.cz
|
||||
- proof read help texts
|
||||
- 2.8.4
|
||||
* Thu Aug 21 2003 - msvec@suse.cz
|
||||
- don't modify files when nothing changed (#28999)
|
||||
- 2.8.3
|
||||
* Wed Aug 20 2003 - jsuchome@suse.de
|
||||
- removed redundant "initialization dialog" (#28779)
|
||||
- 2.8.2
|
||||
* Mon Aug 11 2003 - jsuchome@suse.de
|
||||
- proofread texts (1st round)
|
||||
* Tue Jul 22 2003 - msvec@suse.cz
|
||||
- simplify autoinstallation client
|
||||
- updated testsuite
|
||||
- 2.8.1
|
||||
* Wed Jul 16 2003 - jsuchome@suse.de
|
||||
- updated to new Pam/PamSettings interface
|
||||
* Sun May 11 2003 - msvec@suse.de
|
||||
- maximum password length is related to encryption method (#13291)
|
||||
- support for enabling of SysRq keys
|
||||
- define password lengths (#13291)
|
||||
- improved documentation
|
||||
- better help texts (#26791)
|
||||
- updates for the new wizard functions
|
||||
- 2.8.0
|
||||
* Mon Mar 03 2003 - msvec@suse.de
|
||||
- autoinstallation fixes by nashif
|
||||
- 2.7.8
|
||||
* Sun Feb 16 2003 - nashif@suse.de
|
||||
- Set modified true when importing
|
||||
- 2.7.7
|
||||
* Sat Feb 15 2003 - nashif@suse.de
|
||||
- convert case when importing/exporting in autoinst mode
|
||||
- _auto.ycp Result ->Export
|
||||
- 2.7.6
|
||||
* Mon Feb 10 2003 - msvec@suse.de
|
||||
- proofread texts
|
||||
- 2.7.5
|
||||
* Mon Feb 03 2003 - msvec@suse.cz
|
||||
- autoinst and texts fixes
|
||||
- 2.7.4
|
||||
* Thu Jan 30 2003 - msvec@suse.de
|
||||
- proofread texts
|
||||
- 2.7.3
|
||||
* Wed Jan 22 2003 - msvec@suse.cz
|
||||
- added missing module to the package
|
||||
- 2.7.2
|
||||
* Tue Jan 21 2003 - nashif@suse.de
|
||||
- Added import function to _auto client
|
||||
- switch case to lower when exporting/upper when importing
|
||||
* Tue Jan 21 2003 - msvec@suse.de
|
||||
- fixed some error popups (and added some more)
|
||||
- fixed the autoinstallation client
|
||||
- 2.7.1
|
||||
* Tue Oct 22 2002 - msvec@suse.cz
|
||||
- completely rewritten internals
|
||||
- major cleanup, simplification and speedup
|
||||
- don't ask for save if nothing was changed
|
||||
- support for CWD in user's path (#18274)
|
||||
- complete support for blowfish (#12758)
|
||||
- 2.7.0
|
||||
* Thu Sep 05 2002 - msvec@suse.cz
|
||||
- fix the Next|Finish behavior (#18937)
|
||||
- provide more old translations (y2t_sec)
|
||||
- 2.6.10
|
||||
* Tue Aug 27 2002 - jsuchome@suse.cz
|
||||
- provide/obsolete old translation packages (bug #18691)
|
||||
* Wed Aug 14 2002 - mvidner@suse.cz
|
||||
- Merged proofread texts for the second translation round.
|
||||
- 2.6.8
|
||||
* Mon Jul 29 2002 - msvec@suse.cz
|
||||
- some general purpose agents moved to yast2
|
||||
- blowfish password encryption (#17039) <jsrain@suse.cz>
|
||||
- 2.6.7
|
||||
* Wed Jul 24 2002 - msvec@suse.cz
|
||||
- fixed some error messages
|
||||
- 2.6.6
|
||||
* Mon Jul 22 2002 - jsrain@suse.cz
|
||||
- merged proofread texts
|
||||
- version 2.6.5
|
||||
* Mon Jul 15 2002 - nashif@suse.de
|
||||
- adapted for use with the autoinstallation configuration system
|
||||
- security_auto now exports lower case values
|
||||
* Fri Jul 12 2002 - arvin@suse.de
|
||||
- use proper namespace for Args and CallFunction (#16776)
|
||||
* Mon Jul 08 2002 - msvec@suse.cz
|
||||
- use Wizard and other predefined functions
|
||||
- drastic reduction and simplification of UI code
|
||||
- split adduser dialog
|
||||
- 2.6.3
|
||||
* Thu Jul 04 2002 - arvin@suse.de
|
||||
- moved non binary files to /usr/share/YaST2
|
||||
* Mon Jul 01 2002 - msvec@suse.cz
|
||||
- package renamed to yast2-security
|
||||
- preliminary autoinstallation support
|
||||
- 2.6.1
|
||||
* Mon Jun 03 2002 - msvec@suse.cz
|
||||
- testsuite update
|
||||
- shortened label (#15089)
|
||||
- removed outdated docs #15875
|
||||
- implement CONSOLE SHUTDOWN fully in yast2
|
||||
- don't run full SuSEconfig
|
||||
- use y2autoconf, create-spe
|
||||
- 2.6.0
|
||||
* Wed Feb 27 2002 - msvec@suse.cz
|
||||
- use buildroot (via y2spec)
|
||||
- include the locate agent in the package
|
||||
- 2.5.11
|
||||
* Mon Feb 25 2002 - msvec@suse.cz
|
||||
- use proper sysconfig files (#13619)
|
||||
- minor fix of permissions writing
|
||||
- added agent for sysconfig/locate
|
||||
- updated testsuite
|
||||
- 2.5.10
|
||||
* Mon Feb 18 2002 - msvec@suse.cz
|
||||
- fixed shortcuts
|
||||
- fixed permissions reading and writing (#13106)
|
||||
- updated testsuite
|
||||
- 2.5.9
|
||||
* Mon Feb 11 2002 - mvidner@suse.cz
|
||||
- Fixed login.defs agent to handle quoted values.
|
||||
- Fixed test suite.
|
||||
- 2.5.8
|
||||
* Tue Feb 05 2002 - kukuk@suse.de
|
||||
- Add support for global pam_unix2 and pam_pwcheck config files
|
||||
- Version 2.5.7
|
||||
* Sat Jan 26 2002 - nashif@suse.de
|
||||
- Added agents to file list
|
||||
- 2.5.6
|
||||
* Wed Jan 16 2002 - msvec@suse.cz
|
||||
- added pam_unix2 and rlogin|gdm to MD5 settings (md5 is #9543)
|
||||
- use_cracklib is now via pam (PASSWD_USE_CRACKLIB)
|
||||
- drop telnet for root checkbox (ROOT_LOGIN_REMOTE)
|
||||
- added /etc/login.defs agent (using ini agent right now)
|
||||
- added /etc/sysconfig/security agent
|
||||
- updated testsuite
|
||||
- 2.5.5
|
||||
* Thu Dec 20 2001 - msvec@suse.cz
|
||||
- new menuentry file format
|
||||
- 2.5.3
|
||||
* Tue Dec 04 2001 - msvec@suse.cz
|
||||
- 3rd params to select
|
||||
- 2.5.2
|
||||
* Wed Nov 21 2001 - msvec@suse.cz
|
||||
- added DISPLAYMANAGER_REMOTE_ACCESS setting (#10824)
|
||||
- updated testsuite
|
||||
- 2.5.1
|
||||
* Mon Nov 19 2001 - msvec@suse.cz
|
||||
- fixed lookup 3rd parameters
|
||||
- migration to yast2-devtools
|
||||
- minor makefiles fixes
|
||||
- 2.5.0
|
||||
* Tue Aug 28 2001 - msvec@suse.cz
|
||||
- enlarge max uid to 32 bit (#9871)
|
||||
- parseycp during check
|
||||
- version 2.4.5
|
||||
* Wed Aug 22 2001 - msvec@suse.cz
|
||||
- added requires (rcconfig and pam agents, wizard library)
|
||||
- version 2.4.4
|
||||
* Wed Aug 15 2001 - msvec@suse.cz
|
||||
- added MD5 password encryption suuport
|
||||
- testsuite for the above
|
||||
- removed Finish function
|
||||
- removed UI(_(...))
|
||||
- use of UI:: and SCR::
|
||||
- version 2.4.3
|
||||
* Thu Aug 09 2001 - msvec@suse.cz
|
||||
- use common_messages for button labels
|
||||
- version 2.4.2
|
||||
* Mon Jul 30 2001 - msvec@suse.cz
|
||||
- new libycp fixes
|
||||
- minor variable fixes
|
||||
- updated testsuite
|
||||
- adapt to the new translator (locale useless)
|
||||
- version 2.4.1
|
||||
* Tue Jul 10 2001 - ro@suse.de
|
||||
- removed yast2-core-translator from neededforbuild
|
||||
* Tue Jul 03 2001 - msvec@suse.cz
|
||||
- adapted to the system agent split
|
||||
- added missing shortcuts (#9017)
|
||||
- version 2.4.0
|
||||
* Wed May 02 2001 - msvec@suse.cz
|
||||
- fix menuentry file
|
||||
- version 2.3.5
|
||||
* Mon Apr 23 2001 - msvec@suse.cz
|
||||
- removed isnils
|
||||
- no more quick SuSEconfig
|
||||
- help fix (#6912)
|
||||
- version 2.3.4
|
||||
* Fri Apr 13 2001 - msvec@suse.cz
|
||||
- enabled abuild checking
|
||||
- fixed help text (#6190)
|
||||
- version 2.3.3
|
||||
* Wed Apr 04 2001 - msvec@suse.cz
|
||||
- updated comments and docs
|
||||
- version 2.3.2
|
||||
* Fri Mar 30 2001 - msvec@suse.cz
|
||||
- support for "auto" KDM setting
|
||||
- new libycp adaptation
|
||||
- autobuild checking
|
||||
- removed 7.1 hacks
|
||||
- source cleanup
|
||||
- version 2.3.1
|
||||
* Wed Mar 07 2001 - msvec@suse.cz
|
||||
- package rename
|
||||
- version 2.3.0
|
||||
* Mon Jan 15 2001 - msvec@suse.cz
|
||||
- minimal UID should be 500 (#5643)
|
||||
- updated comments for translators
|
||||
- Next button translatable and shortcut
|
||||
* Fri Jan 12 2001 - msvec@suse.de
|
||||
- root telnet enabled means disabled and vice versa
|
||||
- minor gui update
|
||||
- saving fixed
|
||||
* Wed Jan 10 2001 - msvec@suse.de
|
||||
- Translatable strings bugfix
|
||||
* Fri Jan 05 2001 - kkaempf@suse.de
|
||||
- provide keyboard shortcuts for buttons
|
||||
* Fri Jan 05 2001 - kkaempf@suse.de
|
||||
- mark strings as translatable
|
||||
* Fri Dec 15 2000 - msvec@suse.cz
|
||||
- help text for the main screen added (#4619)
|
||||
- check the minimum <= maximum (#4682)
|
||||
* Wed Dec 13 2000 - mike@suse.de
|
||||
- new menuentry file
|
||||
* Wed Dec 13 2000 - msvec@suse.cz
|
||||
- menuentry updated
|
||||
* Tue Dec 12 2000 - msvec@suse.cz
|
||||
- helps
|
||||
- GUI update
|
||||
- version 1.1.3
|
||||
* Mon Dec 11 2000 - msvec@suse.cz
|
||||
- minor GUI update
|
||||
- fix the Custom writing
|
||||
- ``Something() -> ``(Something())
|
||||
- version 1.1.2
|
||||
* Sat Dec 09 2000 - kukuk@suse.de
|
||||
- Add group tag
|
||||
* Fri Dec 08 2000 - msvec@suse.cz
|
||||
- also update the source
|
||||
* Fri Dec 08 2000 - msvec@suse.cz
|
||||
- minor layout and functional updates
|
||||
- version 1.1.1
|
||||
* Wed Nov 29 2000 - msvec@suse.cz
|
||||
- new layout
|
||||
- version 1.1.0
|
||||
* Wed Oct 25 2000 - msvec@suse.cz
|
||||
- initial version
|
||||
* Thu Jan 02 1997 - msvec@suse.de
|
||||
- bugfixes
|
Loading…
x
Reference in New Issue
Block a user