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
]]>For example, does the FreeBSD ports collection support auto updated dev packages like the various *-git and *-svn packages in the AUR?
]]>pacman-key --populate archbsdwhen attempting to
install ArchBSD into chroot
Maybe there is a better way?
Cheers.
ftp://ftp.archbsd.net/archbsd-keyring-20121213.tar.gz
Then you won't need to set:
SigLevel = NeverPopulate the keyring with:
pacman-key --init
pacman-key --populate archbsdIt 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/$archplease poke me if it's okay to be added to the port.
]]>