Re: NEW: bacula-server

2007-05-26 Thread Mike Erdely
On Sat, May 26, 2007 at 12:36:36AM +0200, steven mestdagh wrote:
> Are you *sure* the client stuff is exactly the same for every flavor?
> If so, then you could make FULLPKGNAME-client a fixed name.

I'm sure.  Thanks.  That works.

> Looking at your port, I assume only one flavor should be selected at a
> time, in that case you need to add some code to your port that prevents
> selection of multiple flavors.

Grabbed style from dspam port.

> Avoid changing SYSCONFDIR, please use your own variable (which can be based
> on SYSCONFDIR, of course).  In MESSAGE, replace /etc/bacula with that
> variable as well.

Done.

> We do not want gzipped man pages, and DESCR should be more elaborate, just
> take a decent description from their website or documentation.
> As for categories, I think it would fit in sysutils and/or net.

Done.  Picked sysutils (same as FBSD).

New single port coming shortly.

-ME



Re: NEW: bacula-server

2007-05-26 Thread steven mestdagh
On Sat, May 26, 2007 at 12:30:44AM +0200, Matthias Kilian wrote:
> Openldap has a similar setup; look at PLIST-main and at tha
> BASE_PKGPATH hack in the Makefile.

actually, BASE_PKGPATH is always defined and it should not be set
explicitly.

Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm



Re: NEW: bacula-server

2007-05-25 Thread steven mestdagh
On Fri, May 25, 2007 at 05:53:02PM -0400, Mike Erdely wrote:
> On Fri, May 25, 2007 at 11:35:26PM +0200, Matthias Kilian wrote:
> > On Fri, May 25, 2007 at 03:34:15PM -0400, Mike Erdely wrote:
> > > Attached is a first attempted (well, except for the one I accidentally
> > > deleted months ago) at a bacula-server port.
> > This port and bacula-client should be *one* port, with two subpackages.
> 
> Woulda been nice if you had quoted the meaningful part of my message
> where I address this exact issue:
> > It was easier for me to break the port up into two ports (-client &
> > -server) because I don't know how to do set up a port with two
> > subpackages (say, -client & -server) with flavors for only (-server).
> 
> If I could have made it one port, I would have.

Just set it up with MULTI_PACKAGES.

> How do you have two sub-packages where ONE sub-package has multiple
> flavors?

Are you *sure* the client stuff is exactly the same for every flavor?
If so, then you could make FULLPKGNAME-client a fixed name.

Looking at your port, I assume only one flavor should be selected at a
time, in that case you need to add some code to your port that prevents
selection of multiple flavors.

Avoid changing SYSCONFDIR, please use your own variable (which can be based
on SYSCONFDIR, of course).  In MESSAGE, replace /etc/bacula with that
variable as well.

We do not want gzipped man pages, and DESCR should be more elaborate, just
take a decent description from their website or documentation.
As for categories, I think it would fit in sysutils and/or net.

-- 
steven

Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm



Re: NEW: bacula-server

2007-05-25 Thread Matthias Kilian
On Fri, May 25, 2007 at 05:53:02PM -0400, Mike Erdely wrote:
> > This port and bacula-client should be *one* port, with two subpackages.
> 
> Woulda been nice if you had quoted the meaningful part of my message
> where I address this exact issue:
> > It was easier for me to break the port up into two ports (-client &
> > -server) because I don't know how to do set up a port with two
> > subpackages (say, -client & -server) with flavors for only (-server).

Oops! Sorry, the very first thing I did was to extract the attached
tarballs and look at them ;-)

> How do you have two sub-packages where ONE sub-package has multiple
> flavors?

Openldap has a similar setup; look at PLIST-main and at tha
BASE_PKGPATH hack in the Makefile.

Ciao,
Kili



Re: NEW: bacula-server

2007-05-25 Thread Mike Erdely
On Fri, May 25, 2007 at 11:16:49PM +0100, Stuart Henderson wrote:
> On 2007/05/25 17:53, Mike Erdely wrote:
> > How do you have two sub-packages where ONE sub-package has multiple
> > flavors?
> 
> See net/nagios/nagios for an example.

Not exactly the same.

There's nagios-${V},  nagios-${V}-chroot, nagios-web-${V} and
nagios-web-${V}-chroot.

I'm going to want:
 bacula-client-${V}
 backup-server-${V}-pgsql
 backup-server-${V}-mysql
 backup-server-${V}-sqlite3
 backup-server-${V}-sqlite

-ME



Re: NEW: bacula-server

2007-05-25 Thread Stuart Henderson
On 2007/05/25 23:16, Stuart Henderson wrote:
> On 2007/05/25 17:53, Mike Erdely wrote:
> > How do you have two sub-packages where ONE sub-package has multiple
> > flavors?
> 
> See net/nagios/nagios for an example.

ahh sorry, pardon the noise. *both* sub-packages have multiple flavors
there.



Re: NEW: bacula-server

2007-05-25 Thread Stuart Henderson
On 2007/05/25 17:53, Mike Erdely wrote:
> How do you have two sub-packages where ONE sub-package has multiple
> flavors?

See net/nagios/nagios for an example.



Re: NEW: bacula-server

2007-05-25 Thread Mike Erdely
On Fri, May 25, 2007 at 11:35:26PM +0200, Matthias Kilian wrote:
> On Fri, May 25, 2007 at 03:34:15PM -0400, Mike Erdely wrote:
> > Attached is a first attempted (well, except for the one I accidentally
> > deleted months ago) at a bacula-server port.
> This port and bacula-client should be *one* port, with two subpackages.

Woulda been nice if you had quoted the meaningful part of my message
where I address this exact issue:
> It was easier for me to break the port up into two ports (-client &
> -server) because I don't know how to do set up a port with two
> subpackages (say, -client & -server) with flavors for only (-server).

If I could have made it one port, I would have.

How do you have two sub-packages where ONE sub-package has multiple
flavors?

-ME



Re: NEW: bacula-server

2007-05-25 Thread Matthias Kilian
On Fri, May 25, 2007 at 03:34:15PM -0400, Mike Erdely wrote:
> Attached is a first attempted (well, except for the one I accidentally
> deleted months ago) at a bacula-server port.

This port and bacula-client should be *one* port, with two subpackages.



NEW: bacula-server

2007-05-25 Thread Mike Erdely
Attached is a first attempted (well, except for the one I accidentally
deleted months ago) at a bacula-server port.

Bacula is a network backup application.

The bacula-server port contains bacula-dir, bacula-sd, bconsole and
other utilities bacula needs.  bacula-dir is the backup manager.
bacula-sd is the daemon that writes the data to the backup device.
bconsole is the management application.

It was easier for me to break the port up into two ports (-client &
-server) because I don't know how to do set up a port with two
subpackages (say, -client & -server) with flavors for only (-server).

Please test.  Feedback welcome.

-ME



port-bacula-server-2.0.3.tgz
Description: application/tar-gz