aboutsummaryrefslogtreecommitdiff
path: root/german
diff options
context:
space:
mode:
authorOlli Hauer <ohauer@FreeBSD.org>2012-09-01 20:16:06 +0000
committerOlli Hauer <ohauer@FreeBSD.org>2012-09-01 20:16:06 +0000
commit3c8085b82eda66385df76c24b7d363c85089d446 (patch)
tree87958eee622abefae11cb149ac43a51f6f2354d4 /german
parentf7deedbe571cf8e7195e45d5b1583c14021bd451 (diff)
downloadports-3c8085b82eda66385df76c24b7d363c85089d446.tar.gz
ports-3c8085b82eda66385df76c24b7d363c85089d446.zip
- update bugzilla bugzilla3 and bugzilla42
- use new bugzilla@ address (members skv@, tota@, ohauer@) - patch russian/japanese/german bugzilla and bugzilla templates so the reflect the security updates in the original templates - patch german/bugzilla42 templates - adopt new Makefile header vuxml: 6ad18fe5-f469-11e1-920d-20cf30e32f6d CVE: CVE-2012-3981 https://bugzilla.mozilla.org/show_bug.cgi?id=785470 https://bugzilla.mozilla.org/show_bug.cgi?id=785522 https://bugzilla.mozilla.org/show_bug.cgi?id=785511
Notes
Notes: svn path=/head/; revision=303519
Diffstat (limited to 'german')
-rw-r--r--german/bugzilla/Makefile16
-rw-r--r--german/bugzilla3/Makefile16
-rw-r--r--german/bugzilla42/Makefile13
-rw-r--r--german/bugzilla42/files/patch-402-403103
4 files changed, 130 insertions, 18 deletions
diff --git a/german/bugzilla/Makefile b/german/bugzilla/Makefile
index 79a884acf1d4..f3acffcd21c3 100644
--- a/german/bugzilla/Makefile
+++ b/german/bugzilla/Makefile
@@ -1,18 +1,14 @@
-# New ports collection makefile for: de-bugzilla
-# Date created: 2011-06-11
-# Whom: Olli Hauer <ohauer@FreeBSD.org>
-#
# $FreeBSD$
-#
PORTNAME= bugzilla
PORTVERSION= 4.0.7
+PORTREVISION= 1
CATEGORIES= german
MASTER_SITES= SF
MASTER_SITE_SUBDIR=bugzilla-de/${PORTVERSION:R}/${PORTVERSION}
DISTNAME= germzilla-${PORTVERSION}-1.utf-8
-MAINTAINER= ohauer@FreeBSD.org
+MAINTAINER= bugzilla@FreeBSD.org
COMMENT= German localization for Bugzilla
RUN_DEPENDS= bugzilla>=${PORTVERSION}:${PORTSDIR}/devel/bugzilla
@@ -25,6 +21,14 @@ NO_WRKSUBDIR= yes
LANGDIR= ${WWWDIR}/template/de
+post-patch:
+ ${REINPLACE_CMD} -i '' -e '/abbrev/d' \
+ ${WRKDIR}/de/default/filterexceptions.pl
+ ${REINPLACE_CMD} -i '' -e 's/column.title -%/column.title FILTER html -%/' \
+ ${WRKDIR}/de/default/list/table.html.tmpl
+ ${REINPLACE_CMD} -i '' -e 's/4.0.7/4.0.8/' \
+ ${WRKDIR}/de/default/global/gzversion.html.tmpl
+
do-install:
@-${MKDIR} ${LANGDIR}
@(cd ${WRKSRC}/de && ${COPYTREE_SHARE} . ${LANGDIR})
diff --git a/german/bugzilla3/Makefile b/german/bugzilla3/Makefile
index 97568169012a..225ab8b4d382 100644
--- a/german/bugzilla3/Makefile
+++ b/german/bugzilla3/Makefile
@@ -1,18 +1,14 @@
-# New ports collection makefile for: de-bugzilla
-# Date created: 2011-06-11
-# Whom: Olli Hauer <ohauer@FreeBSD.org>
-#
# $FreeBSD$
-#
PORTNAME= bugzilla
PORTVERSION= 3.6.10
+PORTREVISION= 1
CATEGORIES= german
MASTER_SITES= SF
MASTER_SITE_SUBDIR=bugzilla-de/${PORTVERSION:R}/${PORTVERSION}
DISTNAME= germzilla-${PORTVERSION}-1.utf-8
-MAINTAINER= ohauer@FreeBSD.org
+MAINTAINER= bugzilla@FreeBSD.org
COMMENT= German localization for Bugzilla
RUN_DEPENDS= bugzilla>=${PORTVERSION}:${PORTSDIR}/devel/bugzilla3
@@ -25,6 +21,14 @@ NO_WRKSUBDIR= yes
LANGDIR= ${WWWDIR}/template/de
+post-patch:
+ ${REINPLACE_CMD} -i '' -e '/abbrev/d' \
+ ${WRKDIR}/de/default/filterexceptions.pl
+ ${REINPLACE_CMD} -i '' -e 's/column.title -%/column.title FILTER html -%/' \
+ ${WRKDIR}/de/default/list/table.html.tmpl
+ ${REINPLACE_CMD} -i '' -e 's/3.6.10/3.6.11/' \
+ ${WRKDIR}/de/default/global/gzversion.html.tmpl
+
do-install:
@-${MKDIR} ${LANGDIR}
@(cd ${WRKSRC}/de && ${COPYTREE_SHARE} . ${LANGDIR})
diff --git a/german/bugzilla42/Makefile b/german/bugzilla42/Makefile
index 34121eeb3e8c..cd65a95db96a 100644
--- a/german/bugzilla42/Makefile
+++ b/german/bugzilla42/Makefile
@@ -1,18 +1,14 @@
-# New ports collection makefile for: de-bugzilla
-# Date created: 2011-06-11
-# Whom: Olli Hauer <ohauer@FreeBSD.org>
-#
# $FreeBSD$
-#
PORTNAME= bugzilla
PORTVERSION= 4.2.2
+PORTREVISION= 1
CATEGORIES= german
MASTER_SITES= SF
MASTER_SITE_SUBDIR=bugzilla-de/${PORTVERSION:R}/${PORTVERSION}
DISTNAME= germzilla-${PORTVERSION}-1.utf-8
-MAINTAINER= ohauer@FreeBSD.org
+MAINTAINER= bugzilla@FreeBSD.org
COMMENT= German localization for Bugzilla
RUN_DEPENDS= bugzilla>=${PORTVERSION}:${PORTSDIR}/devel/bugzilla42
@@ -25,6 +21,11 @@ NO_WRKSUBDIR= yes
LANGDIR= ${WWWDIR}/template/de
+post-patch:
+ @${REINPLACE_CMD} -i '' -e 's/4.2.2/4.2.3/' \
+ ${WRKDIR}/de/default/global/gzversion.html.tmpl
+ @${FIND} ${WRKDIR} -type f -name \*.orig -delete
+
do-install:
@-${MKDIR} ${LANGDIR}
@(cd ${WRKSRC}/de && ${COPYTREE_SHARE} . ${LANGDIR})
diff --git a/german/bugzilla42/files/patch-402-403 b/german/bugzilla42/files/patch-402-403
new file mode 100644
index 000000000000..ea3f6a49ad70
--- /dev/null
+++ b/german/bugzilla42/files/patch-402-403
@@ -0,0 +1,103 @@
+--- ./de/default/account/auth/login-small.html.tmpl.orig 2012-09-01 20:37:40.000000000 +0200
++++ ./de/default/account/auth/login-small.html.tmpl 2012-09-01 20:40:14.000000000 +0200
+@@ -38,8 +38,8 @@
+ [% IF cgi.request_method == "GET" AND cgi.query_string %]
+ [% connector = "&" %]
+ [% END %]
+- [% script_name = login_target _ connector _ "GoAheadAndLogIn=1" %]
+- <a id="login_link[% qs_suffix %]" href="[% script_name FILTER html %]"
++ [% script_url = login_target _ connector _ "GoAheadAndLogIn=1" %]
++ <a id="login_link[% qs_suffix %]" href="[% script_url FILTER html %]"
+ onclick="return show_mini_login_form('[% qs_suffix %]')">Anmelden</a>
+
+ [% Hook.process('additional_methods') %]
+@@ -116,7 +116,7 @@
+ </li>
+ <li id="forgot_container[% qs_suffix %]">
+ <span class="separator">| </span>
+- <a id="forgot_link[% qs_suffix %]" href="[% script_name FILTER html %]#forgot"
++ <a id="forgot_link[% qs_suffix %]" href="[% script_url FILTER html %]#forgot"
+ onclick="return show_forgot_form('[% qs_suffix %]')">Passwort vergessen</a>
+ <form action="token.cgi" method="post" id="forgot_form[% qs_suffix %]"
+ class="mini_forgot bz_default_hidden">
+@@ -125,6 +125,7 @@
+ <input id="forgot_button[% qs_suffix %]" value="Neues Passwort anfordern"
+ type="submit">
+ <input type="hidden" name="a" value="reqpw">
++ <input type="hidden" id="token" name="token" value="[% issue_hash_token(['reqpw']) FILTER html %]">
+ <a href="#" onclick="return hide_forgot_form('[% qs_suffix %]')">[x]</a>
+ </form>
+ </li>
+--- ./de/default/account/auth/login.html.tmpl.orig 2012-09-01 20:41:03.000000000 +0200
++++ ./de/default/account/auth/login.html.tmpl 2012-09-01 20:41:54.000000000 +0200
+@@ -122,6 +122,7 @@
+ [%+ terms.Bugzilla %] sendet dann an die Adresse ein sogenanntes Token
+ zur Änderung Ihres Passworts.<br />
+ <input size="35" name="loginname">
++ <input type="hidden" id="token" name="token" value="[% issue_hash_token(['reqpw']) FILTER html %]">
+ <input type="submit" id="request" value="Neues Passwort vergeben">
+ </form>
+ [% END %]
+--- ./de/default/filterexceptions.pl.orig 2012-09-01 20:42:25.000000000 +0200
++++ ./de/default/filterexceptions.pl 2012-09-01 20:42:47.000000000 +0200
+@@ -156,7 +156,6 @@
+ 'list/table.html.tmpl' => [
+ 'tableheader',
+ 'bug.bug_id',
+- 'abbrev.$id.title || field_descs.$id || column.title',
+ ],
+
+ 'list/list.csv.tmpl' => [
+--- ./de/default/global/user-error.html.tmpl.orig 2012-09-01 20:54:02.000000000 +0200
++++ ./de/default/global/user-error.html.tmpl 2012-09-01 20:59:47.000000000 +0200
+@@ -1287,10 +1287,10 @@
+ [% docslinks = {'query.html' => "Nach $terms.bugs suchen",
+ 'query.html#list' => "${terms.Bug}listen"} %]
+ [% IF sharer_id && sharer_id != user.id %]
+- Die Suche mit dem Namen „[% queryname FILTER html %]“ ist nicht für Sie
++ Die Suche mit dem Namen „[% name FILTER html %]“ ist nicht für Sie
+ sichtbar gemacht worden.
+ [% ELSE %]
+- Es existiert keine Suche mit dem Namen „[% queryname FILTER html %]“.
++ Es existiert keine Suche mit dem Namen „[% name FILTER html %]“.
+ [% END %]
+
+ [% ELSIF error == "missing_resolution" %]
+--- ./de/default/list/table.html.tmpl.orig 2012-09-01 21:00:43.000000000 +0200
++++ ./de/default/list/table.html.tmpl 2012-09-01 21:01:34.000000000 +0200
+@@ -135,7 +135,7 @@
+ [% PROCESS new_order %]
+ [%-#%]&amp;query_based_on=
+ [% defaultsavename OR searchname FILTER uri %]">
+- [%- abbrev.$id.title || field_descs.$id || column.title -%]
++ [%- abbrev.$id.title || field_descs.$id || column.title FILTER html -%]
+ [% PROCESS order_arrow ~%]
+ </a>
+ </th>
+--- ./de/default/search/search-advanced.html.tmpl.orig 2012-09-01 21:02:18.000000000 +0200
++++ ./de/default/search/search-advanced.html.tmpl 2012-09-01 21:05:22.000000000 +0200
+@@ -33,7 +33,13 @@
+
+
+ [% js_data = BLOCK %]
+-var queryform = "queryform"
++var queryform = "queryform";
++function remove_token() {
++ if (queryform.token) {
++ var asDefault = document.getElementById('remasdefault');
++ queryform.token.disabled = !asDefault.checked;
++ }
++}
+ [% END %]
+
+ [% PROCESS global/header.html.tmpl
+@@ -65,7 +71,8 @@
+ <p id="search_help">Fahren Sie mit dem Mauszeiger über eine Feldbezeichnung,
+ um sich Hilfetexte zum Feld anzeigen zu lassen.</p>
+
+-<form method="post" action="buglist.cgi" name="queryform" id="queryform">
++<form method="post" action="buglist.cgi" name="queryform" id="queryform"
++ onsubmit="remove_token()">
+
+ [% PROCESS search/form.html.tmpl %]
+