From nick@muffin.acquirer.com  Sun May 18 11:25:29 2008
Return-Path: <nick@muffin.acquirer.com>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 6FA9D106564A
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 18 May 2008 11:25:29 +0000 (UTC)
	(envelope-from nick@muffin.acquirer.com)
Received: from mail.acquirer.com (mail.acquirer.com [87.198.142.10])
	by mx1.freebsd.org (Postfix) with ESMTP id E4E5F8FC1D
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 18 May 2008 11:25:28 +0000 (UTC)
	(envelope-from nick@muffin.acquirer.com)
Received: from muffin.acquirer.com (localhost [127.0.0.1])
	by mail.acquirer.com (8.13.6/8.13.8) with ESMTP id m4IBPLIJ038384
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Sun, 18 May 2008 12:25:21 +0100 (IST)
	(envelope-from nick@muffin.acquirer.com)
Received: (from nick@localhost)
	by muffin.acquirer.com (8.13.6/8.13.8/Submit) id m4IBPLuQ038187;
	Sun, 18 May 2008 12:25:21 +0100 (IST)
	(envelope-from nick)
Message-Id: <200805181125.m4IBPLuQ038187@muffin.acquirer.com>
Date: Sun, 18 May 2008 12:25:21 +0100 (IST)
From: Nick Hilliard <nick@foobar.org>
Reply-To: Nick Hilliard <nick@foobar.org>
To: FreeBSD-gnats-submit@freebsd.org
Subject: maintainer update: drupal5-i18n-2.1 -> 2.3
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         123789
>Category:       ports
>Synopsis:       maintainer update: www/drupal5-i18n 2.1 -> 2.3
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    miwi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 18 11:30:01 UTC 2008
>Closed-Date:    Sun May 18 15:54:59 UTC 2008
>Last-Modified:  Sun May 18 16:00:02 UTC 2008
>Originator:     Nick Hilliard
>Release:        FreeBSD 6.1-RELEASE i386
>Organization:
Network Ability Ltd
>Environment:
System: FreeBSD xx 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Wed May 17 11:38:53 IST 2006 nick@xxx:/data/src/usr.src/src-6.1/src/sys/i386/compile/xxx i386
>Description:

update drupal5-i18n-2.1 to drupal5-i18n-2.3.  Also fixed security hole:

http://drupal.org/node/250344

>How-To-Repeat:
>Fix:

diff -urNb drupal5-i18n-old/Makefile drupal5-i18n/Makefile
--- drupal5-i18n-old/Makefile	2007-07-07 16:28:32.000000000 +0100
+++ drupal5-i18n/Makefile	2008-05-18 12:20:26.000000000 +0100
@@ -6,9 +6,8 @@
 #
 
 PORTNAME=	i18n
-DISTVERSION=	5.x-2.1
+DISTVERSION=	5.x-2.3
 CATEGORIES=	www
-MASTER_SITES=	http://ftp.osuosl.org/pub/drupal/files/projects/
 
 MAINTAINER=	nick@foobar.org
 COMMENT=	An internationalisation module for the Drupal CMS
diff -urNb drupal5-i18n-old/distinfo drupal5-i18n/distinfo
--- drupal5-i18n-old/distinfo	2007-07-07 16:28:32.000000000 +0100
+++ drupal5-i18n/distinfo	2008-05-18 12:20:26.000000000 +0100
@@ -1,3 +1,3 @@
-MD5 (drupal/i18n-5.x-2.1.tar.gz) = 7c884e2240e7b55c360a3ff7f527171f
-SHA256 (drupal/i18n-5.x-2.1.tar.gz) = 7799d1fbd2437a0f1fe8a300d5e7e647b4f395baad18d1dbf428f616a76eed7b
-SIZE (drupal/i18n-5.x-2.1.tar.gz) = 71684
+MD5 (drupal/i18n-5.x-2.3.tar.gz) = cc92b18b7a0a758fe2637e1365bf6d9e
+SHA256 (drupal/i18n-5.x-2.3.tar.gz) = 2b15a2f73e930fc13229da4aafbf1611625e50ecead72fe78a3c95e0a8679cba
+SIZE (drupal/i18n-5.x-2.3.tar.gz) = 89618
diff -urNb drupal5-i18n-old/files/patch-i18n.module drupal5-i18n/files/patch-i18n.module
--- drupal5-i18n-old/files/patch-i18n.module	2007-07-07 16:28:33.000000000 +0100
+++ drupal5-i18n/files/patch-i18n.module	1970-01-01 01:00:00.000000000 +0100
@@ -1,15 +0,0 @@
---- i18n.module	2007/05/03 13:48:57	1.36.2.12
-+++ i18n.module	2007/05/16 17:43:10	1.36.2.13
-@@ -187,10 +187,10 @@
-         if (isset($node->menu) && !$node->menu['delete'] && $node->menu['title']) {
-           $item = $node->menu;
-           $item['path'] = ($item['path']) ? $item['path'] : "node/$node->nid";
--
-+          $item['type'] = $item['type'] | MENU_MODIFIED_BY_ADMIN;
-           if ($item['mid']) {
-             // Update menu item 
--            db_query("UPDATE {menu} SET pid = %d, path = '%s', title = '%s', description = '%s', weight = %d, type = %d, language = '%s' WHERE mid = %d", $item['pid'], $item['path'], $item['title'], $item['description'], $item['weight'], $item['type'], $item['mid'], $node->language);
-+            db_query("UPDATE {menu} SET pid = %d, path = '%s', title = '%s', description = '%s', weight = %d, type = %d, language = '%s' WHERE mid = %d", $item['pid'], $item['path'], $item['title'], $item['description'], $item['weight'], $item['type'], $node->language, $item['mid']);
-             drupal_set_message(t('The menu item %title has been updated with node language.', array('%title' => $item['title'])));
-           } elseif(SAVED_NEW == menu_save_item($item)) {
-             // Creating new menu item with node language
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: miwi 
Responsible-Changed-When: Sun May 18 13:58:07 UTC 2008 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=123789 
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Sun May 18 15:54:57 UTC 2008 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=123789 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/123789: commit references a PR
Date: Sun, 18 May 2008 15:54:46 +0000 (UTC)

 miwi        2008-05-18 15:54:41 UTC
 
   FreeBSD ports repository
 
   Modified files:
     www/drupal5-i18n     Makefile distinfo 
   Removed files:
     www/drupal5-i18n/files patch-i18n.module 
   Log:
   - Update to 2.3
   
   PR:             123789
   Submitted by:   Nick Hilliard <nick@foobar.org> (maintainer)
   
   Revision  Changes    Path
   1.5       +1 -2      ports/www/drupal5-i18n/Makefile
   1.3       +3 -3      ports/www/drupal5-i18n/distinfo
   1.2       +0 -15     ports/www/drupal5-i18n/files/patch-i18n.module (dead)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
