Subject: heartbeat package
To: None <tech-pkg@netbsd.org>
From: haad <haaaad@gmail.com>
List: tech-pkg
Date: 02/05/2006 01:36:17
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello

Now I have more time so i decided to make new heartbeat package for pkgsrc.
http://student.fiit.stuba.sk/~hamsik04/heartbeat.tar.bz2

1)heartbeat depends on libuuid  library now my package use wip/libuuid.
I want to use e2fsprogs but with this package which may already include
libuuid ,heartbeat configure script libuuid doesn't find :(

So I now use CONFLICTS=e2fsprogs[1] to disable use of e2fsprogs.

2)now heartbeat is ported to freebsd,linux and openbsd.
I try to compile heartbeat on netbsd and compilation ends with this error:
ipcsocket.c:2240:1: warning: "EXTRASPACE" redefined
ipcsocket.c:2209:1: warning: this is the location of the previous definition
ipcsocket.c: In function `socket_verify_auth':
ipcsocket.c:2271: error: `ngroups' undeclared (first use in this function)

2240: #define EXTRASPACE	SOCKCREDSIZE(ngroups)

SOCKCREDSIZE is macro from /usr/include/sys/socket.h and is used to
"Compute size of a sockcred structure with groups".Problem is with
ngroups which I in this doesn't now here:
#define CMSGSIZE  (sizeof(struct cmsghdr)+(sizeof(Cred))+EXTRASPACE).

Any help welcome.

Regards

P.S. please be patient I'm only beginner in pkgsrc development ;)

[1] libuuid already conflicts with e2fsprogs therefore I can probably
remove conflict from my Makefile ??


- --
Adam Hamsik
tel.c 0904 937 495
ICQ 249727910
jabber haad@jabber.org
- --------------------------------------------------------------
There are 10 kinds of people in the world. Those who understand
binary numbers, and those who don't.
				
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (NetBSD)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFD5UiB9Wt2FT7y228RAlxCAJ9J+NjsvnNcMI3dl2tPmPdknxJcfACdHo86
z1kPWslOKBwD490M7rCMeBA=
=WvFC
-----END PGP SIGNATURE-----