Subject: pkg/26253: sympa-3.4.2nb1 needs some work
To: None <>
From: None <>
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
>Release:        NetBSD 1.6.2
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

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

# Sympa parameters
# Sympa binaries directory

# Sympa config files directory


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...