aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-07-22 13:19:17 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-07-22 13:19:17 +0000
commit7990ff2ebccca9b4de23d73a66e71130afc36072 (patch)
tree265df551fa48351be4b1efcfdde5e66e062124ed
parentc10937c2643456f93e9cba291d6cf897f7c9015b (diff)
downloadaports-7990ff2ebccca9b4de23d73a66e71130afc36072.tar.bz2
aports-7990ff2ebccca9b4de23d73a66e71130afc36072.tar.xz
main/transmission: upgrade to 2.81
-rw-r--r--main/transmission/APKBUILD14
-rw-r--r--main/transmission/uclibc-quota.patch11
2 files changed, 20 insertions, 5 deletions
diff --git a/main/transmission/APKBUILD b/main/transmission/APKBUILD
index 4cf50262f7..49bc46e248 100644
--- a/main/transmission/APKBUILD
+++ b/main/transmission/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer:Carlo Landmeter
pkgname=transmission
-pkgver=2.77
+pkgver=2.81
pkgrel=0
pkgdesc="Lightweight GTK BitTorrent client"
url="http://www.tansmissionbt.com"
@@ -12,7 +12,8 @@ pkgusers="transmission"
pkggroups="transmission"
makedepends="openssl-dev pkgconfig curl-dev gtk+3.0-dev intltool libevent-dev
libnotify-dev dbus-glib-dev autoconf automake tar libcanberra-dev gconf-dev"
-source="http://download.m0k.org/transmission/files/transmission-$pkgver.tar.bz2
+source="http://download.m0k.org/transmission/files/transmission-$pkgver.tar.xz
+ uclibc-quota.patch
transmission-daemon.initd
transmission-daemon.confd
"
@@ -79,12 +80,15 @@ cli() {
"$subpkgdir"/usr/bin/ || return 1
}
-md5sums="b75fd5d69ac88e093d25c469183e7f7a transmission-2.77.tar.bz2
+md5sums="db1ad10ecff07150486dab2365ccb3a8 transmission-2.81.tar.xz
+c3b19aca8d871526b13e5ed856ca5ec2 uclibc-quota.patch
b44e7e7bcfb7fd1c59b3e1191d4dabb9 transmission-daemon.initd
5caf0fc25dfd67c61627f1e0313f4245 transmission-daemon.confd"
-sha256sums="b8c9fd754134bcb8a76b55824cd8efecf20e2be237cbc7c8262abc8822b6bad3 transmission-2.77.tar.bz2
+sha256sums="bbb571f5825466aa45e6ef4ad286176135a1a9c0234ffea3527ebd8001cc56ab transmission-2.81.tar.xz
+7e0b47664e26646acc078f0b826420481d0e8d72e74d2285a2015558fa42ee9a uclibc-quota.patch
4c3a0e666e39e3780ae280e2ff99f80cce9d671139580e8219c4a07563517e70 transmission-daemon.initd
4b47acf195a14a322550cfcaa735a59aac38410d1c2c63ffa824ff131c55ca70 transmission-daemon.confd"
-sha512sums="58c0bcb0bf487f88bec2aff10a7dfc422bc81dc19bb964b03d9a282337904a784dc51b08adcf1128db31c7b84044e29db74b43e1cd832d617adf28413073fe90 transmission-2.77.tar.bz2
+sha512sums="4b646b1c8498499e5557c3084e2a4350526b2e009e5f369ccf24f9d81dad8df05442744db17614486c8567c3bd90cef8567a564fad1f1f6f8b234740c7679dee transmission-2.81.tar.xz
+becbfcf9ed80c4794b8eef23c508eaed9cb650b775d49bf7f0216f14d34644bd5f728624ff491465952adea4bcecb22aee42726649220d7791aa57eb0a19ad9d uclibc-quota.patch
366d04e1f4770eb8a98ab292660097c2ff1dd73a6ad695cb1af6baae984d047860e33bbb7b68d44948c2309f3ec8fc2f3ff11b8e85afc22458d061c7d598bbb6 transmission-daemon.initd
a3b9ac2b7bbe30e33060c8b6a693dc7072d3c6ac44f92ddd567969d8f57a0bfc1a561e781ae167703ccb4b2fd5b0e6d8f8a66c5ba14fe01d8d89a501d4501474 transmission-daemon.confd"
diff --git a/main/transmission/uclibc-quota.patch b/main/transmission/uclibc-quota.patch
new file mode 100644
index 0000000000..e7dbc25eb1
--- /dev/null
+++ b/main/transmission/uclibc-quota.patch
@@ -0,0 +1,11 @@
+--- ./libtransmission/platform-quota.c.orig 2013-07-22 13:15:39.734489641 +0000
++++ ./libtransmission/platform-quota.c 2013-07-22 13:16:24.671640558 +0000
+@@ -239,8 +239,6 @@
+ spaceused = (int64_t) dq.dqb_curblocks >> 1;
+ #elif defined(SYS_DARWIN)
+ spaceused = (int64_t) dq.dqb_curbytes;
+-#elif defined(__UCLIBC__)
+- spaceused = (int64_t) btodb(dq.dqb_curblocks);
+ #elif defined(__sun) || (_LINUX_QUOTA_VERSION < 2)
+ spaceused = (int64_t) dq.dqb_curblocks >> 1;
+ #else