Date: Wed, 4 Apr 2007 13:59:28 +0100 From: Nick Hilliard <nick@foobar.org> To: FreeBSD-gnats-submit@freebsd.org, freebsd-ports-bugs@freebsd.org Cc: Nick Hilliard <nick@foobar.org> Subject: Re: ports/110866: new port: drupal5-taxonomy_access-5.x-1.x-dev_20070217 Message-ID: <20070404125928.GB19268@muffin.acquirer.com> In-Reply-To: <200703261620.l2QGKCfW097570@freefall.freebsd.org> References: <200703261532.l2QFWQXm063686@muffin.acquirer.com> <200703261620.l2QGKCfW097570@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <nick@foobar.org> # -# $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 <bsd.port.pre.mk> 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, - ); - } - }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070404125928.GB19268>