[arch-commits] Commit in znc/repos (8 files)
Evangelos Foutras
foutrelis at archlinux.org
Sat Sep 19 17:56:14 UTC 2015
Date: Saturday, September 19, 2015 @ 19:56:13
Author: foutrelis
Revision: 141086
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
znc/repos/community-staging-i686/
znc/repos/community-staging-i686/PKGBUILD
(from rev 141085, znc/trunk/PKGBUILD)
znc/repos/community-staging-i686/znc.install
(from rev 141085, znc/trunk/znc.install)
znc/repos/community-staging-i686/znc.sysusers
(from rev 141085, znc/trunk/znc.sysusers)
znc/repos/community-staging-x86_64/
znc/repos/community-staging-x86_64/PKGBUILD
(from rev 141085, znc/trunk/PKGBUILD)
znc/repos/community-staging-x86_64/znc.install
(from rev 141085, znc/trunk/znc.install)
znc/repos/community-staging-x86_64/znc.sysusers
(from rev 141085, znc/trunk/znc.sysusers)
---------------------------------------+
community-staging-i686/PKGBUILD | 42 ++++++++++++++++++++++++++++++++
community-staging-i686/znc.install | 20 +++++++++++++++
community-staging-i686/znc.sysusers | 1
community-staging-x86_64/PKGBUILD | 42 ++++++++++++++++++++++++++++++++
community-staging-x86_64/znc.install | 20 +++++++++++++++
community-staging-x86_64/znc.sysusers | 1
6 files changed, 126 insertions(+)
Copied: znc/repos/community-staging-i686/PKGBUILD (from rev 141085, znc/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-09-19 17:56:13 UTC (rev 141086)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Sébastien Luttringer
+# Contributor: Kaiting Chen <kaitocracy at gmail.com>
+# Contributor: mickael9 <mickael9 at gmail dot com>
+
+pkgname=znc
+pkgver=1.6.1
+pkgrel=2
+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' 'icu')
+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"
+ "$pkgname.sysusers")
+md5sums=('8e29289e6229b6d2473de202170745ab'
+ '919705dccc42d3bff1549d3b3680e55a')
+
+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
+ install -Dm644 "$srcdir/$pkgname.sysusers" "$pkgdir/usr/lib/sysusers.d/$pkgname.conf"
+}
+
+# vim:set ts=2 sw=2 et:
Copied: znc/repos/community-staging-i686/znc.install (from rev 141085, znc/trunk/znc.install)
===================================================================
--- community-staging-i686/znc.install (rev 0)
+++ community-staging-i686/znc.install 2015-09-19 17:56:13 UTC (rev 141086)
@@ -0,0 +1,20 @@
+#/bin/sh
+
+# arg 1: the new package version
+post_install() {
+ systemd-sysusers znc.conf
+ [[ -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"
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+post_upgrade() {
+ if (( "$(vercmp $2 1.0-4)" < 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
+ :
+}
+
+# vim:set ts=2 sw=2 ft=sh et:
Copied: znc/repos/community-staging-i686/znc.sysusers (from rev 141085, znc/trunk/znc.sysusers)
===================================================================
--- community-staging-i686/znc.sysusers (rev 0)
+++ community-staging-i686/znc.sysusers 2015-09-19 17:56:13 UTC (rev 141086)
@@ -0,0 +1 @@
+u znc - - /var/lib/znc
Copied: znc/repos/community-staging-x86_64/PKGBUILD (from rev 141085, znc/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2015-09-19 17:56:13 UTC (rev 141086)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Sébastien Luttringer
+# Contributor: Kaiting Chen <kaitocracy at gmail.com>
+# Contributor: mickael9 <mickael9 at gmail dot com>
+
+pkgname=znc
+pkgver=1.6.1
+pkgrel=2
+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' 'icu')
+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"
+ "$pkgname.sysusers")
+md5sums=('8e29289e6229b6d2473de202170745ab'
+ '919705dccc42d3bff1549d3b3680e55a')
+
+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
+ install -Dm644 "$srcdir/$pkgname.sysusers" "$pkgdir/usr/lib/sysusers.d/$pkgname.conf"
+}
+
+# vim:set ts=2 sw=2 et:
Copied: znc/repos/community-staging-x86_64/znc.install (from rev 141085, znc/trunk/znc.install)
===================================================================
--- community-staging-x86_64/znc.install (rev 0)
+++ community-staging-x86_64/znc.install 2015-09-19 17:56:13 UTC (rev 141086)
@@ -0,0 +1,20 @@
+#/bin/sh
+
+# arg 1: the new package version
+post_install() {
+ systemd-sysusers znc.conf
+ [[ -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"
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+post_upgrade() {
+ if (( "$(vercmp $2 1.0-4)" < 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
+ :
+}
+
+# vim:set ts=2 sw=2 ft=sh et:
Copied: znc/repos/community-staging-x86_64/znc.sysusers (from rev 141085, znc/trunk/znc.sysusers)
===================================================================
--- community-staging-x86_64/znc.sysusers (rev 0)
+++ community-staging-x86_64/znc.sysusers 2015-09-19 17:56:13 UTC (rev 141086)
@@ -0,0 +1 @@
+u znc - - /var/lib/znc
More information about the arch-commits
mailing list