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

Sébastien Luttringer seblu at archlinux.org
Sun Mar 19 10:46:56 UTC 2017


    Date: Sunday, March 19, 2017 @ 10:46:55
  Author: seblu
Revision: 217233

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

Added:
  znc/repos/staging-i686/
  znc/repos/staging-i686/PKGBUILD
    (from rev 217232, znc/trunk/PKGBUILD)
  znc/repos/staging-i686/znc.install
    (from rev 217232, znc/trunk/znc.install)
  znc/repos/staging-i686/znc.sysusers
    (from rev 217232, znc/trunk/znc.sysusers)
  znc/repos/staging-i686/znc.tmpfiles
    (from rev 217232, znc/trunk/znc.tmpfiles)
  znc/repos/staging-x86_64/
  znc/repos/staging-x86_64/PKGBUILD
    (from rev 217232, znc/trunk/PKGBUILD)
  znc/repos/staging-x86_64/znc.install
    (from rev 217232, znc/trunk/znc.install)
  znc/repos/staging-x86_64/znc.sysusers
    (from rev 217232, znc/trunk/znc.sysusers)
  znc/repos/staging-x86_64/znc.tmpfiles
    (from rev 217232, znc/trunk/znc.tmpfiles)

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

Copied: znc/repos/staging-i686/PKGBUILD (from rev 217232, znc/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2017-03-19 10:46:55 UTC (rev 217233)
@@ -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.5
+pkgrel=2
+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=('ab22e4e94cdd04c5644c4d9213149af0'
+         '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/staging-i686/znc.install (from rev 217232, znc/trunk/znc.install)
===================================================================
--- staging-i686/znc.install	                        (rev 0)
+++ staging-i686/znc.install	2017-03-19 10:46:55 UTC (rev 217233)
@@ -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/staging-i686/znc.sysusers (from rev 217232, znc/trunk/znc.sysusers)
===================================================================
--- staging-i686/znc.sysusers	                        (rev 0)
+++ staging-i686/znc.sysusers	2017-03-19 10:46:55 UTC (rev 217233)
@@ -0,0 +1 @@
+u znc - - /var/lib/znc

Copied: znc/repos/staging-i686/znc.tmpfiles (from rev 217232, znc/trunk/znc.tmpfiles)
===================================================================
--- staging-i686/znc.tmpfiles	                        (rev 0)
+++ staging-i686/znc.tmpfiles	2017-03-19 10:46:55 UTC (rev 217233)
@@ -0,0 +1 @@
+d /var/lib/znc 0750 znc znc -

Copied: znc/repos/staging-x86_64/PKGBUILD (from rev 217232, znc/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2017-03-19 10:46:55 UTC (rev 217233)
@@ -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.5
+pkgrel=2
+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=('ab22e4e94cdd04c5644c4d9213149af0'
+         '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/staging-x86_64/znc.install (from rev 217232, znc/trunk/znc.install)
===================================================================
--- staging-x86_64/znc.install	                        (rev 0)
+++ staging-x86_64/znc.install	2017-03-19 10:46:55 UTC (rev 217233)
@@ -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/staging-x86_64/znc.sysusers (from rev 217232, znc/trunk/znc.sysusers)
===================================================================
--- staging-x86_64/znc.sysusers	                        (rev 0)
+++ staging-x86_64/znc.sysusers	2017-03-19 10:46:55 UTC (rev 217233)
@@ -0,0 +1 @@
+u znc - - /var/lib/znc

Copied: znc/repos/staging-x86_64/znc.tmpfiles (from rev 217232, znc/trunk/znc.tmpfiles)
===================================================================
--- staging-x86_64/znc.tmpfiles	                        (rev 0)
+++ staging-x86_64/znc.tmpfiles	2017-03-19 10:46:55 UTC (rev 217233)
@@ -0,0 +1 @@
+d /var/lib/znc 0750 znc znc -



More information about the arch-commits mailing list