~ubuntu-branches/ubuntu/wily/apparmor/wily

« back to all changes in this revision

Viewing changes to parser/apparmor-parser.spec.in

  • Committer: Bazaar Package Importer
  • Author(s): Kees Cook
  • Date: 2011-04-27 10:38:07 UTC
  • mfrom: (5.1.118 natty)
  • Revision ID: james.westby@ubuntu.com-20110427103807-ym3rhwys6o84ith0
Tags: 2.6.1-2
debian/copyright: clarify for some full organization names.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# $Id: apparmor-parser.spec.in 6358 2006-04-01 09:06:53Z dominic $
2
 
#
3
1
# ----------------------------------------------------------------------
4
2
#    Copyright (c) 2004, 2005, 2006 NOVELL (All rights reserved)
5
3
#
52
50
Provides: subdomain-parser-demo subdomain-parser-common subdomain-leaf-cert
53
51
Provides: libimnxcert
54
52
%define apparmor_bin_prefix /lib/apparmor
55
 
BuildRequires: bison flex
 
53
BuildRequires: bison flex latex2html w3m
 
54
%if 0%{?suse_version} > 1020
 
55
BuildRequires: texlive-latex
 
56
%else
 
57
BuildRequires: te_latex
 
58
%endif
 
59
 
 
60
%package -n apparmor-docs
 
61
Summary: AppArmor documentation package
 
62
Group: Applications/System
 
63
Provides: subdomain-docs
 
64
Obsoletes: subdomain-docs
56
65
 
57
66
%description
58
67
AppArmor Parser is a userlevel program that is used to load in program
59
68
profiles to the AppArmor Security kernel module.
60
69
This package is part of a suite of tools that used to be named SubDomain.
61
70
 
 
71
%description -n apparmor-docs
 
72
This package contains documentation for AppArmor.
 
73
 
62
74
%prep
63
75
%setup -q
64
76
 
65
77
%build
66
78
make clean all CFLAGS="${RPM_OPT_FLAGS}"
 
79
make techdoc.txt
67
80
 
68
81
%install
69
82
make install DESTDIR=${RPM_BUILD_ROOT} \
 
83
             MANDIR=%{_mandir} \
70
84
             DISTRO=%{distro} \
71
85
             APPARMOR_BIN_PREFIX=${RPM_BUILD_ROOT}%{apparmor_bin_prefix}
72
86
 
73
 
%clean 
 
87
%clean
74
88
[ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf $RPM_BUILD_ROOT
75
89
 
76
 
%files 
 
90
%files
77
91
%defattr(-,root,root)
78
92
%doc README COPYING.GPL
79
93
/sbin/apparmor_parser
93
107
%dir %attr(-, root, root) %{apparmor_bin_prefix}
94
108
%{apparmor_bin_prefix}/rc.apparmor.functions
95
109
%{_prefix}/share/locale/*/*/apparmor-parser.mo
 
110
%doc %{_mandir}/man*/*
 
111
 
 
112
%files -n apparmor-docs
 
113
%defattr(-,root,root)
 
114
%doc *.[1-9].html
 
115
%doc common/apparmor.css
 
116
%doc techdoc.pdf techdoc/techdoc.html techdoc/techdoc.css techdoc.txt
96
117
 
97
118
%pre
98
119
%if %{distro} == "redhat" || %{distro} == "rhel4"
137
158
%preun
138
159
if [ "$1" = 0 ] ; then
139
160
%if %{distro} == "suse"
140
 
  /sbin/insserv -r boot.apparmor
 
161
  %{stop_on_removal aaeventd}
 
162
  %{stop_on_removal boot.apparmor}
141
163
%endif
142
164
%if %{distro} == "redhat" || %{distro} == "rhel4"
 
165
  chkconfig --del aaeventd
143
166
  chkconfig --del apparmor
144
167
%endif
145
168
fi
150
173
%endif
151
174
 
152
175
%changelog
 
176
* Thu Jan 24 2008 - jjohansen@suse.de
 
177
- Fix parser to be able to load policy for multiple versions of AppArmor.
 
178
* Wed Oct 17 2007 - dominic_r@mercenarylinux.com
 
179
- Maintenance branch for AppArmor 2.1
 
180
* Mon Oct  1 2007 - steve@nxnw.org
 
181
- Basic change_profile testcases, basic network rules testcases, testcases
 
182
- around carat symbols and commas in file rules, and basic permission
 
183
- modes first testcases from jjohansen@suse.de.
 
184
* Mon Oct  1 2007 - steve@nxnw.org
 
185
- lock mode bit tests from jjohansen@suse.de
 
186
- Also, make 'check' toplevel target be an alias for 'tests'
 
187
* Mon Oct  1 2007 - steve@nxnw.org
 
188
- Append testcases from jjohansen@suse.de.
 
189
* Fri Aug 31 2007 - sbeattie@suse.de
 
190
- run initscript once on boot (suse only, #286749)
 
191
* Fri Aug 17 2007 - sbeattie@suse.de
 
192
- disable aaeventd before uninstall [#301418]
 
193
* Fri Jul 27 2007 - sbeattie@suse.de
 
194
- Allow inverted character classes in unquoted pathnames
 
195
- Fix return code propogation in initscripts
 
196
- Add change_profile support
 
197
- Add basic network mediation
 
198
- Add mediation modes for append-only and locks
 
199
- Allow reverse ordered file permission rules
 
200
* Sat Apr 21 2007 - aj@suse.de
 
201
- Use texlive for building.
 
202
* Fri Apr 13 2007 - sbeattie@suse.de
 
203
- Resurrect apparmor-docs as subpackage of apparmor-parser
 
204
- Add text version of techdoc
 
205
* Wed Apr 11 2007 - sbeattie@suse.de
 
206
- Include techdoc in package
 
207
* Wed Apr  4 2007 - sbeattie@suse.de
 
208
- rcapparmor: fix dpkg ignore check
 
209
- rcapparmor: support apparmor built into kernel
 
210
- rcapparmor: kill old cruft
 
211
* Tue Apr  3 2007 - sbeattie@suse.de
 
212
- Add manpages to package
153
213
* Thu Mar 29 2007 - coolo@suse.de
154
214
- BuildRequire flex and bison
155
215
* Tue Mar 27 2007 - sbeattie@suse.de