02_add_debian_files_in_manpage.dpatch 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. #! /bin/sh -e
  2. ## 02_add_debian_files_in_manpage.dpatch by <weasel@debian.org>
  3. ##
  4. ## All lines beginning with `## DP:' are a description of the patch.
  5. ## DP: Change the FILES section of the manpage to properly describe the situation on Debian systems.
  6. if [ $# -lt 1 ]; then
  7. echo "`basename $0`: script expects -patch|-unpatch as argument" >&2
  8. exit 1
  9. fi
  10. [ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
  11. patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}"
  12. case "$1" in
  13. -patch) patch -p1 ${patch_opts} < $0;;
  14. -unpatch) patch -R -p1 ${patch_opts} < $0;;
  15. *)
  16. echo "`basename $0`: script expects -patch|-unpatch as argument" >&2
  17. exit 1;;
  18. esac
  19. exit 0
  20. @DPATCH@
  21. diff -urNad tor-0.1.1.5/doc/tor.1.in /tmp/dpep.E9VjWB/tor-0.1.1.5/doc/tor.1.in
  22. --- tor-0.1.1.12/doc/tor.1.in
  23. +++ /tmp/dpep.E9VjWB/tor-0.1.1.12/doc/tor.1.in
  24. @@ -700,9 +700,15 @@
  25. .TP
  26. .B @LOCALSTATEDIR@/lib/tor/
  27. The tor process stores keys and other data here.
  28. +.TP
  29. +.B /var/log/tor/
  30. +The tor server logs to this directory.
  31. +.TP
  32. +.B /var/run/tor/tor.pid
  33. +The PID of the tor (master) process is stored in this file.
  34. .LP
  35. .TP
  36. -.B \fIDataDirectory\fP/approved-routers
  37. +.B /var/lib/tor/approved-routers
  38. Only for naming authoritative directory servers
  39. (see \fBNamingAuthoritativeDirectory\fP).
  40. This file lists nickname to identity bindings. Each line lists a