On Mon, Aug 2, 2010 at 1:32 PM, Ximin Luo <infinity0 at gmx.com> wrote: > On 02/08/10 06:19, Masayuki Hatta wrote: >> Hi everyone, >> > > Hey, welcome back! > >> Almost a year ago, I made Debian/Ubuntu packaging scripts for >> Freenet(fred) & Co.(fms, jsite, etc.)[1]. ?Since I've been quite >> busy(and my Debian-running laptop crashed), I largely abandoned them >> for a while. ?However, recently I could find some time (and saw some >> interesting discussion here about Debian/FHS compliance), I managed to >> update fred package to the current revision 1263. ?I think the users >> of this package can use Freenet really out of the box. ?My packaging >> is as much faithful to Debian/FHS as I could, so you may use this as a >> test bed(of course, there are still many problem such as putting >> freenet.ini in /var/lib/fred instead of more proper /etc/fred or >> somewhere, etc). >> > > I'll have a look at modifying the code to use different directories for > different files, rather than just node.nodeDir, as I suggested in [1] - can > you > have a look to see if it's OK? > > [1] http://new-wiki.freenetproject.org/Talk:Program_files > > What are your intentions for the package? Are you building these just so > freenet has some .debs? In this case we can host our own APT repository, with > our own keys, and I can set that up with reprepro. > > Or do you plan to make it an official Debian package (it will have to stay in > sid for a while, and not go to testing or stable; or maybe put it in > debian-volatile?) I think freenet satisfies DFSG but I dunno about the > "Standards Version" stuff. Then there is freenet-ext.jar, which will probably > have to be broken up into individual packages. > >> You may get pre-built(on Debian amd64) debs from under >> http://people.debian.org/~mhatta/debian, and of course you may rebuild >> them if you want(Build-Deps are carefully set). ?Also, this time I >> pushed files into Freenet GitHub repo(debian-staging). ?See >> debian-staging/README for building instructions. >> > > IMO "freenet" or maybe "freenetd" is a better name, because it's easier to > search for. Not many users refer to it as "fred", and it will confuse people > who do `aptitude search` or synaptic search.
I think fred is a good name, it means Freenet REference Daemon, and that's what this package is. The ? freenet ? term is probably present in the description of the package, isn't that enough for searching ? > > BTW, you can use git submodules, instead of telling the user to manually clone > it into the folder. > > Also, it would be nice if you packaged plugins into a separate package, say > "freenet-plugins-official" or something. > >> BTW, I noticed a few problem: >> >> 1. Currently, so-called headless build (without setting DISPLAY) >> fails. ?This is a serious problem since the automated build daemon is >> quite common not only in Debian but also other distros in general >> these days. ?Seems the culprit is AWT, but I can't figure out why. ?I >> attached the log from failed build session using by pbuilder[2]. >> >> 2. The build system around GWT is not so sophisticated, IMHO. ?Seems >> it requires to put some needed .jar's into generator/js/lib, ?and the >> file name in build.xml is wrong(GWT.lib.dev should be >> gwt-dev-linux.jar on GNU/Linux), etc. >> >> 3. The home-brew build of freenet-ext.jar still fails. ?Is there >> anyone who could actually do that? >> > > I'll try out the debian build at some point, but building contrib-staging > directly, works for me last time I tried, what error are you getting? It > involves some C builds too. > >> 4. Still not using Java wrapper(thus automated update doesn't work). >> I did begin to work on this a year ago, but I need to refresh my >> memory now...also, as toad puts it, it can be debatable whether it >> should be allowed to modify the installed binary(in this case >> /usr/share/java/freenet-cvs-snapshot.jar or such) by means other than >> installing updated .deb., at least FHS-wise. >> > > IMO we should disable auto-update for deb builds, and have APT take care of > this. > >> Maybe more, ?I'll let you know when I encountered it... >> >> As always, help/comments/suggestions/hacks are highly welcomed. ?Also, >> if it's okay I'll add some information about this packaging into Wiki. >> > > http://new-wiki.freenetproject.org/Packaging/Debian would be a good place :) > Put it under [[Category:Project]]. > >> Best regards, >> MH >> >> [1] http://www.mail-archive.com/devl at freenetproject.org/msg23430.html >> >> [2] http://www.netfort.gr.jp/~dancer/software/pbuilder.html.en >> > _______________________________________________ > Devl mailing list > Devl at freenetproject.org > http://freenetproject.org/cgi-bin/mailman/listinfo/devl >