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.

58 lines
2.0 KiB

  1. # --- T2-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # T2 SDE: package/.../qscanq/runit.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. --- ./src/conf-svc.orig 2005-12-01 13:09:29.000000000 -0300
  17. +++ ./src/conf-svc 2005-12-01 13:35:26.000000000 -0300
  18. @@ -1,6 +1 @@
  19. -/command/svc
  20. -
  21. -The first line of this file gives the full path to the svc program from
  22. -Dan Bernstein's daemontools package. You shouldn't need to change it,
  23. -unless you've installed daemontools to a non-standard place, or are using
  24. -an outdated version of daemontools.
  25. +/command/runsvctrl
  26. --- ./src/run-cleanq.c.orig 2005-12-01 13:09:29.000000000 -0300
  27. +++ ./src/run-cleanq.c 2005-12-01 13:31:55.000000000 -0300
  28. @@ -7,7 +7,7 @@
  29. char *svco_cmd[] = {
  30. (char *)auto_svc,
  31. -"-o",
  32. +"o",
  33. (char *)auto_scanq,
  34. 0
  35. };
  36. --- ./src/install-cleanq.c.orig 2005-12-02 19:32:22.000000000 -0300
  37. +++ ./src/install-cleanq.c 2005-12-02 19:51:45.000000000 -0300
  38. @@ -79,6 +79,7 @@
  39. if (chdir("log") == -1)
  40. strerr_die4sys(111,FATAL,"unable to chdir to ", r, "/log: ");
  41. makedir("main",02755,auto_loguid,0);
  42. + fn = "main/config"; start(); outs(auto_cqlog); finish();
  43. /* Create the "run" script */
  44. fn = "run";
  45. @@ -87,9 +88,7 @@
  46. start();
  47. outs("#!/bin/sh\nexec setuidgid ");
  48. outs(auto_loguser);
  49. - outs(" multilog t \\\n ");
  50. - outs(auto_cqlog);
  51. - outs("\\\n ./main\n");
  52. + outs(" svlogd -t ./main\n");
  53. finish();
  54. move_file(fn,"run");
  55. fn = "run";