Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 May 2008 12:25:21 +0100 (IST)
From:      Nick Hilliard <nick@foobar.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/123789: maintainer update: drupal5-i18n-2.1 -> 2.3
Message-ID:  <200805181125.m4IBPLuQ038187@muffin.acquirer.com>
Resent-Message-ID: <200805181130.m4IBU2pY056279@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         123789
>Category:       ports
>Synopsis:       maintainer update: drupal5-i18n-2.1 -> 2.3
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 18 11:30:01 UTC 2008
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200805181125.m4IBPLuQ038187>