You are not logged in.

#1 2013-07-10 12:10:23

Cthulhux
Member
Registered: 2013-01-29
Posts: 6

How can I port FreeBSD packages to Arch BSD?

I sometimes port Linux software to FreeBSD. Do I need to make any special changes for them to appear in Arch BSD's packaging or does it all happen automatically?

Last edited by Cthulhux (2013-07-10 12:11:20)


What was the goal of the Linux community--to replace Windows? One can imagine higher aspirations.
-- Bill Joy

Offline

#2 2013-07-11 08:23:09

Amzo
Administrator
Registered: 2013-01-21
Posts: 144

Re: How can I port FreeBSD packages to Arch BSD?

It's just a matter of getting the PKGBUILDS from ArchLinux. Their SVN or Aur, and applying FreeBSD patches. Most FreeBSD port hacks aren't needed anymore as we've addressed those issues.

The packages can be submitted via AUR.


makepkg --source

Will generate a source file of the PKGBUILD, patches and install scripts to be uploaded:

PKGBUILD wiki

Or you can cloen our git and send us pull requests.

Have a look at oru current PKGBUILDS for a general idea:

Current PKGBUILD tree

Offline

#3 2013-07-11 10:58:06

Cthulhux
Member
Registered: 2013-01-29
Posts: 6

Re: How can I port FreeBSD packages to Arch BSD?

There is no PKGBUILD for my ports in Arch Linux. Not really widely spread applications..


What was the goal of the Linux community--to replace Windows? One can imagine higher aspirations.
-- Bill Joy

Offline

#4 2013-07-12 09:06:12

Blµb
Administrator
Registered: 2013-01-24
Posts: 57

Re: How can I port FreeBSD packages to Arch BSD?

You could put them aur.archbsd.net then.
As long as they're mostly portable, the same PKGBUILD will work on both ArchBSD and ArchLinux.

Just remember we prefix stuff to /usr instead of /usr/local smile

Offline

#5 2013-07-13 06:19:14

Cthulhux
Member
Registered: 2013-01-29
Posts: 6

Re: How can I port FreeBSD packages to Arch BSD?

So... how can I make a PKGBUILD?


What was the goal of the Linux community--to replace Windows? One can imagine higher aspirations.
-- Bill Joy

Offline

#6 2013-07-13 07:39:50

Blµb
Administrator
Registered: 2013-01-24
Posts: 57

Re: How can I port FreeBSD packages to Arch BSD?

https://wiki.archlinux.org/index.php/PKGBUILD
(has a link to an example file in the bottom)
archbsd differences (seems like much but really isn't) -> https://wiki.archbsd.net/index.php/PKGBUILD

Offline

Board footer

Powered by FluxBB