Package: tomcat4
Version: 4.1.31
Revision: 1
Type: java(1.4)
CustomMirror: <<
nam-US: http://ranger.befunk.com/fink
nam-US: http://astrange.ithinksw.net/ranger-fink
nam-CA: http://www.southofheaven.net/befunk
<<
Source: mirror:apache:jakarta/tomcat-4/v%v/src/jakarta-tomcat-%v-src.tar.gz
Source-MD5: 5f91c7a95d6e5f35152dfed903687479
SourceDirectory: jakarta-tomcat-%v-src
Source2: mirror:apache:jakarta/tomcat-4/v%v/src/jakarta-tomcat-connectors-%v-src.tar.gz
Source2-MD5: 07a22863a73045c1dced4793e15fa9d0
Source3: mirror:custom:jakarta-tomcat-jasper-20040718.tar.bz2
Source3-MD5: 120ab3fad7c841e8a5d03f9f16b60195
BuildDepends: ant (>= 1.6.1-2), fink (>= 0.22.2-1), fink-mirrors (>= 0.22.1.1-1), xalan-j (>= 2.6.0-1), xerces-j (>= 2.6.2-1), jaf (>= 1.0.2-3), jakarta-servletapi (>= 4.1-1), javamail (>= 1.3-2), jdbc-optional, jndi (>= 1.2.1-4), jndi-ldap (>= 1.2.1-4), jta-spec (>= 1.0.1-2), tyrex (>= 1.0-2), passwd (>= 20020106), daemonic, commons-beanutils (>= 1.6.1-2), commons-collections (>= 3.1-2), commons-daemon (>= 1.0-1), commons-dbcp (>= 1.2.1-1), commons-digester (>= 1.5-2), commons-logging (>= 1.0.4-1), commons-modeler (>= 1.1-2), commons-pool (>= 1.2-1), mx4j (>= 2.0.1-2), struts (>= 1.1-2), jakarta-regexp (>= 1.3-1), system-java14-dev
Depends: xalan-j (>= 2.6.0-1), xerces-j (>= 2.6.2-1), jaf (>= 1.0.2-3), jakarta-servletapi (>= 4.1-1), javamail (>= 1.3-2), jdbc-optional, jndi (>= 1.2.1-4), jndi-ldap (>= 1.2.1-4), jta-spec (>= 1.0.1-2), tyrex (>= 1.0-2), passwd (>= 20020106), daemonic, commons-beanutils (>= 1.6.1-2), commons-collections (>= 3.1-2), commons-daemon (>= 1.0-1), commons-dbcp (>= 1.2.1-1), commons-digester (>= 1.5-2), commons-logging (>= 1.0.4-1), commons-modeler (>= 1.1-2), commons-pool (>= 1.2-1), mx4j (>= 2.0.1-2), struts (>= 1.1-2), jakarta-regexp (>= 1.3-1), system-java14 | system-java15
ConfFiles: <<
%p/etc/%N/tomcat.conf
%p/var/%N/conf/catalina.policy
%p/var/%N/conf/server.xml
%p/var/%N/conf/web.xml
%p/var/%N/conf/tomcat-users.xml
%p/share/webapps/admin.xml
%p/share/webapps/manager.xml
<<
Conflicts: tomcat (<< 4.1.30-1)
Replaces: tomcat (<< 4.1.30-1)
Provides: tomcat
PatchScript: sed 's:@PREFIX@:%p:g' <%a/%n.patch | patch -p1
CompileScript: <<
#!/bin/sh -ex
pushd ..
ln -s jakarta-tomcat-connectors-%v-src jakarta-tomcat-connectors
popd
ant detect dist -Dcopy.jdbc20ext.jar=false
<<
InstallScript: <<
#!/bin/sh -ex
install -d -m 755 %i/var/%N
cp -R dist/* %i/var/%N/
find %i/var/%N -type d -exec chmod 755 {} \;
find %i/var/%N -type f -exec chmod 644 {} \;
chmod 755 %i/var/%N/bin/*.sh
rm -rf %i/var/%N/bin/*.bat
install -d -m 755 %i/share/doc/%N
mv %i/var/%N/*.txt %i/var/%N/LICENSE %i/share/doc/%N/
chown -R tomcat:tomcat %i/var/%N
install -d -m 755 %i/bin
cp tomcat %i/bin/%N
chmod 755 %i/bin/%N
install -d -m 755 %i/var/log
chown tomcat:tomcat %i/var/log
chmod 2775 %i/var/log
ln -sf %p/var/%N/logs %i/var/log/%N
install -d -m 755 %i/share/webapps
mv %i/var/%N/webapps/* %i/share/webapps/
rmdir %i/var/%N/webapps
pushd %i/var/%N
ln -sf ../../share/webapps webapps
popd
install -d -m 755 %i/etc
pushd %i/etc
ln -sf ../var/%N/conf tomcat
popd
install -d -m 755 %i/etc/%N
install -m 644 tomcat.conf %i/etc/%N/
pushd %i/var/%N/server/lib
ln -sf %p/share/java/mx4j/mx4j.jar .
sudo chmod 0775 %i/share/webapps/* %i/var/%N/logs
<<
DaemonicFile: <<
Tomcat servlet 2.3 engine
Tomcat servlet 2.3 engine
/usr/bin/sudo
-u tomcat %p/bin/%N start
<<
PostInstScript: <<
# update daemonic init script if necessary
daemonic install %N
<<
PreRmScript: <<
# clean up
if [ $1 != "upgrade" ]; then
daemonic remove %N
rm -rf %p/%N/work/*
rm -rf %p/%N/logs/*
fi
<<
Homepage: http://jakarta.apache.org/tomcat/index.html
Maintainer: Benjamin Reed
Description: Java Servlet 2.3 Container and Web Server
DescDetail: <<
Tomcat is the servlet container that is used in the official Reference
Implementation for the Java Servlet and JavaServer Pages technologies.
The Java Servlet and JavaServer Pages specifications are developed by
Sun under the Java Community Process.
Tomcat 4.0 implements a new servlet container (called Catalina) that is
based on completely new architecture. The 4.0 release implements the
Servlet 2.3 and JSP 1.2 specifications.
<<
DescPackaging: <<
Tomcat is designed to be somewhat self-contained, and so does not fit
the fink (and debian, for that matter) packaging guidelines. I followed
the way it's set up in the RedHat packages and put it in /var/tomcat4
(I think debian does it this way as well.)
<<
DescPort: <<
All that has changed is the defaults for building, and a wrapper script
for starting/stopping tomcat that goes in the %p/bin directory, along
with a daemonic config.
<<
DescUsage: <<
To start, stop, or restart Tomcat, do:
sudo -u tomcat %p/bin/%N
To enable Tomcat to start upon bootup, issue the command:
sudo daemonic enable %N
<<
License: BSD