summaryrefslogtreecommitdiffstats
path: root/test/tomcat/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-02-28 23:00:39 +0100
committertnut <thierryn1 at hispeed dot ch>2010-02-28 23:00:39 +0100
commit32d0f976eeebb5c5dbe5fd7954a70af669dff431 (patch)
treed42809604df2d56f50ab8e61956df14031bf60b0 /test/tomcat/Pkgfile
parent5a0c4cbe30691eeb66b1b10e3f4ed73bda00efa8 (diff)
downloadnutyx-extra-32d0f976eeebb5c5dbe5fd7954a70af669dff431.tar.gz
nutyx-extra-32d0f976eeebb5c5dbe5fd7954a70af669dff431.tar.bz2
nutyx-extra-32d0f976eeebb5c5dbe5fd7954a70af669dff431.tar.xz
nutyx-extra-32d0f976eeebb5c5dbe5fd7954a70af669dff431.zip
Ajout de tomcat#5.5.28-1
Diffstat (limited to 'test/tomcat/Pkgfile')
-rwxr-xr-xtest/tomcat/Pkgfile45
1 files changed, 0 insertions, 45 deletions
diff --git a/test/tomcat/Pkgfile b/test/tomcat/Pkgfile
deleted file mode 100755
index 140d015d8..000000000
--- a/test/tomcat/Pkgfile
+++ /dev/null
@@ -1,45 +0,0 @@
-# Description: Servlet container for Java Servlet and JavaServer Pages
-# URL: http://tomcat.apache.org/
-# Maintainer: NuTyX packager team
-# Packager: lesibel at free dot fr
-# Depends on: jdk
-name=tomcat
-version=5.5.28
-release=1
-
-source=(http://archive.apache.org/dist/tomcat/tomcat-5/v$version/bin/apache-$name-$version.tar.gz \
- tomcat tomcat.conf.d tomcat.install)
-
-build() {
- cd apache-tomcat-$version/bin
- tar xzf jsvc.tar.gz
- cd jsvc-src
- sh configure --with-java=/opt/jdk/
- make
- cp jsvc ..
-
- cd $SRC/apache-tomcat-$version
- rm -f LICENSE NOTICE RELEASE-NOTES RUNNING.txt
- rm -fr bin/*.exe bin/*.bat bin/*.tar.gz bin/jsvc-src
-
- # install everything
- mkdir -p $PKG/opt/tomcat
- cp -R * $PKG/opt/tomcat
-
-mkdir -v -p $PKG/etc/rc.d/init.d
- mkdir -v -p $PKG/etc/rc.d/rc{0,1,2,3,4,5,6}.d
- install -m755 $SRC/tomcat $PKG/etc/rc.d/init.d/tomcat
- ln -svf ../init.d/tomcat $PKG/etc/rc.d/rc3.d/S90tomcat
- ln -svf ../init.d/tomcat $PKG/etc/rc.d/rc2.d/K90tomcat
- ln -svf ../init.d/tomcat $PKG/etc/rc.d/rc5.d/S90tomcat
- ln -svf ../init.d/tomcat $PKG/etc/rc.d/rc4.d/S90tomcat
- ln -svf ../init.d/tomcat $PKG/etc/rc.d/rc0.d/K90tomcat
- ln -svf ../init.d/tomcat $PKG/etc/rc.d/rc1.d/K90tomcat
- ln -svf ../init.d/tomcat $PKG/etc/rc.d/rc6.d/K90tomcat
-
- install -D -m755 ../tomcat.conf.d $PKG/etc/sysconfig/tomcat
- chgrp -R 66 $PKG/opt/tomcat/conf $PKG/opt/tomcat/work
- chmod 0660 $PKG/opt/tomcat/conf/{*.xml,*.policy,*.properties,/Catalina/localhost/*.xml}
- chmod 775 $PKG/opt/tomcat/conf $PKG/opt/tomcat/work
-}
-