1
0

050-mask-as-release.patch 1.0 KB

1234567891011121314151617181920212223242526
  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. string(REGEX MATCH "^([0-9]+)\\.([0-9]+).*" TR_VERSION "${TR_USER_AGENT_PREFIX}")
  12. set(TR_VERSION_MAJOR "${CMAKE_MATCH_1}")
  13. --- a/configure.ac
  14. +++ b/configure.ac
  15. @@ -3,8 +3,8 @@ dnl STATUS: "X" for prerelease beta buil
  16. dnl "Z" for unsupported trunk builds,
  17. dnl "0" for stable, supported releases
  18. dnl these should be the only two lines you need to change
  19. -m4_define([user_agent_prefix],[2.92+])
  20. -m4_define([peer_id_prefix],[-TR292Z-])
  21. +m4_define([user_agent_prefix],[2.92])
  22. +m4_define([peer_id_prefix],[-TR2920-])
  23. AC_INIT([transmission],[user_agent_prefix],[https://trac.transmissionbt.com/newticket])
  24. AC_SUBST(USERAGENT_PREFIX,[user_agent_prefix])