summaryrefslogtreecommitdiff
path: root/community/znc
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-11 01:21:34 -0700
committerroot <root@rshg054.dnsready.net>2013-08-11 01:21:34 -0700
commit18a41d682d6e91e0d28fce23eb75292f477bd620 (patch)
treebce8f660d7d0b6541cadbc49bf1bac2434e4c0c6 /community/znc
parent0ade1da67addf154d93c6a6399b0a3d5a18a3336 (diff)
Sun Aug 11 01:21:31 PDT 2013
Diffstat (limited to 'community/znc')
-rw-r--r--community/znc/PKGBUILD39
-rw-r--r--community/znc/znc.install29
2 files changed, 0 insertions, 68 deletions
diff --git a/community/znc/PKGBUILD b/community/znc/PKGBUILD
deleted file mode 100644
index a840a834a..000000000
--- a/community/znc/PKGBUILD
+++ /dev/null
@@ -1,39 +0,0 @@
-# $Id: PKGBUILD 91707 2013-05-26 09:26:32Z bluewind $
-# Maintainer: Sébastien Luttringer
-# Contributor: Kaiting Chen <kaitocracy@gmail.com>
-# Contributor: mickael9 <mickael9 at gmail dot com>
-
-pkgname=znc
-pkgver=1.0
-pkgrel=7
-pkgdesc='An IRC bouncer with modules & scripts support'
-url='http://en.znc.in/wiki/index.php/ZNC'
-license=('GPL2')
-arch=('i686' 'x86_64')
-depends=('libsasl')
-makedepends=('tcl' 'python' 'perl')
-optdepends=('tcl: modtcl module'
- 'python: modpython module'
- 'perl: modperl module'
- 'cyrus-sasl: saslauth module')
-install=$pkgname.install
-source=("http://znc.in/releases/$pkgname-$pkgver.tar.gz")
-md5sums=('23807ca830c27392cccb6774f542df6e')
-
-build() {
- cd $pkgname-$pkgver
- ./configure --prefix=/usr \
- --enable-cyrus \
- --enable-python \
- --enable-perl \
- --enable-tcl \
- --with-systemdsystemunitdir=/usr/lib/systemd/system
- make
-}
-
-package() {
- cd $pkgname-$pkgver
- make DESTDIR="$pkgdir" install
-}
-
-# vim:set ts=2 sw=2 et:
diff --git a/community/znc/znc.install b/community/znc/znc.install
deleted file mode 100644
index e5dd6575a..000000000
--- a/community/znc/znc.install
+++ /dev/null
@@ -1,29 +0,0 @@
-#/bin/sh
-
-# arg 1: the new package version
-post_install() {
- getent group znc >/dev/null || groupadd -g 136 znc
- getent passwd znc >/dev/null || useradd -r -d /var/lib/znc -u 136 -g 136 znc
- [ -d /var/lib/znc ] || install -dm 750 -o znc -g znc /var/lib/znc
- echo "==> Use 'znc --makeconf' as user znc to generate your first config"
- true
-}
-
-# arg 1: the new package version
-# arg 2: the old package version
-post_upgrade() {
- if [ "`vercmp $2 1.0-4`" -lt 0 ]; then
- [ -d /var/lib/znc ] || install -dm 750 -o znc -g znc /var/lib/znc
- usermod -d /var/lib/znc znc 2>/dev/null && echo '==> znc home directory has moved to /var/lib/znc'
- fi
- true
-}
-
-# arg 1: the old package version
-post_remove() {
- userdel -f znc >/dev/null 2>&1
- groupdel znc >/dev/null 2>&1
- true
-}
-
-# vim:set ts=2 sw=2 ft=sh et: