050-mask-as-release.patch (1050B)
1 --- a/CMakeLists.txt 2 +++ b/CMakeLists.txt 3 @@ -42,8 +42,8 @@ set(TR_NAME ${PROJECT_NAME}) 4 # "Z" for unsupported trunk builds, 5 # "0" for stable, supported releases 6 # these should be the only two lines you need to change 7 -set(TR_USER_AGENT_PREFIX "2.92+") 8 -set(TR_PEER_ID_PREFIX "-TR292Z-") 9 +set(TR_USER_AGENT_PREFIX "2.92") 10 +set(TR_PEER_ID_PREFIX "-TR2920-") 11 12 string(REGEX MATCH "^([0-9]+)\\.([0-9]+).*" TR_VERSION "${TR_USER_AGENT_PREFIX}") 13 set(TR_VERSION_MAJOR "${CMAKE_MATCH_1}") 14 --- a/configure.ac 15 +++ b/configure.ac 16 @@ -3,8 +3,8 @@ dnl STATUS: "X" for prerelease beta buil 17 dnl "Z" for unsupported trunk builds, 18 dnl "0" for stable, supported releases 19 dnl these should be the only two lines you need to change 20 -m4_define([user_agent_prefix],[2.92+]) 21 -m4_define([peer_id_prefix],[-TR292Z-]) 22 +m4_define([user_agent_prefix],[2.92]) 23 +m4_define([peer_id_prefix],[-TR2920-]) 24 25 AC_INIT([transmission],[user_agent_prefix],[https://trac.transmissionbt.com/newticket]) 26 AC_SUBST(USERAGENT_PREFIX,[user_agent_prefix])