I have built sys-cluster/heartbeat-2.0.7 yesterday on i686-gentoo-freebsd6.2 with minor changes. Reproducible: Always
Created attachment 186305 [details] ebuild for sys-cluster/heartbeat-2.0.7 with kernel_ flags FreeBSD uses sys-auth/openpam. I don't sure about net-misc/iputils. equery files --filter=obj iputils | grep bin /bin/ping /sbin/arping /usr/sbin/clockdiff /usr/sbin/ipg /usr/sbin/rarpd /usr/sbin/rdisc /usr/sbin/tftpd /usr/sbin/tracepath On g/fbsd: equery belongs `whereis ping | awk '{print $2}'` sys-freebsd/freebsd-sbin-6.2-r2 (/bin/ping) equery belongs `whereis rarpd | awk '{print $2}'` sys-freebsd/freebsd-usbin-6.2-r2 (/usr/sbin/rarpd) equery belongs `whereis tftpd | awk '{print $2}'` sys-freebsd/freebsd-libexec-6.2-r2 (/usr/libexec/tftpd) The rest not found.
Please attach unified diffs (diff -u) when you did changes to an ebuild. That would be much more handy for our devs.
Created attachment 186381 [details, diff] unified diff against sys-cluster/heartbeat-2.0.7-r2 in tree
The patch looks mostly good, but the dependency for pam should just be virtual/pam rather than having kernel_* dependencies.
Created attachment 191887 [details, diff] virtual/pam dependency OK, but how to enforce >=sys-libs/pam-0.78-r3 in linux? BTW I don't know which version of openpam would be appropriate.
virtual/pam already require a new enough version of sys-libs/pam; and by the way we don't support anything before 1.0 so ;)
Heartbeat become more linux specific in new versions. FreeBSD has own source for 2.1.4, and I feel unable to adapt it.