-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Lua51 is otherwise okay, but it lacks the user's possibility of having plain 'lua' command launch the installed version of Lua. The older (5.0) 'lua' package has this command; 5.1 uses 'lua51' instead to avoid any conflicts ('lua51' and 'lua' don't overlap elsewhere). Should I use 'update-alternatives' as part of the 'lua51' package; if I do that, wouldn't it actually make 'lua51' package conflict with 'lua', since the latter does _not_ use 'update-alternatives', it simply installes the %p/bin/lua binary. Or, can I craft and push to Fink a newer version of 'lua' package, that contains nothing but the 'update-alternatives' scripts, and does indeed replace older lua (since using its name). Thanks, - -asko As a continuation of this: I don't get "sudo fink lua" to work, with the separate packaging below. > Unpacking lua51 (from .../lua51_5.1.1-7_darwin-powerpc.deb) ... > (Noting disappearance of lua, which has been completely replaced.) > /sw/bin/dpkg: error processing lua (--install): > no package named `lua' is installed, cannot configure SplitOff I plan to use: # --- lua ('update-alternatives' command, ignorant of the Lua version behind it. # # Note: Script package dependent on Lua should use 'lua51' package, and command name # since that can co-exist with other versions. 'lua' will point always to the # most recent one, only _command line users_ should (need to) use it! # SplitOff3: << Package: lua Depends: lua51 (= %v-%r) #--- # 51 = update-alternatives priority (keep in par with Lua compatibility number) # PostInstScript: << update-alternatives --install %p/bin/lua lua %p/bin/lua51 51 << PreRmScript: << if [ $1 != "upgrade" ]; then update-alternatives --remove lua %p/bin/lua51 fi << Description: Lua command for command line use (same as 'lua51') << Chris Zubrzycki kirjoitti 3.7.2006 kello 17.21: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > On Jul 2, 2006, at 8:08 PM, Asko Kauppi wrote: > >> >> Jean-Louis's email address is [EMAIL PROTECTED] (two l's) >> >> However, we are maintaining the package together, so I may pick up >> the call, too. :) >> >> Lua 5.1.1 is being reviewed by the Lua authorities, and that version >> I can affect (not Lua 5.0, that is all Jean-Louis's). >> >> New package splitting is like this (comments in lua51.info): >> >> # Packages: >> # lua The binary 'lua' (well, symbolic link); does not >> guarantee which Lua version one gets >> # (mainly for playing with the interpreter, and for >> 'package compatibility') > > I would get rid of this package. Have the lua5 package provide lua, > and if you make an unversioned symlink with update-alternatives, it > is possible to have multiple versions installed, and the user can > choose to override the default lua symlink. > > - -chris zubrzycki > - - -- > PGP public key: http://homepage.mac.com/beren/publickey.txt > ID: 0xA2ABC070 > Fingerprint: 26B0 BA6B A409 FA83 42B3 1688 FBF9 8232 A2AB C070 > ======================================================== > "Of course, you realize this means war." > - -B. Bunny > > > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.4 (Darwin) > Comment: Please sign reply-http://www.gnupg.org > > iEYEARECAAYFAkSpJ/IACgkQ+/mCMqKrwHDx3wCeIwsuAaSVVzFVRg1mOqSiFA+Q > zPwAoJlfePe4ZHM5UJ8smT988tvMIjg7 > =dNk2 > -----END PGP SIGNATURE----- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (Darwin) iD8DBQFE43xWGJtHlJZfjQoRAnAhAJ4vE+D5llzouz5CS6ONPWKY+D9JTwCfcKPR 0GDPtIei5PBAqqsvjeQfDnU= =o7qp -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Fink-devel mailing list Fink-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-devel