Great work putting together this package! It looks like it does a very good job in following Debian standards, particularly when it comes to bundling the docs.
I had put together a very simple package in March ( See http://archives.freenetproject.org/message/20090621.204854.22bccb0b.ja.html ) and I'd love to offer what assistance I can. Your package is much nicer, and integrates much better with the rest of Debian. One of the things I was doing differently was to simply repurpose the run.sh, rather than port to start-stop-daemon, that way any changes made to official freenet files are preserved. It might be best to stick with the existing Freenet technology where possible. The other thing had done differently is to pull the .tgz files live from the website, to avoid the package getting out of date.. I think that having everything stored in the .deb is the right behavior- It creates an offline installer, which is much better for hostile regimes. That being said, storing the files in the .deb means that they'd get stale quickly, so I think that it may be best to make it easy for Matthew to build the .deb as part of the process of building and releasing a new version of Freenet. Could you put together a bash script (or somesuch) that would help copy the files into the sub-directories you're using, so that Matthew could build a .deb as part of the normal release process? Thanks for putting this together, it should be very helpful. -Colin Matthew Toseland wrote: > On Friday 07 August 2009 14:21:57 Masayuki Hatta wrote: > >> Hi everyone, >> >> I couldn't find any up-to-date Freenet .deb package on the Net, so I >> made up one by myself. Currently it's based on fred-staging, Git >> snapshot of freenet. I built/tested it on Debian sid running on an >> IA32 machine, but you can re-build it on 64-bit machines or the latest >> Ubuntu without much hassle. >> >> You may apt-get it from: >> >> deb http://people.debian.org/~mhatta/debian/freenet ./ >> deb-src http://people.debian.org/~mhatta/debian/freenet ./ >> >> I tried to make it comply with the Debian policy as much as possible, >> and seems it works nicely AFAIK, but some issues remain: >> >> 1. fred in this package doesn't use wrapper -- so you'll see some >> warnings. fred is directly controlled by Debian's >> start-stop-daemon(and I think it works well). The main reason I don't >> use wrapper is, quite simply, I don't know how to use it ;-< Helps are >> welcome. See /etc/init.d/fred for detail. >> >> 2. The build system can build freenet-ext.jar, but the self-build >> version of freenet-ext.jar doesn't work somehow(causes hang up at >> daemon startup). Is there any special way to build it? Currently the >> build of freenet-ext.jar is disabled in debian/rules, so the shipped >> version of freenet-ext.jar will be downloaded from the official >> Freenet website everytime you build this package. >> > > Can we have some details please? I don't think the current (#26) > freenet-ext.jar is built from the latest version of contrib - there were some > problems with the x86-64 native FEC causing segfaults... > > ------------------------------------------------------------------------ > > _______________________________________________ > Devl mailing list > Devl at freenetproject.org > http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl
