Re: [Pkg-javascript-devel] Packaging nodejs-7.9
On 04.05.2017 16:48, Pirate Praveen wrote: >> What do you folks think about that ? > > Stretch already has 4.8.2. I think its better to just update nodejs for > buster instead of maintaining multiple nodejs versions. Unfortunately, I've got some applications that need a pretty new version. (you know how these web-scripters always need the fanciest newest features, just to save a few keystrokes :o) Meanwhile, I've got it packaged (now lets see whether it still works in the pbuilder env ;-)). A few things still anoying me: I yet have hardcode the version number in the pathes in *.install files. BTW: I'm yet unsure whether it's wise to have everything under prefix /usr/lib/nodejs/nodejs-$version, or it should be splitted out into the individual FHS components like that * /usr/bin/nodejs-$version * /usr/man/man1/nodejs-$version.1 * /usr/share/doc/nodejs-$version/ * ... An still open question is how to cope w/ the modules search pathes. I guess (not tested yet) it will now look at /usr/lib/nodejs-$version/ (haven't applied the FHS patch yet). Perhaps it should be changed to: var paths = ['/usr/lib/nodejs/nodejs-$version/lib','/usr/lib/nodejs'] --mtx -- Pkg-javascript-devel mailing list Pkg-javascript-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel
Re: [Pkg-javascript-devel] Packaging nodejs-7.9
On 2017, മേയ് 4 7:51:41 PM IST, "Enrico Weigelt, metux IT consult" wrote: >Hi folks, > > >I'm currently packaging nodejs-7.9 for various deb Distros. > >I'll have to maintain some applications that use the fanciest >new features, and precompiled binaries from untrusted sources >(eg. nvm+friends) of course are not an option. > >Before I go all of this alone - is there anybody here who already >done this ? Or anything I should consider ? > >My current plan is: >* install in similar way as jvm (/usr/lib/nodejs/nodejs-$version) >* for now I'll just directly symlink - update-alternatives support > comes in a later step (or maybe someone here likes to help ?) >* the actual nodejs package will be named "nodejs-$version", the > symlinks in package "nodejs". > >The tricky part will be a safe upgrade path from current 0.10 >and npm's dependencies. > > >What do you folks think about that ? Stretch already has 4.8.2. I think its better to just update nodejs for buster instead of maintaining multiple nodejs versions. > >--mtx -- Sent from my Android device with K-9 Mail. Please excuse my brevity. -- Pkg-javascript-devel mailing list Pkg-javascript-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel
[Pkg-javascript-devel] Packaging nodejs-7.9
Hi folks, I'm currently packaging nodejs-7.9 for various deb Distros. I'll have to maintain some applications that use the fanciest new features, and precompiled binaries from untrusted sources (eg. nvm+friends) of course are not an option. Before I go all of this alone - is there anybody here who already done this ? Or anything I should consider ? My current plan is: * install in similar way as jvm (/usr/lib/nodejs/nodejs-$version) * for now I'll just directly symlink - update-alternatives support comes in a later step (or maybe someone here likes to help ?) * the actual nodejs package will be named "nodejs-$version", the symlinks in package "nodejs". The tricky part will be a safe upgrade path from current 0.10 and npm's dependencies. What do you folks think about that ? --mtx -- Pkg-javascript-devel mailing list Pkg-javascript-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel