mirror of the now-defunct rocklinux.org
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.

65 lines
2.4 KiB

  1. # --- ROCK-COPYRIGHT-NOTE-BEGIN ---
  2. #
  3. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  4. # Please add additional copyright information _after_ the line containing
  5. # the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
  6. # the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
  7. #
  8. # ROCK Linux: rock-src/package/avm/transconnect/prefix.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2004 Clifford Wolf
  10. #
  11. # This patch file is dual-licensed. It is available under the license the
  12. # patched project is licensed under, as long as it is an OpenSource license
  13. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  14. # of the GNU General Public License as published by the Free Software
  15. # Foundation; either version 2 of the License, or (at your option) any later
  16. # version.
  17. #
  18. # --- ROCK-COPYRIGHT-NOTE-END ---
  19. diff -ruN transconnect-1.3-Beta/Makefile transconnect-1.3-Beta-new/Makefile
  20. --- transconnect-1.3-Beta/Makefile 2002-02-06 09:45:33.000000000 +0100
  21. +++ transconnect-1.3-Beta-new/Makefile 2004-04-15 16:34:27.738979376 +0200
  22. @@ -1,4 +1,5 @@
  23. # Makefile for transconnect
  24. +PREFIX = /usr
  25. CFLAGS = -Wall
  26. LDFLAGS = -shared
  27. @@ -28,13 +29,10 @@
  28. $(CC) $(SUN_LDFLAGS) $(SUN_LDLIBS) -o tconn.so tconn.c
  29. install:
  30. - mkdir -p $(HOME)/.tconn
  31. - chmod 700 $(HOME)/.tconn
  32. - cp -f tconn.so $(HOME)/.tconn/
  33. - - cp -f $(HOME)/.tconn/tconn.conf $(HOME)/.tconn/tconn.conf.bak
  34. - cp -f tconn.conf $(HOME)/.tconn/
  35. - cp -f README $(HOME)/.tconn/
  36. - cp -f INSTALL $(HOME)/.tconn/
  37. + mkdir -p $(PREFIX)/tconn
  38. + cp -f tconn.so $(PREFIX)/tconn/
  39. + - cp -f $(PREFIX)/tconn/tconn.conf $(PREFIX)/tconn/tconn.conf.bak
  40. + cp -f tconn.conf $(PREFIX)/tconn/
  41. cat tconn.cat
  42. clean:
  43. diff -ruN transconnect-1.3-Beta/tconn.cat transconnect-1.3-Beta-new/tconn.cat
  44. --- transconnect-1.3-Beta/tconn.cat 2001-10-15 12:53:50.000000000 +0200
  45. +++ transconnect-1.3-Beta-new/tconn.cat 2004-04-15 16:35:20.492959552 +0200
  46. @@ -1,13 +1,14 @@
  47. Transconnect has been installed
  48. Now Edit the .tconn/tconn.conf in your home directory
  49. +You can take a sample from /usr/tconn/tconn.conf.
  50. if you want your config file to reside at a different
  51. place you can set the TCONN environment variable
  52. export TCONN=<path>/<filename>
  53. type the following for starting transconnect
  54. -export LD_PRELOAD=$HOME/.tconn/tconn.so
  55. +export LD_PRELOAD=/usr/tconn/tconn.so
  56. For stopping the transconnect type
  57. unset LD_PRELOAD