pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/34924: wbm-telnet checksum error



>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
>Organization:
>Environment:
NetBSD xxxx 3.0 NetBSD 3.0 (GENERIC) #0: Mon Dec 19 01:04:02 UTC 2005  
builds%works.netbsd.org@localhost:/home/builds/ab/netbsd-3-0-RELEASE/i386/200512182024Z-obj/home/builds/ab/netbsd-3-0-RELEASE/src/sys/arch/i386/compile/GENERIC
 i386
>Description:
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.
>How-To-Repeat:
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)
>Fix:
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 http://download.webmin.com/download/modules/telnet.wbm.gz
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
MASTER_SITES=   http://download.webmin.com/download/modules/
EXTRACT_SUFX=   .gz

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

HOMEPAGE=       http://download.webmin.com/download/modules/
COMMENT=        Webmin module to login via telnet or SSH

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

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




Home | Main Index | Thread Index | Old Index