Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1:Update
tomcat_apparmor
tomcat_apparmor.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File tomcat_apparmor.spec of Package tomcat_apparmor
# # spec file for package tomcat_apparmor (Version 2.0.2) # # 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 Name: tomcat_apparmor %define CATALINA_HOME /usr/share/tomcat6 %define APPARMOR_DOC_DIR /usr/share/doc/packages/apparmor-docs/ %define JNI_SO libJNIChangeHat.so %define JAR_FILE changeHatValve.jar Summary: Tomcat 5 plugin for AppArmor change_hat Version: 2.0.2 Release: 229 Group: System/Libraries Source0: %{name}-%{version}-688.tar.gz License: GPL v2 or later BuildRoot: %{_tmppath}/%{name}-%{version}-build Url: http://developer.novell.com/wiki/index.php/Novell_AppArmor Requires: tomcat6, libapparmor1 BuildRequires: ant apparmor-docs java-devel libapparmor-devel tomcat6 %description tomcat_apparmor - is a plugin for Apache Tomcat version 5.x that provides support for AppArmor change_hat for creating AppArmor containers that are bound to discrete elements of processing within the Tomcat servlet container. The AppArmor containers, or "hats", can be created for individual URL processing or per servlet. Authors: -------- dreynolds@suse.de %prep %setup -q %build ant -Dinstall_lib=%{_lib} -Dcatalina_home=%{CATALINA_HOME} -Ddist=${RPM_BUILD_DIR}/%{name}-%{version} -Dant.build.javac.source=1.5 jar jni_so %install ant -Ddist=${RPM_BUILD_DIR}/%{name}-%{version} -Dversion=%{version} -Drelease=%{release} -Dcatalina_home=%{CATALINA_HOME} -Dinstall_root=${RPM_BUILD_ROOT} -Dinstall_lib=%{_lib} install_jar install_jni mkdir -p ${RPM_BUILD_ROOT}%{APPARMOR_DOC_DIR} install ${RPM_BUILD_DIR}/%{name}-%{version}/README.tomcat_apparmor ${RPM_BUILD_ROOT}%{APPARMOR_DOC_DIR} export NO_BRP_CHECK_BYTECODE_VERSION=true %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %{CATALINA_HOME}/lib/%{JAR_FILE} /%{_lib}/lib* /%{_libdir}/lib* %doc %attr(0644,root,root) %{APPARMOR_DOC_DIR}/README.tomcat_apparmor %post ldconfig %postun ldconfig %changelog * Wed Oct 29 2008 ro@suse.de - build for java 1.5 - export NO_BRP_CHECK_BYTECODE_VERSION=true since we are linking in code out of control of this package * Thu Jan 31 2008 tschmidt@suse.de - fix build for tomcat6 * Mon Jul 30 2007 aj@suse.de - Require libapparmor-devel. - Fix permissions of README file. * Tue May 22 2007 dreynolds@suse.de - Ported plugin to tomcat5.5: - Changes to logging interface - Changes to request pipeline * Tue Jan 30 2007 ro@suse.de - remove self-provides * Tue Nov 21 2006 dbornkessel@suse.de - fixed the lib path to JRE * Tue Oct 17 2006 dreynolds@suse.de - Remove whitepace indent on %%define of CATALINA_HOME in the spec file as it was not getting expanded by the build system with the indent. * Tue Oct 17 2006 dreynolds@suse.de - Updated the tarball to match the svn id for our repo. * Tue Oct 17 2006 dreynolds@suse.de - Initial revision. Tomcat apparmor plugin - FATE: 300507
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor