[arch-commits] Commit in znc/repos (10 files)

Jelle van der Waa jelle at archlinux.org
Fri Mar 3 20:41:52 UTC 2017


    Date: Friday, March 3, 2017 @ 20:41:51
  Author: jelle
Revision: 214699

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 214698, znc/trunk/PKGBUILD)
  znc/repos/community-staging-i686/znc.install
    (from rev 214698, znc/trunk/znc.install)
  znc/repos/community-staging-i686/znc.sysusers
    (from rev 214698, znc/trunk/znc.sysusers)
  znc/repos/community-staging-i686/znc.tmpfiles
    (from rev 214698, znc/trunk/znc.tmpfiles)
  znc/repos/community-staging-x86_64/
  znc/repos/community-staging-x86_64/PKGBUILD
    (from rev 214698, znc/trunk/PKGBUILD)
  znc/repos/community-staging-x86_64/znc.install
    (from rev 214698, znc/trunk/znc.install)
  znc/repos/community-staging-x86_64/znc.sysusers
    (from rev 214698, znc/trunk/znc.sysusers)
  znc/repos/community-staging-x86_64/znc.tmpfiles
    (from rev 214698, znc/trunk/znc.tmpfiles)

---------------------------------------+
 community-staging-i686/PKGBUILD       |   47 ++++++++++++++++++++++++++++++++
 community-staging-i686/znc.install    |   17 +++++++++++
 community-staging-i686/znc.sysusers   |    1 
 community-staging-i686/znc.tmpfiles   |    1 
 community-staging-x86_64/PKGBUILD     |   47 ++++++++++++++++++++++++++++++++
 community-staging-x86_64/znc.install  |   17 +++++++++++
 community-staging-x86_64/znc.sysusers |    1 
 community-staging-x86_64/znc.tmpfiles |    1 
 8 files changed, 132 insertions(+)

Copied: znc/repos/community-staging-i686/PKGBUILD (from rev 214698, znc/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2017-03-03 20:41:51 UTC (rev 214699)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Sébastien Luttringer
+# Contributor: Kaiting Chen <kaitocracy at gmail.com>
+# Contributor: mickael9 <mickael9 at gmail dot com>
+
+pkgname=znc
+pkgver=1.6.4
+pkgrel=5
+pkgdesc='An IRC bouncer with modules & scripts support'
+url='http://wiki.znc.in/'
+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"{,.sig}
+        "$pkgname.tmpfiles"
+        "$pkgname.sysusers")
+validpgpkeys=('D5823CACB477191CAC0075555AE420CC0209989E') #Alexey Sokolov <alexey at asokolov.org>
+md5sums=('368bca41192cbfc0b873699d6a82e0d5'
+         'SKIP'
+         '6404881ac7fd1db331029071be319d0d'
+         '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"
+  install -Dm644 "$srcdir/$pkgname.tmpfiles" "$pkgdir/usr/lib/tmpfiles.d/$pkgname.conf"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: znc/repos/community-staging-i686/znc.install (from rev 214698, znc/trunk/znc.install)
===================================================================
--- community-staging-i686/znc.install	                        (rev 0)
+++ community-staging-i686/znc.install	2017-03-03 20:41:51 UTC (rev 214699)
@@ -0,0 +1,17 @@
+#/bin/bash
+
+# arg 1:  the new package version
+post_install() {
+  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
+    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 214698, znc/trunk/znc.sysusers)
===================================================================
--- community-staging-i686/znc.sysusers	                        (rev 0)
+++ community-staging-i686/znc.sysusers	2017-03-03 20:41:51 UTC (rev 214699)
@@ -0,0 +1 @@
+u znc - - /var/lib/znc

Copied: znc/repos/community-staging-i686/znc.tmpfiles (from rev 214698, znc/trunk/znc.tmpfiles)
===================================================================
--- community-staging-i686/znc.tmpfiles	                        (rev 0)
+++ community-staging-i686/znc.tmpfiles	2017-03-03 20:41:51 UTC (rev 214699)
@@ -0,0 +1 @@
+d /var/lib/znc 0750 znc znc -

Copied: znc/repos/community-staging-x86_64/PKGBUILD (from rev 214698, znc/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2017-03-03 20:41:51 UTC (rev 214699)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Sébastien Luttringer
+# Contributor: Kaiting Chen <kaitocracy at gmail.com>
+# Contributor: mickael9 <mickael9 at gmail dot com>
+
+pkgname=znc
+pkgver=1.6.4
+pkgrel=5
+pkgdesc='An IRC bouncer with modules & scripts support'
+url='http://wiki.znc.in/'
+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"{,.sig}
+        "$pkgname.tmpfiles"
+        "$pkgname.sysusers")
+validpgpkeys=('D5823CACB477191CAC0075555AE420CC0209989E') #Alexey Sokolov <alexey at asokolov.org>
+md5sums=('368bca41192cbfc0b873699d6a82e0d5'
+         'SKIP'
+         '6404881ac7fd1db331029071be319d0d'
+         '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"
+  install -Dm644 "$srcdir/$pkgname.tmpfiles" "$pkgdir/usr/lib/tmpfiles.d/$pkgname.conf"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: znc/repos/community-staging-x86_64/znc.install (from rev 214698, znc/trunk/znc.install)
===================================================================
--- community-staging-x86_64/znc.install	                        (rev 0)
+++ community-staging-x86_64/znc.install	2017-03-03 20:41:51 UTC (rev 214699)
@@ -0,0 +1,17 @@
+#/bin/bash
+
+# arg 1:  the new package version
+post_install() {
+  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
+    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 214698, znc/trunk/znc.sysusers)
===================================================================
--- community-staging-x86_64/znc.sysusers	                        (rev 0)
+++ community-staging-x86_64/znc.sysusers	2017-03-03 20:41:51 UTC (rev 214699)
@@ -0,0 +1 @@
+u znc - - /var/lib/znc

Copied: znc/repos/community-staging-x86_64/znc.tmpfiles (from rev 214698, znc/trunk/znc.tmpfiles)
===================================================================
--- community-staging-x86_64/znc.tmpfiles	                        (rev 0)
+++ community-staging-x86_64/znc.tmpfiles	2017-03-03 20:41:51 UTC (rev 214699)
@@ -0,0 +1 @@
+d /var/lib/znc 0750 znc znc -


More information about the arch-commits mailing list