Subject: pkg/34924: wbm-telnet checksum error
To: None <,,>
From: None <>
List: pkgsrc-bugs
Date: 10/26/2006 15:45:00
>Number:         34924
>Category:       pkg
>Synopsis:       wbm-telnet checksum error
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Oct 26 15:45:00 +0000 2006
>Originator:     Omar Asfour
>Release:        3.0
NetBSD xxxx 3.0 NetBSD 3.0 (GENERIC) #0: Mon Dec 19 01:04:02 UTC 2005 i386
The wbm-telnet package in pkgsrc generates a checksum error when you run "make". Fixed by recreating the wbm-telnet pkgsrc directory in /usr/pkgsrc/local.
1. Obtain pkgsrc (obvious)
2. cd /usr/pkgsrc/sysutils/wbm-telnet
3. make

--- Result ---
checksum: Checksum SHA1 mismatch for webmin-modules-1.270/telnet.wbm.gz

4. rm -r /usr/pkgsrc/distfiles/webmin-modules-1.270/telnet.wbm.gz
5. make

--- Result (same as above)
checksum: Checksum SHA1 mismatch for webmin-modules-1.270/telnet.wbm.gz

*** I don't recommend actually trying steps 6-9 unless you're quite familiar with the pkgsrc framework. ***
6. make distinfo
7. make
8. make install (too many errors to get into, but I think it has to do with the PLIST being incorrect. I'm new to pkgsrc)
9. make deinstall (to get rid of the errant package)
1. cd /usr/pkgsrc/pkgtools/url2pkg
2. make install
3. mkdir /usr/pkgsrc/local (new directory for local fixes)
4. mkdir /usr/pkgsrc/local/wbm-telnet
5. cd /usr/pkgsrc/local/wbm-telnet
4. url2pkg
5. In the resulting editor, modify it to match the settings below:

----------- BEGIN EDITOR -----------
# $NetBSD$

DISTNAME=       telnet.wbm
PKGNAME=        wbm-telnet-${WBM_VERSION}
DIST_SUBDIR=    webmin-modules-${WBM_VERSION}
CATEGORIES=     local

# The version is from the file from the extracted distfile.
WBM_VERSION=    1.270

COMMENT=        Webmin module to login via telnet or SSH

# url2pkg-marker (please do not remove this line.)
.include "../../sysutils/webmin/"
.include "../../mk/"
----------- END EDITOR ----------

6. cp /usr/pkgsrc/sysutils/wbm-telnet/DESCR .
7. "make install" and/or "make package"