forked from openwrt/packages
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "transmission: Update to 2.93 + fixes"
This reverts commit 606f615. The commit broke the patches: > Applying ./patches/020-use-internal-miniupnp.patch using plaintext: > patching file configure.ac > Hunk #1 succeeded at 378 (offset -8 lines). > > Applying ./patches/040-fix-for-mbedtls.patch using plaintext: > patching file configure.ac > Hunk #1 FAILED at 154. > 1 out of 1 hunk FAILED -- saving rejects to file configure.ac.rej
- Loading branch information
Showing
5 changed files
with
68 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,22 +8,22 @@ | |
include $(TOPDIR)/rules.mk | ||
|
||
PKG_NAME:=transmission | ||
PKG_VERSION:=2.93 | ||
PKG_RELEASE:=1 | ||
PKG_VERSION:=2.92+git | ||
PKG_RELEASE:=5 | ||
|
||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz | ||
PKG_SOURCE_URL:=https://github.com/transmission/transmission-releases/raw/master | ||
PKG_HASH:=8815920e0a4499bcdadbbe89a4115092dab42ce5199f71ff9a926cfd12b9b90b | ||
PKG_MAINTAINER:=Rosen Penev <[email protected]> | ||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION) | ||
|
||
PKG_LICENSE:=GPL-2.0+ | ||
PKG_LICENSE_FILES:=COPYING | ||
PKG_SOURCE_PROTO:=git | ||
PKG_SOURCE_URL:=https://github.com/transmission/transmission.git | ||
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) | ||
PKG_SOURCE_VERSION:=5b29fe15561d40c40cbee635446df6b33e18d2c2 | ||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.xz | ||
PKG_MIRROR_HASH:=f99982ae68564da9bf6ad4407285aff2e29508e4fd801ff56f86a8b3dae01819 | ||
|
||
PKG_FIXUP:=autoreconf | ||
PKG_INSTALL:=1 | ||
PKG_BUILD_PARALLEL:=1 | ||
|
||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION) | ||
|
||
include $(INCLUDE_DIR)/package.mk | ||
|
||
define Package/transmission/template | ||
|
@@ -32,6 +32,7 @@ define Package/transmission/template | |
CATEGORY:=Network | ||
TITLE:=BitTorrent client | ||
URL:=http://www.transmissionbt.com | ||
MAINTAINER:=Rosen Penev <[email protected]> | ||
endef | ||
|
||
define Package/transmission-daemon/Default | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -42,8 +42,8 @@ set(TR_NAME ${PROJECT_NAME}) | ||
# "Z" for unsupported trunk builds, | ||
# "0" for stable, supported releases | ||
# these should be the only two lines you need to change | ||
-set(TR_USER_AGENT_PREFIX "2.92+") | ||
-set(TR_PEER_ID_PREFIX "-TR292Z-") | ||
+set(TR_USER_AGENT_PREFIX "2.92") | ||
+set(TR_PEER_ID_PREFIX "-TR2920-") | ||
|
||
string(REGEX MATCH "^([0-9]+)\\.([0-9]+).*" TR_VERSION "${TR_USER_AGENT_PREFIX}") | ||
set(TR_VERSION_MAJOR "${CMAKE_MATCH_1}") | ||
--- a/configure.ac | ||
+++ b/configure.ac | ||
@@ -3,8 +3,8 @@ dnl STATUS: "X" for prerelease beta buil | ||
dnl "Z" for unsupported trunk builds, | ||
dnl "0" for stable, supported releases | ||
dnl these should be the only two lines you need to change | ||
-m4_define([user_agent_prefix],[2.92+]) | ||
-m4_define([peer_id_prefix],[-TR292Z-]) | ||
+m4_define([user_agent_prefix],[2.92]) | ||
+m4_define([peer_id_prefix],[-TR2920-]) | ||
|
||
AC_INIT([transmission],[user_agent_prefix],[https://trac.transmissionbt.com/newticket]) | ||
AC_SUBST(USERAGENT_PREFIX,[user_agent_prefix]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
diff --git a/daemon/daemon.c b/daemon/daemon.c | ||
index 7b2a3b425..5b19d105a 100644 | ||
--- a/daemon/daemon.c | ||
+++ b/daemon/daemon.c | ||
@@ -715,12 +715,7 @@ static int daemon_start(void* raw_arg, bool foreground) | ||
} | ||
|
||
#ifdef HAVE_SYSLOG | ||
- | ||
- if (!foreground) | ||
- { | ||
- openlog(MY_NAME, LOG_CONS | LOG_PID, LOG_DAEMON); | ||
- } | ||
- | ||
+ openlog(MY_NAME, LOG_CONS | LOG_PID, LOG_DAEMON); | ||
#endif | ||
|
||
/* Create new timer event to report daemon status */ | ||
@@ -772,11 +767,8 @@ cleanup: | ||
/* shutdown */ | ||
#ifdef HAVE_SYSLOG | ||
|
||
- if (!foreground) | ||
- { | ||
syslog(LOG_INFO, "%s", "Closing session"); | ||
closelog(); | ||
- } | ||
|
||
#endif | ||
|