[arch-commits] CVS update of extra/daemons/jetty (PKGBUILD rc.jetty)

Eric Belanger eric at archlinux.org
Tue Jan 29 04:25:37 UTC 2008


    Date: Monday, January 28, 2008 @ 23:25:37
  Author: eric
    Path: /home/cvs-extra/extra/daemons/jetty

 Removed: PKGBUILD (1.11) rc.jetty (1.2)

extra repo cleanup, moved to unsupported


----------+
 PKGBUILD |   27 ---------------------------
 rc.jetty |   40 ----------------------------------------
 2 files changed, 67 deletions(-)


Index: extra/daemons/jetty/PKGBUILD
diff -u extra/daemons/jetty/PKGBUILD:1.11 extra/daemons/jetty/PKGBUILD:removed
--- extra/daemons/jetty/PKGBUILD:1.11	Sat Mar 17 17:46:09 2007
+++ extra/daemons/jetty/PKGBUILD	Mon Jan 28 23:25:37 2008
@@ -1,27 +0,0 @@
-# $Id: PKGBUILD,v 1.11 2007/03/17 21:46:09 paul Exp $
-# Maintainer: Paul Mattal <paul at mattal.com>
-pkgname=jetty
-pkgver=6.1.1
-pkgrel=1
-pkgdesc="A full-fledged production-grade lightweight Java Servlet Container"
-arch=(i686 x86_64)
-url="http://jetty.mortbay.org/jetty/"
-license=""
-depends=('j2re')
-makedepends=()
-conflicts=()
-replaces=()
-backup=()
-install=
-source=(http://dist.codehaus.org/$pkgname/$pkgname-$pkgver.zip \
-	rc.jetty)
-md5sums=('06c3e55743759c1b25b0133505d33170' \
-	 'e8e2642e7c5225c0438940cf4605369a')
-
-build() {
-  mkdir -p $startdir/pkg/opt || return 1
-  cp -a $startdir/src/$pkgname-$pkgver $startdir/pkg/opt/$pkgname \
-  	|| return 1
-  install -D -m755 $startdir/src/rc.jetty $startdir/pkg/etc/rc.d/jetty \
-  	|| return 1
-}
Index: extra/daemons/jetty/rc.jetty
diff -u extra/daemons/jetty/rc.jetty:1.2 extra/daemons/jetty/rc.jetty:removed
--- extra/daemons/jetty/rc.jetty:1.2	Wed Sep 20 20:42:47 2006
+++ extra/daemons/jetty/rc.jetty	Mon Jan 28 23:25:37 2008
@@ -1,40 +0,0 @@
-#!/bin/bash
-
-# general config
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-case "$1" in
-  start)
-    stat_busy "Starting Jetty Servlet Container"
-      cd /opt/jetty
-      java -jar start.jar >>/var/log/jetty.log 2>&1 &
-      echo $! >/var/run/jetty.pid
-    if [ $? -gt 0 ]; then
-      stat_fail
-    else
-      add_daemon jetty
-      stat_done
-    fi
-    ;;
-  stop)
-    stat_busy "Stopping Jetty Servlet Container"
-    cd /opt/jetty
-    [ -e /var/run/jetty.pid ] && PID=`cat /var/run/jetty.pid`
-    [ ! -z "$PID" ] && kill $PID &> /dev/null
-    if [ $? -gt 0 ]; then
-      stat_fail
-    else
-      rm_daemon jetty
-      rm -f /var/run/jetty.pid
-      stat_done
-    fi
-    ;;
-  restart)
-    $0 stop
-    sleep 3
-    $0 start
-    ;;
-  *)
-    echo "usage: $0 {start|stop|restart}"  
-esac




More information about the arch-commits mailing list