Re: Version 1.6 preview

2003-01-22 Thread Andreas Metzler
On Wed, Jan 22, 2003 at 04:13:09PM +0100, Egil Kvaleberg wrote:
> On Wed, 2003-01-22 at 13:05, Andreas Metzler wrote:
 
> > 2.53 works. Could you please setup a correct AC_PREREQ(2.50) 
 
> Done. 
 
> But presumably, you do not need autoconf at all to do a straight
> configure and build?

Yes, but I had to play with configure.in myself.

>> and
>> rename configure.in to configure.ac?
 
> Have done that too, although reluctantly so since it is then not so easy
> to follow CVS diffs. Is there a good reason why configure.in cannot be
> retained?

I am happy with just AC_PREREQ, feel free to make a re-rename.
I think you know more about autoconf than me, I suggested the
renaming because configure.ac seems to be the prefered filename:
| Previous versions of Autoconf promoted the name `configure.in',
| which is somewhat ambiguous (the tool needed to produce this
| file is not described by its extension), and introduces a slight
| confusion with `config.h.in' and so on (for which `.in' means
| "to be processed by `configure'"). Using `configure.ac' is now
| preferred.

   cu andreas
-- 
"See, I told you they'd listen to Reason," [SPOILER] Svfurl fnlf,
fuhggvat qbja gur juveyvat tha.
Neal Stephenson in "Snow Crash"

---
This message has been sent to you because you are subcribed to the mailing
list [EMAIL PROTECTED] To remove yourself from this lists, send an email to
[EMAIL PROTECTED] containing "unsubscribe newsx "
in the message body.



Re: Version 1.6 preview

2003-01-22 Thread Egil Kvaleberg
On Wed, 2003-01-22 at 13:05, Andreas Metzler wrote:

> 2.53 works. Could you please setup a correct AC_PREREQ(2.50) 

Done. 

But presumably, you do not need autoconf at all to do a straight
configure and build?

> and
> rename configure.in to configure.ac?

Have done that too, although reluctantly so since it is then not so easy
to follow CVS diffs. Is there a good reason why configure.in cannot be
retained?

Egil
-- 
Email: [EMAIL PROTECTED]  
Voice/videophone: +47 22523641 Voice: +47 92022780 Fax: +47 22525899
Mail:  Egil Kvaleberg, Husebybakken 14A, 0379 Oslo, Norway
Home:  http://www.kvaleberg.com/
---
This message has been sent to you because you are subcribed to the mailing
list [EMAIL PROTECTED] To remove yourself from this lists, send an email to
[EMAIL PROTECTED] containing "unsubscribe newsx "
in the message body.



Re: Version 1.6 preview

2003-01-22 Thread Egil Kvaleberg
On Wed, 2003-01-22 at 14:00, HAGIWARA Tadahiko wrote:

> I think the configure script seems to miss /usr/local/news/bin/rnews
> and /usr/local/news/bin/inews. It takes /usr/bin/rnews and
> /usr/bin/inews unless these are not there.

Do you mean it should look for /usr/local/news/bin/rnews (or really
$NEWSHOME/bin/rnews) first, and then, if not found, look for
/usr/bin/rnews? 

> Could you include /usr/include/sys/malloc.h ? On Mac OS X malloc.h is
> placed there.

Will do.

Is STDC_HEADERS set for Mac OS X? 

(You'll find it in config.h)

Egil
-- 
Email: [EMAIL PROTECTED]  
Voice/videophone: +47 22523641 Voice: +47 92022780 Fax: +47 22525899
Mail:  Egil Kvaleberg, Husebybakken 14A, 0379 Oslo, Norway
Home:  http://www.kvaleberg.com/
---
This message has been sent to you because you are subcribed to the mailing
list [EMAIL PROTECTED] To remove yourself from this lists, send an email to
[EMAIL PROTECTED] containing "unsubscribe newsx "
in the message body.



Re: Version 1.6 preview

2003-01-22 Thread Andreas Metzler
On Wed, Jan 22, 2003 at 09:29:07AM +0100, Egil Kvaleberg wrote:
> I've put a version 1.6 preview release under:

Thanks, afaict it works nicely.
  cu andreas

---
This message has been sent to you because you are subcribed to the mailing
list [EMAIL PROTECTED] To remove yourself from this lists, send an email to
[EMAIL PROTECTED] containing "unsubscribe newsx "
in the message body.



Re: Version 1.6 preview

2003-01-22 Thread HAGIWARA Tadahiko
Hi Egil,

Thank you for the updates.

1.6 pre is working fine on Mac OS X, including updating article number
on error. I found something I might suggest.

I think the configure script seems to miss /usr/local/news/bin/rnews
and /usr/local/news/bin/inews. It takes /usr/bin/rnews and
/usr/bin/inews unless these are not there.

Could you include /usr/include/sys/malloc.h ? On Mac OS X malloc.h is
placed there.

Thank you.

--
HAGIWARA Tadahiko
Yokohama, Japan

---
This message has been sent to you because you are subcribed to the mailing
list [EMAIL PROTECTED] To remove yourself from this lists, send an email to
[EMAIL PROTECTED] containing "unsubscribe newsx "
in the message body.



Re: Version 1.6 preview

2003-01-22 Thread HAGIWARA Tadahiko
Hi Egil,

Thank you for the updates.

1.6 pre is working fine on Mac OS X, including updating article number
on error. I found something I might suggest.

I think the configure script seems to miss /usr/local/news/bin/rnews
and /usr/local/news/bin/inews. It takes /usr/bin/rnews and
/usr/bin/inews unless these are not there.

Could you include /usr/include/sys/malloc.h ? On Mac OS X malloc.h is
placed there.

Thank you.

--
HAGIWARA Tadahiko
Yokohama, Japan

---
This message has been sent to you because you are subcribed to the mailing
list [EMAIL PROTECTED] To remove yourself from this lists, send an email to
[EMAIL PROTECTED] containing "unsubscribe newsx "
in the message body.



Re: Per host config in /etc/?

2003-01-22 Thread Andreas Metzler
On Wed, Jan 22, 2003 at 11:13:19AM +0100, Egil Kvaleberg wrote:
> On Wed, 2003-01-22 at 10:08, Andreas Metzler wrote:
> 
> > --withnewsxconf= (defaults to $PATHETC/newsx/) perhaps?
> 
> What about:
> 
>   --with-hostconfig
 
> And for newsx:
> 
>   --hostconfig

I'd like to put the default profile (newsx.conf) in there, too.

> At least for this release, I think it should default to the inhosts
> setting.

Absolutely, this is post-1.6 material.

> For one, I am not 100% certain where FHS really wants us to
> place this.

I am quite sure it should go to /etc, it clearly is a configuation
file.

> Also, I am not really sure how good it is in connection with
> newsx.conf. What if someone uses the hostname "newsx"? 

Crash! :-( renaming the default.profile to /etc/newsx/config.default
or similar might help.

> I've prepared this in:
>   
>   http://home.powertech.no/egilkv/newsx-1.6pre.tar.gz
>   
> Nice if someone could check how it works out, and report.

I've downloaded it already and am in the process of packagaing (for
private testing not for upload.)
cu andreas
-- 
"See, I told you they'd listen to Reason," [SPOILER] Svfurl fnlf,
fuhggvat qbja gur juveyvat tha.
Neal Stephenson in "Snow Crash"

---
This message has been sent to you because you are subcribed to the mailing
list [EMAIL PROTECTED] To remove yourself from this lists, send an email to
[EMAIL PROTECTED] containing "unsubscribe newsx "
in the message body.



Re: Version 1.6 preview

2003-01-22 Thread Andreas Metzler
On Wed, Jan 22, 2003 at 09:29:07AM +0100, Egil Kvaleberg wrote:
> I've put a version 1.6 preview release under:
> 
>http://home.powertech.no/egilkv/newsx-1.6pre.tar.gz
> 
> To avoid the pre-version becoming permanent, I've put it in a temporary
> location. I will release a proper 1.6 by the end of the week if things
> go well. So please, try it out soon and give feedback here or to
> bugzilla.
[...]
> 
>   Configure is now updated to latest and greatest autoconf/automake.
>   Names of various internal symbols have changed.
[...]

You cannot use autoheader and autoconf from autoconf 2.13 any more:
/usr/bin/autoheader2.13: Symbol `PACKED' is not covered by
/usr/share/autoconf2.13/acconfig.h
/usr/bin/autoheader2.13: Symbol `nlink_t' is not covered by
/usr/share/autoconf2.13/acconfig.h

autoconf: Undefined macros:
configure.in:215:AC_CONFIG_SRCDIR([FAQ])
configure.in:820:AC_CONFIG_FILES([README doc/newsx.8 doc/newsq.1
doc/in.hosts.5 doc/newsx.conf.5 \
configure.in:824:AC_CONFIG_COMMANDS([default],[[ \

2.53 works. Could you please setup a correct AC_PREREQ(2.50) and
rename configure.in to configure.ac?
 cu andreas

---
This message has been sent to you because you are subcribed to the mailing
list [EMAIL PROTECTED] To remove yourself from this lists, send an email to
[EMAIL PROTECTED] containing "unsubscribe newsx "
in the message body.



Re: Per host config in /etc/?

2003-01-22 Thread Egil Kvaleberg
On Wed, 2003-01-22 at 10:08, Andreas Metzler wrote:

> --withnewsxconf= (defaults to $PATHETC/newsx/) perhaps?

What about:

--with-hostconfig

And for newsx:

--hostconfig

At least for this release, I think it should default to the inhosts
setting. For one, I am not 100% certain where FHS really wants us to
place this. Also, I am not really sure how good it is in connection with
newsx.conf. What if someone uses the hostname "newsx"? 

I've prepared this in:

http://home.powertech.no/egilkv/newsx-1.6pre.tar.gz

Nice if someone could check how it works out, and report.

Egil
-- 
Email: [EMAIL PROTECTED]  
Voice/videophone: +47 22523641 Voice: +47 92022780 Fax: +47 22525899
Mail:  Egil Kvaleberg, Husebybakken 14A, 0379 Oslo, Norway
Home:  http://www.kvaleberg.com/
---
This message has been sent to you because you are subcribed to the mailing
list [EMAIL PROTECTED] To remove yourself from this lists, send an email to
[EMAIL PROTECTED] containing "unsubscribe newsx "
in the message body.



Re: Per host config in /etc/?

2003-01-22 Thread Andreas Metzler
On Wed, Jan 22, 2003 at 09:32:48AM +0100, Egil Kvaleberg wrote:
> On Wed, 2003-01-22 at 08:48, Andreas Metzler wrote:
> > I think except for in.hosts/spoolname.conf newsx is basically FHS clean:
[...]
>> /etc/newsx.conf
 
> What is this?

Standard profile in $PATHETC/newsx.conf. How about using
$PATHETC/newsx/newsx.conf?

> And where do you put INN and Cnews configuration files?

In /etc/news/. (Debian)

 Imho these are configuration files and should be
 placed in /etc/
 
>>> You can always place them where you want using --with-inhosts, can't
>>> you?
 
>> This would move not only the configuration files spoolname.conf but
>> also spoolname and spoolname.old to /etc/, wouldn't it?
 
> Yes, you are right. Probably need for yet another option, perhaps.

--withnewsxconf= (defaults to $PATHETC/newsx/) perhaps?
  cu andreas

---
This message has been sent to you because you are subcribed to the mailing
list [EMAIL PROTECTED] To remove yourself from this lists, send an email to
[EMAIL PROTECTED] containing "unsubscribe newsx "
in the message body.



Re: Per host config in /etc/?

2003-01-22 Thread Egil Kvaleberg
On Wed, 2003-01-22 at 08:48, Andreas Metzler wrote:

> I think except for in.hosts/spoolname.conf newsx is basically FHS clean:
> /usr/bin/newsq
> /usr/lib/news/bin/newsx.real
> /usr/lib/news/bin/newsx
> /usr/share/man/man8/newsx.8.gz
> /usr/share/man/man1/newsq.1.gz
> /usr/share/man/man5/in.hosts.5.gz
> /usr/share/man/man5/newsx.conf.5.gz
> /var/spool/news/in.hosts

> /etc/newsx.conf

What is this?

And where do you put INN and Cnews configuration files?
 
> >> Imho these are configuration files and should be
> >> placed in /etc/
>  
> > You can always place them where you want using --with-inhosts, can't
> > you?
> 
> This would move not only the configuration files spoolname.conf but
> also spoolname and spoolname.old to /etc/, wouldn't it?

Yes, you are right. Probably need for yet another option, perhaps.

Egil
-- 
Email: [EMAIL PROTECTED]  
Voice/videophone: +47 22523641 Voice: +47 92022780 Fax: +47 22525899
Mail:  Egil Kvaleberg, Husebybakken 14A, 0379 Oslo, Norway
Home:  http://www.kvaleberg.com/
---
This message has been sent to you because you are subcribed to the mailing
list [EMAIL PROTECTED] To remove yourself from this lists, send an email to
[EMAIL PROTECTED] containing "unsubscribe newsx "
in the message body.



Version 1.6 preview

2003-01-22 Thread Egil Kvaleberg
I've put a version 1.6 preview release under:

 http://home.powertech.no/egilkv/newsx-1.6pre.tar.gz

To avoid the pre-version becoming permanent, I've put it in a temporary
location. I will release a proper 1.6 by the end of the week if things
go well. So please, try it out soon and give feedback here or to
bugzilla. (It may in some cases be relevant to use bugzilla, and CC the
list)

Egil

The news is:

V1.6pre - 21 jan 2003

  Aborted fecthes now updates state more consistently.

  Configure now insists that libinn and libstorage be present for
  recent versions of INN.

  Configure attempts to do more in terms of finding libraries for
INN 2.x, so that
  so --with-newslib should no longer be required except in unusal
cases.

  When we have libstorage, we now insist that we have a storage.h
from INN.
  There is no longer a default storage.h in the distribution.
  Currently, we look for storage.h  in /usr/include and
/usr/include/inn
  and NEWSHOME/include.
  For other locations, please report to [EMAIL PROTECTED] or to
bugzilla.
  The configure option --with-newsinclude may be used for specifying
which
  directory to look in.

  The dostribution contains a suggested patch for INN 2.3.4 that
installs
  storage.h under $NEWSHOME/include.

  Configure is now updated to latest and greatest autoconf/automake.
  Names of various internal symbols have changed.

  The mktemp() vz. mkstemp() issue has been looked into. The bug(s)
  introduced by use of mkstemp() should now be corrected, and a new
  internal function newstemp() has been added to replace the
mk(s)temp.

  STORAGEAPI and EXTENDEDDBZ no longer relevant for modern INN.

-- 
Email: [EMAIL PROTECTED]  
Voice/videophone: +47 22523641 Voice: +47 92022780 Fax: +47 22525899
Mail:  Egil Kvaleberg, Husebybakken 14A, 0379 Oslo, Norway
Home:  http://www.kvaleberg.com/
---
This message has been sent to you because you are subcribed to the mailing
list [EMAIL PROTECTED] To remove yourself from this lists, send an email to
[EMAIL PROTECTED] containing "unsubscribe newsx "
in the message body.



Re: Per host config in /etc/?

2003-01-22 Thread Andreas Metzler
On Wed, Jan 22, 2003 at 07:52:57AM +0100, Egil Kvaleberg wrote:
> On Tue, 2003-01-21 at 17:57, Andreas Metzler wrote:
> > Would you be opposed to moving /var/spool/news/in.hosts/spoolname.conf
> > to /etc/newsx/? 
 
> Switching to
> The Filesystem Hierarchy Standard http://www.pathname.com/fhs/ would
> probably make sense. But does the latest version properly address news?
 
> News software has traditionally had its own way of handling everything.
> Some pre-compiled news packages seem to use a mix of the two.

I think except for in.hosts/spoolname.conf newsx is basically FHS clean:
/usr/bin/newsq
/usr/lib/news/bin/newsx.real
/usr/lib/news/bin/newsx
/usr/share/man/man8/newsx.8.gz
/usr/share/man/man1/newsq.1.gz
/usr/share/man/man5/in.hosts.5.gz
/usr/share/man/man5/newsx.conf.5.gz
/var/spool/news/in.hosts
/etc/newsx.conf
 
>> Imho these are configuration files and should be
>> placed in /etc/
 
> You can always place them where you want using --with-inhosts, can't
> you?

This would move not only the configuration files spoolname.conf but
also spoolname and spoolname.old to /etc/, wouldn't it?
 cu andreas
-- 
"See, I told you they'd listen to Reason," [SPOILER] Svfurl fnlf,
fuhggvat qbja gur juveyvat tha.
Neal Stephenson in "Snow Crash"

---
This message has been sent to you because you are subcribed to the mailing
list [EMAIL PROTECTED] To remove yourself from this lists, send an email to
[EMAIL PROTECTED] containing "unsubscribe newsx "
in the message body.