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

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

GUITools: WPI build stuff

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