* updated krdc (21.12.1 -> 21.12.2), untested
[t2-trunk.git] / package / network / transconnect / prefix.patch
blob5df0e3d81fe47313fe7e1ea0dbafbe436d0087b0
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../transconnect/prefix.patch
5 # Copyright (C) 2004 - 2005 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 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
23 CFLAGS = -Wall
24 LDFLAGS = -shared
25 @@ -28,13 +29,10 @@
26 $(CC) $(SUN_LDFLAGS) $(SUN_LDLIBS) -o tconn.so tconn.c
28 install:
29 - mkdir -p $(HOME)/.tconn
30 - chmod 700 $(HOME)/.tconn
31 - cp -f tconn.so $(HOME)/.tconn/
32 - - cp -f $(HOME)/.tconn/tconn.conf $(HOME)/.tconn/tconn.conf.bak
33 - cp -f tconn.conf $(HOME)/.tconn/
34 - cp -f README $(HOME)/.tconn/
35 - cp -f INSTALL $(HOME)/.tconn/
36 + mkdir -p $(PREFIX)/tconn
37 + cp -f tconn.so $(PREFIX)/tconn/
38 + - cp -f $(PREFIX)/tconn/tconn.conf $(PREFIX)/tconn/tconn.conf.bak
39 + cp -f tconn.conf $(PREFIX)/tconn/
40 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 @@
48 Transconnect has been installed
49 Now Edit the .tconn/tconn.conf in your home directory
50 +You can take a sample from /usr/tconn/tconn.conf.
52 if you want your config file to reside at a different
53 place you can set the TCONN environment variable
54 export TCONN=<path>/<filename>
56 type the following for starting transconnect
57 -export LD_PRELOAD=$HOME/.tconn/tconn.so
58 +export LD_PRELOAD=/usr/tconn/tconn.so
60 For stopping the transconnect type
61 unset LD_PRELOAD