Hello community,

here is the log from the commit of package postfixadmin for 
openSUSE:12.1:Update:Test checked in at 2012-02-03 17:06:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:12.1:Update:Test/postfixadmin (Old)
 and      /work/SRC/openSUSE:12.1:Update:Test/.postfixadmin.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "postfixadmin", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:12.1:Update:Test/postfixadmin/postfixadmin.changes       
2012-01-27 10:36:30.000000000 +0100
+++ /work/SRC/openSUSE:12.1:Update:Test/.postfixadmin.new/postfixadmin.changes  
2012-02-03 17:06:26.000000000 +0100
@@ -1,0 +2,6 @@
+Thu Feb  2 19:55:17 UTC 2012 - opens...@cboltz.de
+
+- add patch to display domain and mailbox description with correct 
+  encoding (upstream r1342)
+
+-------------------------------------------------------------------

New:
----
  postfixadmin-2.3.5-r1342-description-encoding.diff

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ postfixadmin.spec ++++++
--- /var/tmp/diff_new_pack.yASkg0/_old  2012-02-03 17:06:26.000000000 +0100
+++ /var/tmp/diff_new_pack.yASkg0/_new  2012-02-03 17:06:26.000000000 +0100
@@ -16,16 +16,16 @@
 #
 
 
-
 Name:           postfixadmin
 Version:        2.3.5
-Release:        1
-License:        GPL v2+
+Release:        0
 Url:            http://postfixadmin.sourceforge.net/
-Group:          Productivity/Networking/Web/Frontends
 Source0:        %{name}-%{version}.tar.gz
 BuildArch:      noarch
 
+# fix encoding of domain/mailbox description in list-domain and list-virtual 
(upstream commit r1342)
+Patch:          postfixadmin-2.3.5-r1342-description-encoding.diff
+
 # Web interface
 #Requires: httpd, postfix, php, mysql-server
 Requires:       /usr/sbin/sendmail
@@ -77,6 +77,8 @@
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 Summary:        Web-based management tool for Postfix virtual domains, 
mailboxes and aliases
+License:        GPL-2.0+
+Group:          Productivity/Networking/Web/Frontends
 
 %description
 PostfixAdmin is a PHP based application that handles Postfix Style Virtual 
Domains and
@@ -92,6 +94,7 @@
 
 %prep
 %setup -q
+%patch -p0
 
 %build
 echo "*** serverroot: %{serverroot} ***"

++++++ postfixadmin-2.3.5-r1342-description-encoding.diff ++++++
display domain and mailbox description with correct encoding
https://sourceforge.net/projects/postfixadmin/forums/forum/676076/topic/4977778

commited upstream as r1342 (2.3 branch)


Index: templates/admin_list-domain.php
===================================================================
--- templates/admin_list-domain.php     (Revision 1341)
+++ templates/admin_list-domain.php     (Revision 1342)
@@ -50,7 +50,7 @@
       {
          print "   <tr class=\"hilightoff\" 
onMouseOver=\"className='hilighton';\" 
onMouseOut=\"className='hilightoff';\">\n";
          print "<td><a href=\"list-virtual.php?domain=" . 
$domain_properties[$i]['domain'] . "\">" . $domain_properties[$i]['domain'] . 
"</a></td>";
-         print "<td>" . htmlentities($domain_properties[$i]['description']) . 
"</td>";
+         print "<td>" . htmlentities($domain_properties[$i]['description'], 
ENT_QUOTES, 'UTF-8') . "</td>";
          print "<td>" . $domain_properties[$i]['alias_count'] . " / " . 
$domain_properties[$i]['aliases'] . "</td>";
          print "<td>" . $domain_properties[$i]['mailbox_count'] . " / " . 
$domain_properties[$i]['mailboxes'] . "</td>";
          if ($CONF['quota'] == 'YES')
Index: templates/list-virtual.php
===================================================================
--- templates/list-virtual.php  (Revision 1341)
+++ templates/list-virtual.php  (Revision 1342)
@@ -314,7 +314,7 @@
          }
 
 
-         print "      <td>" . htmlentities($tMailbox[$i]['name']) . "</td>\n";
+         print "      <td>" . htmlentities($tMailbox[$i]['name'], ENT_QUOTES, 
'UTF-8') . "</td>\n";
          if ($CONF['quota'] == 'YES')
          {
             print "      <td>";
Index: CHANGELOG.TXT
===================================================================
--- CHANGELOG.TXT       (Revision 1341)
+++ CHANGELOG.TXT       (Revision 1342)
@@ -10,4 +10,9 @@
 
+changes since the 2.3.5 release (postfixadmin-2.3 branch)
+----------------------------------------------------------------
+
+  - display domain and mailbox description with correct encoding
+
 Version 2.3.5 - 2012/01/16 - SVN r1335 (postfixadmin-2.3 branch)
 ----------------------------------------------------------------
 
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to