Subject: Re: New minicom version (was: pkg/30242)
To: None <tech-pkg@NetBSD.org>
From: Bernd Ernesti <netbsd@lists.veego.de>
List: tech-pkg
Date: 05/22/2005 19:34:18
On Sun, May 22, 2005 at 06:24:37PM +0200, Hauke Fath wrote:
> At 21:31 Uhr +0200 18.5.2005, Bernd Ernesti wrote:
> >here is an update for pkgsrc/comms/minicom to 2.1.
> >
> >I don't have the time to test it right now. It compiles and starts.
> >
> >Does someone knows why we have patch-ac?
> >I keept it for the moment.
> >
> >Please test it so we can do an update if that fix all problems.
> 
> Compiles and installs fine on sparc 3.0_beta.

And does it work?

Thats what i need to know.

> Minor nits:
> 
> (1) The interactive setup of /dev/modem won't mix well with bulk builds.
> And since you can change the device in setup, it looks like a pointless
> exercise, anyway.

Hmm, I copied that part from the previous version.

It was also something which i didn't like and just answered now when it
asked me if it should create the /dev/modem like.
I guess its time to remove that part and also the second part of patch-ad.

> (2) In some places minicom ignores the PKG_SYSCONFBASE setting:
> 
> [hauke@pizza] ~ > minicom
> minicom: there is no global configuration file /usr/pkg/etc/minicom/minirc.dfl
> Ask your sysadm to create one (with minicom -s).
> [hauke@pizza] ~ > fgrep PKG_SYSCONFBASE /etc/mk.conf
> PKG_SYSCONFBASE=        /etc

Feel free to change that. The documentation about PKG_SYSCON* is too confusing
and i couldn't find out how to use it.

Like the current Makefile uses OWN_DIRS_PERMS and i couldn't find anything in
packages.txt about that.

I guess the following has to be changed, but its not possible with the
current documentation:

CONFIGURE_ARGS+=        --enable-cfg-dir=${PREFIX}/etc/minicom

PKG_SYSCONFSUBDIR=      minicom
EGDIR=                  ${PREFIX}/share/examples/minicom

PKG_GROUPS=             dialer
PKG_USERS=              uucp:dialer
SPECIAL_PERMS=          ${PREFIX}/bin/minicom uucp dialer 4755
OWN_DIRS_PERMS=         ${PKG_SYSCONFDIR} uucp dialer 0755
CONF_FILES_PERMS=       ${EGDIR}/minicom.users ${PKG_SYSCONFDIR}/minicom.users \

> and later in 'minicom -s' setup a 'Cannot write to
> /usr/pkg/etc/minicom/minirc.dfl".

You did run it as root?

Aside from that problem, does it work?

Bernd