OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

52 lines
2.1 KiB

  1. # --- T2-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # T2 SDE: package/.../xlockmore/no-.plan.patch
  5. # Copyright (C) 2004 - 2006 The T2 SDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- T2-COPYRIGHT-NOTE-END ---
  16. We decided exposing the (maybe) slightly personal/secret .plan is a bad idea.
  17. - Rene Rebe <rene@exactcode.de>
  18. diff -ur xlockmore-5.14.1/xlock/xlock.c xlockmore-5.14.1-fixed/xlock/xlock.c
  19. --- xlockmore-5.14.1/xlock/xlock.c 2004-11-09 23:07:06.000000000 +0100
  20. +++ xlockmore-5.14.1-fixed/xlock/xlock.c 2005-01-11 16:00:32.543487472 +0100
  21. @@ -2963,6 +2963,8 @@
  22. (void) sprintf(buffer, "%s/%s", home, ".xlocktext");
  23. #endif
  24. planf = my_fopen(buffer, "r");
  25. +
  26. +#ifdef PLAN_WANTED /* disable .plan exposing for T2 -ReneR */
  27. if (planf == NULL) {
  28. #ifdef VMS
  29. (void) sprintf(buffer, "%s%s", home, ".plan");
  30. @@ -2971,6 +2973,7 @@
  31. #endif
  32. planf = my_fopen(buffer, "r");
  33. }
  34. +#endif /* PLAN_WANTED */
  35. if (planf == NULL) {
  36. #ifndef VMS
  37. (void) sprintf(buffer, "%s/%s", home, ".signature");
  38. diff -ur xlockmore-5.14.1/xlock/xlock.man xlockmore-5.14.1-fixed/xlock/xlock.man
  39. --- xlockmore-5.14.1/xlock/xlock.man 2004-11-02 02:23:21.000000000 +0100
  40. +++ xlockmore-5.14.1-fixed/xlock/xlock.man 2005-01-11 16:00:50.570746912 +0100
  41. @@ -291,7 +291,7 @@
  42. In the lower part of the password screen a text is displayed. This
  43. message is taken from the first file of the following that exists:
  44. -$HOME/.xlocktext, $HOME/.plan, or $HOME/.signature.
  45. +$HOME/.xlocktext or $HOME/.signature.
  46. On systems which support new BSD style authentication, the password
  47. may be prefixed by an authentication style followed by a colon