Subject: [alpine-aports] [PATCH] main/znc: new upstream version 1.6.1

From: Christian Kampka <[email-masked]>
Date: Tue, 4 Aug 2015 21:34:27 +0200

This patch also enables building with python to enable support for
python modules.
---
 main/znc/APKBUILD | 21 ++++++++++++++-------
 1 file changed, 14 insertions(+), 7 deletions(-)

diff --git a/main/znc/APKBUILD b/main/znc/APKBUILD
index b241e92..bbdbc6c 100644
--- a/main/znc/APKBUILD
+++ b/main/znc/APKBUILD
@@ -1,8 +1,8 @@
 # Contributor: Natanael Copa <[email-masked]>
 # Maintainer: Natanael Copa <[email-masked]>
 pkgname=znc
-pkgver=1.6.0
-pkgrel=2
+pkgver=1.6.1
+pkgrel=0
 pkgdesc="An advanced IRC bouncer"
 url="http://znc.in"
 arch="all"
@@ -10,11 +10,11 @@ license="ASL 2.0"
 depends=""
 depends_dev=""
 makedepends="perl-dev openssl-dev cyrus-sasl-dev python-dev c-ares-dev swig
-	gettext-dev tcl-dev autoconf automake"
+	gettext-dev tcl-dev autoconf automake python3-dev"
 install="$pkgname.pre-install"
 pkgusers="$pkgname"
 subpackages="$pkgname-dev $pkgname-doc $pkgname-extra $pkgname-modtcl
-			$pkgname-modperl"
+			$pkgname-modperl  $pkgname-modpython"
 source="http://znc.in/releases/znc-$pkgver.tar.gz
 	$pkgname.initd
 	$pkgname.confd"
@@ -43,6 +43,7 @@ build() {
 		--localstatedir=/var \
 		--enable-perl \
 		--enable-tcl \
+		--enable-python \
 		|| return 1
 	make || return 1
 }
@@ -106,12 +107,18 @@ modperl() {
 	_mv_mod modperl modperl.so
 }
 
-md5sums="674d8c1277752dcc627b96e33a63376e  znc-1.6.0.tar.gz
+modpython() {
+	pkgdesc="Python modules for ZNC"
+	depends="znc"
+	_mv_mod modpython modpython.so
+}
+
+md5sums="8e29289e6229b6d2473de202170745ab  znc-1.6.1.tar.gz
 0170c261efe6da389bf637b00dfcb984  znc.initd
 1817e134ec3fa6ec05d36d4995a5aaa5  znc.confd"
-sha256sums="df622aeae34d26193c738dff6499e56ad669ec654484e19623738d84cc80aba7  znc-1.6.0.tar.gz
+sha256sums="ba49397364f48d6d32ae5242bc1166f21d972f85dd390d6bbe68a63ecbb6c140  znc-1.6.1.tar.gz
 fa67ed45506863f5c0d7a73a4ab2c7b199a8eb02a2b201dbb64bd8bace00bbf2  znc.initd
 be3155e79e6ed13be88fbf9d99f6889b3ee8425837120c448c827b8302672063  znc.confd"
-sha512sums="f645d9c947970e193ff9b230fa8ecc6a562a44ddf2a9d43019861deb2ef6ac166436ec556997160c5d5b9a48112068e36a108ec8f98f6d7cf0e1958a422283fc  znc-1.6.0.tar.gz
+sha512sums="92c0acca6b585df394cf8d6d295948fc1342ff7b15d081017d2e0ba521129f914fa2b019a82d801f826f1009456294e4f578e978f34677bbfe436e87e2734aba  znc-1.6.1.tar.gz
 3287affd90f0048a7e790179d97ac9964498cc87f833afb97c6298abfbdbdf1131edd1211b3b64290a862ae4a768f63c346c274a18664a2e22e2815632a726c2  znc.initd
 352f18d64cbfbd5970c859f2ae2290c0ddafcbd8f1bb5d74f33976bc8388f65a75f8a9a73a093fbac12f2d243d4bcf74380bbb3aaab8d68f7bf4eab7ce3bea46  znc.confd"
-- 
2.5.0

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---