Subject: Re: heartbeat (linux-ha)
To: None <lguillaume@berklee.edu>
From: OBATA Akio <obata@lins.jp>
List: pkgsrc-users
Date: 02/11/2007 09:35:12
Hi,

On Sat, 10 Feb 2007 11:25:07 -0500, Louis Guillaume wrote:
> 1. pkglint complains many times like this...
> ERROR: PLIST:4: Configuration files must not be registered in the PLIST.
> Please use the CONF_FILES framework, which is described in
> mk/install/bsd.pkginstall.mk.
> 
> I'm not sure I understand how to use the CONF_FILES framework as
> described. There's a lot to that bsd.pkginstall.mk.

"14.2. Configuration files" should help you.

> 2. Adding users. I saw something about this in bsd.pkginstall.mk but on
> looking at other packages that were installed (cyrus-imapd) I can't seem
> to figure out how it's supposed to be set up.

"14.4. System users and groups" should help you.

> 3. Since I've only built on Linux, how should I approach things like
> ONLY_FOR_PLATFORM?

Official page said:
  Although this is called the Linux-HA project, the software is highly portable
  and runs on FreeBSD and Solaris as well (even MacOS X from time to time). 
So, there is no necessity to limit.

> 4. There's an optional module, which involves a separate download and
> download of a special Makefile. How to incorporate that. I'm thinking I
> should use the OPTIONS framework; but not sure.

If optional modules can be integrated on runtime,
should be separate packages.

> 5. How do I get this package into pkgsrc?
> 
> 6. Does anyone want to help out with testing? I can tar up the package
> and send it around (but don't want to do that to the list).

"20.2. Submitting source packages (for non-NetBSD-developers)"

You are welcomed by pkgsrc-wip project!

--
"Of course I love NetBSD":-)
OBATA Akio / obata@lins.jp