summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonny Davies <woodchip@gentoo.org>2003-06-22 18:59:54 +0000
committerDonny Davies <woodchip@gentoo.org>2003-06-22 18:59:54 +0000
commit68edcebe181986b0b22224a2d1dda669bd0d7917 (patch)
tree676107914844a2e53542344755bfea52d3a23ebb /net-www/mod_encoding
parentclose #22795 (diff)
downloadgentoo-2-68edcebe181986b0b22224a2d1dda669bd0d7917.tar.gz
gentoo-2-68edcebe181986b0b22224a2d1dda669bd0d7917.tar.bz2
gentoo-2-68edcebe181986b0b22224a2d1dda669bd0d7917.zip
close #22795
Diffstat (limited to 'net-www/mod_encoding')
-rw-r--r--net-www/mod_encoding/ChangeLog8
-rw-r--r--net-www/mod_encoding/Manifest6
-rw-r--r--net-www/mod_encoding/files/digest-mod_encoding-200212091
-rw-r--r--net-www/mod_encoding/files/mod_encoding.conf14
-rw-r--r--net-www/mod_encoding/mod_encoding-20021209.ebuild50
5 files changed, 76 insertions, 3 deletions
diff --git a/net-www/mod_encoding/ChangeLog b/net-www/mod_encoding/ChangeLog
new file mode 100644
index 000000000000..980d39f10040
--- /dev/null
+++ b/net-www/mod_encoding/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for net-www/mod_encoding
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-www/mod_encoding/ChangeLog,v 1.1 2003/06/22 18:59:46 woodchip Exp $
+
+*mod_encoding-20021209 (22 Jun 2003)
+
+ 22 Jun 2003; Donny Davies <woodchip@gentoo.org> :
+ Initial import; from #22795.
diff --git a/net-www/mod_encoding/Manifest b/net-www/mod_encoding/Manifest
index 865a9367d2bb..7aee998eb629 100644
--- a/net-www/mod_encoding/Manifest
+++ b/net-www/mod_encoding/Manifest
@@ -1,4 +1,4 @@
-MD5 c1ab7e02cb14132ca2331c7c69a2cfe7 mod_encoding-20021209.ebuild 1247
-MD5 3ca00f8baf70efbd4ae7a7b0881d15db ChangeLog 250
-MD5 23e71c795f6adb5f1639fbe1725f4ea7 files/mod_encoding.conf 279
+MD5 4c43d6d35c2206a1dd99a589c84a112f mod_encoding-20021209.ebuild 1361
+MD5 acd3d34edf76d902164077856bc83442 ChangeLog 345
+MD5 e274f697cbb8b61da07d216dd8100f47 files/mod_encoding.conf 336
MD5 00857432d70d5a0a4f1723623feee5f6 files/digest-mod_encoding-20021209 73
diff --git a/net-www/mod_encoding/files/digest-mod_encoding-20021209 b/net-www/mod_encoding/files/digest-mod_encoding-20021209
new file mode 100644
index 000000000000..fde50f3471fe
--- /dev/null
+++ b/net-www/mod_encoding/files/digest-mod_encoding-20021209
@@ -0,0 +1 @@
+MD5 489cbd9c7429baf45c4234c51cb2af23 mod_encoding-20021209.tar.gz 260587
diff --git a/net-www/mod_encoding/files/mod_encoding.conf b/net-www/mod_encoding/files/mod_encoding.conf
new file mode 100644
index 000000000000..708cfe8fe52a
--- /dev/null
+++ b/net-www/mod_encoding/files/mod_encoding.conf
@@ -0,0 +1,14 @@
+# $Id: mod_encoding.conf,v 1.1 2003/06/22 18:59:46 woodchip Exp $
+
+<IfModule mod_headers.c>
+ Header add MS-Author-Via "DAV"
+</IfModule>
+
+<IfModule mod_encoding.c>
+ EncodingEngine on
+ NormalizeUsername on
+ SetServerEncoding UTF-8
+ DefaultClientEncoding JA-AUTO-SJIS-MS SJIS
+
+ AddClientEncoding "cadaver/" EUC-JP
+</IfModule>
diff --git a/net-www/mod_encoding/mod_encoding-20021209.ebuild b/net-www/mod_encoding/mod_encoding-20021209.ebuild
new file mode 100644
index 000000000000..ebf6fb3f77d1
--- /dev/null
+++ b/net-www/mod_encoding/mod_encoding-20021209.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-www/mod_encoding/mod_encoding-20021209.ebuild,v 1.1 2003/06/22 18:59:46 woodchip Exp $
+
+DESCRIPTION="Apache module for non-ascii filename interoperability"
+HOMEPAGE="http://webdav.todo.gr.jp/"
+
+S=${WORKDIR}/${P}
+SRC_URI="http://webdav.todo.gr.jp/download/${P}.tar.gz"
+
+DEPEND="=net-www/apache-1*"
+KEYWORDS="~x86"
+LICENSE="Apache-1.1"
+SLOT="0"
+
+src_compile() {
+ cd ${S}/lib
+ ./configure --prefix=${WORKDIR}/iconv-hook || die
+ make install || die
+
+ cd ${S}
+ econf --with-iconv-hook=${WORKDIR}/iconv-hook/include/iconv-hook || die
+ emake LIBS="-L${WORKDIR}/iconv-hook/lib -liconv_hook" || die
+}
+
+src_install() {
+ exeinto /usr/lib/apache-extramodules
+ doexe ${PN}.so
+ dolib.so ${WORKDIR}/iconv-hook/lib/libiconv_hook.so*
+
+ insinto /etc/apache/conf/addon-modules
+ doins ${FILESDIR}/${PN}.conf
+
+ dodoc AUTHORS COPYING ChangeLog INSTALL README*
+}
+
+pkg_postinst() {
+ einfo
+ einfo "Execute \"ebuild /var/db/pkg/net-www/${PN}/${PF}.ebuild config\""
+ einfo "to have your apache.conf auto-updated for use with this module."
+ einfo
+}
+
+pkg_config() {
+ ${ROOT}/usr/sbin/apacheaddmod \
+ ${ROOT}/etc/apache/conf/apache.conf \
+ extramodules/${PN}.so ${PN}.c encoding_module \
+ addconf=conf/addon-modules/${PN}.conf
+ :;
+}