Hi,
I'am excited about this great distribution.
Have a question? where to find the source code of the package or they will not be offered
so long mops
Hi,
I'am excited about this great distribution.
Have a question? where to find the source code of the package or they will not be offered
so long mops
Hi,
Slitaz packages: http://hg.slitaz.org/wok/file/tip/
Source files: http://mirror.slitaz.org/sources/
-pascal
This was posted on the mailing list. I hope you like it. It is a bit long and indepth into how i want the source dvd to become. Mostly a full tank mirror of slitaz that will turn any computer into tank and mirror server for local lan network. I hope this helps.
Here are some of the goals for my source/tank/mirror dvd:
1) Full source tarball in .tar.lzma. Some may still need to be kept unrecompress. Like java stuff. (Hint pankso: this is why bulk recompressing is a bad idea. Also just filtering !repack_src with tazdev repack-src to do it right will still have to be done with cookutils if you have LZMA_SRC on by default. Otherwise people that enable LZMA_SRC will still break packages for icedtea6-jdk and others).
2) Full mirror of repos. I have a wok-tank repo in my source dvd since wok+wok-stable take up about 35mb. If you can make wok-stable into a branch or something then we could save like 15mb of the source dvd.
3) Full mirror of most of the websites. This is so we can have sort of local version of all the websites. We can also dnsmasq them based on your computer local lan address. This will allow school labs to have there own tank+mirror server of slitaz even when tank/mirror is down.
4) We need everything to work good offline. I want the source dvd to work completely offline so we can have everything we need off the net as it were. This will be good for places that internet caps or very slow speeds. NOTE: This also means we could sell dvds of the source dvd to support pankso and other developers like me.
5) A full live dvd of slitaz. With slitaz-modular not everything is loading into ram. This is very useful so you can have a full cd/dvd live system of slitaz.
6) Full root(/) can be saved. I have a changes boot option with my slitaz-modular scripts that will save every change file in root (/) to a partition or folder if it exists.
What we need to do for the source/tank/mirror dvd:
1) No more downloading sources in compile_rules or genpkg_rules. This is so cook pkgname --getsrc works no matter what. If it can't be downloaded the standard way its best to be put it in wok-undigest cause it can never be apart of the source dvd.
NOTE: We may need a gcc+gcj-ecj receipt for the download thats in gcc+gc so we archive the custom ecj.jar file for gcc+gcj.
2a) Try to not use binaries when possible. For example we have all those uclibc* binaries only packages. There close to 350m with source tarball and package tarball. The only ones that is need is uclibc-cross-compiler-i486-
prebuild for busybox-static to compile. I would even prefer busybox-static to not need this build depend cause it save 28mb for both source and packages folders.
2b) But not all packages can be build with sources. For example apache-ant and ecj are binaries and may have to stay that way. Apache-ant is needed by icedtea6-jdk and apache-ant needs java-jre and thats a wanted package for icedtea6-jdk. Its a perfect chicken and egg problem. The only way i see this fix for apache-ant-src receipt. NOTE: ecj could be compile with apache-ant based on archlinux PKGBUILD.
3) The ability to use cook pkgdb with any cache folder. This is needed so we don't need rebuild everything just to make a repo. I have this support in my-cookutils repo already so i can still do this even when its officially in cookutils.
4) A incoming folder would be nice. Even thought packages will still be backup on iso it would make things easier if they screw up a package. No need to copy a package back into packages folder to fix my screw up. Its also would be good if it gets into official cookutils but i don't think pankso wants it. Incoming folder is also needed cause packages will be the official mirror for packages. Its a good idea to not break packages on your local lan with no real way to fix.
Things to be beware of when this source/tank/mirror dvd is release:
1) The dvd could be used to push fake packages on slitaz users if we become popular. So make sure to check the ip of you slitaz mirror before you update. ex. ping -c 5 slitaz.org should equal 213.3.10.214. NOTE: This will also mean its best to not update/download packages when at a internet cafe.
I hope this helps explain my plan for source/tank/mirror dvd.
Thank's
for the quick info.
@ Godan
Thank you for your detailed response.
I need a few days to understand all this.
so long mops
You must log in to post.