[arch-commits] Commit in dspam/trunk (PKGBUILD dspam)

Sergej Pupykin spupykin at nymeria.archlinux.org
Mon May 13 10:22:14 EDT 2013


    Date: Monday, May 13, 2013 @ 16:22:14
  Author: spupykin
Revision: 90660

upgpkg: dspam 3.10.2-5

upd

Modified:
  dspam/trunk/PKGBUILD
Deleted:
  dspam/trunk/dspam

----------+
 PKGBUILD |    6 +-----
 dspam    |   37 -------------------------------------
 2 files changed, 1 insertion(+), 42 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-13 14:22:06 UTC (rev 90659)
+++ PKGBUILD	2013-05-13 14:22:14 UTC (rev 90660)
@@ -4,7 +4,7 @@
 
 pkgname=dspam
 pkgver=3.10.2
-pkgrel=4
+pkgrel=5
 pkgdesc="A scalable, open-source statistical anti-spam filter"
 arch=('i686' 'x86_64')
 url="http://dspam.nuclearelephant.com/"
@@ -24,13 +24,11 @@
 install=$pkgname.install
 source=(http://downloads.sourceforge.net/project/dspam/dspam/dspam-$pkgver/dspam-$pkgver.tar.gz
 	dspam.logrotated
-	dspam
 	dspam.service
 	dspam.tmpfiles
 	dspam_maintenance.cron)
 md5sums=('0e0e405d3284485b2a43f47eaf6b09bb'
          'cec7e3df4cbc6feca387fb516a5b3490'
-         'bb2300eff5b2a6eb987750c71a2c2169'
          '1581a94598cec370b66f37b118970676'
          '933643f2204ccbd7e451a439f83db1ea'
          'ebfb0fec16a56f6e1a3a61ced2d5015d')
@@ -58,10 +56,8 @@
   find $pkgdir/srv/http/dspam/ -type f -name '*.in' -exec rm -f {} \;
 
   install -d $pkgdir/etc/logrotate.d \
-	     $pkgdir/etc/rc.d \
 	     $pkgdir/usr/share/dspam/{mysql,pgsql}
   install -m644 ../dspam.logrotated $pkgdir/etc/logrotate.d/dspam
-  install -m755 ../dspam $pkgdir/etc/rc.d
 
   sed -i 's|#ServerPID|ServerPID|' $pkgdir/etc/dspam/dspam.conf
 

Deleted: dspam
===================================================================
--- dspam	2013-05-13 14:22:06 UTC (rev 90659)
+++ dspam	2013-05-13 14:22:14 UTC (rev 90660)
@@ -1,37 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-PID=`pidof -o %PPID /usr/bin/dspam`
-case "$1" in
-  start)
-    stat_busy "Starting DSPAM Daemon"
-    [ -d /var/run/dspam ] || mkdir -p /var/run/dspam
-    [ -z "$PID" ] && /usr/bin/dspam --daemon &> /dev/null &
-    if [ $? -gt 0 ]; then
-      stat_fail
-    else
-      add_daemon dspam
-      stat_done
-    fi
-    ;;
-  stop)
-    stat_busy "Stopping DSPAM Daemon"
-    [ ! -z "$PID" ]  && kill $PID &> /dev/null
-    if [ $? -gt 0 ]; then
-      stat_fail
-    else
-      rm_daemon dspam
-      stat_done
-    fi
-    ;;
-  restart)
-    $0 stop
-    sleep 1
-    $0 start
-    ;;
-  *)
-    echo "usage: $0 {start|stop|restart}"
-esac
-exit 0



More information about the arch-commits mailing list