source: trunk/guitools/wpi/samba36.wis@ 1014

Last change on this file since 1014 was 1013, checked in by Herwig Bauernfeind, 9 years ago

GUITools: Optionally install Samba silently

File size: 32.2 KB
Line 
1<WARPIN VERSION="1.0.17">
2<!-- This is the Samba installation profile. -->
3<HEAD>
4
5<REXX NAME="NLVSetup">
6 call RxFuncAdd 'SysLoadFuncs', 'RexxUtil', 'SysLoadFuncs'
7 call SysLoadFuncs
8 if WirexxGetEnv("NLVMSG") = "" then do
9 ok = SysFileDelete(SysBootDrive()"\smbwpi.log")
10 call lineout SysBootDrive()"\smbwpi.log","Samba WPI installation log"
11 lang=strip(left(WirexxGetEnv("LANG"),2))
12 if lang = "" then do
13 call lineout SysBootDrive()"\smbwpi.log","Cannot determine language - falling back to english!"
14 lang="en"
15 end
16 call lineout SysBootDrive()"\smbwpi.log","LANG="lang
17 temp=strip(WirexxGetEnv("TEMP"),,'\')
18 if temp = "" then temp=strip(WirexxGetEnv("TMP"),,'\')
19 if temp = "" then temp=strip(WirexxGetEnv("TMPDIR"),,'\')
20 if temp = "" then temp=SysBootDrive()"\OS2\SYSTEM"
21 call lineout SysBootDrive()"\smbwpi.log","TEMP="temp
22 nlv.!msg = "smbwpi_"lang".msg"
23 rc = WirexxExtract(99,nlv.!msg,temp)
24 if stream(temp'\'nlv.!msg,'c','query exists') = "" then do
25 call lineout SysBootDrive()"\smbwpi.log","No language file for ["lang"] found - falling back to english!"
26 lang = "en"
27 nlv.!msg="smbwpi_"lang".msg"
28 rc=WirexxExtract(99,nlv.!msg,temp)
29 end
30 ok = WirexxPutEnv("NLVMSG",temp'\'nlv.!msg)
31 end
32 call lineout SysBootDrive()"\smbwpi.log","NLVSetup done"
33return ""
34</REXX>
35<REXX NAME="NLVGetMessage">
36 MsgNr=arg(1)
37 MsgStr=SysGetMessage(MsgNr,WirexxGetEnv("NLVMSG"))
38 MsgStr=strip(translate(MsgStr,' ','0D0A'x))
39 call lineout SysBootDrive()"\smbwpi.log","NLVGetMessage "MsgNr":"MsgStr
40 return MsgStr
41</REXX>
42
43<REXX NAME="SMBOS2VER">
44return "1.3.0"
45</REXX>
46
47<REXX NAME="SambaVer">
48return "3.6.25"
49</REXX>
50
51<REXX NAME="Today">
52return "2017-03-05"
53</REXX>
54
55<REXX NAME="UnixRoot">
56 UnixRoot=WirexxGetEnv('UNIXROOT')
57 if UnixRoot = "" then do
58 UnixRoot = SysBootDrive()||'\MPTN'
59 rc=WirexxPutEnv("UNIXROOT",UnixRoot)
60 rc=WirexxShowMessage(SysGetMessage(46,WirexxGetEnv("NLVMSG")),SysGetMessage(47,WirexxGetEnv("NLVMSG"),UnixRoot),"x0040")
61 end
62 if strip(UnixRoot,'T','\') <> UnixRoot then do
63 UnixRoot = strip(UnixRoot,'T','\')
64 rc=WirexxPutEnv("UNIXROOT",UnixRoot)
65 rc=WirexxShowMessage(SysGetMessage(48,WirexxGetEnv("NLVMSG")),SysGetMessage(49,WirexxGetEnv("NLVMSG"),UnixRoot),"x0040")
66 end
67return UnixRoot
68</REXX>
69
70<REXX NAME="SilentSSCC">
71 SMBSilent=WirexxGetEnv('SMBSILENT')
72 if SMBSILENT<>""
73 then RetStr = ''
74 else RetStr = 'EXECUTE="$(1)\sscc.exe /install"'
75 return RetStr
76</REXX>
77
78<REXX NAME="SilentInst">
79 SMBSilent=WirexxGetEnv('SMBSILENT')
80 if SMBSILENT<>""
81 then RetStr = '/install'
82 else RetStr = ''
83 return RetStr
84</REXX>
85
86<REXX NAME="SilentSWAT">
87 SMBSilent=WirexxGetEnv('SMBSILENT')
88 if SMBSILENT<>""
89 then RetStr = 'CREATEOBJECT="WPProgram|Setup SWAT|<SAMBAFLDR>|TITLE=Setup SWAT;EXENAME=SWATSETUP.EXE;PARAMETERS=;NOPRINT=YES;HIDEBUTTON=DEFAULT;MINWIN=DEFAULT;CCVIEW=DEFAULT;DEFAULTVIEW=DEFAULT;OBJECTID=<swatsetup>;"
90 else RetStr = 'EXECUTE="$(1)\swatsetup.exe"'
91 return RetStr
92</REXX>
93
94
95<REXX NAME="ChkTCPBEUI">
96 protocolini = SysBootDrive()'\IBMCOM\protocol.ini'
97 HaveTCPBEUI = 0
98
99 do until lines(protocolini) = 0
100 protline = strip(translate(linein(protocolini)))
101 if left(protline,11) = "TCPBEUI_NIF" then do
102 HaveTCPBeui = 1
103 leave
104 end
105 end
106 ok = stream(protocolini,'c','close')
107 if HaveTCPBEUI then MsgNr = 44; else MsgNr = 43
108 MsgStr=SysGetMessage(MsgNr,WirexxGetEnv("NLVMSG"))
109 MsgStr=strip(translate(MsgStr,' ','0D0A'x))
110return MsgStr
111</REXX>
112
113<REXX NAME="ChkDLL">
114 parse arg DLLName
115 temp = left(WirexxGetEnv("NLVMSG"),length(WirexxGetEnv("NLVMSG"))-14)
116 rc = WirexxExtract(99,'look4dll.exe',temp)
117 address cmd temp'\look4dll.exe 'DLLName' | rxqueue'
118 pull look4dllout
119 parse var look4dllout 'RC='RC' - 'Message
120 if RC = 0 then MsgStr = SysGetMessage(50,WirexxGetEnv("NLVMSG"), substr(Message,7))
121 else MsgStr = SysGetMessage(51,WirexxGetEnv("NLVMSG"))
122 MsgStr=strip(translate(MsgStr,' ','0D0A'x))
123return MsgStr
124</REXX>
125
126<REXX NAME="ChkSmbConf">
127 ETC = WirexxGetEnv("ETC")
128 smbconf = stream(ETC'\samba\smb.conf','c','query exists')
129 if smbconf = "" then MsgStr = SysGetMessage(52,WirexxGetEnv("NLVMSG"), substr(Message,7))
130 else MsgStr = SysGetMessage(53,WirexxGetEnv("NLVMSG"),smbconf)
131return msgStr
132</REXX>
133
134<PCK INDEX=1
135 PACKAGEID="netlabs.org\Samba Server\Core\1\3\0\1011"
136 TARGET="$(WARPIN_DEFAULTAPPSPATH)\Samba"
137 BASE
138 TITLE="=("NLVSetup")=("NLVGetMessage 1") =("SambaVer") Core files"
139 SELECT
140 LONGFILENAMES
141 KILLPROCESS="SMBD.EXE"
142 KILLPROCESS="NMBD.EXE"
143 KILLPROCESS="WINBINDD.EXE"
144 CREATEOBJECT="WPFolder|=("NLVGetMessage 1") =("SambaVer") =("NLVGetMessage 10") =("SMBOS2VER")|<WP_DESKTOP>|TITLE==("NLVGetMessage 1") =("SambaVer") =("NLVGetMessage 10") =("SMBOS2VER");ICONFILE=$(1)\smbfldr1.ico;ICONNFILE=1,$(1)\smbfldr2.ico;ICONVIEW=FLOWED,VISIBLE,NORMAL;TREEVIEW=LINES,VISIBLE,MINI;DEFAULTSORT=-2;ALWAYSSORT=NO;ICONVIEWPOS=23,27,61,25;HIDEBUTTON=DEFAULT;MINWIN=DEFAULT;CCVIEW=DEFAULT;DEFAULTVIEW=DEFAULT;OBJECTID=<SAMBAFLDR>"
145 CREATEOBJECT="WPUrl|=("NLVGetMessage 24")|<SAMBAFLDR>|TITLE==("NLVGetMessage 24");URL=http://svn.netlabs.org/samba;HIDEBUTTON=DEFAULT;MINWIN=DEFAULT;CCVIEW=DEFAULT;DEFAULTVIEW=DEFAULT;OBJECTID=<sambasvn>;"
146 CREATEOBJECT="WPUrl|=("NLVGetMessage 25")|<SAMBAFLDR>|TITLE==("NLVGetMessage 25");URL=http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection;HIDEBUTTON=DEFAULT;MINWIN=DEFAULT;CCVIEW=DEFAULT;DEFAULTVIEW=DEFAULT;OBJECTID=<sambahowto>;"
147 CREATEOBJECT="WPProgram|=("NLVGetMessage 26")|<SAMBAFLDR>|TITLE==("NLVGetMessage 26");EXENAME=$(1)\FINDSMB.CMD;PARAMETERS=-X;STARTUPDIR=$(1);ICONFILE=$(1)\findsmb.ico;PROGTYPE=WINDOWABLEVIO;NOAUTOCLOSE=YES;NOPRINT=YES;HIDEBUTTON=DEFAULT;MINWIN=DEFAULT;CCVIEW=DEFAULT;DEFAULTVIEW=DEFAULT;OBJECTID=<findsmb>;"
148 CREATEOBJECT="WPProgram|=("NLVGetMessage 27") smb.conf|<SAMBAFLDR>|TITLE==("NLVGetMessage 27") smb.conf;EXENAME=E.EXE;PARAMETERS=$(ETC)\samba\smb.conf;NOPRINT=YES;HIDEBUTTON=DEFAULT;MINWIN=DEFAULT;CCVIEW=DEFAULT;DEFAULTVIEW=DEFAULT;OBJECTID=<edit_smbconf>;"
149 CREATEOBJECT="WPProgram|=("NLVGetMessage 28")|<SAMBAFLDR>|TITLE==("NLVGetMessage 28");EXENAME=E.EXE;PARAMETERS=$(1)\readme.os2;NOPRINT=YES;HIDEBUTTON=DEFAULT;MINWIN=DEFAULT;CCVIEW=DEFAULT;DEFAULTVIEW=DEFAULT;OBJECTID=<edit_readmeos2>;"
150 CREATEOBJECT="WPProgram|=("NLVGetMessage 29")|<SAMBAFLDR>|TITLE==("NLVGetMessage 29");EXENAME=$(1)\SMB.CMD;STARTUPDIR=$(1);ICONFILE=$(1)\smb_stop.ico;PROGTYPE=WINDOWABLEVIO;PARAMETERS=stop;NOPRINT=YES;HIDEBUTTON=DEFAULT;MINWIN=DEFAULT;CCVIEW=DEFAULT;DEFAULTVIEW=DEFAULT;OBJECTID=<smb_stop>;"
151 CREATEOBJECT="WPProgram|=("NLVGetMessage 30")|<SAMBAFLDR>|TITLE==("NLVGetMessage 30");EXENAME=$(1)\SMB.CMD;STARTUPDIR=$(1);ICONFILE=$(1)\smb_start.ico;PROGTYPE=WINDOWABLEVIO;PARAMETERS=start;NOPRINT=YES;HIDEBUTTON=DEFAULT;MINWIN=DEFAULT;CCVIEW=DEFAULT;DEFAULTVIEW=DEFAULT;OBJECTID=<smb_start>;"
152 CREATEOBJECT="WPProgram|=("NLVGetMessage 31")|<SAMBAFLDR>|TITLE==("NLVGetMessage 31");EXENAME=$(1)\SMB.CMD;STARTUPDIR=$(1);ICONFILE=$(1)\smb_rst.ico;PROGTYPE=WINDOWABLEVIO;PARAMETERS=restart;NOAUTOCLOSE=YES;NOPRINT=YES;HIDEBUTTON=DEFAULT;MINWIN=DEFAULT;CCVIEW=DEFAULT;DEFAULTVIEW=DEFAULT;OBJECTID=<smb_restart>;"
153 CREATEOBJECT="WPProgram|=("NLVGetMessage 32")|<SAMBAFLDR>|TITLE==("NLVGetMessage 32");EXENAME=$(1)\SMB.CMD;STARTUPDIR=$(1);ICONFILE=$(1)\smb_rel.ico;PROGTYPE=WINDOWABLEVIO;PARAMETERS=reload;NOAUTOCLOSE=YES;NOPRINT=YES;HIDEBUTTON=DEFAULT;MINWIN=DEFAULT;CCVIEW=DEFAULT;DEFAULTVIEW=DEFAULT;OBJECTID=<smb_reload>;"
154 CONFIGSYS="SET UNIXROOT==("UnixRoot")| UNIQUE"
155 WRITEPROFILE="USER\Samba\ServerPath|$(1)"
156 >=("NLVGetMessage 15")
157</PCK>
158
159<PCK INDEX=2
160 PACKAGEID="netlabs.org\Samba Server\Scripts\1\3\0\1011"
161 TARGET="$(1)"
162 LONGFILENAMES
163 TITLE="=("NLVGetMessage 16")"
164 SELECT
165 >=("NLVGetMessage 17")
166</PCK>
167
168<PCK INDEX=3
169 PACKAGEID="netlabs.org\Samba Server\SmbMon\2\5\1\991"
170 TARGET="$(1)"
171 LONGFILENAMES
172 TITLE="=("NLVGetMessage 18") (SmbMon)"
173 SELECT
174 CREATEOBJECT="WPProgram|=("NLVGetMessage 18")|<SAMBAFLDR>|TITLE==("NLVGetMessage 18");EXENAME=$(1)\SMBMON.EXE;STARTUPDIR=$(1);NOAUTOCLOSE=YES;NOPRINT=YES;HIDEBUTTON=DEFAULT;MINWIN=DEFAULT;CCVIEW=DEFAULT;DEFAULTVIEW=DEFAULT;OBJECTID=<smbmon>;"
175 >=("NLVGetMessage 19")
176</PCK>
177
178<PCK INDEX=4
179 PACKAGEID="netlabs.org\Samba Server\SmbUsers\2\0\1\990"
180 TARGET="$(1)"
181 LONGFILENAMES
182 TITLE="=("NLVGetMessage 20") (SmbUsers)"
183 SELECT
184 CREATEOBJECT="WPProgram|=("NLVGetMessage 20")|<SAMBAFLDR>|TITLE==("NLVGetMessage 20");EXENAME=$(1)\SMBUSERS.EXE;STARTUPDIR=$(1);PARAMETERS=;NOPRINT=YES;HIDEBUTTON=DEFAULT;MINWIN=DEFAULT;CCVIEW=DEFAULT;DEFAULTVIEW=DEFAULT;OBJECTID=<smbusers>;"
185 >=("NLVGetMessage 21")
186</PCK>
187
188<PCK INDEX=5
189 PACKAGEID="netlabs.org\Samba Server\SWAT\1\3\0\979"
190 TARGET="$(1)"
191 LONGFILENAMES
192 TITLE="Samba Web Administration Tool (SWAT) - untested"
193 DESELECT
194 =("SilentSWAT")
195 CREATEOBJECT="WPUrl|Samba Web Administration Tool (SWAT)|<SAMBAFLDR>|TITLE=Samba Web Administration Tool (SWAT);URL=http://localhost:901;HIDEBUTTON=DEFAULT;MINWIN=DEFAULT;CCVIEW=DEFAULT;DEFAULTVIEW=DEFAULT;OBJECTID=<sambaswat>;"
196 CREATEOBJECT="WPProgram|=("NLVGetMessage 34")|<SAMBAFLDR>|TITLE==("NLVGetMessage 34");EXENAME=$(1)\swatstart.cmd;PARAMETERS=;STARTUPDIR=$(1);NOPRINT=YES;HIDEBUTTON=DEFAULT;MINWIN=DEFAULT;CCVIEW=DEFAULT;DEFAULTVIEW=DEFAULT;OBJECTID=<swatstart>;"
197 CREATEOBJECT="WPProgram|=("NLVGetMessage 27") swat.conf|<SAMBAFLDR>|TITLE==("NLVGetMessage 27") swat.conf;EXENAME=E.EXE;PARAMETERS=$(ETC)\samba\swat.conf;NOPRINT=YES;HIDEBUTTON=DEFAULT;MINWIN=DEFAULT;CCVIEW=DEFAULT;DEFAULTVIEW=DEFAULT;OBJECTID=<edit_swatconf>;"
198 >=("NLVGetMessage 14") Samba Web Administration Tool (SWAT)
199</PCK>
200
201<PCK INDEX=6
202 PACKAGEID="netlabs.org\Samba Server\Install\1\1\1\991"
203 TARGET="$(1)"
204 LONGFILENAMES
205 TITLE="=("NLVGetMessage 22") (SSCC)"
206 SELECT
207 =("SilentSSCC")
208 DEEXECUTE="$(1)\removecfg.exe $(1)"
209 CREATEOBJECT="WPProgram|=("NLVGetMessage 22")|<SAMBAFLDR>|TITLE==("NLVGetMessage 22");EXENAME=$(1)\SSCC.EXE;PARAMETERS==("SilentInst");STARTUPDIR=$(1);NOPRINT=YES;HIDEBUTTON=DEFAULT;MINWIN=DEFAULT;CCVIEW=DEFAULT;DEFAULTVIEW=DEFAULT;OBJECTID=<sscc>;"
210 CREATEOBJECT="FAIL WPProgram|=("NLVGetMessage 33")|<XWP_CONFIG>|TITLE==("NLVGetMessage 33");EXENAME=$(1)\SHAREWIZ.EXE;PARAMETERS=;STARTUPDIR=$(1);NOPRINT=YES;HIDEBUTTON=DEFAULT;MINWIN=DEFAULT;CCVIEW=DEFAULT;DEFAULTVIEW=DEFAULT;OBJECTID=<sharewiz>;"
211 >=("NLVGetMessage 23")
212</PCK>
213
214</HEAD>
215
216<!-- Introduction page -->
217<BODY>
218<PAGE INDEX=1 TYPE=README>
219<NEXTBUTTON TARGET=2>=("NLVGetMessage 2")</NEXTBUTTON>
220<TEXT>
221=("NLVGetMessage 9") =("NLVGetMessage 1") =("NLVGetMessage 10") =("NLVGetMessage 11") =("SMBOS2VER")!
222</TEXT>
223<README FORMAT=HTML>
224=("NLVGetMessage 37")
225<P>=("NLVGetMessage 38")
226<P>=("NLVGetMessage 39")
227<P>=("NLVGetMessage 40") =("SambaVer") =("NLVGetMessage 41")
228<P><B>=("NLVGetMessage 54")</B>
229<P><B>Run yum install libc libcx libgcc1 cups-libs popt-libs gettext-libs zlib readline in order to make sure you got all DLLs.</B>
230<BR>
231<BR><B>=("NLVGetMessage 42")</B><BR>
232<BR>- =("NLVGetMessage 45") <B>=("UnixRoot")</B>
233<BR>- =("ChkTCPBEUI")
234<BR>- kLibc 0.6.6 =("ChkDLL LIBC066.DLL")
235<BR>- kintl.DLL =("ChkDLL KINTL.DLL")
236<BR>- GCC 4.4.2 =("ChkDLL GCC442.DLL")
237<BR>- GCC 4.4.6 =("ChkDLL GCC446.DLL")
238<BR>- VX-REXX =("ChkDLL VROBJ.DLL")
239<BR>- VX-REXX Splitbar =("ChkDLL VRSPLITB.DLL")
240<BR>- Alex Taylor's VX-REXX Extension =("ChkDLL VROBJEX.DLL")
241<BR>- Chris Wohlgemuth's =("ChkDLL DRCTL017.DLL")
242<BR>- Paul Ratcliffe's =("ChkDLL PR1UTIL.DLL")
243<BR>- Steven Elliot's =("ChkDLL REXXINI.DLL")
244<BR>- Dave Boll's =("ChkDLL RXU.DLL")
245<BR>- Dmitry A.Steklenev's =("ChkDLL RXCRYPT.DLL")
246
247<BR>- =("ChkSmbConf")
248
249<P><B>=("NLVGetMessage 60")</B><BR>
250<BR>- =("NLVGetMessage 61")<BR>
251<BR>- =("NLVGetMessage 62")<BR>
252<BR>- =("NLVGetMessage 63")<BR>
253</README>
254</PAGE>
255
256<PAGE INDEX=2 TYPE=README>
257<NEXTBUTTON TARGET=3>=("NLVGetMessage 2")</NEXTBUTTON>
258<TEXT>
259=("NLVGetMessage 70")
260</TEXT>
261<README FORMAT=HTML>
262=("NLVGetMessage 71")
263<BR><U><a href="http://svn.netlabs.org/samba">http://svn.netlabs.org/samba</a></U><BR>
264<BR>=("NLVGetMessage 72")
265<BR><U><a href="http://svn.netlabs.org/samba/wiki/Cookbook">http://svn.netlabs.org/samba/wiki/Cookbook</a></U><BR>
266<BR>=("NLVGetMessage 73")
267<BR><U><a href="http://svn.netlabs.org/samba/wiki/FAQ">http://svn.netlabs.org/samba/wiki/FAQ</a></U><BR>
268<BR>=("NLVGetMessage 74")<BR>
269<BR>=("NLVGetMessage 75")
270<BR><U><a href="http://svn.netlabs.org/samba/report">http://svn.netlabs.org/samba/report</a></U><BR>
271<BR>=("NLVGetMessage 76")
272<BR>svn co http://svn.netlabs.org/repos/samba/trunk/samba
273
274<P><B>=("NLVGetMessage 77")</B>
275<BR>* bww bitwise works GmbH.
276<BR> - Silvan Scherrer (=("NLVGetMessage 81"))
277<BR> - Dmitry Kuminov (libcx, tdb code)
278<BR> - Herwig Bauernfeind (=("NLVGetMessage 80"))
279<BR>* Paul Smedley (=("NLVGetMessage 78") 3.0.24)
280<BR>* Yuri Dario (=("NLVGetMessage 79"))
281<BR>* Nikolay Kolosov (=("NLVGetMessage 78") 3.0.9)
282<BR>* =("NLVGetMessage 84")
283<BR>* =("NLVGetMessage 85")
284<P>=("NLVGetMessage 86")
285<P>=("NLVGetMessage 87")
286<BR>=("Today")
287</README>
288</PAGE>
289<!-- License page -->
290<PAGE INDEX=3 TYPE=README>
291<NEXTBUTTON TARGET=4>=("NLVGetMessage 4")</NEXTBUTTON>
292<TEXT>
293=("NLVGetMessage 3")
294</TEXT>
295<README FORMAT=HTML>
296<B>GNU GENERAL PUBLIC LICENSE
297<BR>Version 2, June 1991</B>
298
299<P>Copyright (C) 1989, 1991 Free Software Foundation, Inc.
300<BR>675 Mass Ave, Cambridge, MA 02139, USA
301<P>Everyone is permitted to copy and distribute verbatim copies
302 of this license document, but changing it is not allowed.
303
304<P><B>Preamble</B>
305
306<P>The licenses for most software are designed to take away your
307freedom to share and change it. By contrast, the GNU General Public
308License is intended to guarantee your freedom to share and change free
309software--to make sure the software is free for all its users. This
310General Public License applies to most of the Free Software
311Foundation's software and to any other program whose authors commit to
312using it. (Some other Free Software Foundation software is covered by
313the GNU Library General Public License instead.) You can apply it to
314your programs, too.
315
316<P>When we speak of free software, we are referring to freedom, not
317price. Our General Public Licenses are designed to make sure that you
318have the freedom to distribute copies of free software (and charge for
319this service if you wish), that you receive source code or can get it
320if you want it, that you can change the software or use pieces of it
321in new free programs; and that you know you can do these things.
322
323<P>To protect your rights, we need to make restrictions that forbid
324anyone to deny you these rights or to ask you to surrender the rights.
325These restrictions translate to certain responsibilities for you if you
326distribute copies of the software, or if you modify it.
327
328<P>For example, if you distribute copies of such a program, whether
329gratis or for a fee, you must give the recipients all the rights that
330you have. You must make sure that they, too, receive or can get the
331source code. And you must show them these terms so they know their
332rights.
333
334<P>We protect your rights with two steps: (1) copyright the software, and
335(2) offer you this license which gives you legal permission to copy,
336distribute and/or modify the software.
337
338<P>Also, for each author's protection and ours, we want to make certain
339that everyone understands that there is no warranty for this free
340software. If the software is modified by someone else and passed on, we
341want its recipients to know that what they have is not the original, so
342that any problems introduced by others will not reflect on the original
343authors' reputations.
344
345<P>Finally, any free program is threatened constantly by software
346patents. We wish to avoid the danger that redistributors of a free
347program will individually obtain patent licenses, in effect making the
348program proprietary. To prevent this, we have made it clear that any
349patent must be licensed for everyone's free use or not licensed at all.
350
351<P>The precise terms and conditions for copying, distribution and
352modification follow.
353
354<P><B>GNU GENERAL PUBLIC LICENSE
355<BR>TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION</B>
356
357<P><B>0.</B> This License applies to any program or other work which contains
358a notice placed by the copyright holder saying it may be distributed
359under the terms of this General Public License. The "Program", below,
360refers to any such program or work, and a "work based on the Program"
361means either the Program or any derivative work under copyright law:
362that is to say, a work containing the Program or a portion of it,
363either verbatim or with modifications and/or translated into another
364language. (Hereinafter, translation is included without limitation in
365the term "modification".) Each licensee is addressed as "you".
366
367<P>Activities other than copying, distribution and modification are not
368covered by this License; they are outside its scope. The act of
369running the Program is not restricted, and the output from the Program
370is covered only if its contents constitute a work based on the
371Program (independent of having been made by running the Program).
372Whether that is true depends on what the Program does.
373
374<P><B>1.</B> You may copy and distribute verbatim copies of the Program's
375source code as you receive it, in any medium, provided that you
376conspicuously and appropriately publish on each copy an appropriate
377copyright notice and disclaimer of warranty; keep intact all the
378notices that refer to this License and to the absence of any warranty;
379and give any other recipients of the Program a copy of this License
380along with the Program.
381
382<P>You may charge a fee for the physical act of transferring a copy, and
383you may at your option offer warranty protection in exchange for a fee.
384
385<P><B>2.</B> You may modify your copy or copies of the Program or any portion
386of it, thus forming a work based on the Program, and copy and
387distribute such modifications or work under the terms of Section 1
388above, provided that you also meet all of these conditions:
389
390<P><B>a)</B> You must cause the modified files to carry prominent notices
391stating that you changed the files and the date of any change.
392
393<P><B>b)</B> You must cause any work that you distribute or publish, that in
394whole or in part contains or is derived from the Program or any
395part thereof, to be licensed as a whole at no charge to all third
396parties under the terms of this License.
397
398<P><B>c)</B> If the modified program normally reads commands interactively
399when run, you must cause it, when started running for such
400interactive use in the most ordinary way, to print or display an
401announcement including an appropriate copyright notice and a
402notice that there is no warranty (or else, saying that you provide
403a warranty) and that users may redistribute the program under
404these conditions, and telling the user how to view a copy of this
405License. (Exception: if the Program itself is interactive but
406does not normally print such an announcement, your work based on
407the Program is not required to print an announcement.)
408
409<P>These requirements apply to the modified work as a whole. If
410identifiable sections of that work are not derived from the Program,
411and can be reasonably considered independent and separate works in
412themselves, then this License, and its terms, do not apply to those
413sections when you distribute them as separate works. But when you
414distribute the same sections as part of a whole which is a work based
415on the Program, the distribution of the whole must be on the terms of
416this License, whose permissions for other licensees extend to the
417entire whole, and thus to each and every part regardless of who wrote it.
418
419<P>Thus, it is not the intent of this section to claim rights or contest
420your rights to work written entirely by you; rather, the intent is to
421exercise the right to control the distribution of derivative or
422collective works based on the Program.
423
424<P>In addition, mere aggregation of another work not based on the Program
425with the Program (or with a work based on the Program) on a volume of
426a storage or distribution medium does not bring the other work under
427the scope of this License.
428
429<P><B>3.</B> You may copy and distribute the Program (or a work based on it,
430under Section 2) in object code or executable form under the terms of
431Sections 1 and 2 above provided that you also do one of the following:
432
433<P><B>a)</B> Accompany it with the complete corresponding machine-readable
434source code, which must be distributed under the terms of Sections
4351 and 2 above on a medium customarily used for software interchange; or,
436
437<P><B>b)</B> Accompany it with a written offer, valid for at least three
438years, to give any third party, for a charge no more than your
439cost of physically performing source distribution, a complete
440machine-readable copy of the corresponding source code, to be
441distributed under the terms of Sections 1 and 2 above on a medium
442customarily used for software interchange; or,
443
444<P><B>c)</B> Accompany it with the information you received as to the offer
445to distribute corresponding source code. (This alternative is
446allowed only for noncommercial distribution and only if you
447received the program in object code or executable form with such
448an offer, in accord with Subsection b above.)
449
450<P>The source code for a work means the preferred form of the work for
451making modifications to it. For an executable work, complete source
452code means all the source code for all modules it contains, plus any
453associated interface definition files, plus the scripts used to
454control compilation and installation of the executable. However, as a
455special exception, the source code distributed need not include
456anything that is normally distributed (in either source or binary
457form) with the major components (compiler, kernel, and so on) of the
458operating system on which the executable runs, unless that component
459itself accompanies the executable.
460
461<P>If distribution of executable or object code is made by offering
462access to copy from a designated place, then offering equivalent
463access to copy the source code from the same place counts as
464distribution of the source code, even though third parties are not
465compelled to copy the source along with the object code.
466
467<P><B>4.</B> You may not copy, modify, sublicense, or distribute the Program
468except as expressly provided under this License. Any attempt
469otherwise to copy, modify, sublicense or distribute the Program is
470void, and will automatically terminate your rights under this License.
471However, parties who have received copies, or rights, from you under
472this License will not have their licenses terminated so long as such
473parties remain in full compliance.
474
475<P><B>5.</B> You are not required to accept this License, since you have not
476signed it. However, nothing else grants you permission to modify or
477distribute the Program or its derivative works. These actions are
478prohibited by law if you do not accept this License. Therefore, by
479modifying or distributing the Program (or any work based on the
480Program), you indicate your acceptance of this License to do so, and
481all its terms and conditions for copying, distributing or modifying
482the Program or works based on it.
483
484<P><B>6.</B> Each time you redistribute the Program (or any work based on the
485Program), the recipient automatically receives a license from the
486original licensor to copy, distribute or modify the Program subject to
487these terms and conditions. You may not impose any further
488restrictions on the recipients' exercise of the rights granted herein.
489You are not responsible for enforcing compliance by third parties to
490this License.
491
492<P><B>7.</B> If, as a consequence of a court judgment or allegation of patent
493infringement or for any other reason (not limited to patent issues),
494conditions are imposed on you (whether by court order, agreement or
495otherwise) that contradict the conditions of this License, they do not
496excuse you from the conditions of this License. If you cannot
497distribute so as to satisfy simultaneously your obligations under this
498License and any other pertinent obligations, then as a consequence you
499may not distribute the Program at all. For example, if a patent
500license would not permit royalty-free redistribution of the Program by
501all those who receive copies directly or indirectly through you, then
502the only way you could satisfy both it and this License would be to
503refrain entirely from distribution of the Program.
504
505<P>If any portion of this section is held invalid or unenforceable under
506any particular circumstance, the balance of the section is intended to
507apply and the section as a whole is intended to apply in other
508circumstances.
509
510<P>It is not the purpose of this section to induce you to infringe any
511patents or other property right claims or to contest validity of any
512such claims; this section has the sole purpose of protecting the
513integrity of the free software distribution system, which is
514implemented by public license practices. Many people have made
515generous contributions to the wide range of software distributed
516through that system in reliance on consistent application of that
517system; it is up to the author/donor to decide if he or she is willing
518to distribute software through any other system and a licensee cannot
519impose that choice.
520
521<P>This section is intended to make thoroughly clear what is believed to
522be a consequence of the rest of this License.
523
524<P><B>8.</B> If the distribution and/or use of the Program is restricted in
525certain countries either by patents or by copyrighted interfaces, the
526original copyright holder who places the Program under this License
527may add an explicit geographical distribution limitation excluding
528those countries, so that distribution is permitted only in or among
529countries not thus excluded. In such case, this License incorporates
530the limitation as if written in the body of this License.
531
532<P><B>9.</B> The Free Software Foundation may publish revised and/or new versions
533of the General Public License from time to time. Such new versions will
534be similar in spirit to the present version, but may differ in detail to
535address new problems or concerns.
536
537<P>Each version is given a distinguishing version number. If the Program
538specifies a version number of this License which applies to it and "any
539later version", you have the option of following the terms and conditions
540either of that version or of any later version published by the Free
541Software Foundation. If the Program does not specify a version number of
542this License, you may choose any version ever published by the Free Software
543Foundation.
544
545<P><B>10.</B> If you wish to incorporate parts of the Program into other free
546programs whose distribution conditions are different, write to the author
547to ask for permission. For software which is copyrighted by the Free
548Software Foundation, write to the Free Software Foundation; we sometimes
549make exceptions for this. Our decision will be guided by the two goals
550of preserving the free status of all derivatives of our free software and
551of promoting the sharing and reuse of software generally.
552
553<P><B>NO WARRANTY</B>
554<P><B>11.</B> BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
555FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
556OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
557PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
558OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
559MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
560TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
561PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
562REPAIR OR CORRECTION.
563
564<P><B>12.</B> IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
565WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
566REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
567INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
568OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
569TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
570YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
571PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
572POSSIBILITY OF SUCH DAMAGES.
573
574<P><B>END OF TERMS AND CONDITIONS</B>
575
576<P><B>Appendix: How to Apply These Terms to Your New Programs</B>
577
578<P>If you develop a new program, and you want it to be of the greatest
579possible use to the public, the best way to achieve this is to make it
580free software which everyone can redistribute and change under these terms.
581
582<P>To do so, attach the following notices to the program. It is safest
583to attach them to the start of each source file to most effectively
584convey the exclusion of warranty; and each file should have at least
585the "copyright" line and a pointer to where the full notice is found.
586
587<PRE>
588&lt;one line to give the program's name and a brief idea of what it does.&gt;
589Copyright (C) 19yy &lt;name of author&gt;
590
591This program is free software; you can redistribute it and/or modify
592it under the terms of the GNU General Public License as published by
593the Free Software Foundation; either version 2 of the License, or
594at your option) any later version.
595
596This program is distributed in the hope that it will be useful,
597but WITHOUT ANY WARRANTY; without even the implied warranty of
598MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
599GNU General Public License for more details.
600
601You should have received a copy of the GNU General Public License
602along with this program; if not, write to the Free Software
603Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.</PRE>
604
605<P>Also add information on how to contact you by electronic and paper mail.
606
607<P>If the program is interactive, make it output a short notice like this
608when it starts in an interactive mode:
609
610<P><PRE>Gnomovision version 69, Copyright (C) 19yy name of author
611Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
612This is free software, and you are welcome to redistribute it
613under certain conditions; type `show c' for details.</PRE>
614
615<P>The hypothetical commands `show w' and `show c' should show the appropriate
616parts of the General Public License. Of course, the commands you use may
617be called something other than `show w' and `show c'; they could even be
618mouse-clicks or menu items--whatever suits your program.
619
620<P>You should also get your employer (if you work as a programmer) or your
621school, if any, to sign a "copyright disclaimer" for the program, if
622necessary. Here is a sample; alter the names:
623
624<P><PRE>Yoyodyne, Inc., hereby disclaims all copyright interest in the program
625`Gnomovision' (which makes passes at compilers) written by James Hacker.
626
627&lt;signature of Ty Coon&gt;, 1 April 1989
628Ty Coon, President of Vice</PRE>
629
630<P>This General Public License does not permit incorporating your program into
631proprietary programs. If your program is a subroutine library, you may
632consider it more useful to permit linking proprietary applications with the
633library. If this is what you want to do, use the GNU Library General
634Public License instead of this License.
635</README>
636</PAGE>
637
638<!-- Packagese page -->
639<PAGE INDEX=4 TYPE=CONTAINER>
640<NEXTBUTTON TARGET=5>=("NLVGetMessage 2")</NEXTBUTTON>
641<TEXT>
642=("NLVGetMessage 5")
643</TEXT>
644</PAGE>
645<!-- page -->
646<PAGE INDEX=5 TYPE=CONFIGURE>
647<NEXTBUTTON TARGET=6>=("NLVGetMessage 2")</NEXTBUTTON>
648<TEXT>
649=("NLVGetMessage 6")
650</TEXT>
651</PAGE>
652<!-- page -->
653<PAGE INDEX=6 TYPE=TEXT>
654<NEXTBUTTON TARGET=0>=("NLVGetMessage 8")</NEXTBUTTON>
655<TEXT>
656=("NLVGetMessage 7")
657
658=("NLVGetMessage 45") =("UnixRoot")
659</TEXT>
660</PAGE>
661</BODY>
662</WARPIN>
Note: See TracBrowser for help on using the repository browser.