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

Lukas Fleischer lfleischer at nymeria.archlinux.org
Mon May 13 04:02:23 EDT 2013


    Date: Monday, May 13, 2013 @ 10:02:23
  Author: lfleischer
Revision: 90560

upgpkg: minbif 1.0.5-3

Remove rc.d script.

Modified:
  minbif/trunk/PKGBUILD
Deleted:
  minbif/trunk/minbif

----------+
 PKGBUILD |    5 +----
 minbif   |   49 -------------------------------------------------
 2 files changed, 1 insertion(+), 53 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-13 07:47:15 UTC (rev 90559)
+++ PKGBUILD	2013-05-13 08:02:23 UTC (rev 90560)
@@ -4,7 +4,7 @@
 
 pkgname=minbif
 pkgver=1.0.5
-pkgrel=2
+pkgrel=3
 pkgdesc='An IRC gateway to IM networks that uses libpurple.'
 arch=('i686' 'x86_64')
 url='http://minbif.im/'
@@ -17,12 +17,10 @@
 install='minbif.install'
 source=("http://minbif.im/attachments/download/148/${pkgname}-${pkgver}.tar.gz"
         'minbif-gcc-4.7.patch'
-        'minbif'
         'minbif.service'
         'minbif.tmpfiles.conf')
 md5sums=('00c5c1abbe2b8a9d900961832c7909a8'
          '2235c45d5bdb01e9ef4b11d2a41d49bb'
-         '307a6fab42bcaeed11a55b5fb4589778'
          'b34876e339a37dfb1dc6cd0b9d8edf9d'
          '3360f5d1bf9bc69fd9b7c9326f321dc3')
 
@@ -42,7 +40,6 @@
   install -dm0755 "${pkgdir}/var/lib"
   install -dm0770 -o67 -g67 "${pkgdir}/var/lib/minbif"
   install -dm0770 -o67 -g67 "${pkgdir}/var/lib/minbif/users"
-  install -Dm0755 "${srcdir}/minbif" "${pkgdir}/etc/rc.d/minbif"
 
   make DESTDIR="${pkgdir}" install
 

Deleted: minbif
===================================================================
--- minbif	2013-05-13 07:47:15 UTC (rev 90559)
+++ minbif	2013-05-13 08:02:23 UTC (rev 90560)
@@ -1,49 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-PID=`pidof -o %PPID /usr/bin/minbif`
-case "$1" in
-  start)
-    stat_busy "Starting minbif daemon"
-    if [ -z "$PID" ]; then
-      if [ ! -d /var/run/minbif ]; then
-        mkdir -p /var/run/minbif && chown minbif:minbif /var/run/minbif
-      fi
-      [ -f /var/run/minbif/minbif.pid ] && rm -f /var/run/minbif/minbif.pid
-      CMD='/usr/bin/minbif --pidfile /var/run/minbif/minbif.pid \
-                           /etc/minbif/minbif.conf'
-      su -s /bin/sh -c "$CMD" minbif
-
-      if [ $? -gt 0 ]; then
-        stat_fail
-      else
-        add_daemon minbif
-        stat_done
-      fi
-    else
-      stat_fail
-    fi
-    ;;
-
-  stop)
-    stat_busy "Stopping minbif daemon"
-    [ ! -z "$PID" ] && kill $PID &> /dev/null
-    if [ $? -gt 0 ]; then
-      stat_fail
-    else
-      rm -f /var/run/minbif/minbif.pid
-      rm_daemon minbif
-      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