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.

61 lines
2.2 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../transconnect/prefix.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. # --- SDE-COPYRIGHT-NOTE-END ---
  16. diff -ruN transconnect-1.3-Beta/Makefile transconnect-1.3-Beta-new/Makefile
  17. --- transconnect-1.3-Beta/Makefile 2002-02-06 09:45:33.000000000 +0100
  18. +++ transconnect-1.3-Beta-new/Makefile 2004-04-15 16:34:27.738979376 +0200
  19. @@ -1,4 +1,5 @@
  20. # Makefile for transconnect
  21. +PREFIX = /usr
  22. CFLAGS = -Wall
  23. LDFLAGS = -shared
  24. @@ -28,13 +29,10 @@
  25. $(CC) $(SUN_LDFLAGS) $(SUN_LDLIBS) -o tconn.so tconn.c
  26. install:
  27. - mkdir -p $(HOME)/.tconn
  28. - chmod 700 $(HOME)/.tconn
  29. - cp -f tconn.so $(HOME)/.tconn/
  30. - - cp -f $(HOME)/.tconn/tconn.conf $(HOME)/.tconn/tconn.conf.bak
  31. - cp -f tconn.conf $(HOME)/.tconn/
  32. - cp -f README $(HOME)/.tconn/
  33. - cp -f INSTALL $(HOME)/.tconn/
  34. + mkdir -p $(PREFIX)/tconn
  35. + cp -f tconn.so $(PREFIX)/tconn/
  36. + - cp -f $(PREFIX)/tconn/tconn.conf $(PREFIX)/tconn/tconn.conf.bak
  37. + cp -f tconn.conf $(PREFIX)/tconn/
  38. cat tconn.cat
  39. clean:
  40. diff -ruN transconnect-1.3-Beta/tconn.cat transconnect-1.3-Beta-new/tconn.cat
  41. --- transconnect-1.3-Beta/tconn.cat 2001-10-15 12:53:50.000000000 +0200
  42. +++ transconnect-1.3-Beta-new/tconn.cat 2004-04-15 16:35:20.492959552 +0200
  43. @@ -1,13 +1,14 @@
  44. Transconnect has been installed
  45. Now Edit the .tconn/tconn.conf in your home directory
  46. +You can take a sample from /usr/tconn/tconn.conf.
  47. if you want your config file to reside at a different
  48. place you can set the TCONN environment variable
  49. export TCONN=<path>/<filename>
  50. type the following for starting transconnect
  51. -export LD_PRELOAD=$HOME/.tconn/tconn.so
  52. +export LD_PRELOAD=/usr/tconn/tconn.so
  53. For stopping the transconnect type
  54. unset LD_PRELOAD