From 60e239e45c6bf216daca2acd8f17fd05e9bc2e60 Mon Sep 17 00:00:00 2001
From: James Meyer <jams@linhes.org>
Date: Thu, 16 Dec 2010 16:55:41 +0000
Subject: runit-scripts: removed ncid ncidd.  These will move to the ncid pkg
 refs:#701 closes:#701

---
 abs/core/runit-scripts/PKGBUILD                     |  2 +-
 abs/core/runit-scripts/runit.install                |  2 +-
 .../runit-scripts/runitscripts/services/ncid/finish |  9 ---------
 .../runit-scripts/runitscripts/services/ncid/run    | 21 ---------------------
 .../runitscripts/services/ncidd/finish              |  9 ---------
 .../runit-scripts/runitscripts/services/ncidd/run   | 13 -------------
 6 files changed, 2 insertions(+), 54 deletions(-)
 delete mode 100644 abs/core/runit-scripts/runitscripts/services/ncid/finish
 delete mode 100755 abs/core/runit-scripts/runitscripts/services/ncid/run
 delete mode 100644 abs/core/runit-scripts/runitscripts/services/ncidd/finish
 delete mode 100755 abs/core/runit-scripts/runitscripts/services/ncidd/run

diff --git a/abs/core/runit-scripts/PKGBUILD b/abs/core/runit-scripts/PKGBUILD
index 38adc5c..3476b13 100755
--- a/abs/core/runit-scripts/PKGBUILD
+++ b/abs/core/runit-scripts/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=runit-scripts
 pkgver=2.1.1
-pkgrel=7
+pkgrel=9
 pkgdesc="collection of startup scripts for runit"
 url="http://smarden.org/runit/"
 license="BSD"
diff --git a/abs/core/runit-scripts/runit.install b/abs/core/runit-scripts/runit.install
index 138d498..813d9f2 100755
--- a/abs/core/runit-scripts/runit.install
+++ b/abs/core/runit-scripts/runit.install
@@ -23,7 +23,7 @@ fi
 post_install () {
  
   [ -e /service ] ||  mkdir /service
-  servicelist="acpid cron  frontend  lircd ntpd alsa-utils  avahi   dbus   portmap  sshd syslog-ng tty2 tty3"
+  servicelist="acpid cron  frontend  lircd ntpd alsa-utils  avahi   dbus     sshd syslog-ng tty2 tty3"
   for i in $servicelist
   do
    ln -s /etc/sv/$i /service/$i
diff --git a/abs/core/runit-scripts/runitscripts/services/ncid/finish b/abs/core/runit-scripts/runitscripts/services/ncid/finish
deleted file mode 100644
index 953a4a1..0000000
--- a/abs/core/runit-scripts/runitscripts/services/ncid/finish
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/bash
-exec 2>&1
-which ncid 2>/dev/null >/dev/null
-if [ ! $?  = 0 ]
-then
-	sv down ncid
-fi
-
-
diff --git a/abs/core/runit-scripts/runitscripts/services/ncid/run b/abs/core/runit-scripts/runitscripts/services/ncid/run
deleted file mode 100755
index 44154c7..0000000
--- a/abs/core/runit-scripts/runitscripts/services/ncid/run
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/bin/sh
-exec 2>&1
-export TERM=linux
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-
-which ncid 2>/dev/null >/dev/null
-
-if [ $? = 0 ]
-then
-	if [ -f /var/service/ncidd/run ]
-	then
-		sv start ncidd
-	fi
-
-	stat_runit "Starting callerid client"
-	
-	exec /usr/bin/ncid --no-gui --all  --call-prog --program /usr/bin/ncid.py 127.0.0.1 3333
-fi
-
diff --git a/abs/core/runit-scripts/runitscripts/services/ncidd/finish b/abs/core/runit-scripts/runitscripts/services/ncidd/finish
deleted file mode 100644
index ab39d39..0000000
--- a/abs/core/runit-scripts/runitscripts/services/ncidd/finish
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/bash
-exec 2>&1
-which ncidd 2>/dev/null >/dev/null
-if [ ! $?  = 0 ]
-then
-	sv down ncid
-fi
-
-
diff --git a/abs/core/runit-scripts/runitscripts/services/ncidd/run b/abs/core/runit-scripts/runitscripts/services/ncidd/run
deleted file mode 100755
index 6fff089..0000000
--- a/abs/core/runit-scripts/runitscripts/services/ncidd/run
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/sh
-exec 2>&1
-export TERM=linux
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-which ncidd > /dev/null 2>/dev/null
-if [ $? = 0 ]
-then
-	stat_runit "Starting CallerID"
-	
-	exec /usr/sbin/ncidd -D 2>&1 
-fi
-- 
cgit v0.12

