Ross,
Thanks for posting these pointers.
You can go straight from foo.deb to foo.ipk in 3 simple steps:
ipkg-deb-unbuild foo.deb
<Make any manual customizations to the package here>
ipkg-build foo
The ipkg-deb-unbuild and ipkg-build scripts are available in
familiar/dist/ipkg/util from hh.org CVS. See
http://www.handhelds.org/sources.html
-Carl
PS. I'd like to come up with a standard input file and script to
automate the <manual customizations> phase. That way, we could do
automated re-packaging of Debian repositories and always stay in synch
with the latest Debian versions. Suggestions and code are welcome!
PPS. Sometime, I will also teach ipkg to point directly at a Debian
repository and install .debs from there.
Ross J. Reedstrom writes:
> On Tue, Jul 17, 2001 at 08:07:51AM -0500, Hicks, Jamey wrote:
> >
> > I just built an ipkg for tcpdump by repackaging the dpkg. I look for
> > packages in our snapshot of the Debian site:
> > ftp://lorien.handhelds.org/pub/linux/Debian/pool/main/
> >
> > The original is at ftp://ftp.debian.org/debian/pool/main/
> >
> > You can also look in the stable and unstable feeds at ftp.debian.org,
> > www.debian.org, or the mirror above.
>
> For those not familiar with Debian archive layout: all the packages
> are in individual directories, named after their source package name,
> under individual letter directories (or lib+letter), under pool.
>
> The various architecture binaries are all the way down in the individual
> package directories. So, the tcpdump package is at:
>
> ftp://ftp.debian.org/debian/pool/main/t/tcpdump/tcpdump_3.6.2-1_arm.deb
>
> The source is in three files:
>
> original tarball:
> ftp://ftp.debian.org/debian/pool/main/t/tcpdump/tcpdump_3.6.2.orig.tar.gz
>
> Debian specific diffs (includes diffs for all architectures):
> ftp://ftp.debian.org/debian/pool/main/t/tcpdump/tcpdump_3.6.2-1.diff.gz
>
> Debian control info, like package version and (if you're lucky)
> Build-Depends, which are the other packages needed to build this package:
>
> ftp://ftp.debian.org/debian/pool/main/t/tcpdump/tcpdump_3.6.2-1.dsc
>
> I could have sworn a description of how to get the binaries out of
> a .deb was posted on the wiki, but I can't find it now. I know I've
> emailed it before. The key clue is that the .deb is an 'ar' archive,
> containing three files, including one called 'data.tar.gz' which is the
> toplevel rooted tarball of all the binaries. try:
>
> ar p some-deb_1.10-2_arm.deb data.tar.gz | tar vztf -
>
> HTH,
> Ross
> _______________________________________________
> Familiar mailing list
> Familiar_at_handhelds.org
> http://handhelds.org/mailman/listinfo/familiar
> irc://irc.openprojects.net #familiar
>
Received on Tue Jul 17 2001 - 08:26:41 EDT
This archive was generated by hypermail 2.2.0 : Mon Jul 25 2005 - 17:12:30 EDT