summaryrefslogtreecommitdiff
path: root/www/lighttpd/files
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2010-08-27 18:39:55 +0000
committerMartin Matuska <mm@FreeBSD.org>2010-08-27 18:39:55 +0000
commitdb0964d5fc06c40f2cbe1db25bf83269c9ce9506 (patch)
treea4d564dcc8255e0e9ba31fa50d010b6a8f5b7fba /www/lighttpd/files
parent- Fix build on 6.X amd64 after the opencv upgrade. (diff)
- Move lighttpd mod_geoip and mod_h264_streaming into slave ports
Diffstat (limited to 'www/lighttpd/files')
-rw-r--r--www/lighttpd/files/h264_streaming.conf19
-rw-r--r--www/lighttpd/files/pkg-descr.mod_geoip4
-rw-r--r--www/lighttpd/files/pkg-descr.mod_h264_streaming9
-rw-r--r--www/lighttpd/files/pkg-plist.mod_geoip6
-rw-r--r--www/lighttpd/files/pkg-plist.mod_h264_streaming6
5 files changed, 44 insertions, 0 deletions
diff --git a/www/lighttpd/files/h264_streaming.conf b/www/lighttpd/files/h264_streaming.conf
new file mode 100644
index 000000000000..c5c695bae170
--- /dev/null
+++ b/www/lighttpd/files/h264_streaming.conf
@@ -0,0 +1,19 @@
+#######################################################################
+##
+## H.264 Streaming Module
+## ------------------------
+##
+server.modules += ( "mod_h264_streaming" )
+
+##
+## Configure streaming for .mp4 files
+##
+h264-streaming.extensions = ( ".mp4", ".f4v" )
+
+##
+## Bandwidth shaping
+##
+#h264-streaming.buffer-seconds = 10
+
+##
+#######################################################################
diff --git a/www/lighttpd/files/pkg-descr.mod_geoip b/www/lighttpd/files/pkg-descr.mod_geoip
new file mode 100644
index 000000000000..f3e8285e67cf
--- /dev/null
+++ b/www/lighttpd/files/pkg-descr.mod_geoip
@@ -0,0 +1,4 @@
+mod_geoip is an Apache module that looks up the country code for the
+IP address making the request without using reverse DNS.
+
+WWW: http://www.maxmind.com/app/mod_geoip
diff --git a/www/lighttpd/files/pkg-descr.mod_h264_streaming b/www/lighttpd/files/pkg-descr.mod_h264_streaming
new file mode 100644
index 000000000000..81239d78a9f6
--- /dev/null
+++ b/www/lighttpd/files/pkg-descr.mod_h264_streaming
@@ -0,0 +1,9 @@
+The H264 Streaming Module is a plugin for your existing Apache
+webserver. Its features are as follows:
+
+ * Timeshifting seek
+ * Virtual video clips
+ * Network efficiency
+ * Encoding
+
+WWW: http://h264.code-shop.com/trac/wiki/Mod-H264-Streaming-Apache-Version2
diff --git a/www/lighttpd/files/pkg-plist.mod_geoip b/www/lighttpd/files/pkg-plist.mod_geoip
new file mode 100644
index 000000000000..511c275028b4
--- /dev/null
+++ b/www/lighttpd/files/pkg-plist.mod_geoip
@@ -0,0 +1,6 @@
+@unexec if cmp -s %D/etc/lighttpd/conf.d/geoip.conf %D/etc/lighttpd/conf.d/geoip.conf.sample; then rm -f %D/etc/lighttpd/conf.d/geoip.conf; fi
+etc/lighttpd/conf.d/geoip.conf.sample
+@exec [ -f %B/geoip.conf ] || cp %B/%f %B/geoip.conf
+lib/lighttpd/mod_geoip.a
+lib/lighttpd/mod_geoip.la
+lib/lighttpd/mod_geoip.so
diff --git a/www/lighttpd/files/pkg-plist.mod_h264_streaming b/www/lighttpd/files/pkg-plist.mod_h264_streaming
new file mode 100644
index 000000000000..0aeebaf65c53
--- /dev/null
+++ b/www/lighttpd/files/pkg-plist.mod_h264_streaming
@@ -0,0 +1,6 @@
+@unexec if cmp -s %D/etc/lighttpd/conf.d/h264_streaming.conf %D/etc/lighttpd/conf.d/h264_streaming.conf.sample; then rm -f %D/etc/lighttpd/conf.d/h264_streaming.conf; fi
+etc/lighttpd/conf.d/h264_streaming.conf.sample
+@exec [ -f %B/h264_streaming.conf ] || cp %B/%f %B/h264_streaming.conf
+lib/lighttpd/mod_h264_streaming.a
+lib/lighttpd/mod_h264_streaming.la
+lib/lighttpd/mod_h264_streaming.so