Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 263838

Summary: sys-cluster/heartbeat ~x86-fbsd keyword request
Product: Gentoo Linux Reporter: Dmitri Bogomolov <4glitch>
Component: New packagesAssignee: Gentoo Cluster Team <cluster>
Status: RESOLVED WONTFIX    
Severity: enhancement CC: bsd+disabled
Priority: High Keywords: KEYWORDREQ
Version: unspecified   
Hardware: All   
OS: FreeBSD   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 231291    
Bug Blocks:    
Attachments: ebuild for sys-cluster/heartbeat-2.0.7 with kernel_ flags
unified diff against sys-cluster/heartbeat-2.0.7-r2 in tree
virtual/pam dependency

Description Dmitri Bogomolov 2009-03-26 07:36:37 UTC
I have built sys-cluster/heartbeat-2.0.7 yesterday on i686-gentoo-freebsd6.2 with minor changes.

Reproducible: Always
Comment 1 Dmitri Bogomolov 2009-03-26 08:09:33 UTC
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.
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-03-26 22:03:29 UTC
Please attach unified diffs (diff -u) when you did changes to an ebuild. That would be much more handy for our devs.
Comment 3 Dmitri Bogomolov 2009-03-27 06:32:07 UTC
Created attachment 186381 [details, diff]
unified diff against sys-cluster/heartbeat-2.0.7-r2 in tree
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-05-16 22:49:26 UTC
The patch looks mostly good, but the dependency for pam should just be virtual/pam rather than having kernel_* dependencies.
Comment 5 Dmitri Bogomolov 2009-05-20 09:14:46 UTC
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.
Comment 6 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-05-20 09:17:04 UTC
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 ;)
Comment 7 Dmitri Bogomolov 2011-08-29 12:13:57 UTC
Heartbeat become more linux specific in new versions. FreeBSD has own source for 2.1.4, and I feel unable to adapt it.