[arch-commits] Commit in znc/trunk (PKGBUILD znc.install znc.tmpfiles)
Sébastien Luttringer
seblu at archlinux.org
Sat Jan 14 17:26:32 UTC 2017
Date: Saturday, January 14, 2017 @ 17:26:31
Author: seblu
Revision: 207358
upgpkg: znc 1.6.4-4
https://www.archlinux.org/todo/use-gpg-signatures-and-https-sources/
https://www.archlinux.org/todo/pacman-hooks-systemd-sysuserstmpfiles/
Added:
znc/trunk/znc.tmpfiles
Modified:
znc/trunk/PKGBUILD
znc/trunk/znc.install
--------------+
PKGBUILD | 11 ++++++++---
znc.install | 7 ++-----
znc.tmpfiles | 1 +
3 files changed, 11 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-01-14 17:17:14 UTC (rev 207357)
+++ PKGBUILD 2017-01-14 17:26:31 UTC (rev 207358)
@@ -5,9 +5,9 @@
pkgname=znc
pkgver=1.6.4
-pkgrel=3
+pkgrel=4
pkgdesc='An IRC bouncer with modules & scripts support'
-url='http://en.znc.in/wiki/index.php/ZNC'
+url='http://wiki.znc.in/'
license=('GPL2')
arch=('i686' 'x86_64')
depends=('libsasl' 'icu')
@@ -17,9 +17,13 @@
'perl: modperl module'
'cyrus-sasl: saslauth module')
install=$pkgname.install
-source=("http://znc.in/releases/$pkgname-$pkgver.tar.gz"
+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() {
@@ -37,6 +41,7 @@
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:
Modified: znc.install
===================================================================
--- znc.install 2017-01-14 17:17:14 UTC (rev 207357)
+++ znc.install 2017-01-14 17:26:31 UTC (rev 207358)
@@ -1,10 +1,8 @@
-#/bin/sh
+#/bin/bash
# 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"
+ echo '==> Use 'znc --makeconf' as user znc to generate your first config'
}
# arg 1: the new package version
@@ -11,7 +9,6 @@
# 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
:
Added: znc.tmpfiles
===================================================================
--- znc.tmpfiles (rev 0)
+++ znc.tmpfiles 2017-01-14 17:26:31 UTC (rev 207358)
@@ -0,0 +1 @@
+d /var/lib/znc 0750 znc znc -
More information about the arch-commits
mailing list