[arch-commits] Commit in xsp/trunk (PKGBUILD xsp.conf.d xsp.rc.d)

Evangelos Foutras foutrelis at nymeria.archlinux.org
Fri May 31 15:49:43 UTC 2013


    Date: Friday, May 31, 2013 @ 17:49:43
  Author: foutrelis
Revision: 186900

upgpkg: xsp 2.10.2-5

Drop rc.d script.

Modified:
  xsp/trunk/PKGBUILD
Deleted:
  xsp/trunk/xsp.conf.d
  xsp/trunk/xsp.rc.d

------------+
 PKGBUILD   |   25 +++++++++----------------
 xsp.conf.d |   10 ----------
 xsp.rc.d   |   40 ----------------------------------------
 3 files changed, 9 insertions(+), 66 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-31 15:36:58 UTC (rev 186899)
+++ PKGBUILD	2013-05-31 15:49:43 UTC (rev 186900)
@@ -4,16 +4,20 @@
 
 pkgname=xsp
 pkgver=2.10.2
-pkgrel=4
+pkgrel=5
 pkgdesc="A simple webserver based on mono - provides ASP.NET support"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
 license=('custom')
 url="http://www.go-mono.com"
-depends=('mono>=2.10.2' 'sqlite')
+depends=('mono' 'sqlite')
 options=(!makeflags)
 install=${pkgname}.install
 source=(http://download.mono-project.com/sources/xsp/xsp-2.10.2.tar.bz2
-        ${pkgname}.rc.d ${pkgname}.conf.d ${pkgname}.webapp ${pkgname}.service)
+        ${pkgname}.webapp
+        ${pkgname}.service)
+md5sums=('4fe62fc95ad5dc136d8a7f3299d523b6'
+         'c917c07f68b945691506c29750db482f'
+         '9d83bd36d209f8d36a11dfbc4fa50819')
 
 build() {
  # get rid of that .wapi errors; thanks to brice
@@ -24,7 +28,7 @@
   cd ${srcdir}/${pkgname}-${pkgver}
   #sed -i 's|/bin/sh|\0\nexport MONO_PATH=${MONO_PATH}:/opt/mono/lib/mono/1.0|' scripts/script.in
   ./configure --prefix=/usr --sysconfdir=/etc
-  make || return 1
+  make
  # tweak the xsp shellscript to grab system dll's
   for script in scripts/*2; do
     sed -i 's|/usr/lib/mono/1.0|/usr/lib/mono/2.0|' $script
@@ -43,12 +47,6 @@
   rm -rf ${pkgdir}/usr/share
   chown -R http:http ${pkgdir}/srv/http/html/${pkgname}
 
- # install a deamon
-  install -D -m755 ${srcdir}/${pkgname}.rc.d \
-    ${pkgdir}/etc/rc.d/${pkgname}
- # install a deamon configurationfile
-  install -D -m644 ${srcdir}/$pkgname.conf.d \
-    ${pkgdir}/etc/conf.d/${pkgname}
  # install a xsp configuration home
   install -D -m644 ${srcdir}/${pkgname}.webapp \
     ${pkgdir}/etc/${pkgname}/${pkgname}.webapp
@@ -57,8 +55,3 @@
   install -D -m644 ${srcdir}/${pkgname}.service \
     ${pkgdir}/usr/lib/systemd/system/xsp.service
 }
-md5sums=('4fe62fc95ad5dc136d8a7f3299d523b6'
-         '9575bd7d6f64d51ba05bdd6370665858'
-         '35d921df0fefc30f47a438c95d420efc'
-         'c917c07f68b945691506c29750db482f'
-         '9d83bd36d209f8d36a11dfbc4fa50819')

Deleted: xsp.conf.d
===================================================================
--- xsp.conf.d	2013-05-31 15:36:58 UTC (rev 186899)
+++ xsp.conf.d	2013-05-31 15:49:43 UTC (rev 186900)
@@ -1,10 +0,0 @@
-# xsp options
-
-
-# note that is just the helping app for mod_mono if you like production like
-# quality
-# xsp is for ASP testing mainly  -- read the manpage for xsp to know what
-# options are available. Archlinux will provide xsp configured by a .webapp
-# configuration file which rests in /etc/xsp
-
-XSP_PARAMS="--appconfigdir /etc/xsp"

Deleted: xsp.rc.d
===================================================================
--- xsp.rc.d	2013-05-31 15:36:58 UTC (rev 186899)
+++ xsp.rc.d	2013-05-31 15:49:43 UTC (rev 186900)
@@ -1,40 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-# source application-specific settings
-[ -f /etc/conf.d/xsp ] && . /etc/conf.d/xsp
-
-PID=`pidof -o %PPID /usr/bin/mono`
-case "$1" in
-  start)
-    stat_busy "Starting Xsp Daemon"
-    if [ -z "$PID" ]; then 
-       /usr/bin/xsp $XSP_PARAMS --nonstop &> /dev/null &
-    fi
-    if [ ! -z "$PID" -o $? -gt 0 ]; then
-      stat_fail
-    else
-      add_daemon xsp
-      stat_done
-    fi
-    ;;
-  stop)
-    stat_busy "Stopping Xsp Daemon"
-    [ ! -z "$PID" ]  && kill $PID &> /dev/null
-    if [ $? -gt 0 ]; then
-      stat_fail
-    else
-      rm_daemon xsp
-      stat_done
-    fi
-    ;;
-  restart)
-    $0 stop
-    sleep 1
-    $0 start
-    ;;
-  *)
-    echo "usage: $0 {start|stop|restart}"
-esac




More information about the arch-commits mailing list