Subject: pkg/35331: Installing Webmin 1.270 on NetBSD 3.1 fails because of a missing entry in the os_list.txt.
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <linus_kohl@web.de>
List: pkgsrc-bugs
Date: 12/27/2006 20:15:04
>Number: 35331
>Category: pkg
>Synopsis: Installing Webmin 1.270 on NetBSD 3.1 fails because of a missing entry in the os_list.txt.
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Dec 27 20:15:01 +0000 2006
>Originator: Linus Kohl
>Release: NetBSD 3.1
>Organization:
~
>Environment:
NetBSD pc 3.1 NetBSD 3.1 (GENERIC) #0: Tue Oct 31 04:27:07 UTC 2006 builds@b0.netbsd.org:/home/builds/ab/netbsd-3-1-RELEASE/i386/200610302053Z-obj/home/builds/ab/netbsd-3-1-RELEASE/src/sys/arch/i386/compile/GENERIC i386
>Description:
Installing of Webmin 1.270 from the current branch of pkgsrc fails under NetBSD 3.1 because it is not able to determine the OS.
Automatic OS detection failed/usr/bin/sed -e "/^env_WEBMIN_CONFIG=/s,/usr/pkg/share/examples/webmin,/usr/pkg/etc/webmin," -e "/^logout=/s,/usr/pkg/share/examples/webmin,/usr/pkg/etc/webmin," -e "/^userfile=/s,/usr/pkg/share/examples/webmin,/usr/pkg/etc/webmin," -e "/^keyfile=/s,/usr/pkg/share/examples/webmin,/usr/pkg/etc/webmin," /usr/pkg/share/examples/webmin/miniserv.conf > /usr/pkgsrc/sysutils/webmin/work/miniserv.conf
>How-To-Repeat:
/usr/pkgsrc/sysutils/webmin/make install ?
>Fix:
Patching the ./work/webmin-1.270/os_list.txt with the following entry worked for me.
#
--- ./work/webmin-1.270/os_list.txt 2006-12-27 11:54:41.000000000 -0700
+++ ./work/webmin-1.270/os_list.txt.orig 2006-12 2711:54:13.000000000 -0700
-228,7 +228,6 @@
NetBSD 1.6 netbsd 1.6 $uname =~ /NetBSD.*1\.6/i
NetBSD 2.0 netbsd 2.0 $uname =~ /NetBSD.*2\.0/i
NetBSD 3.0 netbsd 3.0 $uname =~ /NetBSD.*3\.0/i
-> NetBSD 3.1 netbsd 3.1 $uname =~ /NetBSD.*3\.1/i
NetBSD current netbsd 3.99.x $uname =~ /NetBSD.*3\.99*/i
# BSDI (may not be detected properly)
#