From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Feb 23 12:00:15 2007 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A330316A406 for ; Fri, 23 Feb 2007 12:00:15 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 766AC13C494 for ; Fri, 23 Feb 2007 12:00:15 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l1NC0FgO095490 for ; Fri, 23 Feb 2007 12:00:15 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l1NC0FnN095484; Fri, 23 Feb 2007 12:00:15 GMT (envelope-from gnats) Resent-Date: Fri, 23 Feb 2007 12:00:15 GMT Resent-Message-Id: <200702231200.l1NC0FnN095484@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Nick Hilliard Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D03C516A406 for ; Fri, 23 Feb 2007 11:54:56 +0000 (UTC) (envelope-from nick@muffin.acquirer.com) Received: from mail.acquirer.com (mail.acquirer.com [213.94.200.65]) by mx1.freebsd.org (Postfix) with ESMTP id 1A19913C4B5 for ; Fri, 23 Feb 2007 11:54:55 +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.6) with ESMTP id l1NBsob3013909 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 23 Feb 2007 11:54:50 GMT (envelope-from nick@muffin.acquirer.com) Received: (from nick@localhost) by muffin.acquirer.com (8.13.6/8.13.6/Submit) id l1NBsnQh024193; Fri, 23 Feb 2007 11:54:49 GMT (envelope-from nick) Message-Id: <200702231154.l1NBsnQh024193@muffin.acquirer.com> Date: Fri, 23 Feb 2007 11:54:49 GMT From: Nick Hilliard To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/109457: maintainer update: drupal-taxonomy_access - 4.7.x-1.x-dev-20070205, 1 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Nick Hilliard List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Feb 2007 12:00:15 -0000 >Number: 109457 >Category: ports >Synopsis: maintainer update: drupal-taxonomy_access - 4.7.x-1.x-dev-20070205,1 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Fri Feb 23 12:00:14 GMT 2007 >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: Fix for permissions on drupal taxonomy_access module. See http://drupal.org/node/115502 for more details. >How-To-Repeat: >Fix: diff -Nur drupal-taxonomy_access/Makefile drupal-taxonomy_access-devel/Makefile --- drupal-taxonomy_access/Makefile Fri Feb 9 18:03:39 2007 +++ drupal-taxonomy_access-devel/Makefile Fri Feb 23 11:39:13 2007 @@ -8,6 +8,7 @@ PORTNAME= taxonomy_access DISTVERSION= 4.7.x-1.x-dev PORTREVISION= 20070205 +PORTEPOCH= 1 CATEGORIES= www security MASTER_SITE_SUBDIR= pav/drupal diff -Nur drupal-taxonomy_access/files/patch-taxonomy_access::taxonomy_access_admin.inc drupal-taxonomy_access-devel/files/patch-taxonomy_access::taxonomy_access_admin.inc --- drupal-taxonomy_access/files/patch-taxonomy_access::taxonomy_access_admin.inc Thu Jan 1 01:00:00 1970 +++ drupal-taxonomy_access-devel/files/patch-taxonomy_access::taxonomy_access_admin.inc Fri Feb 23 11:37:59 2007 @@ -0,0 +1,36 @@ +--- taxonomy_access_admin.inc.orig Sat Nov 4 22:50:38 2006 ++++ taxonomy_access_admin.inc Fri Feb 23 10:57:47 2007 +@@ -127,7 +127,7 @@ + $form['taxonomy_access'][$vocab->vid]['default'][$grant] = array( + '#type' => 'radios', + '#options' => $radios, +- '#default_value' => $default[$vocab->vid][$grant], ++ '#default_value' => isset($default[$vocab->vid][$grant]) ? $default[$vocab->vid][$grant] : 0, + ); + } + foreach (array('create', 'list') as $grant) { +@@ -137,7 +137,7 @@ + ); + $form['taxonomy_access'][$vocab->vid]['default'][$grant] = array( + '#type' => 'checkbox', +- '#default_value' => $default[$vocab->vid][$grant], ++ '#default_value' => isset($default[$vocab->vid][$grant]) ? $default[$vocab->vid][$grant] : 0, + ); + } + +@@ -150,13 +150,13 @@ + $form['taxonomy_access'][$vocab->vid]['term'][$term->tid][$grant] = array( + '#type' => 'radios', + '#options' => $radios, +- '#default_value' => $perm[$term->tid][$grant], ++ '#default_value' => isset($perm[$term->tid][$grant]) ? $perm[$term->tid][$grant] : 0, + ); + } + foreach (array('create', 'list') as $grant) { + $form['taxonomy_access'][$vocab->vid]['term'][$term->tid][$grant] = array ( + '#type' => 'checkbox', +- '#default_value' => $perm[$term->tid][$grant], ++ '#default_value' => isset($perm[$term->tid][$grant]) ? $perm[$term->tid][$grant] : 0, + ); + } + } >Release-Note: >Audit-Trail: >Unformatted: