packages: lighttpd/lighttpd-mime.types.sh, lighttpd/lighttpd.spec - mimetyp...
glen
glen at pld-linux.org
Tue Mar 20 17:50:20 CET 2012
Author: glen Date: Tue Mar 20 16:50:20 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- mimetype_textcharsetheader to tune (now) optional charset header for text/* content-types
see http://lists.pld-linux.org/mailman/pipermail/pld-devel-en/2012-February/022488.html for discussion
---- Files affected:
packages/lighttpd:
lighttpd-mime.types.sh (1.3 -> 1.4) , lighttpd.spec (1.360 -> 1.361)
---- Diffs:
================================================================
Index: packages/lighttpd/lighttpd-mime.types.sh
diff -u packages/lighttpd/lighttpd-mime.types.sh:1.3 packages/lighttpd/lighttpd-mime.types.sh:1.4
--- packages/lighttpd/lighttpd-mime.types.sh:1.3 Sun Jan 22 21:52:51 2012
+++ packages/lighttpd/lighttpd-mime.types.sh Tue Mar 20 17:50:15 2012
@@ -19,7 +19,7 @@
charset = "";
# add charset for "text/*" types
if (type ~ "text/") {
- type = "\"" type "; charset=\" + mimetype_textcharset"
+ type = "\"" type "\" + mimetype_textcharsetheader"
} else {
type = "\"" type "\""
}
@@ -41,7 +41,13 @@
# header
cat >> mime.types.conf <<EOF
# charset used for "text/*" mimetypes
-mimetype_textcharset = "utf-8"
+# Apache's AddCharset equivalent. Leave empty to add no charset.
+# AddCharset "utf-8" would be "; charset=\"utf-8\""
+# See this post about what it affects:
+# http://lists.pld-linux.org/mailman/pipermail/pld-devel-en/2012-February/022499.html
+mimetype_textcharsetheader = ""
+#mimetype_textcharsetheader = "; charset=\"utf-8\""
+
# mimetype mapping
mimetype.assign = (
EOF
================================================================
Index: packages/lighttpd/lighttpd.spec
diff -u packages/lighttpd/lighttpd.spec:1.360 packages/lighttpd/lighttpd.spec:1.361
--- packages/lighttpd/lighttpd.spec:1.360 Sun Feb 5 12:42:13 2012
+++ packages/lighttpd/lighttpd.spec Tue Mar 20 17:50:15 2012
@@ -30,7 +30,7 @@
Summary(pl.UTF-8): Szybki i lekki serwer HTTP
Name: lighttpd
Version: 1.4.30
-Release: 7
+Release: 8
License: BSD
Group: Networking/Daemons/HTTP
Source0: http://download.lighttpd.net/lighttpd/releases-1.4.x/%{name}-%{version}.tar.bz2
@@ -1328,6 +1328,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.361 2012/03/20 16:50:15 glen
+- mimetype_textcharsetheader to tune (now) optional charset header for text/* content-types
+ see http://lists.pld-linux.org/mailman/pipermail/pld-devel-en/2012-February/022488.html for discussion
+
Revision 1.360 2012/02/05 11:42:13 baggins
- rel 7
- revert last commit, log dir is owned by root:root
================================================================
---- CVS-web:
http://cvs.pld-linux.org//packages/lighttpd/lighttpd-mime.types.sh?r1=1.3&r2=1.4&f=u
http://cvs.pld-linux.org//packages/lighttpd/lighttpd.spec?r1=1.360&r2=1.361&f=u
More information about the pld-cvs-commit
mailing list