Subject: pkg/26253: sympa-3.4.2nb1 needs some work
To: None <gnats-bugs@gnats.netbsd.org>
From: None <diro@nixsys.bz>
List: pkgsrc-bugs
Date: 07/11/2004 21:01:44
>Number:         26253
>Category:       pkg
>Synopsis:       sympa-3.4.2nb1 needs some work
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Jul 12 01:04:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 1.6.2
>Organization:
>Environment:
System: NetBSD nixsys 1.6.2 NetBSD 1.6.2 (NIXSYS) #10: Thu Mar 4 22:20:38 EST 2004 root@nixsys:/usr/src/sys/arch/alpha/compile/NIXSYS alpha
Architecture: alpha
Machine: alpha
>Description:

First off, sympa installs its rc script in /etc/rc.d/init.d. Maybe /usr/pkg/etc/rc.d would be more appropriate.

<snip source="/etc/rc.d/init.d/sympa">

if [ ${OSTYPE} != "FreeBSD" -a ${OSTYPE} != "solaris" ]; then
    # Source function library.
    . /etc/rc.d/init.d/functions

    # Get config.
    . /etc/sysconfig/network
fi

# Sympa parameters
# Sympa binaries directory
sympadir="/usr/pkg/sympa/bin"

# Sympa config files directory
sympaconf="/etc/sympa.conf"
wwsympaconf="/etc/wwsympa.conf"

</snip>

Maybe /usr/pkg/etc/ would be a better place for *sympa.conf. The file /etc/rc.d/init.d/functions doesn't exist or is not installed for some reason. The same goes for /etc/sysconfig/network. These problems may be resolved by updating sympa to the 4.x.x version. This pkg seems to have leftover config data from not being properly ported from Linux. Probably more stuff I missed...

>How-To-Repeat:
	
>Fix:
	
>Release-Note:
>Audit-Trail:
>Unformatted: