Subject: pkg/30891: ddclient mastersite moved + update [PATCH]
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <ghen@telenet.be>
List: pkgsrc-bugs
Date: 08/02/2005 09:10:00
>Number:         30891
>Category:       pkg
>Synopsis:       ddclient mastersite moved + update [PATCH]
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 02 09:10:00 +0000 2005
>Originator:     Geert Hendrickx
>Release:        
>Organization:
>Environment:
>Description:
Apparently the ddclient homepage (and download page) has moved to                                                                                                                                                                              
Sourceforge.  Also, the version currently in pkgsrc (3.6.2) isn't available                                                                                                                                                                    
for download anymore.  So I updated the package to the latest version,                                                                                                                                                                         
3.6.6, see the patch below.                                                                                                                                                                                                    
                                                                                                                                                                                                                                               
Should this be pulled up to 2005Q2 as well, since the distfile isn't                                                                                                                                                                           
available anymore?  Alternatively, if anyone still has it around somewhere, we may                                                                                                                                                                        
mirror it on ftp.netbsd.org, to minimize the changes for the 2005Q2-branch.                                                                                                                                                                    
                                                                                                           
>How-To-Repeat:

>Fix:
--- net/ddclient/Makefile       2005-07-19 18:11:18.000000000 +0200                                                                                                                                                                            
+++ net/ddclient/Makefile       2005-08-01 11:12:10.000000000 +0200                                                                                                                                                                            
@@ -1,12 +1,12 @@                                                                                                                                                                                                                              
 # $NetBSD: Makefile,v 1.21 2005/07/16 19:10:39 jlam Exp $                                                                                                                                                                                     
                                                                                                                                                                                                                                               
-DISTNAME=      ddclient-3.6.2                                                                                                                                                                                                                 
-PKGREVISION=   1                                                                                                                                                                                                                              
+DISTNAME=      ddclient-3.6.6                                                                                                                                                                                                                 
 CATEGORIES=    net                                                                                                                                                                                                                            
-MASTER_SITES=  ${HOMEPAGE}                                                                                                                                                                                                                    
+MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=ddclient/}                                                                                                                                                                                          
+EXTRACT_SUFX=  .tar.bz2                                                                                                                                                                                                                       
                                                                                                                                                                                                                                               
 MAINTAINER=    tech-pkg@NetBSD.org                                                                                                                                                                                                            
-HOMEPAGE=      http://burry.ca:4141/ddclient/                                                                                                                                                                                                 
+HOMEPAGE=      http://ddclient.sourceforge.net/                                                                                                                                                                                               
 COMMENT=       Client to update dynamic DNS entries                                                                                                                                                                                           
                                                                                                                                                                                                                                               
 PKG_INSTALLATION_TYPES=        overwrite pkgviews                                                                                                                                                                                             
--- net/ddclient/PLIST  2005-05-02 22:34:01.000000000 +0200                                                                                                                                                                                    
+++ net/ddclient/PLIST  2005-08-01 11:22:22.000000000 +0200                                                                                                                                                                                    
@@ -1,4 +1,4 @@                                                                                                                                                                                                                                
-@comment $NetBSD: PLIST,v 1.4 2005/05/02 20:34:01 reed Exp $                                                                                                                                                                                  
+@comment $NetBSD$                                                                                                                                                                                                                             
 sbin/ddclient                                                                                                                                                                                                                                 
 share/doc/ddclient/COPYING                                                                                                                                                                                                                    
 share/doc/ddclient/COPYRIGHT                                                                                                                                                                                                                  
@@ -6,10 +6,11 @@                                                                                                                                                                                                                              
 share/doc/ddclient/README.cisco                                                                                                                                                                                                               
 share/examples/ddclient/sample-etc_cron.d_ddclient                                                                                                                                                                                            
 share/examples/ddclient/sample-etc_ddclient.conf                                                                                                                                                                                              
-share/examples/ddclient/sample-etc_dhclient-enter-hooks                                                                                                                                                                                       
+share/examples/ddclient/sample-etc_dhclient-exit-hooks                                                                                                                                                                                        
 share/examples/ddclient/sample-etc_dhcpc_dhcpcd-eth0.exe                                                                                                                                                                                      
 share/examples/ddclient/sample-etc_ppp_ip-up.local                                                                                                                                                                                            
 share/examples/ddclient/sample-etc_rc.d_init.d_ddclient                                                                                                                                                                                       
+share/examples/ddclient/sample-etc_rc.d_init.d_ddclient.lsb                                                                                                                                                                                   
 share/examples/ddclient/sample-etc_rc.d_init.d_ddclient.redhat                                                                                                                                                                                
 share/examples/rc.d/ddclient                                                                                                                                                                                                                  
 @dirrm share/examples/ddclient                                                                                                                                                                                                                
--- net/ddclient/distinfo       2005-02-24 13:13:45.000000000 +0100                                                                                                                                                                            
+++ net/ddclient/distinfo       2005-08-01 11:16:20.000000000 +0200                                                                                                                                                                            
@@ -1,6 +1,6 @@                                                                                                                                                                                                                                
 $NetBSD: distinfo,v 1.5 2005/02/24 12:13:45 agc Exp $                                                                                                                                                                                         
                                                                                                                                                                                                                                               
-SHA1 (ddclient-3.6.2.tar.gz) = c449ccbb63315bd6a0390bbc9ea852848d451ec9                                                                                                                                                                       
-RMD160 (ddclient-3.6.2.tar.gz) = 2a449eb3c97a2c1488b2258138d2c67f985130ae                                                                                                                                                                     
-Size (ddclient-3.6.2.tar.gz) = 32793 bytes                                                                                                                                                                                                    
-SHA1 (patch-aa) = 95f103edb6433caec994681233ee9a14b9a51597                                                                                                                                                                                    
+SHA1 (ddclient-3.6.6.tar.bz2) = 55574b2bc4307122aece3dfccbdbd53771e2365b                                                                                                                                                                      
+RMD160 (ddclient-3.6.6.tar.bz2) = afbc0c868c095408214397aab7398e36342ae666                                                                                                                                                                    
+Size (ddclient-3.6.6.tar.bz2) = 34009 bytes                                                                                                                                                                                                   
+SHA1 (patch-aa) = 0c721fd0b429387a9b49ab02927295709d226c13                                                                                                                                                                                    
--- net/ddclient/patches/patch-aa       2001-12-09 20:55:36.000000000 +0100                                                                                                                                                                    
+++ net/ddclient/patches/patch-aa       2005-08-01 11:16:08.000000000 +0200                                                                                                                                                                    
@@ -9,6 +9,6 @@                                                                                                                                                                                                                                
  ######################################################################                                                                                                                                                                       
 @@ -22,3 +21,3 @@                                                                                                                                                                                                                             
  my $hostname  = hostname();                                                                                                                                                                                                                  
--my $etc       = ($program =~ /test/i) ? './'   : '/etc/';                                                                                                                                                                                    
+-my $etc       = ($program =~ /test/i) ? './'   : '/etc/ddclient/';                                                                                                                                                                           
 +my $etc       = ($program =~ /test/i) ? './'   : '@PKG_SYSCONFDIR@/';                                                                                                                                                                        
  my $savedir   = ($program =~ /test/i) ? 'URL/' : '/tmp/';