On Sunday 16 August 2009 02:21:13 Masayuki Hatta wrote:
> Hi,
>
> >>>>> In <4A85BB1D.2060704 at sq7.org>
> >>>>> Colin Davis <colin at sq7.org> wrote:
>
> > I'd like to reiterate that it would be best to give Matthew a way to
> > build this on his machine, that way he can point it at any tag, and
> > he can release a .tgz and a .deb at the same time.
>
> Agreed. Actually, all needed stuff have been already provided -- see
> 00update-fred.sh in the same directory I put
> .deb(http://people.debian.org/~mhatta/debian/freenet or
> freenet-staging). I carefully set the build dependency, so all you
> have to do is:
>
> $ git clone git://github.com/freenet/fred-official.git
> $ git clone git://github.com/freenet/contrib-official.git
> $ tar xvfz debian.fred.tmpl.tar.gz
>
> (Install needed packages, see Build-Dep: section in debian/control,
> also dch is in the devscript package BTW)
>
> $ ./01update-fred.sh
>
> You might need to add "-us -uc" to the arg of dpkg-buildpackage.
>
> Of course, if you simply want to rebuild the existing package, then:
>
> (get *.diff.gz, *.dsc, *.orig.tar.gz from
> e.g. http://people.debian.org/~mhatta/debian/freenet)
>
> $ dpkg-source -x fred_0.7.5+build01230-0.1.dsc
> $ cd fred_0.7.5+build01230
>
> (edit debian/changelog)
>
> $ dpkg-buildpackage -rfakeroot
>
> And follow the message. This should work on Ubuntu.
I use debian but I will also need any scripts needed to make a repository and
keep it up to date. The scripts will be used when releasing a new build.
>
> Also, I think the content of debian.fred.tmpl/ (and possibly debian/
> for other freenet-related software such as jSite) should be maintained
> at github, like rpm. Could you make repository called "debian" or
> such and give me("mhatta" on github) a permission to push?
Done. Sorry it took so long, I've had a backlog of small things to deal with.
Please add your code here and let me know when you have done so.
Do you think that the debian package is ready to be made public and official
for debian users? If not, I am happy to provide it as a semi-official option.
Is it of sufficient quality? Does it deal with all the obvious problems?
E.g. what are you proposing to do about updating? Would it benefit from
anything being debconf'ed? Are you using the wizard? Do you need to find some
way to turn off the auto-update by default, and ensure the wizard doesn't ask
about it? If you do turn off auto-update, are we happy that users will apt-get
dist-upgrade when the node tells them that it is out of date? If you enable
auto-update, will that play nicely with upgrade's done within debian, given the
files will have changed? Also if you do it that way you don't get the security
benefits of freenet not being able to write its own executables?
And so on.
There are long-term possibilities such as packaging jSite, Thingamablog and so
on too.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 835 bytes
Desc: This is a digitally signed message part.
URL:
<https://emu.freenetproject.org/pipermail/devl/attachments/20090826/f0717d39/attachment.pgp>