ports/135076: [patch] Update www/google-sitemapgen to 1.5

John Marshall john at rwsrv05.mby.riverwillow.net.au
Sat May 30 12:20:03 UTC 2009


>Number:         135076
>Category:       ports
>Synopsis:       [patch] Update www/google-sitemapgen to 1.5
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 30 12:20:02 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     John Marshall
>Release:        FreeBSD 7.2-RELEASE i386
>Organization:
Riverwillow Pty Ltd
>Environment:
System: FreeBSD rwsrv05.mby.riverwillow.net.au 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May 1 21:02:03 AEST 2009 root at rwsrv05.mby.riverwillow.net.au:/spare/obj/usr/src/sys/RWSRV05 i386

>Description:

I have discovered that Google has version 1.5 of this tool available.
Our port has version 1.4 which has been distributed via SourceForge
since December 2005.  There has been no activity on the SourceForge
project site since then.

This patch:
 - Updates the port version from 1.4 to 1.5
 - Changes MASTER_SITES from SourceForge to Google 
 - Adds NO_WRKSUBDIR because the 1.5 tarball contains just the files
 - Adds PROJECTHOST so that bsd.sites.mk can construct the correct
   googlecode.com URL
 - Makes the same patch to setup.py as was made in 1.4.  I'm guessing
   that this is probably necessary?
 - Replaces the WWW URL's in pkg-descr
 - Modifies distinfo for the new version

I'm no ports expert, so someone should check my work.  The updated port
works fine for me on FreeBSD 7.2-RELEASE i386.

>How-To-Repeat:
	
>Fix:

--- google-sitemapgen_diff begins here ---
diff -rNu google-sitemapgen-1.4/Makefile google-sitemapgen-1.5/Makefile
--- google-sitemapgen-1.4/Makefile	2007-07-30 19:42:07.000000000 +1000
+++ google-sitemapgen-1.5/Makefile	2009-05-27 22:39:59.000000000 +1000
@@ -6,17 +6,20 @@
 #
 
 PORTNAME=	google-sitemapgen
-PORTVERSION=	1.4
+PORTVERSION=	1.5
 CATEGORIES=	www devel
-MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR=	goog-sitemapgen
-DISTNAME=	sitemap_gen-${PORTVERSION}
+MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
+DISTNAME=	sitemap_gen_${PORTVERSION}
 
 MAINTAINER=	skv at FreeBSD.org
 COMMENT=	Script to analyze web server and generate Google Sitemap files
 
+NO_WRKSUBDIR=
+
 USE_PYTHON=	YES
 USE_PYDISTUTILS=YES
 PYDISTUTILS_PKGNAME=	sitemap_gen
 
+PROJECTHOST=	sitemap-generators
+
 .include <bsd.port.mk>
diff -rNu google-sitemapgen-1.4/distinfo google-sitemapgen-1.5/distinfo
--- google-sitemapgen-1.4/distinfo	2006-02-17 20:01:57.000000000 +1100
+++ google-sitemapgen-1.5/distinfo	2009-05-27 17:39:22.000000000 +1000
@@ -1,3 +1,3 @@
-MD5 (sitemap_gen-1.4.tar.gz) = 0cd37e1295631b5b1ac484cfac321297
-SHA256 (sitemap_gen-1.4.tar.gz) = 5889243f51d830aecca8d15a58a853674d6a26b2b5c7073fcf19dd0810c647f5
-SIZE (sitemap_gen-1.4.tar.gz) = 30077
+MD5 (sitemap_gen_1.5.tar.gz) = 98754e802722c0cc2ffcc8aedead67b6
+SHA256 (sitemap_gen_1.5.tar.gz) = d66a5df1450ae70a2ee29a52325c663019d8022cf2813d2592860ec635b0cf73
+SIZE (sitemap_gen_1.5.tar.gz) = 22742
diff -rNu google-sitemapgen-1.4/files/patch-setup.py google-sitemapgen-1.5/files/patch-setup.py
--- google-sitemapgen-1.4/files/patch-setup.py	2005-06-09 19:00:30.000000000 +1000
+++ google-sitemapgen-1.5/files/patch-setup.py	2009-05-27 17:48:40.000000000 +1000
@@ -1,8 +1,8 @@
---- setup.py.orig	Thu May 26 23:53:25 2005
-+++ setup.py	Thu Jun  9 12:39:45 2005
+--- setup.py.orig	2009-05-27 17:43:25.000000000 +1000
++++ setup.py	2009-05-27 17:45:52.000000000 +1000
 @@ -9,4 +9,5 @@
        author='Google Inc.',
        author_email='opensource at google.com',
-       url='http://sourceforge.net/projects/goog-sitemap_gen/',
+       url='http://code.google.com/p/sitemap-generators/',
 +      py_modules = [ 'sitemap_gen' ]
       )
diff -rNu google-sitemapgen-1.4/pkg-descr google-sitemapgen-1.5/pkg-descr
--- google-sitemapgen-1.4/pkg-descr	2005-06-09 19:00:30.000000000 +1000
+++ google-sitemapgen-1.5/pkg-descr	2009-05-27 17:54:34.000000000 +1000
@@ -3,5 +3,5 @@
 available on your web server.  The files can then be directly submitted
 to Google.
 
-WWW: http://sourceforge.net/projects/goog-sitemapgen
-WWW: http://www.google.com/webmasters/sitemaps/docs/en/sitemap-generator.html
+WWW: http://code.google.com/p/sitemap-generators/
+WWW: http://google.com/support/webmasters/
--- google-sitemapgen_diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list