You are not logged in.
I've just added pacman to FreeBSD ports collection: http://www.freshports.org/sysutils/pacman
It works fine with ArchBSD package repositories and allows you to install ArchBSD into chroot (by default, /usr/local/pacman) or even try to turn your FreeBSD installation into ArchBSD (though this is dangerous and unsupported).
You may also try it with Arch linux repositories, but that's practically useless, as FreeBSD linux emulation layer is too outdated, and recent linux binaries won't run ("ERROR: kernel too old" or segfault if you increase compat.linux.osrelease). If there are Arch linux repositories with packages built for older kernels, it may work though.
I hope this port will be useful to both FreeBSD users, who get another package management tool, and ArchBSD project, which may get more adopters.
PS. Given the (yet) experimental status of ArchBSD I didn't take the liberty to add ArchBSD repositories support to the port by default. To use ArchBSD repos, you'll need to append pacman.conf with the following:
[core]
SigLevel = Never # or PackageRequired
Server = ftp://ftp.archbsd.net/$repo/os/$arch
[extra]
SigLevel = Never # or PackageRequired
Server = ftp://ftp.archbsd.net/$repo/os/$arch
please poke me if it's okay to be added to the port.
Offline
It might be worth making a package for the ArchBSD keyring, and adding it as a depend for pacman:
ftp://ftp.archbsd.net/archbsd-keyring-20121213.tar.gz
Then you won't need to set:
SigLevel = Never
Populate the keyring with:
pacman-key --init
pacman-key --populate archbsd
Offline
I found it useful to copy the contents of keyrings directory (located in the pkg archbsd-keyring-20140907-5-any.pkg.tar.xz) to /usr/local/share/pacman/keyrings/ on the FreeBSD box and then do
pacman-key --populate archbsd
when attempting to
install ArchBSD into chroot
Maybe there is a better way?
Cheers.
Last edited by rianav (2015-06-08 19:53:10)
China gangs burn pork on Amtrak while San Diego SWAT busts ice pirates at Target.
Offline
Hi craftkiller,
You could have a look at https://wiki.pacbsd.org/DeveloperWiki
also the issues are with sed , in bsd you need sed -i'' -e .... in place of sed -i -e ....., note the empty double quotes and also
install -Dm644 directorypath/filename
for example would become:
install -dm755 directorypath
install -m644 filetoinstall filename
I hope you understand the examples, also you could have a look here at the existing PKGBUILDS : https://github.com/PacBSD/abs
Offline