[arch-commits] Commit in quassel/repos (20 files)

Jelle van der Waa jelle at nymeria.archlinux.org
Sun May 26 15:25:26 EDT 2013


    Date: Sunday, May 26, 2013 @ 21:25:26
  Author: jelle
Revision: 91733

archrelease: copy trunk to community-i686, community-x86_64

Added:
  quassel/repos/community-i686/PKGBUILD
    (from rev 91732, quassel/trunk/PKGBUILD)
  quassel/repos/community-i686/quassel-client.install
    (from rev 91732, quassel/trunk/quassel-client.install)
  quassel/repos/community-i686/quassel.conf
    (from rev 91732, quassel/trunk/quassel.conf)
  quassel/repos/community-i686/quassel.install
    (from rev 91732, quassel/trunk/quassel.install)
  quassel/repos/community-i686/quassel.service
    (from rev 91732, quassel/trunk/quassel.service)
  quassel/repos/community-x86_64/PKGBUILD
    (from rev 91732, quassel/trunk/PKGBUILD)
  quassel/repos/community-x86_64/quassel-client.install
    (from rev 91732, quassel/trunk/quassel-client.install)
  quassel/repos/community-x86_64/quassel.conf
    (from rev 91732, quassel/trunk/quassel.conf)
  quassel/repos/community-x86_64/quassel.install
    (from rev 91732, quassel/trunk/quassel.install)
  quassel/repos/community-x86_64/quassel.service
    (from rev 91732, quassel/trunk/quassel.service)
Deleted:
  quassel/repos/community-i686/PKGBUILD
  quassel/repos/community-i686/quassel.conf
  quassel/repos/community-i686/quassel.install
  quassel/repos/community-i686/quassel.service
  quassel/repos/community-i686/rc.quassel
  quassel/repos/community-x86_64/PKGBUILD
  quassel/repos/community-x86_64/quassel.conf
  quassel/repos/community-x86_64/quassel.install
  quassel/repos/community-x86_64/quassel.service
  quassel/repos/community-x86_64/rc.quassel

-----------------------------------------+
 /PKGBUILD                               |  180 ++++++++++++++++++++++++++++++
 /quassel.conf                           |    4 
 /quassel.install                        |   42 +++++++
 /quassel.service                        |   24 ++++
 community-i686/PKGBUILD                 |   50 --------
 community-i686/quassel-client.install   |    9 +
 community-i686/quassel.conf             |    2 
 community-i686/quassel.install          |   26 ----
 community-i686/quassel.service          |   12 --
 community-i686/rc.quassel               |   41 ------
 community-x86_64/PKGBUILD               |   50 --------
 community-x86_64/quassel-client.install |    9 +
 community-x86_64/quassel.conf           |    2 
 community-x86_64/quassel.install        |   26 ----
 community-x86_64/quassel.service        |   12 --
 community-x86_64/rc.quassel             |   41 ------
 16 files changed, 268 insertions(+), 262 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2013-05-26 19:21:59 UTC (rev 91732)
+++ community-i686/PKGBUILD	2013-05-26 19:25:26 UTC (rev 91733)
@@ -1,50 +0,0 @@
-# $Id$
-# Maintainer: Vesa Kaihlavirta <vegai at iki.fi>
-# Maintainer: Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
-
-pkgname=quassel
-pkgver=0.8.0
-pkgrel=2
-pkgdesc="QT4 irc client with a separated core"
-arch=('i686' 'x86_64')
-url="http://quassel-irc.org/"
-license=('GPL')
-depends=('kdebase-runtime')
-makedepends=('cmake' 'automoc4')
-install=quassel.install
-backup=(etc/conf.d/quassel)
-source=("http://quassel-irc.org/pub/$pkgname-$pkgver.tar.bz2"
-        'quassel.service'
-        'rc.quassel'
-        'quassel.conf')
-sha256sums=('a3515bd18e2b100eb9a72480e76b1faefaa5e84cdb236b6af1f05b477a1e9071'
-            '91a1aaae47d41c11aa418dd560039ddbbfb659e02b86379d8c4789c5ada362d3'
-            '845e621448a51ec181554e9327bfcc3a3de1501ae8f70410f0b9b8991ac171b0'
-            'f3031ea8217e01ba42cea14606169e3e27affa5918968ffd5a03c21ae92fe2b8')
-
-build() {
-  [[ ! -d build ]] && mkdir build
-  cd build
-
-  cmake \
-    -DCMAKE_INSTALL_PREFIX=/usr/ \
-    -DWITH_KDE=1 \
-    -DCMAKE_BUILD_TYPE="Release" \
-    ../${pkgname}-${pkgver}/ \
-    -Wno-dev
-
-  make
-}
-
-package() {
-  cd build
-
-  make DESTDIR="${pkgdir}" install
-
-  install -Dm644 "${srcdir}"/$pkgname.service \
-    "${pkgdir}"/usr/lib/systemd/system/$pkgname.service
-  install -D "${srcdir}"/rc.$pkgname \
-    "${pkgdir}"/etc/rc.d/$pkgname
-  install -Dm644 "${srcdir}"/$pkgname.conf \
-    "${pkgdir}"/etc/conf.d/$pkgname
-}

Copied: quassel/repos/community-i686/PKGBUILD (from rev 91732, quassel/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2013-05-26 19:25:26 UTC (rev 91733)
@@ -0,0 +1,90 @@
+# $Id$
+# Maintainer: Vesa Kaihlavirta <vegai at iki.fi>
+# Maintainer: Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
+
+pkgbase=quassel
+pkgname=('quassel-client' 'quassel-core')
+pkgver=0.9.0
+pkgrel=1
+pkgdesc="QT4 irc client with a separated core"
+arch=('i686' 'x86_64')
+url="http://quassel-irc.org/"
+license=('GPL')
+makedepends=('cmake' 'automoc4' 'qt4' 'icu')
+source=("http://quassel-irc.org/pub/quassel-$pkgver.tar.bz2"
+        'quassel.service'
+        'quassel.conf')
+
+sha256sums=('2e3fe06ae3731c829aa3c2f6bb5320619bad264c831f322985c3aa3fe58b6027'
+            '91a1aaae47d41c11aa418dd560039ddbbfb659e02b86379d8c4789c5ada362d3'
+            'f3031ea8217e01ba42cea14606169e3e27affa5918968ffd5a03c21ae92fe2b8')
+build() {
+  cd $srcdir
+  [[ ! -d build ]] && mkdir build
+  mkdir build-client
+
+  # Core
+  cd build
+
+  cmake \
+    -DCMAKE_INSTALL_PREFIX=/usr/ \
+    -DWITH_KDE=0 \
+    -DCMAKE_BUILD_TYPE="Release" \
+    -DWITH_OPENSSL=ON \
+    -DWANT_CORE=ON \
+    -DWANT_MONO=OFF \
+    -DWANT_QTCLIENT=OFF \
+    -DWITH_DBUS=OFF \
+    -DWITH_OXYGEN=OFF \
+    -DWITH_PHONON=OFF \
+    -DWITH_WEBKIT=OFF \
+    -DCMAKE_BUILD_TYPE="Release" \
+    ../quassel-${pkgver}/ \
+    -Wno-dev
+
+  make
+
+  # Client
+  cd $srcdir/build-client
+  cmake \
+    -DCMAKE_INSTALL_PREFIX=/usr/ \
+    -DWITH_KDE=0 \
+    -DWITH_OPENSSL=ON \
+    -DCMAKE_BUILD_TYPE="Release" \
+    -DWANT_CORE=OFF \
+    -DWANT_QTCLIENT=ON \
+    -DWANT_MONO=ON \
+    ../quassel-${pkgver}/ \
+    -Wno-dev
+
+  make
+  
+}
+
+package_quassel-core() {
+pkgdesc="Qt4 IRC client with a separated core - core only"
+depends=('qt4' 'icu')
+backup=(etc/conf.d/quassel)
+install=quassel.install
+  cd $srcdir/build
+
+  make DESTDIR="${pkgdir}" install
+  
+  # Remove unneeded pixmap icons
+  rm -r $pkgdir/usr/share
+
+
+  install -Dm644 "${srcdir}"/$pkgbase.service \
+    "${pkgdir}"/usr/lib/systemd/system/$pkgbase.service
+  install -Dm644 "${srcdir}"/$pkgbase.conf \
+    "${pkgdir}"/etc/conf.d/$pkgbase
+}
+
+package_quassel-client() {
+pkgdesc="Qt4 IRC client with a separated core - client only"
+depends=('qt4')
+install=quassel-client.install
+  cd $srcdir/build-client
+
+  make DESTDIR=${pkgdir} install
+}

Copied: quassel/repos/community-i686/quassel-client.install (from rev 91732, quassel/trunk/quassel-client.install)
===================================================================
--- community-i686/quassel-client.install	                        (rev 0)
+++ community-i686/quassel-client.install	2013-05-26 19:25:26 UTC (rev 91733)
@@ -0,0 +1,9 @@
+post_install() {
+  xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+post_upgrade() {
+    post_install
+}
+post_remove() {
+    post_install
+}

Deleted: community-i686/quassel.conf
===================================================================
--- community-i686/quassel.conf	2013-05-26 19:21:59 UTC (rev 91732)
+++ community-i686/quassel.conf	2013-05-26 19:25:26 UTC (rev 91733)
@@ -1,2 +0,0 @@
-QUASSEL_USER=quassel
-LISTEN=127.0.0.1

Copied: quassel/repos/community-i686/quassel.conf (from rev 91732, quassel/trunk/quassel.conf)
===================================================================
--- community-i686/quassel.conf	                        (rev 0)
+++ community-i686/quassel.conf	2013-05-26 19:25:26 UTC (rev 91733)
@@ -0,0 +1,2 @@
+QUASSEL_USER=quassel
+LISTEN=127.0.0.1

Deleted: community-i686/quassel.install
===================================================================
--- community-i686/quassel.install	2013-05-26 19:21:59 UTC (rev 91732)
+++ community-i686/quassel.install	2013-05-26 19:25:26 UTC (rev 91733)
@@ -1,26 +0,0 @@
-post_install() {
-  useradd -r -s /bin/sh -d /var/lib/quassel quassel
-  mkdir -p /var/lib/quassel && chown -R quassel:quassel /var/lib/quassel
-  xdg-icon-resource forceupdate --theme hicolor &> /dev/null
-}
-
-post_upgrade() {
-  [ `vercmp $2 0.5.2-1` -le 0 ] && (
-    cat <<EOF
-
-==> - quasselcore now runs as the quassel user
-==> - quasselcore now listens to port 127.0.0.1 by default
-==> - both of above are configurable: /etc/conf.d/quassel
-EOF
-    /etc/rc.d/quassel stop
-    post_install
-  ) || true
-}
-
-pre_remove() {
-  /etc/rc.d/quassel stop
-}
-
-post_remove() {
-  userdel quassel
-}

Copied: quassel/repos/community-i686/quassel.install (from rev 91732, quassel/trunk/quassel.install)
===================================================================
--- community-i686/quassel.install	                        (rev 0)
+++ community-i686/quassel.install	2013-05-26 19:25:26 UTC (rev 91733)
@@ -0,0 +1,21 @@
+post_install() {
+  useradd -r -s /bin/sh -d /var/lib/quassel quassel
+  mkdir -p /var/lib/quassel && chown -R quassel:quassel /var/lib/quassel
+#  xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+  [ `vercmp $2 0.5.2-1` -le 0 ] && (
+    cat <<EOF
+
+==> - quasselcore now runs as the quassel user
+==> - quasselcore now listens to port 127.0.0.1 by default
+==> - both of above are configurable: /etc/conf.d/quassel
+EOF
+    post_install
+  ) || true
+}
+
+post_remove() {
+  userdel quassel
+}

Deleted: community-i686/quassel.service
===================================================================
--- community-i686/quassel.service	2013-05-26 19:21:59 UTC (rev 91732)
+++ community-i686/quassel.service	2013-05-26 19:25:26 UTC (rev 91733)
@@ -1,12 +0,0 @@
-[Unit]
-Description=Quassel core service
-After=network.target
-
-[Service]
-Type=simple
-User=quassel
-Group=quassel
-ExecStart=/usr/bin/quasselcore --configdir=/var/lib/quassel --listen=0.0.0.0
-
-[Install]
-WantedBy=multi-user.target

Copied: quassel/repos/community-i686/quassel.service (from rev 91732, quassel/trunk/quassel.service)
===================================================================
--- community-i686/quassel.service	                        (rev 0)
+++ community-i686/quassel.service	2013-05-26 19:25:26 UTC (rev 91733)
@@ -0,0 +1,12 @@
+[Unit]
+Description=Quassel core service
+After=network.target
+
+[Service]
+Type=simple
+User=quassel
+Group=quassel
+ExecStart=/usr/bin/quasselcore --configdir=/var/lib/quassel --listen=0.0.0.0
+
+[Install]
+WantedBy=multi-user.target

Deleted: community-i686/rc.quassel
===================================================================
--- community-i686/rc.quassel	2013-05-26 19:21:59 UTC (rev 91732)
+++ community-i686/rc.quassel	2013-05-26 19:25:26 UTC (rev 91733)
@@ -1,41 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-. /etc/conf.d/quassel
-
-PIDFILE=/var/run/quassel.pid
-PID=`pidof -o %PPID /usr/bin/quasselcore`
-
-case "$1" in
-  start)
-    stat_busy "Starting Quassel Core"
-    [ -z "$PID" ] && su -l -c "/usr/bin/quasselcore --configdir=/var/lib/quassel --listen=$LISTEN &" $QUASSEL_USER &>/dev/null
-    if [ $? -gt 0 ]; then
-      stat_fail
-    else
-      echo $PID > $PIDFILE
-      add_daemon quassel
-      stat_done
-    fi
-    ;;
-  stop)
-    stat_busy "Stopping Quassel Core"
-    [ ! -z "$PID" ]  && kill $PID &> /dev/null
-    if [ $? -gt 0 ]; then
-      stat_fail
-    else
-      rm -f $PIDFILE
-      rm_daemon quassel
-      stat_done
-    fi
-    ;;
-  restart)
-    $0 stop
-    sleep 1
-    $0 start
-    ;;
-  *)
-    echo "usage: $0 {start|stop|restart}"  
-esac
-exit 0

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2013-05-26 19:21:59 UTC (rev 91732)
+++ community-x86_64/PKGBUILD	2013-05-26 19:25:26 UTC (rev 91733)
@@ -1,50 +0,0 @@
-# $Id$
-# Maintainer: Vesa Kaihlavirta <vegai at iki.fi>
-# Maintainer: Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
-
-pkgname=quassel
-pkgver=0.8.0
-pkgrel=2
-pkgdesc="QT4 irc client with a separated core"
-arch=('i686' 'x86_64')
-url="http://quassel-irc.org/"
-license=('GPL')
-depends=('kdebase-runtime')
-makedepends=('cmake' 'automoc4')
-install=quassel.install
-backup=(etc/conf.d/quassel)
-source=("http://quassel-irc.org/pub/$pkgname-$pkgver.tar.bz2"
-        'quassel.service'
-        'rc.quassel'
-        'quassel.conf')
-sha256sums=('a3515bd18e2b100eb9a72480e76b1faefaa5e84cdb236b6af1f05b477a1e9071'
-            '91a1aaae47d41c11aa418dd560039ddbbfb659e02b86379d8c4789c5ada362d3'
-            '845e621448a51ec181554e9327bfcc3a3de1501ae8f70410f0b9b8991ac171b0'
-            'f3031ea8217e01ba42cea14606169e3e27affa5918968ffd5a03c21ae92fe2b8')
-
-build() {
-  [[ ! -d build ]] && mkdir build
-  cd build
-
-  cmake \
-    -DCMAKE_INSTALL_PREFIX=/usr/ \
-    -DWITH_KDE=1 \
-    -DCMAKE_BUILD_TYPE="Release" \
-    ../${pkgname}-${pkgver}/ \
-    -Wno-dev
-
-  make
-}
-
-package() {
-  cd build
-
-  make DESTDIR="${pkgdir}" install
-
-  install -Dm644 "${srcdir}"/$pkgname.service \
-    "${pkgdir}"/usr/lib/systemd/system/$pkgname.service
-  install -D "${srcdir}"/rc.$pkgname \
-    "${pkgdir}"/etc/rc.d/$pkgname
-  install -Dm644 "${srcdir}"/$pkgname.conf \
-    "${pkgdir}"/etc/conf.d/$pkgname
-}

Copied: quassel/repos/community-x86_64/PKGBUILD (from rev 91732, quassel/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2013-05-26 19:25:26 UTC (rev 91733)
@@ -0,0 +1,90 @@
+# $Id$
+# Maintainer: Vesa Kaihlavirta <vegai at iki.fi>
+# Maintainer: Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
+
+pkgbase=quassel
+pkgname=('quassel-client' 'quassel-core')
+pkgver=0.9.0
+pkgrel=1
+pkgdesc="QT4 irc client with a separated core"
+arch=('i686' 'x86_64')
+url="http://quassel-irc.org/"
+license=('GPL')
+makedepends=('cmake' 'automoc4' 'qt4' 'icu')
+source=("http://quassel-irc.org/pub/quassel-$pkgver.tar.bz2"
+        'quassel.service'
+        'quassel.conf')
+
+sha256sums=('2e3fe06ae3731c829aa3c2f6bb5320619bad264c831f322985c3aa3fe58b6027'
+            '91a1aaae47d41c11aa418dd560039ddbbfb659e02b86379d8c4789c5ada362d3'
+            'f3031ea8217e01ba42cea14606169e3e27affa5918968ffd5a03c21ae92fe2b8')
+build() {
+  cd $srcdir
+  [[ ! -d build ]] && mkdir build
+  mkdir build-client
+
+  # Core
+  cd build
+
+  cmake \
+    -DCMAKE_INSTALL_PREFIX=/usr/ \
+    -DWITH_KDE=0 \
+    -DCMAKE_BUILD_TYPE="Release" \
+    -DWITH_OPENSSL=ON \
+    -DWANT_CORE=ON \
+    -DWANT_MONO=OFF \
+    -DWANT_QTCLIENT=OFF \
+    -DWITH_DBUS=OFF \
+    -DWITH_OXYGEN=OFF \
+    -DWITH_PHONON=OFF \
+    -DWITH_WEBKIT=OFF \
+    -DCMAKE_BUILD_TYPE="Release" \
+    ../quassel-${pkgver}/ \
+    -Wno-dev
+
+  make
+
+  # Client
+  cd $srcdir/build-client
+  cmake \
+    -DCMAKE_INSTALL_PREFIX=/usr/ \
+    -DWITH_KDE=0 \
+    -DWITH_OPENSSL=ON \
+    -DCMAKE_BUILD_TYPE="Release" \
+    -DWANT_CORE=OFF \
+    -DWANT_QTCLIENT=ON \
+    -DWANT_MONO=ON \
+    ../quassel-${pkgver}/ \
+    -Wno-dev
+
+  make
+  
+}
+
+package_quassel-core() {
+pkgdesc="Qt4 IRC client with a separated core - core only"
+depends=('qt4' 'icu')
+backup=(etc/conf.d/quassel)
+install=quassel.install
+  cd $srcdir/build
+
+  make DESTDIR="${pkgdir}" install
+  
+  # Remove unneeded pixmap icons
+  rm -r $pkgdir/usr/share
+
+
+  install -Dm644 "${srcdir}"/$pkgbase.service \
+    "${pkgdir}"/usr/lib/systemd/system/$pkgbase.service
+  install -Dm644 "${srcdir}"/$pkgbase.conf \
+    "${pkgdir}"/etc/conf.d/$pkgbase
+}
+
+package_quassel-client() {
+pkgdesc="Qt4 IRC client with a separated core - client only"
+depends=('qt4')
+install=quassel-client.install
+  cd $srcdir/build-client
+
+  make DESTDIR=${pkgdir} install
+}

Copied: quassel/repos/community-x86_64/quassel-client.install (from rev 91732, quassel/trunk/quassel-client.install)
===================================================================
--- community-x86_64/quassel-client.install	                        (rev 0)
+++ community-x86_64/quassel-client.install	2013-05-26 19:25:26 UTC (rev 91733)
@@ -0,0 +1,9 @@
+post_install() {
+  xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+post_upgrade() {
+    post_install
+}
+post_remove() {
+    post_install
+}

Deleted: community-x86_64/quassel.conf
===================================================================
--- community-x86_64/quassel.conf	2013-05-26 19:21:59 UTC (rev 91732)
+++ community-x86_64/quassel.conf	2013-05-26 19:25:26 UTC (rev 91733)
@@ -1,2 +0,0 @@
-QUASSEL_USER=quassel
-LISTEN=127.0.0.1

Copied: quassel/repos/community-x86_64/quassel.conf (from rev 91732, quassel/trunk/quassel.conf)
===================================================================
--- community-x86_64/quassel.conf	                        (rev 0)
+++ community-x86_64/quassel.conf	2013-05-26 19:25:26 UTC (rev 91733)
@@ -0,0 +1,2 @@
+QUASSEL_USER=quassel
+LISTEN=127.0.0.1

Deleted: community-x86_64/quassel.install
===================================================================
--- community-x86_64/quassel.install	2013-05-26 19:21:59 UTC (rev 91732)
+++ community-x86_64/quassel.install	2013-05-26 19:25:26 UTC (rev 91733)
@@ -1,26 +0,0 @@
-post_install() {
-  useradd -r -s /bin/sh -d /var/lib/quassel quassel
-  mkdir -p /var/lib/quassel && chown -R quassel:quassel /var/lib/quassel
-  xdg-icon-resource forceupdate --theme hicolor &> /dev/null
-}
-
-post_upgrade() {
-  [ `vercmp $2 0.5.2-1` -le 0 ] && (
-    cat <<EOF
-
-==> - quasselcore now runs as the quassel user
-==> - quasselcore now listens to port 127.0.0.1 by default
-==> - both of above are configurable: /etc/conf.d/quassel
-EOF
-    /etc/rc.d/quassel stop
-    post_install
-  ) || true
-}
-
-pre_remove() {
-  /etc/rc.d/quassel stop
-}
-
-post_remove() {
-  userdel quassel
-}

Copied: quassel/repos/community-x86_64/quassel.install (from rev 91732, quassel/trunk/quassel.install)
===================================================================
--- community-x86_64/quassel.install	                        (rev 0)
+++ community-x86_64/quassel.install	2013-05-26 19:25:26 UTC (rev 91733)
@@ -0,0 +1,21 @@
+post_install() {
+  useradd -r -s /bin/sh -d /var/lib/quassel quassel
+  mkdir -p /var/lib/quassel && chown -R quassel:quassel /var/lib/quassel
+#  xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+  [ `vercmp $2 0.5.2-1` -le 0 ] && (
+    cat <<EOF
+
+==> - quasselcore now runs as the quassel user
+==> - quasselcore now listens to port 127.0.0.1 by default
+==> - both of above are configurable: /etc/conf.d/quassel
+EOF
+    post_install
+  ) || true
+}
+
+post_remove() {
+  userdel quassel
+}

Deleted: community-x86_64/quassel.service
===================================================================
--- community-x86_64/quassel.service	2013-05-26 19:21:59 UTC (rev 91732)
+++ community-x86_64/quassel.service	2013-05-26 19:25:26 UTC (rev 91733)
@@ -1,12 +0,0 @@
-[Unit]
-Description=Quassel core service
-After=network.target
-
-[Service]
-Type=simple
-User=quassel
-Group=quassel
-ExecStart=/usr/bin/quasselcore --configdir=/var/lib/quassel --listen=0.0.0.0
-
-[Install]
-WantedBy=multi-user.target

Copied: quassel/repos/community-x86_64/quassel.service (from rev 91732, quassel/trunk/quassel.service)
===================================================================
--- community-x86_64/quassel.service	                        (rev 0)
+++ community-x86_64/quassel.service	2013-05-26 19:25:26 UTC (rev 91733)
@@ -0,0 +1,12 @@
+[Unit]
+Description=Quassel core service
+After=network.target
+
+[Service]
+Type=simple
+User=quassel
+Group=quassel
+ExecStart=/usr/bin/quasselcore --configdir=/var/lib/quassel --listen=0.0.0.0
+
+[Install]
+WantedBy=multi-user.target

Deleted: community-x86_64/rc.quassel
===================================================================
--- community-x86_64/rc.quassel	2013-05-26 19:21:59 UTC (rev 91732)
+++ community-x86_64/rc.quassel	2013-05-26 19:25:26 UTC (rev 91733)
@@ -1,41 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-. /etc/conf.d/quassel
-
-PIDFILE=/var/run/quassel.pid
-PID=`pidof -o %PPID /usr/bin/quasselcore`
-
-case "$1" in
-  start)
-    stat_busy "Starting Quassel Core"
-    [ -z "$PID" ] && su -l -c "/usr/bin/quasselcore --configdir=/var/lib/quassel --listen=$LISTEN &" $QUASSEL_USER &>/dev/null
-    if [ $? -gt 0 ]; then
-      stat_fail
-    else
-      echo $PID > $PIDFILE
-      add_daemon quassel
-      stat_done
-    fi
-    ;;
-  stop)
-    stat_busy "Stopping Quassel Core"
-    [ ! -z "$PID" ]  && kill $PID &> /dev/null
-    if [ $? -gt 0 ]; then
-      stat_fail
-    else
-      rm -f $PIDFILE
-      rm_daemon quassel
-      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