summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorUncle Hunto2016-10-10 16:52:37 -0700
committerUncle Hunto2016-10-10 16:52:37 -0700
commita3b6876a688cd28a6433b807d5b364de0388e1fe (patch)
treea3ae44f146732c985a42cf7bc60bc7e8e69480e1
parentca9fcc8a18a1e4cd54180420688776de00f04336 (diff)
downloadaur-a3b6876a688cd28a6433b807d5b364de0388e1fe.tar.gz
Add patch to fix "Network configuration has changed" log flood
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD15
2 files changed, 16 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index af606d33a0d..e96a0a2c7a2 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Thu Jan 14 04:18:44 UTC 2016
+# Mon Oct 10 23:50:51 UTC 2016
pkgbase = qbittorrent-stable-git
pkgdesc = An advanced BitTorrent client programmed in C++, based on Qt toolkit and libtorrent-rasterbar. Built from source.
- pkgver = 3.3.1.r0.gd753988
+ pkgver = 3.3.7.r2.g4da05e5
pkgrel = 1
url = http://www.qbittorrent.org
install = qbittorrent.install
@@ -22,7 +22,9 @@ pkgbase = qbittorrent-stable-git
provides = qbittorrent
conflicts = qbittorrent
source = qbittorrent::git+https://github.com/qbittorrent/qBittorrent.git#branch=v3_3_x
+ source = https://github.com/evsh/qBittorrent/commit/b5775b467ba4ebda1366b8ae0ccf664cb4292272.patch
sha256sums = SKIP
+ sha256sums = 30084803e4609c004252f8fb346d1406ae0ad394d5efda68c74db0af2efbe437
pkgname = qbittorrent-stable-git
diff --git a/PKGBUILD b/PKGBUILD
index 617371292af..c20e1e7ac01 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,8 +6,9 @@
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
# Contributor: Geoffroy Carrier <geoffroy.carrier@koon.fr>
+_stable_branch="v3_3_x"
pkgname=qbittorrent-stable-git
-pkgver=3.3.1.r0.gd753988
+pkgver=3.3.7.r2.g4da05e5
pkgrel=1
pkgdesc="An advanced BitTorrent client programmed in C++, based on Qt toolkit and libtorrent-rasterbar. Built from source."
arch=('i686' 'x86_64')
@@ -19,14 +20,22 @@ optdepends=('python: needed for torrent search tab')
provides=('qbittorrent')
conflicts=('qbittorrent')
install=${pkgname%-*-*}.install
-source=("${pkgname%-*-*}"::"git+https://github.com/qbittorrent/qBittorrent.git#branch=v3_3_x")
-sha256sums=('SKIP')
+source=("${pkgname%-*-*}"::"git+https://github.com/qbittorrent/qBittorrent.git#branch=${_stable_branch}"
+'https://github.com/evsh/qBittorrent/commit/b5775b467ba4ebda1366b8ae0ccf664cb4292272.patch')
+sha256sums=('SKIP'
+ '30084803e4609c004252f8fb346d1406ae0ad394d5efda68c74db0af2efbe437')
pkgver() {
cd $srcdir/${pkgname%-*-*}
git describe --long --tags | sed 's/^release-//;s/-/.r/;s/-/./'
}
+prepare() {
+ cd "$srcdir/${pkgname%-*-*}"
+ ## Fix bug in which log is flooded with "Network configuration has changed" messages
+ patch -Np1 -i "${srcdir}/b5775b467ba4ebda1366b8ae0ccf664cb4292272.patch"
+}
+
build() {
cd $srcdir/${pkgname%-*-*}
./configure --prefix=/usr