commit: a24c242deada8be9c755021e1796dd28bbc85d5a
parent c8c1c2da021ed5392d90201f6c75b9889b23c037
Author: Michael Forney <mforney@mforney.org>
Date: Fri, 2 Feb 2018 22:45:39 -0800
transmission: Update to 2.93
Diffstat:
7 files changed, 78 insertions(+), 10 deletions(-)
diff --git a/pkg/transmission/.gitignore b/pkg/transmission/.gitignore
@@ -2,4 +2,4 @@
/libnatpmp.ninja
/libutp.ninja
/src
-/transmission-2.92.tar.xz
+/transmission-2.93.tar.xz
diff --git a/pkg/transmission/README.md b/pkg/transmission/README.md
@@ -0,0 +1,16 @@
+# transmission
+
+## config.h
+
+Generated with
+
+ ./configure \
+ --disable-nls \
+ --without-gtk \
+ --without-systemd-daemon \
+ LIBCURL_CFLAGS=-I/src/oasis/out/pkg/curl/include \
+ LIBCURL_LIBS=/src/oasis/out/pkg/curl/libcurl.a \
+ PKG_CONFIG=true
+
+transmission doesn't create `config.h` by default, so it was created from the
+defines at the end of `config.log`.
diff --git a/pkg/transmission/config.h b/pkg/transmission/config.h
@@ -1,27 +1,54 @@
-#include <config-posix.h>
-
#define PACKAGE_DATA_DIR "/share"
#define WITH_INOTIFY 1
#define PACKAGE_NAME "transmission"
#define PACKAGE_TARNAME "transmission"
-#define PACKAGE_VERSION "2.92"
-#define PACKAGE_STRING "transmission\ 2.92"
-#define PACKAGE_BUGREPORT "http://trac.transmissionbt.com/newticket"
+#define PACKAGE_VERSION "2.93"
+#define PACKAGE_STRING "transmission 2.93"
+#define PACKAGE_BUGREPORT "https://github.com/transmission/transmission"
#define PACKAGE_URL ""
#define PACKAGE "transmission"
-#define VERSION "2.92"
+#define VERSION "2.93"
+#define STDC_HEADERS 1
+#define HAVE_SYS_TYPES_H 1
+#define HAVE_SYS_STAT_H 1
+#define HAVE_STDLIB_H 1
+#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
+#define HAVE_STRINGS_H 1
+#define HAVE_INTTYPES_H 1
+#define HAVE_STDINT_H 1
+#define HAVE_UNISTD_H 1
+#define HAVE_DLFCN_H 1
#define LT_OBJDIR ".libs/"
+#define STDC_HEADERS 1
#define TIME_WITH_SYS_TIME 1
+#define HAVE_STDBOOL_H 1
+#define HAVE_ICONV 1
+#define HAVE_PREAD 1
+#define HAVE_PWRITE 1
+#define HAVE_LRINTF 1
#define HAVE_STRLCPY 1
#define HAVE_DAEMON 1
+#define HAVE_DIRNAME 1
+#define HAVE_BASENAME 1
+#define HAVE_STRCASECMP 1
+#define HAVE_LOCALTIME_R 1
#define HAVE_FALLOCATE64 1
+#define HAVE_POSIX_FALLOCATE 1
#define HAVE_MEMMEM 1
#define HAVE_STRSEP 1
+#define HAVE_STRTOLD 1
+#define HAVE_SYSLOG 1
#define HAVE_VALLOC 1
#define HAVE_GETPAGESIZE 1
+#define HAVE_POSIX_MEMALIGN 1
+#define HAVE_STATVFS 1
+#define HAVE_MKDTEMP 1
+#define HAVE_USELOCALE 1
#define HAVE_PTHREAD 1
#define HAVE_GETMNTENT 1
#define HAVE_DECL_POSIX_FADVISE 1
+#define HAVE_POSIX_FADVISE 1
+#define HAVE_SYS_STATVFS_H 1
#define WITH_UTP 1
diff --git a/pkg/transmission/patch/0001-Add-support-for-libressl.patch b/pkg/transmission/patch/0001-Add-support-for-libressl.patch
@@ -0,0 +1,25 @@
+From 3cfa61174c54ae5c1d93438e02f7e6a863674dae Mon Sep 17 00:00:00 2001
+From: Michael Forney <mforney@mforney.org>
+Date: Fri, 2 Feb 2018 23:24:39 -0800
+Subject: [PATCH] Add support for libressl
+
+---
+ libtransmission/crypto-utils-openssl.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/libtransmission/crypto-utils-openssl.c b/libtransmission/crypto-utils-openssl.c
+index 16a37b205..39cc06cbf 100644
+--- a/libtransmission/crypto-utils-openssl.c
++++ b/libtransmission/crypto-utils-openssl.c
+@@ -230,7 +230,7 @@ tr_rc4_process (tr_rc4_ctx_t handle,
+ ****
+ ***/
+
+-#if OPENSSL_VERSION_NUMBER < 0x10100000
++#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(LIBRESSL_VERSION_NUMBER)
+ static inline int
+ DH_set0_pqg (DH * dh,
+ BIGNUM * p,
+--
+2.16.1
+
diff --git a/pkg/transmission/rev b/pkg/transmission/rev
@@ -1 +1 @@
-1
+2
diff --git a/pkg/transmission/sha256 b/pkg/transmission/sha256
@@ -1 +1 @@
-3a8d045c306ad9acb7bf81126939b9594553a388482efa0ec1bfb67b22acd35f transmission-2.92.tar.xz
+8815920e0a4499bcdadbbe89a4115092dab42ce5199f71ff9a926cfd12b9b90b transmission-2.93.tar.xz
diff --git a/pkg/transmission/url b/pkg/transmission/url
@@ -1 +1 @@
-url = "https://github.com/transmission/transmission-releases/raw/master/transmission-2.92.tar.xz"
+url = "https://github.com/transmission/transmission-releases/raw/master/transmission-2.93.tar.xz"