From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Apr 4 14:08:30 2007 Return-Path: X-Original-To: freebsd-ports-bugs@freebsd.org Delivered-To: freebsd-ports-bugs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 70F1D16A404; Wed, 4 Apr 2007 14:08:30 +0000 (UTC) (envelope-from nick@muffin.acquirer.com) Received: from mail.acquirer.com (87-198-142-10.ptr.magnet.ie [87.198.142.10]) by mx1.freebsd.org (Postfix) with ESMTP id E5BFC13C46A; Wed, 4 Apr 2007 14:08:29 +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 l34CxS1a024282 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 4 Apr 2007 13:59:28 +0100 (IST) (envelope-from nick@muffin.acquirer.com) Received: (from nick@localhost) by muffin.acquirer.com (8.13.6/8.13.6/Submit) id l34CxSiW069796; Wed, 4 Apr 2007 13:59:28 +0100 (IST) (envelope-from nick) Date: Wed, 4 Apr 2007 13:59:28 +0100 From: Nick Hilliard To: FreeBSD-gnats-submit@freebsd.org, freebsd-ports-bugs@freebsd.org Message-ID: <20070404125928.GB19268@muffin.acquirer.com> References: <200703261532.l2QFWQXm063686@muffin.acquirer.com> <200703261620.l2QGKCfW097570@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200703261620.l2QGKCfW097570@freefall.freebsd.org> User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-3.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, INFO_TLD autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on muffin.acquirer.com X-Virus-Scanned: ClamAV 0.88.7/3012/Wed Apr 4 12:49:03 2007 on muffin.acquirer.com X-Virus-Status: Clean Cc: Nick Hilliard Subject: Re: ports/110866: new port: drupal5-taxonomy_access-5.x-1.x-dev_20070217 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Apr 2007 14:08:30 -0000 Updated patch to cope with Repocopy. Nick -- diff -bNur drupal5-taxonomy_access.orig/Makefile drupal5-taxonomy_access/Makefile --- drupal5-taxonomy_access.orig/Makefile Sun Mar 25 10:57:53 2007 +++ drupal5-taxonomy_access/Makefile Tue Apr 3 22:21:43 2007 @@ -1,22 +1,23 @@ -# New ports collection makefile for: drupal-taxonomy_access -# Date created: 26 Jan 2007 +# New ports collection makefile for: drupal5-taxonomy_access +# Date created: 26 Mar 2007 # Whom: Nick Hilliard # -# $FreeBSD: ports/www/drupal5-taxonomy_access/Makefile,v 1.5 2007/03/25 09:57:53 rafan Exp $ +# $FreeBSD: $ # PORTNAME= taxonomy_access -DISTVERSION= 4.7.x-1.x-dev -PORTREVISION= 20070205 -PORTEPOCH= 2 +DISTVERSION= 5.x-1.x-dev +PORTREVISION= 20070217 CATEGORIES= www security +MASTER_SITES= ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= pav/drupal MAINTAINER= nick@foobar.org COMMENT= Access control system for the Drupal based on Taxonomy classification -DRUPAL_MODULE= yes -MODULE_FILES= taxonomy_access.install taxonomy_access.module taxonomy_access_admin.inc +DRUPAL5_MODULE= yes +MODULE_FILES= admin.css taxonomy_access.info taxonomy_access.install \ + taxonomy_access.module taxonomy_access_admin.inc DOC_FILES= INSTALL.txt LICENSE.txt README.txt UPDATE.txt .include diff -bNur drupal5-taxonomy_access.orig/distinfo drupal5-taxonomy_access/distinfo --- drupal5-taxonomy_access.orig/distinfo Fri Feb 9 18:03:39 2007 +++ drupal5-taxonomy_access/distinfo Tue Apr 3 22:13:29 2007 @@ -1,3 +1,3 @@ -MD5 (drupal/taxonomy_access-4.7.x-1.x-dev.tar.gz) = c52607b2ddf7562c1bd1eadc51099317 -SHA256 (drupal/taxonomy_access-4.7.x-1.x-dev.tar.gz) = 0ad2ffb09bc838c330b3fd28d571196916d38f4e055c0ceaaedac3366dc119c9 -SIZE (drupal/taxonomy_access-4.7.x-1.x-dev.tar.gz) = 32330 +MD5 (drupal/taxonomy_access-5.x-1.x-dev.tar.gz) = 65c010a69664dfdcaa4debce45da293f +SHA256 (drupal/taxonomy_access-5.x-1.x-dev.tar.gz) = e096e6a5eabd9de1b6fa36e8ec53869f2942dd50b55b55fd9fd0f1e61243db55 +SIZE (drupal/taxonomy_access-5.x-1.x-dev.tar.gz) = 31484 diff -bNur drupal5-taxonomy_access.orig/files/patch-taxonomy_access_admin.inc drupal5-taxonomy_access/files/patch-taxonomy_access_admin.inc --- drupal5-taxonomy_access.orig/files/patch-taxonomy_access_admin.inc Sun Mar 25 10:57:53 2007 +++ drupal5-taxonomy_access/files/patch-taxonomy_access_admin.inc Thu Jan 1 01:00:00 1970 @@ -1,36 +0,0 @@ ---- 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, - ); - } - }