summaryrefslogtreecommitdiff
path: root/community/ngircd
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2013-06-01 10:28:14 +0200
committerMichał Masłowski <mtjm@mtjm.eu>2013-06-01 10:28:14 +0200
commit6142d9bb383134a876709765fed704815922db18 (patch)
tree9bbbb78a5ce1f8473dbae502634253f80a994331 /community/ngircd
parent0dc1411695376442c13f473499a876f085074d75 (diff)
parentf8a7f10fa1675bee536e1fdb4672c3d84e779d1c (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community/aircrack-ng/PKGBUILD community/fortune-mod/PKGBUILD community/hping/PKGBUILD community/iftop/PKGBUILD community/uml_utilities/PKGBUILD community/unhide/PKGBUILD extra/kismet/PKGBUILD extra/liblo/PKGBUILD extra/libxinerama/PKGBUILD extra/libxp/PKGBUILD extra/libxres/PKGBUILD extra/libxt/PKGBUILD extra/libxtst/PKGBUILD extra/libxxf86vm/PKGBUILD extra/mtr/PKGBUILD extra/transmission/PKGBUILD
Diffstat (limited to 'community/ngircd')
-rw-r--r--community/ngircd/PKGBUILD10
-rw-r--r--community/ngircd/ngircd.service2
-rw-r--r--community/ngircd/ngircd.sh36
3 files changed, 5 insertions, 43 deletions
diff --git a/community/ngircd/PKGBUILD b/community/ngircd/PKGBUILD
index 36a37689f..28db8b57e 100644
--- a/community/ngircd/PKGBUILD
+++ b/community/ngircd/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 84301 2013-02-15 22:17:20Z kkeen $
+# $Id: PKGBUILD 92045 2013-05-31 00:26:55Z seblu $
# Maintainer: Kyle Keen <keenerd@gmail.com>
# Contributor: Mateusz Herych <heniekk@gmail.com>
# Contributor: Alexander Rødseth <rodseth@gmail.com>
pkgname=ngircd
pkgver=20.2
-pkgrel=1
+pkgrel=2
pkgdesc="Next Generation IRC Daemon"
arch=('i686' 'x86_64' 'mips64el')
backup=(etc/ngircd.conf)
@@ -13,17 +13,16 @@ url="http://ngircd.barton.de/"
license=('GPL')
depends=('openssl' 'libident')
source=("http://ngircd.barton.de/pub/ngircd/ngircd-$pkgver.tar.gz"
- ngircd.sh
ngircd.service)
sha256sums=('306c0ef0d2ceac0836a84ecf871a6bc4dd16c25683aa87c0f172b6e68b93357d'
- 'f8c28546090af8ce67471b9b4d577f6926007615356dd11afd2bc16f61d698d5'
- '13ffad9647ef42d1a9c8f01f6208bef9dfe9e0f86dce9a01f72711d813d720a0')
+ 'f02e30f6864ba1130bcc85bedc44ad782687f572c06f10e0501b0ddcf532b404')
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr \
--sysconfdir=/etc \
+ --sbindir=/usr/bin \
--mandir=/usr/share/man \
--with-ident \
--with-openssl \
@@ -35,7 +34,6 @@ package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
- install -Dm 755 ../ngircd.sh "$pkgdir/etc/rc.d/ngircd"
install -Dm 755 ../ngircd.service "$pkgdir/usr/lib/systemd/system/ngircd.service"
}
diff --git a/community/ngircd/ngircd.service b/community/ngircd/ngircd.service
index b5bab060b..b75382ea9 100644
--- a/community/ngircd/ngircd.service
+++ b/community/ngircd/ngircd.service
@@ -4,7 +4,7 @@ After=network.target
[Service]
# don't daemonize to simplify stuff
-ExecStart=/usr/sbin/ngircd -n
+ExecStart=/usr/bin/ngircd -n
ExecReload=/bin/kill -HUP $MAINPID
[Install]
diff --git a/community/ngircd/ngircd.sh b/community/ngircd/ngircd.sh
deleted file mode 100644
index 3947f527e..000000000
--- a/community/ngircd/ngircd.sh
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-case "$1" in
- start)
- stat_busy "Starting ngircd IRC daemon"
- /usr/sbin/ngircd
- if [ $? -gt 0 ]; then
- stat_fail
- else
- stat_done
- add_daemon ngircd
- fi
- ;;
- stop)
- stat_busy "Stopping ngircd IRC daemon"
- PID=`pidof -o %PPID /usr/sbin/ngircd`
- kill $PID > /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm_daemon ngircd
- stat_done
- fi
- ;;
- restart)
- $0 stop
- sleep 1
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-exit 0