You can subscribe to this list here.
| 2010 |
Jan
|
Feb
|
Mar
|
Apr
(2) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|---|
|
From: Aditya S. <sar...@gm...> - 2010-04-05 16:26:01
|
On Mon, Apr 05, 2010 at 10:31:05AM +0530, Ashish SHUKLA wrote: > Hi everyone, > > There is no objectives message of this project yet, so we should formulate the > objectives by collaborating on this list :) . > > Anyways, this message is related to how I bootstrapped the basic pacman setup > on my box. The basic dependencies required for bootstrapping are: > > * GNU bash > * fakeroot > * pacman > * GNU make > > 1. Install freebsd base system and boot into it, with no ports or virgin /usr/local > 2. Download following tarballs: > > http://ftp.gnu.org/gnu/bash/bash-4.1.tar.gz > http://ftp.debian.org/debian/pool/main/f/fakeroot/fakeroot_1.14.4.orig.tar.bz2 > ftp://ftp.archlinux.org/other/pacman/pacman-3.3.3.tar.gz > http://ftp.gnu.org/pub/gnu/make/make-3.81.tar.gz > > 3. Extract them in your $HOME. > > 4. Configure them: > > - make. GNU Make > > % ./configure --prefix=/usr/local --datadir=/usr/local/share \ > --mandir=/usr/local/man --infodir=/usr/local/share/info \ > --program-prefix=g > > - pacman. Pacman should be configured in such a way that that the executable > should only have dynamic dependencies (.so) on shared libs present in base > system. The user who wants to pacbsd-ify his FreeBSD base installation shall > download a tarball containing the pacman binary (compiled in this way, > i.e. with only dependencies on base system) and a minimal configuration > file, and then with the help of that binary he can bootstrap rest of the > system, like: ./pacman -Sy --config pacman.conf --dbpath /var/cache/pacman > > % ./configure --prefix=/usr/local --sysconfdir=/usr/local/etc --localstatedir=/var \ > --datadir=/usr/local/share --disable-internal-download --disable-doc \ > --enable-static > > Since there is a version issue with libfetch in FreeBSD, I've disabled the > internal fetching mechanism. > > - GNU bash. > > % ./configure --prefix=/usr/local --with-curses --enable-readline \ > --without-bash-malloc --bindir=/usr/local/bin --mandir=/usr/local/man \ > --infodir=/usr/local/share/info --sysconfdir=/usr/local/etc > > - fakeroot. > > % ./configure --prefix=/usr/local --libdir=/usr/local/lib/libfakeroot \ > --disable-static --with-ipc=sysv > > 5. Build and install them. GNU make and fakeroot are installable using BSD > make. bash and pacman needs GNU make (gmake) to build and install. > > 6. Now time to build packages of all prerequisites. Extract the PKGBUILD > tarball attached to this mail. And in each of the directory, copy their > respective tarballs from the $HOME directory (or from the location you > downloaded the tarballs earlier). Please note, that this is required as > there are things related to downloading/installing tarballs are missing > atm. And I've not tried to rectify this issue atm. > > 7. After copying all tarballs in their directories, time to build packages by > executing following command in each PKGBUILD directory: > > % makepkg -f > > If you receive any errors, please post here with solutions ;) > > 8. Now after all the packages are built, rename /usr/local to /usr/local.orig > > 9. Create following directories with ownership 0:0 and mode 755: > > - /usr/local > - /var/cache/pacman > - /var/lib/pacman > > 10. Now install pacman first, by executing following command in pacman's > PKGBUILD directory: > > # /usr/local/pacman.orig/bin/pacman --config /usr/local.orig/etc/pacman.conf \ > --dbpath /var/lib/pacman -U pacman-3.3.3-1-*.pkg.tar.gz > > You'll get some warnings about mirrorlist file, ignore it. > > 11. Now you've installed 'pacman' package now with the help of that install > rest of the packages. > > # pacman -U <package-tarball-file> > > If there are any errors in above instructions, please post the corrections. If > you notice the PKGBUILDs, you'll see that they're copied from ArchLinux's ABS > repository with depends/makedepends line commented. This is just a proof of > concept, so I'm not committing this shit. > > If you're interested and not subscribed, please subscribe yourself at the > following URL: > > https://lists.sourceforge.net/lists/listinfo/pacbsd-devel > > Happy bootstrapping, and post your feedback if possible. > Awesome!! Is there a wiki on sourceforge so that we can have this on the wiki. I tried searching for a wiki but didn't find one. I'm planning to try this on virtualbox during weekends :) > Thanks > Ashish SHUKLA > > P.S. I'll be away from keyboard from Monday noon (IST) to Wednesday evening > (IST), so expect delay in reply. > -- > They who can give up essential liberty to obtain a little temporary safety, > deserve neither liberty nor safety. > -- Benjamin Franklin, Memoirs of the life and writings of Benjamin Franklin > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > pacbsd-devel mailing list > pac...@li... > https://lists.sourceforge.net/lists/listinfo/pacbsd-devel |