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

Gaetan Bisson bisson at nymeria.archlinux.org
Mon May 13 06:09:21 EDT 2013


    Date: Monday, May 13, 2013 @ 12:09:21
  Author: bisson
Revision: 185325

remove deprecated rc script

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

----------+
 PKGBUILD |   10 ++--------
 conf.d   |    5 -----
 rc.d     |   37 -------------------------------------
 3 files changed, 2 insertions(+), 50 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-13 10:08:45 UTC (rev 185324)
+++ PKGBUILD	2013-05-13 10:09:21 UTC (rev 185325)
@@ -13,13 +13,9 @@
 optdepends=('tk: for GUI support')
 backup=('etc/conf.d/x11vnc')
 source=("http://downloads.sourceforge.net/project/libvncserver/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz"
-        'service'
-        'conf.d'
-        'rc.d')
+        'service')
 sha1sums=('f011d81488ac94dc8dce2d88739c23bd85a976fa'
-          '53e1ed7f84518a699a29607a03bee2321f9f9624'
-          '11011cce06511e9ba61672a1c80bb63a3a187539'
-          '477892cf0f0020043444b7493c80684762ded506')
+          '53e1ed7f84518a699a29607a03bee2321f9f9624')
 
 build() {
 	cd "${srcdir}/${pkgname}-${pkgver}"
@@ -30,8 +26,6 @@
 package() {
 	cd "${srcdir}/${pkgname}-${pkgver}"
 	make DESTDIR="${pkgdir}" install
-	install -Dm755 ../rc.d "${pkgdir}/etc/rc.d/x11vnc"
-	install -Dm644 ../conf.d "${pkgdir}/etc/conf.d/x11vnc"
 	install -Dm644 ../service "${pkgdir}/usr/lib/systemd/system/x11vnc.service"
 	rm -fr "${pkgdir}"/usr/include/rfb # provided by libvncserver
 }

Deleted: conf.d
===================================================================
--- conf.d	2013-05-13 10:08:45 UTC (rev 185324)
+++ conf.d	2013-05-13 10:09:21 UTC (rev 185325)
@@ -1,5 +0,0 @@
-#
-# Parameters to be passed to x11vnc
-#
-
-X11VNC_ARGS=""

Deleted: rc.d
===================================================================
--- rc.d	2013-05-13 10:08:45 UTC (rev 185324)
+++ rc.d	2013-05-13 10:09:21 UTC (rev 185325)
@@ -1,37 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-. /etc/conf.d/x11vnc
-
-PID=$(pidof -o %PPID /usr/bin/x11vnc)
-case "$1" in
-  start)
-    stat_busy "Starting x11vnc"
-    [[ -z "$PID" ]] && /usr/bin/x11vnc $X11VNC_ARGS &> /dev/null &
-    if [[ $? -gt 0 ]]; then
-      stat_fail
-    else
-      add_daemon x11vnc
-      stat_done
-    fi
-    ;;
-  stop)
-    stat_busy "Stopping x11vnc"
-    [[ ! -z "$PID" ]]  && kill $PID &> /dev/null
-    if [[ $? -gt 0 ]]; then
-      stat_fail
-    else
-      rm_daemon x11vnc
-      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