mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
New port: www/mod_encoding
mod_encoding - Apache module for non-ascii filename interoperability This module improves non-ascii filename interoperability of apache (and mod_dav). It seems many WebDAV clients send filename in its platform-local encoding. But since mod_dav expects everything, even HTTP request line, to be in UTF-8, this causes an interoperability problem. Note by maintainer: this port also solves the annoying form of authentication that Windows machines do against a DAV enabled server: "hostname\\username" instaed of the standard "username"
This commit is contained in:
parent
4116bb7efb
commit
7affea4639
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=93860
5 changed files with 72 additions and 0 deletions
|
@ -208,6 +208,7 @@
|
|||
SUBDIR += mod_cvs
|
||||
SUBDIR += mod_dav
|
||||
SUBDIR += mod_dtcl
|
||||
SUBDIR += mod_encoding
|
||||
SUBDIR += mod_extract_forwarded
|
||||
SUBDIR += mod_fastcgi
|
||||
SUBDIR += mod_filter
|
||||
|
|
39
www/mod_encoding/Makefile
Normal file
39
www/mod_encoding/Makefile
Normal file
|
@ -0,0 +1,39 @@
|
|||
# New ports collection makefile for: mod_encoding
|
||||
# Date created: Thursday 13 November 2003
|
||||
# Whom: edwin@mavetju.org
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= mod_encoding
|
||||
PORTVERSION= 20021209
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= http://webdav.todo.gr.jp/download/
|
||||
|
||||
MAINTAINER= edwin@mavetju.org
|
||||
COMMENT= Apache module for non-ascii filename interoperability
|
||||
|
||||
LIB_DEPENDS= iconv.3:${PORTSDIR}/converters/libiconv
|
||||
|
||||
# This port will work with the following version of Apache and anything newer.
|
||||
# Mostly because of the dependency of mod_dav.
|
||||
APACHE_VERSION= 1.3.6
|
||||
|
||||
USE_APACHE= yes
|
||||
HAS_CONFIGURE= yes
|
||||
USE_GMAKE= yes
|
||||
CONFIGURE_ARGS= --prefix=${PREFIX} \
|
||||
--bindir=${PREFIX}/bin \
|
||||
--sbindir=${PREFIX}/sbin \
|
||||
--libexecdir=${PREFIX}/libexec/apache \
|
||||
--mandir=${PREFIX}/man \
|
||||
--sysconfdir=${PREFIX}/etc/apache \
|
||||
--datadir=${PREFIX}/share/apache \
|
||||
--includedir=${PREFIX}/include/apache \
|
||||
--with-apxs=${APXS}
|
||||
|
||||
CONFIGURE_ENV= CPPFLAGS='-I${LOCALBASE}/include/apache -I${LOCALBASE}/include' \
|
||||
LIBS='-L${LOCALBASE}/lib' \
|
||||
PATH="${PREFIX}/bin:${PREFIX}/sbin:${PATH}"
|
||||
|
||||
.include <bsd.port.mk>
|
1
www/mod_encoding/distinfo
Normal file
1
www/mod_encoding/distinfo
Normal file
|
@ -0,0 +1 @@
|
|||
MD5 (mod_encoding-20021209.tar.gz) = 489cbd9c7429baf45c4234c51cb2af23
|
30
www/mod_encoding/pkg-descr
Normal file
30
www/mod_encoding/pkg-descr
Normal file
|
@ -0,0 +1,30 @@
|
|||
mod_encoding - Apache module for non-ascii filename interoperability
|
||||
|
||||
This module improves non-ascii filename interoperability of apache
|
||||
(and mod_dav).
|
||||
|
||||
It seems many WebDAV clients send filename in its platform-local
|
||||
encoding. But since mod_dav expects everything, even HTTP request
|
||||
line, to be in UTF-8, this causes an interoperability problem.
|
||||
|
||||
I believe this is a future issue for specification (RFC?) to
|
||||
standardize encoding used in HTTP request-line and HTTP header, but
|
||||
life would be much easier if mod_dav (and others) can handle various
|
||||
encodings sent by clients, TODAY. This module does just that.
|
||||
|
||||
This module adds following directives: EncodingEngine, SetServerEncoding,
|
||||
AddClientEncoding, DefaultClientEncoding, and NormalizeUsername.
|
||||
|
||||
Note by maintainer:
|
||||
It also solves the problem with the "hostname\\username"
|
||||
way of authentication that Windows machines do when they
|
||||
attach to a DAV server. See the use of the NormalizeUsername
|
||||
directive.
|
||||
|
||||
WWW: http://webdav.todo.gr.jp/
|
||||
Authors:
|
||||
- Taisuke Yamada <tai@iij.ad.jp>
|
||||
- Kunio Miyamoto <wakatono@todo.gr.jp>
|
||||
- Akira YOSHIYAMA <yosshy@debian.or.jp>
|
||||
- Kazuhiko Iwama <iwama@ymc.ne.jp>
|
||||
- IWAMURO Motonori <iwa@mmp.fujitsu.co.jp>
|
1
www/mod_encoding/pkg-plist
Normal file
1
www/mod_encoding/pkg-plist
Normal file
|
@ -0,0 +1 @@
|
|||
libexec/apache/mod_encoding.so
|
Loading…
Add table
Reference in a new issue