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.1 KiB

  1. # --- T2-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # T2 SDE: package/.../ipsvd/patches/twoftpd.diff
  5. # Copyright (C) 2004 - 2006 The T2 SDE Project
  6. # Copyright (C) 1998 - 2004 Clifford Wolf
  7. #
  8. # More information can be found in the files COPYING and README.
  9. #
  10. # This patch file is dual-licensed. It is available under the license the
  11. # patched project is licensed under, as long as it is an OpenSource license
  12. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  13. # of the GNU General Public License as published by the Free Software
  14. # Foundation; either version 2 of the License, or (at your option) any later
  15. # version.
  16. # --- T2-COPYRIGHT-NOTE-END ---
  17. --- ./twoftpd-anon-conf.c.orig 2004-05-10 11:00:38.000000000 -0400
  18. +++ ./twoftpd-anon-conf.c 2004-05-10 11:06:23.000000000 -0400
  19. @@ -92,15 +92,15 @@
  20. "exec 2>&1\n"
  21. "umask 022\n"
  22. "exec \\\n"
  23. - "tcpserver -DRHv -llocalhost ", ip, " 21 \\\n"
  24. + "tcpsvd -vv -llocalhost ", ip, " 21 \\\n"
  25. "softlimit -m 2000000 \\\n"
  26. "envdir ", maindir, "/env \\\n",
  27. conf_bin, "/twoftpd-anon");
  28. make_file("log/run", 0755,
  29. "#!/bin/sh\n"
  30. "exec \\\n"
  31. "setuidgid ", logname, " \\\n"
  32. - "multilog t ", logdir, 0, 0, 0);
  33. + "svlogd -t ", logdir, 0, 0, 0);
  34. make_fileu("env/CHROOT", 1);
  35. make_fileu("env/GID", ftpgid);
  36. make_file("env/HOME", 0644, ftpdir, 0, 0, 0, 0, 0, 0);
  37. --- ./twoftpd-conf.c.orig 2004-05-10 11:00:38.000000000 -0400
  38. +++ ./twoftpd-conf.c 2004-05-10 11:05:28.000000000 -0400
  39. @@ -84,7 +84,7 @@
  40. "exec 2>&1\n"
  41. "umask 022\n"
  42. "exec \\\n"
  43. - "tcpserver -DRHv -llocalhost ", ip, " 21 \\\n"
  44. + "tcpsvd -vv -llocalhost ", ip, " 21 \\\n"
  45. "envdir ", maindir, "/env \\\n");
  46. obuf_put7s(&conf_out,
  47. "softlimit -m 2000000 \\\n",
  48. @@ -96,8 +96,8 @@
  49. make_file("log/run", 0755,
  50. "#!/bin/sh\n"
  51. "exec \\\n"
  52. "setuidgid ", logacct->pw_name, " \\\n"
  53. - "multilog t ", logdir, 0, 0, 0);
  54. + "svlogd -t ", logdir, 0, 0, 0);
  55. if (dochroot) make_fileu("env/CHROOT", 1);