From mjoyner@rv1.dynip.com  Sat Apr 29 21:54:46 2000
Return-Path: <mjoyner@rv1.dynip.com>
Received: from wolf.dyns.cx (dws-72-18.jacksonville.net [24.129.72.18])
	by hub.freebsd.org (Postfix) with ESMTP id E664B37B571
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 29 Apr 2000 21:54:43 -0700 (PDT)
	(envelope-from mjoyner@rv1.dynip.com)
Received: from host100.internal (localhost [127.0.0.1])
	by wolf.dyns.cx (8.9.3/8.9.3) with SMTP id AAA08914
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 30 Apr 2000 00:54:38 -0400 (EDT)
	(envelope-from mjoyner@rv1.dynip.com)
Message-Id: <00043000543804.08886@host100.internal>
Date: Sun, 30 Apr 2000 00:53:17 -0400
From: Michael Joyner <mjoyner@rv1.dynip.com>
Reply-To: mjoyner@rv1.dynip.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: md5 missing checksums

>Number:         18307
>Category:       ports
>Synopsis:       md5 missing checksums
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 29 22:00:02 PDT 2000
>Closed-Date:    Sun Apr 30 07:04:39 PDT 2000
>Last-Modified:  Sun Apr 30 07:05:39 PDT 2000
>Originator:     Michael Joyner
>Release:        FreeBSD 4.0-20000312-CURRENT i386
>Organization:
>Environment:
FreeBSD host100.internal 4.0-20000312-CURRENT FreeBSD 4.0-20000312-CURRENT #0: Mon Mar 13 14:37:12 EST 2000     root@host100.internal:/usr/src/sys/compile/psychomouse  i386 
 
just updated /usr/ports by cvsup

>Description:

 port prompts with 
 "You may define INSTALL_ADDITIONAL_SKINS (make ADDITIONAL_SKINS=YES)
 to fetch and install additional skins for kxicq.    "

 if you do 
 # make ADDITIONAL_SKINS=YES install         
 you get
 
 >> GoldBlue.tar.gz is not in /usr/ports/net/kxicq/files/md5.
 >> Either /usr/ports/net/kxicq/files/md5 is out of date, or
 >> GoldBlue.tar.gz is spelled incorrectly.
 *** Error code 1

 Stop in /usr/ports/net/kxicq.
 *** Error code 1                          
 .
 .
 .
 
 After fixing the md5 file it was discovered that the kicq
 main dist file would not get unpacked when trying to get
 the additional skins! so the build then failed....

 so attached are changes to the md5 file
 and changes to the ports master Makefile.

 
 

>How-To-Repeat:

 cd /usr/ports/net/kxicq
 make ADDITIONAL_SKINS=YES install 

 

>Fix:

 

 apply the following patches to files/md5 and Makefile, respectively.

# diff -crN Makefile.orig Makefile
*** Makefile.orig       Thu Apr 27 20:13:13 2000
--- Makefile    Thu Apr 27 20:45:30 2000
***************
*** 19,26 ****
USE_LIBTOOL=  yes
USE_QT=               yes

! .if defined(ADDITIONAL_SKINS)
DIST_SUBDIR=  kxicq
SKINS=                GoldBlue blueplanet ciasa_boark_inc cyrus
PLIST=                ${WRKDIR}/PLIST
DISTFILES+=   GoldBlue.tar.gz blueplanet-0.1.tar.gz cyrustheme.tar.gz \
--- 19,31 ----
USE_LIBTOOL=  yes
USE_QT=               yes

! #using ADDITIONAL_SKINS causes the main dist file to not get extracted.
! #this fixes it.
! DISTFILES=    kxicq-03132000.tar.gz
DIST_SUBDIR=  kxicq
+
+ .if defined(ADDITIONAL_SKINS)
+ # DIST_SUBDIR=        kxicq
SKINS=                GoldBlue blueplanet ciasa_boark_inc cyrus
PLIST=                ${WRKDIR}/PLIST
DISTFILES+=   GoldBlue.tar.gz blueplanet-0.1.tar.gz cyrustheme.tar.gz \
***************
*** 30,36 ****
pre-fetch:
.if !defined(ADDITIONAL_SKINS)
@${ECHO}
!       @${ECHO} "You may define INSTALL_ADDITIONAL_SKINS (make ADDITIONAL_SKINS=YES)"
@${ECHO} "to fetch and install additional skins for kxicq."
@${ECHO}
@sleep 1
--- 35,41 ----
pre-fetch:
.if !defined(ADDITIONAL_SKINS)
@${ECHO}
!       @${ECHO} "You may define ADDITIONAL_SKINS (make ADDITIONAL_SKINS=YES install)"
@${ECHO} "to fetch and install additional skins for kxicq."
@${ECHO}
@sleep 1                                         



# diff -crN md5.orig md5
*** md5.orig    Thu Apr 27 20:03:11 2000
--- md5 Thu Apr 27 20:24:10 2000
***************
*** 1 ****
! MD5 (kxicq-03132000.tar.gz) = 0690a43dad83d89bbdff7c4143386300
--- 1,5 ----
! MD5 (kxicq/kxicq-03132000.tar.gz) = 0690a43dad83d89bbdff7c4143386300
! MD5 (kxicq/GoldBlue.tar.gz) = 401450e4710aebff4b2edad14c0f4cac
! MD5 (kxicq/blueplanet-0.1.tar.gz) = db08ff114c24af4ff185c76820acb04d
! MD5 (kxicq/ciasa_boark_inc-0.4.tar.gz) = b6759abce6e8fd9c69895d28738b63f2
! MD5 (kxicq/cyrustheme.tar.gz) = 0c514e3bdd67f2a2766de43976bc9c2a                                                 









>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: asmodai 
State-Changed-When: Sun Apr 30 07:04:39 PDT 2000 
State-Changed-Why:  
Duplicate of PR 18287. 


Responsible-Changed-From-To: gnats-admin->freebsd-ports 
Responsible-Changed-By: asmodai 
Responsible-Changed-When: Sun Apr 30 07:04:39 PDT 2000 
Responsible-Changed-Why:  
Misfiled PR. 
>Unformatted:
