[54888] trunk/dports/sysutils/backuppc
jameskyle at macports.org
jameskyle at macports.org
Mon Aug 3 12:28:26 PDT 2009
Revision: 54888
http://trac.macports.org/changeset/54888
Author: jameskyle at macports.org
Date: 2009-08-03 12:28:26 -0700 (Mon, 03 Aug 2009)
Log Message:
-----------
Corrected error in documentation link.
Added an httpd digest auth file example in extras.
Added a backuppc favicon.ico.
Modified Paths:
--------------
trunk/dports/sysutils/backuppc/Portfile
Added Paths:
-----------
trunk/dports/sysutils/backuppc/files/backuppc.conf
trunk/dports/sysutils/backuppc/files/backuppc_auth.conf
trunk/dports/sysutils/backuppc/files/backuppc_config_template.rb
trunk/dports/sysutils/backuppc/files/favicon.ico
trunk/dports/sysutils/backuppc/files/httpd.conf
trunk/dports/sysutils/backuppc/files/magic
trunk/dports/sysutils/backuppc/files/mime.types
trunk/dports/sysutils/backuppc/files/org.macports.backuppc.apache2.plist
trunk/dports/sysutils/backuppc/files/patch-configure.pl.diff
trunk/dports/sysutils/backuppc/files/patch-lib-backuppc-cgi-view.pm.diff
Modified: trunk/dports/sysutils/backuppc/Portfile
===================================================================
--- trunk/dports/sysutils/backuppc/Portfile 2009-08-03 19:28:22 UTC (rev 54887)
+++ trunk/dports/sysutils/backuppc/Portfile 2009-08-03 19:28:26 UTC (rev 54888)
@@ -41,11 +41,13 @@
--install-dir ${prefix} \
--config-dir ${prefix}/etc/BackupPC
-patchfiles patch-configure.pl.diff
+patchfiles patch-configure.pl.diff \
+ patch-lib-backuppc-cgi-view.pm.diff
worksrcdir BackupPC-${version}
destroot.violate_mtree yes
+
destroot.keepdirs ${destroot}${prefix}/var/backups \
${destroot}${prefix}/var/backups/cpool \
${destroot}${prefix}/var/backups/log \
@@ -53,11 +55,14 @@
${destroot}${prefix}/var/backups/pool \
${destroot}${prefix}/var/backups/pc \
${destroot}${prefix}/var/backups/ \
- ${destroot}${prefix}/var/log/BackupPC
+ ${destroot}${prefix}/var/log/BackupPC \
+ ${destroot}${prefix}/var/wwwbackup/htdocs\
+ ${destroot}${prefix}/var/wwwbackup/logs
+set hostname [exec "hostname"]
+
pre-configure {
- set hostname [exec "hostname"]
ui_debug "Hostname: ${hostname}"
configure.args-append --hostname ${hostname}
@@ -65,7 +70,9 @@
configure {
reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/configure.pl
+ reinplace "s|@@PREFIX@@|${prefix}/|g" ${worksrcpath}/lib/BackupPC/CGI/View.pm
+
if {[existsgroup "backuppc"]} {
ui_debug "Found backuppc group."
} else {
@@ -94,28 +101,55 @@
build {}
-destroot {
- xinstall -d -m 770 -g backuppc -o backuppc ${destroot}${prefix}/var/backups
-
- xinstall -d -m 770 -g backuppc -o backuppc ${destroot}${prefix}/var/log/BackupPC
-
- # create backup directory
- system "cd ${worksrcpath} && ${prefix}/bin/perl configure.pl ${configure.args}"
- xinstall -d -m 755 ${destroot}${prefix}/share/doc/
- move ${destroot}${prefix}/doc ${destroot}${prefix}/share/doc/BackupPC
-
- # install the launch scripts
- xinstall -d -m 755 ${destroot}/Library/LaunchDaemons
-
- xinstall ${filespath}/net.sourceforge.backuppc.plist \
- ${destroot}/Library/LaunchDaemons/
- reinplace "s|@@PREFIX@@|${prefix}|g" ${destroot}/Library/LaunchDaemons/net.sourceforge.backuppc.plist
-
- # Install extras
- xinstall -d -m 755 ${destroot}${prefix}/share/BackupPC/extras
- xinstall ${filespath}/backuppc_config_template.rb \
- ${destroot}${prefix}/share/BackupPC/extras
+destroot {
+ # destroot for the web skeleton
+ xinstall -d -m 770 -g backuppc -o backuppc ${destroot}${prefix}/var/wwwbackup
+ xinstall -d -m 770 -g backuppc -o backuppc ${destroot}${prefix}/var/wwwbackup/cgi-bin
+ xinstall -d -m 770 -g backuppc -o backuppc ${destroot}${prefix}/var/wwwbackup/conf
+ xinstall -m 600 -g backuppc -o backuppc ${filespath}/httpd.conf ${destroot}${prefix}/var/wwwbackup/conf/
+ xinstall -m 600 -g backuppc -o backuppc ${filespath}/mime.types ${destroot}${prefix}/var/wwwbackup/conf
+ xinstall -m 600 -g backuppc -o backuppc ${filespath}/magic ${destroot}${prefix}/var/wwwbackup/conf
+
+ xinstall -d -m 770 -g backuppc -o backuppc ${destroot}${prefix}/var/wwwbackup/htdocs
+ xinstall -m 600 -g backuppc -o backuppc ${filespath}/favicon.ico ${destroot}${prefix}/var/wwwbackup/htdocs/
+
+ xinstall -d -m 770 -g backuppc -o backuppc ${destroot}${prefix}/var/wwwbackup/logs
+
+ # destroot for backuppc
+ xinstall -d -m 770 -g backuppc -o backuppc ${destroot}${prefix}/var/backups
+ xinstall -d -m 770 -g backuppc -o backuppc ${destroot}${prefix}/var/log/BackupPC
+
+ # create backup directory
+ system "cd ${worksrcpath} && ${prefix}/bin/perl configure.pl ${configure.args}"
+ xinstall -d -m 755 ${destroot}${prefix}/share/doc/
+ move ${destroot}${prefix}/doc ${destroot}${prefix}/share/doc/BackupPC
+
+ # install the launch scripts
+ xinstall -d -m 755 ${destroot}/Library/LaunchDaemons
+
+ xinstall ${filespath}/net.sourceforge.backuppc.plist \
+ ${destroot}/Library/LaunchDaemons/
+
+ # Install extras
+ xinstall -d -m 755 ${destroot}${prefix}/share/BackupPC/extras
+ xinstall ${filespath}/backuppc_config_template.rb \
+ ${destroot}${prefix}/share/BackupPC/extras
+ xinstall ${filespath}/backuppc_auth.conf ${destroot}${prefix}/share/BackupPC/extras
+ reinplace "s|@@PREFIX@@|${prefix}|g" ${destroot}${prefix}/share/BackupPC/extras/backuppc_auth.conf
+
+ xinstall ${filespath}/org.macports.backuppc.apache2.plist \
+ ${destroot}/Library/LaunchDaemons/
+ reinplace "s|@@PREFIX@@|${prefix}|g" ${destroot}/Library/LaunchDaemons/org.macports.backuppc.apache2.plist
+ reinplace "s|@@CONFPATH@@|${prefix}/var/wwwbackup/conf/|g" ${destroot}/Library/LaunchDaemons/org.macports.backuppc.apache2.plist
+ reinplace "s|@@PREFIX@@|${prefix}|g" ${destroot}${prefix}/var/wwwbackup/conf/httpd.conf
+ reinplace "s|@@HOSTNAME@@|${hostname}|g" ${destroot}${prefix}/var/wwwbackup/conf/httpd.conf
+ reinplace "s|@@PREFIX@@|${prefix}|g" ${destroot}/Library/LaunchDaemons/net.sourceforge.backuppc.plist
+
+
+
+
+
}
post-activate {
Added: trunk/dports/sysutils/backuppc/files/backuppc.conf
===================================================================
--- trunk/dports/sysutils/backuppc/files/backuppc.conf (rev 0)
+++ trunk/dports/sysutils/backuppc/files/backuppc.conf 2009-08-03 19:28:26 UTC (rev 54888)
@@ -0,0 +1,12 @@
+# :set syn=apache:
+# Example apache config that proxies the backuppc server to an outward facing
+# web server on the same host.
+<Proxy *>
+ Order deny,allow
+ Allow from 10.86.195.0/24
+</Proxy>
+
+<IfModule mod_proxy.c>
+ ProxyPass /cgi-bin/backups http://localhost:8080/cgi-bin/backups
+ ProxyPassReverse /cgi-bin/backups http://localhost:8080/cgi-bin/backups
+</IfModule>
Added: trunk/dports/sysutils/backuppc/files/backuppc_auth.conf
===================================================================
--- trunk/dports/sysutils/backuppc/files/backuppc_auth.conf (rev 0)
+++ trunk/dports/sysutils/backuppc/files/backuppc_auth.conf 2009-08-03 19:28:26 UTC (rev 54888)
@@ -0,0 +1,16 @@
+<Directory @@PREFIX@@/var/wwwbackup/cgi-bin/ >
+ SetHandler perl-script
+ PerlResponseHandler ModPerl::Registry
+ PerlOptions +ParseHeaders
+ Options +ExecCGI
+ Order deny,allow
+ Deny from all
+ Allow from 127.0.0.1
+ Allow from 10.44.2.0/24
+
+ AuthName BackupPC
+ AuthType Digest
+ AuthUserFile @@PREFIX@@/var/wwwbackup/passwd/users_digest
+ AuthGroupFile @@PREFIX@@/var/wwwbackup/passwd/group_digest
+ Require valid-user
+</Directory>
Added: trunk/dports/sysutils/backuppc/files/backuppc_config_template.rb
===================================================================
--- trunk/dports/sysutils/backuppc/files/backuppc_config_template.rb (rev 0)
+++ trunk/dports/sysutils/backuppc/files/backuppc_config_template.rb 2009-08-03 19:28:26 UTC (rev 54888)
@@ -0,0 +1,323 @@
+#!/usr/bin/ruby -w
+#
+# To customize the below script you must edit values for options:
+# base_network_ip
+# public_key
+# backuppc_ip
+#
+require 'fileutils'
+require 'optparse'
+require 'ostruct'
+require 'pp'
+
+# set up some defaults
+options = OpenStruct.new
+options.backuppc_ip = "<backup server ip>"
+options.public_key = %Q!<public key from the backuppc user on the backup server!
+options.base_network_ip = "<first 3 octets of LAN, e.g. 192.168.1>"
+options.verbose = false
+options.revert = false
+options.user = {}
+options.user['name'] = 'backuppc'
+options.admin_id = 80
+options.backup_check = '/usr/local/bin/backup_check.rb'
+options.ip = ''
+options.os_version = nil
+options.user['passwd'] = 'someveryscarypass'
+
+##########BEGIN SCRIPT METHODS###############
+def create_keys2(user,backuppc_ip,public_key,backup_check)
+ authorized_keys2 = %Q!from="#{backuppc_ip}",no-pty,command="#{backup_check}" #{public_key}!
+ begin
+ if !File.exists?("/Users/#{user['name']}/.ssh") then
+ FileUtils.mkdir_p "/Users/#{user['name']}/.ssh", :mode => 0700
+ File.chown user['uid'], nil, "/Users/#{user['name']}/.ssh"
+ end
+ rescue
+ raise IOError, "Failed to create /Users/#{user['name']}/.ssh"
+ end
+
+ begin
+ File.open("/Users/#{user['name']}/.ssh/authorized_keys2", 'a+') {|f|
+ f.puts authorized_keys2
+ File.chown user['uid'], nil, "/Users/#{user['name']}/.ssh/authorized_keys2"
+ f.chmod(0600)
+ }
+ rescue
+ raise IOError, "Failed to create /Users/#{user['name']}/.ssh/authorized_keys2"
+ end
+end
+
+def create_backup_check(admin_id,backup_check)
+ ssh_verification_script = %Q!#\!/usr/bin/ruby
+#
+command = ENV['SSH_ORIGINAL_COMMAND']
+
+if command.nil? || command \!~ /^\\/usr\\/bin\\/sudo \\/usr\\/bin\\/rsync/
+ puts "Access Denied"
+elsif
+ system(command)
+end
+ !
+ begin
+ if not File.exists?('/usr/local/bin') then
+ FileUtils.mkdir_p '/usr/local/bin', :mode => 0755
+ end
+ rescue
+ raise IOError, "Failed to create /usr/local/bin"
+ end
+
+ begin
+ File.open(backup_check,'w') {|f|
+ f.puts ssh_verification_script
+ File.chown 0, admin_id, backup_check
+ f.chmod(0755)
+ }
+ rescue
+ raise IOError, "Failed to create /usr/local/bin/backup_check.rb"
+ end
+end
+
+def edit_sudoers(user,ip)
+ begin
+ File.open('/etc/sudoers', 'a') do |f|
+ f.flock File::LOCK_EX
+ rule = "#{user['name']} #{ip}=(root) NOPASSWD: /usr/bin/rsync"
+ f.puts rule
+ puts "The following rule is now appended to your sudoer file: "
+ puts rule
+ end
+ rescue
+ raise IOError, "/etc/sudoers edit failed:"
+ end
+end
+
+def err(type)
+ case type
+ when "USERNAME"
+ if value.empty? then
+ end
+ end
+end
+
+def valid?(ans)
+ return (ans == 'n' or ans == 'y' or ans.empty?)
+end
+
+def create_user(user,os_version)
+ if os_version >= "10.5" then
+ user['uid'] = `/usr/bin/dscacheutil -q user | grep uid | awk '{print $2}' | grep "4[0123456789][0123456789]"`
+ else
+ user['uid'] =`/usr/bin/nireport / /users name uid | grep "4[0123456789][0123456789]" | awk '{print $2}'`
+ end
+
+ if user['uid'].empty? then
+ user['uid'] = 401
+ else
+ if os_version < "10.5" then
+ user['uid'] = user['uid'].split.sort.last.to_i + 1
+ else
+ user['uid'] = user['uid'].chomp.split.sort.last.to_i + 1
+ end
+ end
+ # Check if the generated user['uid'] is valid, if not raise an error
+ if !`/usr/bin/id #{user['uid']} 2>/dev/null`.empty? then
+ raise SystemCallError, "Generated uid is in use: please contact the developer with this exception"
+ end
+ if !`/usr/bin/id #{user['name']} 2>/dev/null`.empty? then
+ raise SystemCallError, "Username is in use: Please change the backuppc username or contact the developer with this exception"
+ end
+
+ print "Confirm uid #{user['uid']} [y] "
+ confirm = gets.chomp.downcase
+
+ # Prompt for user selected user['uid'] until a valid id is found
+ while !valid?(confirm)
+ puts "Invalid option. Valid options are: [y|n]"
+ puts "Confirm uid #{user['uid']} [y]"
+ confirm = gets.chomp.downcase
+ end
+
+ if confirm == 'n'
+ puts "Please enter a valid uid"
+ user['uid'] = gets.chomp.to_i
+ valid = `/usr/bin/id #{user['uid']}`.empty?
+ while !valid
+ puts "UID is already in use"
+ puts "Please enter a valid uid: "
+ user['uid'] = gets.chomp.to_i
+ valid = `/usr/bin/id #{user['uid']} 2>/dev/null`.empty?
+ end
+ end
+
+ # create local user
+ if os_version < "10.5" then
+ prefix = "/usr/bin/nicl . -create /users/"
+
+ if not system("#{prefix}#{user['name']}") or
+ not system("#{prefix}#{user['name']} uid #{user['uid']}") or
+ not system("#{prefix}#{user['name']} passwd \"*\"") or
+ not system("#{prefix}#{user['name']} gid 20") or
+ not system("#{prefix}#{user['name']} shell '/bin/bash'") or
+ not system("#{prefix}#{user['name']} home '/Users/#{user['name']}'") or
+ not system("#{prefix}#{user['name']} _writers_passwd #{user['name']}") or
+ not system("#{prefix}#{user['name']} realname '#{user['name']}'")
+ raise SystemCallError, "user creation failed"
+ end
+ else
+ prefix = "/usr/bin/dscl . -create /Users/"
+ if not system("#{prefix}#{user['name']}") or
+ not system("#{prefix}#{user['name']} UniqueID #{user['uid']}") or
+ not system("/usr/bin/dscl . -passwd /Users/#{user['name']} '#{options.user['passwd']}'") or
+ not system("#{prefix}#{user['name']} PrimaryGroupID 20") or
+ not system("#{prefix}#{user['name']} UserShell /bin/bash") or
+ not system("#{prefix}#{user['name']} RealName #{user['name']}") or
+ not system("#{prefix}#{user['name']} home /Users/#{user['name']}")
+
+ raise SystemCallError, "user creation failed"
+ end
+ end
+
+ begin
+ FileUtils.mkdir_p "/Users/#{user['name']}", :mode => 0700
+ rescue
+ raise IOError, "Failed to create the backuppc user directory!"
+ end
+ if os_version <= "10.5" then
+ `/usr/bin/passwd #{user['name']}`
+ end
+ #set ownership of new home directory to new user user['uid'] and staff(20)
+ File.chown user['uid'], 20, "/Users/#{user['name']}"
+
+ return user
+end
+
+def get_ip(base_network_ip)
+ ip = nil
+ ip = `/sbin/ifconfig`.match(/(#{base_network_ip}\.\d+)/)
+
+ if ip.nil?
+ ip = ''
+ while ip.empty?
+ puts "A valid ip could not be found. Please input your network ip: "
+ ip = gets.chomp
+ # in the regex below, insert the first 3 octets of your networks ip
+ # for example, if clients receive ip's of 192.168.1.xxx, the regex should be:
+ # /192\.168\.1\.\d+
+ ip = '' if !ip.match(/#{base_network_ip}\.\d+/)
+ end
+ end
+
+ return ip
+end
+
+def hide_user(user,os_version)
+ if os_version < "10.5"
+ command = '/usr/bin/defaults write /Library/Preferences/com.apple.loginwindow '
+ command = command << "HiddenUsersList -array-add #{user['name']}"
+ else
+ command = "/usr/bin/defaults write /Library/Preferences/com.apple.loginwindow "
+ command = command << "Hide500Users -bool YES"
+ end
+ if not (system(command)) then
+ raise SystemCallError, "Failed to hide backuppc user"
+ end
+end
+
+def revert(user,backup_check,os_version)
+ if os_version < "10.5" then
+ # delete the created the user
+ delete_user_command = "/usr/bin/nicl . delete /users/#{user['name']}"
+ # delete the HiddenUsersList
+ delete_hide_command = "/usr/bin/defaults delete /Library/Preferences/com.apple.loginwindow HiddenUsersList"
+ else
+ delete_user_command = "/usr/bin/dscl . delete /Users/#{user['name']}"
+ delete_hide_command ="/usr/bin/defaults delete /Library/Preferences/com.apple.loginwindow Hide500Users"
+ end
+
+ if not system(delete_user_command) then
+ puts "Failed to delete the #{user['name']} user. Perhaps it was never created."
+ end
+
+ if not system(delete_hide_command) then
+ puts "Failed to delete the Hidden User preference. Perhaps it was never created."
+ end
+
+ # remove entry from /etc/sudoers if it exists
+ begin
+ f = File.new('/etc/sudoers', 'r+')
+ f.flock File::LOCK_EX
+ lines = f.readlines
+
+ f = f.reopen(f.path, 'w')
+ lines.each do |line|
+ f.print line unless line.match(/#{user['name']}.*\/usr\/bin\/rsync/)
+ end
+ f.close
+ rescue
+ raise IOError, "Editing of /etc/sudoers failed"
+ ensure
+ f.close if !f.closed?
+ end
+
+ # remove the backup_check.rb script
+ if File.exists?(backup_check) then
+ File.delete(backup_check)
+ end
+ command = "/usr/sbin/systemsetup -f -setremotelogin off"
+ system(command)
+
+ # let admin know backuppc home directory will be left untouched
+ puts "WARNING: The backuppc $HOME,/Users/#{user['name']}, will not be removed."
+end
+def setup_system_prefs
+ command = "/usr/sbin/systemsetup -setremotelogin on"
+ system(command)
+end
+def get_os_version
+ os_version = `/usr/bin/sw_vers | grep ProductVersion | awk '{print $2}'`
+ puts "Detected OS Version: #{os_version}"
+ if os_version < "10.4" or os_version >= "10.6" then
+ raise ScriptError, "Your version of osx is not supported!"
+ end
+ return os_version
+end
+#########END SCRIPT METHODS########
+#########BEGIN VARIABLE SETUP#####
+options.ip = get_ip(options.base_network_ip)
+options.os_version = get_os_version
+#########END VARIABLE SETUP#######
+
+
+########BEGIN SCRIPT###############
+
+opts = OptionParser.new do |opts|
+ opts.banner = "Usage: backuppc_config.rb [options]"
+
+ opts.separator "Specific options:"
+
+ opts.on("-h", "--help", "Display this help/usage message") do
+ puts opts
+ exit
+ end
+
+ opts.on("-r", "--revert", "Undo the changes made by script") do
+ revert(options.user,options.backup_check,options.os_version)
+ exit
+ end
+
+end.parse!
+
+puts "Creating backuppc user. . ."
+
+begin
+ setup_system_prefs
+ create_user(options.user,options.os_version)
+ edit_sudoers(options.user, options.ip)
+ create_keys2(options.user,options.backuppc_ip,options.public_key,options.backup_check)
+ create_backup_check(options.admin_id,options.backup_check)
+ hide_user(options.user,options.os_version)
+ # Let's go ahead and enter this user into the known_hosts file of the backuppc server user
+rescue
+ puts "Error: " + $!
+end
Property changes on: trunk/dports/sysutils/backuppc/files/backuppc_config_template.rb
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/dports/sysutils/backuppc/files/favicon.ico
===================================================================
--- trunk/dports/sysutils/backuppc/files/favicon.ico (rev 0)
+++ trunk/dports/sysutils/backuppc/files/favicon.ico 2009-08-03 19:28:26 UTC (rev 54888)
@@ -0,0 +1,4 @@
+ \xE8 ( @ 000 @@@ PPP ``` ppp \x80\x80\x80 \x90\x90\x90 \xA0\xA0\xA0 \xB0\xB0\xB0 \xC0\xC0\xC0 \xE0\xE0\xE0 \xF0\xF0\xF0 \xCA\xCD \xEBt n \xEBs
+c \x90 \xA0 @ &\xAC\xE0\x90 &\xAD \xC0 \xAD \xC0 \xC0 \xC0 \xC0 \xC0 \xC0 \xA0 0 P \x80 \xE0 \xA0 \xC0 \xC0 \xC0 \xB7 \xC0 \xB70
+\xC0 \xA0\xC0
+ + \xC0 ` \xD0 \x90 \xB70 \xB70 \xB0 ̸\xBE \xFF\xFF\x83\xC0\xFF\xF0 \xC0\xFF \xC0\xF8 @\xF0 @\xE0 @\xE0\xF0@\xE0?\xF0@\xE0\xFF\xF0@\xE0\xFF\xF0@\xE0\xFF\xF0@\xE0\xFF\xF0@\xE0\xFF\xF0@\xE0\xFF\xF0@\xE0\xFF\xE0@\xE0\xFF\x80@\xE0\xFE @\xE0\xFE \xC0\xE0\xFE \xC0\xE0\xFE \xC0\xE0\xFE \xC0\xE0\xFE \xC0\xE0\xFE \xC0\xE0\xE0 \xC0\xE0 \xC0\xE0 \xC0\xE0 0\xC0\xF0 p\xC0\xF8 \xC0\xFE \xC0\xFF\xE0\xC0\xFF\xFE\xC0
\ No newline at end of file
Added: trunk/dports/sysutils/backuppc/files/httpd.conf
===================================================================
--- trunk/dports/sysutils/backuppc/files/httpd.conf (rev 0)
+++ trunk/dports/sysutils/backuppc/files/httpd.conf 2009-08-03 19:28:26 UTC (rev 54888)
@@ -0,0 +1,165 @@
+ServerRoot "@@PREFIX@@/var/wwwbackup"
+
+Listen 8080
+
+LoadModule authn_file_module @@PREFIX@@/apache2/modules/mod_authn_file.so
+LoadModule authn_dbm_module @@PREFIX@@/apache2/modules/mod_authn_dbm.so
+LoadModule authn_anon_module @@PREFIX@@/apache2/modules/mod_authn_anon.so
+LoadModule authn_dbd_module @@PREFIX@@/apache2/modules/mod_authn_dbd.so
+LoadModule authn_default_module @@PREFIX@@/apache2/modules/mod_authn_default.so
+LoadModule authz_host_module @@PREFIX@@/apache2/modules/mod_authz_host.so
+LoadModule authz_groupfile_module @@PREFIX@@/apache2/modules/mod_authz_groupfile.so
+LoadModule authz_user_module @@PREFIX@@/apache2/modules/mod_authz_user.so
+LoadModule authz_dbm_module @@PREFIX@@/apache2/modules/mod_authz_dbm.so
+LoadModule authz_owner_module @@PREFIX@@/apache2/modules/mod_authz_owner.so
+LoadModule authz_default_module @@PREFIX@@/apache2/modules/mod_authz_default.so
+LoadModule auth_basic_module @@PREFIX@@/apache2/modules/mod_auth_basic.so
+LoadModule auth_digest_module @@PREFIX@@/apache2/modules/mod_auth_digest.so
+LoadModule file_cache_module @@PREFIX@@/apache2/modules/mod_file_cache.so
+LoadModule cache_module @@PREFIX@@/apache2/modules/mod_cache.so
+LoadModule disk_cache_module @@PREFIX@@/apache2/modules/mod_disk_cache.so
+LoadModule mem_cache_module @@PREFIX@@/apache2/modules/mod_mem_cache.so
+LoadModule dbd_module @@PREFIX@@/apache2/modules/mod_dbd.so
+LoadModule dumpio_module @@PREFIX@@/apache2/modules/mod_dumpio.so
+LoadModule ext_filter_module @@PREFIX@@/apache2/modules/mod_ext_filter.so
+LoadModule include_module @@PREFIX@@/apache2/modules/mod_include.so
+LoadModule filter_module @@PREFIX@@/apache2/modules/mod_filter.so
+LoadModule substitute_module @@PREFIX@@/apache2/modules/mod_substitute.so
+LoadModule deflate_module @@PREFIX@@/apache2/modules/mod_deflate.so
+LoadModule log_config_module @@PREFIX@@/apache2/modules/mod_log_config.so
+LoadModule log_forensic_module @@PREFIX@@/apache2/modules/mod_log_forensic.so
+LoadModule logio_module @@PREFIX@@/apache2/modules/mod_logio.so
+LoadModule env_module @@PREFIX@@/apache2/modules/mod_env.so
+LoadModule mime_magic_module @@PREFIX@@/apache2/modules/mod_mime_magic.so
+LoadModule cern_meta_module @@PREFIX@@/apache2/modules/mod_cern_meta.so
+LoadModule expires_module @@PREFIX@@/apache2/modules/mod_expires.so
+LoadModule headers_module @@PREFIX@@/apache2/modules/mod_headers.so
+LoadModule ident_module @@PREFIX@@/apache2/modules/mod_ident.so
+LoadModule usertrack_module @@PREFIX@@/apache2/modules/mod_usertrack.so
+LoadModule unique_id_module @@PREFIX@@/apache2/modules/mod_unique_id.so
+LoadModule setenvif_module @@PREFIX@@/apache2/modules/mod_setenvif.so
+LoadModule version_module @@PREFIX@@/apache2/modules/mod_version.so
+LoadModule proxy_module @@PREFIX@@/apache2/modules/mod_proxy.so
+LoadModule proxy_connect_module @@PREFIX@@/apache2/modules/mod_proxy_connect.so
+LoadModule proxy_ftp_module @@PREFIX@@/apache2/modules/mod_proxy_ftp.so
+LoadModule proxy_http_module @@PREFIX@@/apache2/modules/mod_proxy_http.so
+LoadModule proxy_ajp_module @@PREFIX@@/apache2/modules/mod_proxy_ajp.so
+LoadModule proxy_balancer_module @@PREFIX@@/apache2/modules/mod_proxy_balancer.so
+LoadModule ssl_module @@PREFIX@@/apache2/modules/mod_ssl.so
+LoadModule mime_module @@PREFIX@@/apache2/modules/mod_mime.so
+LoadModule dav_module @@PREFIX@@/apache2/modules/mod_dav.so
+LoadModule status_module @@PREFIX@@/apache2/modules/mod_status.so
+LoadModule autoindex_module @@PREFIX@@/apache2/modules/mod_autoindex.so
+LoadModule asis_module @@PREFIX@@/apache2/modules/mod_asis.so
+LoadModule info_module @@PREFIX@@/apache2/modules/mod_info.so
+LoadModule cgi_module @@PREFIX@@/apache2/modules/mod_cgi.so
+LoadModule dav_fs_module @@PREFIX@@/apache2/modules/mod_dav_fs.so
+LoadModule vhost_alias_module @@PREFIX@@/apache2/modules/mod_vhost_alias.so
+LoadModule negotiation_module @@PREFIX@@/apache2/modules/mod_negotiation.so
+LoadModule dir_module @@PREFIX@@/apache2/modules/mod_dir.so
+LoadModule imagemap_module @@PREFIX@@/apache2/modules/mod_imagemap.so
+LoadModule actions_module @@PREFIX@@/apache2/modules/mod_actions.so
+LoadModule speling_module @@PREFIX@@/apache2/modules/mod_speling.so
+LoadModule userdir_module @@PREFIX@@/apache2/modules/mod_userdir.so
+LoadModule alias_module @@PREFIX@@/apache2/modules/mod_alias.so
+LoadModule rewrite_module @@PREFIX@@/apache2/modules/mod_rewrite.so
+LoadModule perl_module @@PREFIX@@/apache2/modules/mod_perl.so
+
+
+<IfModule !mpm_netware_module>
+<IfModule !mpm_winnt_module>
+
+User backuppc
+Group backuppc
+
+</IfModule>
+</IfModule>
+
+ServerAdmin admin@@@HOSTNAME@@
+
+DocumentRoot "@@PREFIX@@/var/wwwbackup/htdocs"
+
+<Directory />
+ Options FollowSymLinks
+ AllowOverride None
+ Order deny,allow
+ Deny from all
+</Directory>
+
+<Directory "@@PREFIX@@/var/wwwbackup/htdocs">
+ Options Indexes FollowSymLinks
+ AllowOverride None
+ Order allow,deny
+ Allow from all
+</Directory>
+
+<IfModule dir_module>
+ DirectoryIndex index.html
+</IfModule>
+
+<Files ~ "^<.([Hh][Tt]|[Dd][Ss]_[Ss])">
+ Order allow,deny
+ Deny from all
+ Satisfy All
+</Files>
+
+<Files "rsrc">
+ Order allow,deny
+ Deny from all
+ Satisfy All
+</Files>
+
+<Directory ~ ".\.\.namedfork">
+ Order allow,deny
+ Deny from all
+ Satisfy All
+</Directory>
+
+ErrorLog "logs/error_log"
+LogLevel warn
+
+<IfModule log_config_module>
+ LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
+ LogFormat "%h %l %u %t \"%r\" %>s %b" common
+
+ <IfModule logio_module>
+ # You need to enable mod_logio.c to use %I and %O
+ LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
+ </IfModule>
+ CustomLog "logs/access_log" common
+</IfModule>
+
+<IfModule alias_module>
+ ScriptAlias /cgi-bin "@@PREFIX@@/var/wwwbackup/cgi-bin/"
+
+</IfModule>
+
+<Directory "@@PREFIX@@/var/wwwbackup/cgi-bin">
+ AllowOverride None
+ Options None
+ Order allow,deny
+ Allow from all
+</Directory>
+
+DefaultType text/plain
+
+<IfModule mime_module>
+
+ TypesConfig conf/mime.types
+
+ AddType application/x-compress .Z
+ AddType application/x-gzip .gz .tgz
+</IfModule>
+# MIMEMagicFile conf/magic
+
+# Secure (SSL/TLS) connections
+#Include conf/extra/httpd-ssl.conf
+#
+# Note: The following must must be present to support
+# starting without SSL on platforms with no /dev/random equivalent
+# but a statically compiled-in mod_ssl.
+#
+<IfModule ssl_module>
+SSLRandomSeed startup builtin
+SSLRandomSeed connect builtin
+</IfModule>
Added: trunk/dports/sysutils/backuppc/files/magic
===================================================================
--- trunk/dports/sysutils/backuppc/files/magic (rev 0)
+++ trunk/dports/sysutils/backuppc/files/magic 2009-08-03 19:28:26 UTC (rev 54888)
@@ -0,0 +1,382 @@
+# Magic data for mod_mime_magic Apache module (originally for file(1) command)
+# The module is described in /manual/mod/mod_mime_magic.html
+#
+# The format is 4-5 columns:
+# Column #1: byte number to begin checking from, ">" indicates continuation
+# Column #2: type of data to match
+# Column #3: contents of data to match
+# Column #4: MIME type of result
+# Column #5: MIME encoding of result (optional)
+
+#------------------------------------------------------------------------------
+# Localstuff: file(1) magic for locally observed files
+# Add any locally observed files here.
+
+#------------------------------------------------------------------------------
+# end local stuff
+#------------------------------------------------------------------------------
+
+#------------------------------------------------------------------------------
+# Java
+
+0 short 0xcafe
+>2 short 0xbabe application/java
+
+#------------------------------------------------------------------------------
+# audio: file(1) magic for sound formats
+#
+# from Jan Nicolai Langfeldt <janl at ifi.uio.no>,
+#
+
+# Sun/NeXT audio data
+0 string .snd
+>12 belong 1 audio/basic
+>12 belong 2 audio/basic
+>12 belong 3 audio/basic
+>12 belong 4 audio/basic
+>12 belong 5 audio/basic
+>12 belong 6 audio/basic
+>12 belong 7 audio/basic
+
+>12 belong 23 audio/x-adpcm
+
+# DEC systems (e.g. DECstation 5000) use a variant of the Sun/NeXT format
+# that uses little-endian encoding and has a different magic number
+# (0x0064732E in little-endian encoding).
+0 lelong 0x0064732E
+>12 lelong 1 audio/x-dec-basic
+>12 lelong 2 audio/x-dec-basic
+>12 lelong 3 audio/x-dec-basic
+>12 lelong 4 audio/x-dec-basic
+>12 lelong 5 audio/x-dec-basic
+>12 lelong 6 audio/x-dec-basic
+>12 lelong 7 audio/x-dec-basic
+# compressed (G.721 ADPCM)
+>12 lelong 23 audio/x-dec-adpcm
+
+# Bytes 0-3 of AIFF, AIFF-C, & 8SVX audio files are "FORM"
+# AIFF audio data
+8 string AIFF audio/x-aiff
+# AIFF-C audio data
+8 string AIFC audio/x-aiff
+# IFF/8SVX audio data
+8 string 8SVX audio/x-aiff
+
+# Creative Labs AUDIO stuff
+# Standard MIDI data
+0 string MThd audio/unknown
+#>9 byte >0 (format %d)
+#>11 byte >1 using %d channels
+# Creative Music (CMF) data
+0 string CTMF audio/unknown
+# SoundBlaster instrument data
+0 string SBI audio/unknown
+# Creative Labs voice data
+0 string Creative\ Voice\ File audio/unknown
+## is this next line right? it came this way...
+#>19 byte 0x1A
+#>23 byte >0 - version %d
+#>22 byte >0 \b.%d
+
+# [GRR 950115: is this also Creative Labs? Guessing that first line
+# should be string instead of unknown-endian long...]
+#0 long 0x4e54524b MultiTrack sound data
+#0 string NTRK MultiTrack sound data
+#>4 long x - version %ld
+
+# Microsoft WAVE format (*.wav)
+# [GRR 950115: probably all of the shorts and longs should be leshort/lelong]
+# Microsoft RIFF
+0 string RIFF audio/unknown
+# - WAVE format
+>8 string WAVE audio/x-wav
+# MPEG audio.
+0 beshort&0xfff0 0xfff0 audio/mpeg
+# C64 SID Music files, from Linus Walleij <triad at df.lth.se>
+0 string PSID audio/prs.sid
+
+#------------------------------------------------------------------------------
+# c-lang: file(1) magic for C programs or various scripts
+#
+
+# XPM icons (Greg Roelofs, newt at uchicago.edu)
+# ideally should go into "images", but entries below would tag XPM as C source
+0 string /*\ XPM image/x-xbm 7bit
+
+# this first will upset you if you're a PL/1 shop... (are there any left?)
+# in which case rm it; ascmagic will catch real C programs
+# C or REXX program text
+0 string /* text/plain
+# C++ program text
+0 string // text/plain
+
+#------------------------------------------------------------------------------
+# compress: file(1) magic for pure-compression formats (no archives)
+#
+# compress, gzip, pack, compact, huf, squeeze, crunch, freeze, yabba, whap, etc.
+#
+# Formats for various forms of compressed data
+# Formats for "compress" proper have been moved into "compress.c",
+# because it tries to uncompress it to figure out what's inside.
+
+# standard unix compress
+0 string \037\235 application/octet-stream x-compress
+
+# gzip (GNU zip, not to be confused with [Info-ZIP/PKWARE] zip archiver)
+0 string \037\213 application/octet-stream x-gzip
+
+# According to gzip.h, this is the correct byte order for packed data.
+0 string \037\036 application/octet-stream
+#
+# This magic number is byte-order-independent.
+#
+0 short 017437 application/octet-stream
+
+# XXX - why *two* entries for "compacted data", one of which is
+# byte-order independent, and one of which is byte-order dependent?
+#
+# compacted data
+0 short 0x1fff application/octet-stream
+0 string \377\037 application/octet-stream
+# huf output
+0 short 0145405 application/octet-stream
+
+# Squeeze and Crunch...
+# These numbers were gleaned from the Unix versions of the programs to
+# handle these formats. Note that I can only uncrunch, not crunch, and
+# I didn't have a crunched file handy, so the crunch number is untested.
+# Keith Waclena <keith at cerberus.uchicago.edu>
+#0 leshort 0x76FF squeezed data (CP/M, DOS)
+#0 leshort 0x76FE crunched data (CP/M, DOS)
+
+# Freeze
+#0 string \037\237 Frozen file 2.1
+#0 string \037\236 Frozen file 1.0 (or gzip 0.5)
+
+# lzh?
+#0 string \037\240 LZH compressed data
+
+#------------------------------------------------------------------------------
+# frame: file(1) magic for FrameMaker files
+#
+# This stuff came on a FrameMaker demo tape, most of which is
+# copyright, but this file is "published" as witness the following:
+#
+0 string \<MakerFile application/x-frame
+0 string \<MIFFile application/x-frame
+0 string \<MakerDictionary application/x-frame
+0 string \<MakerScreenFon application/x-frame
+0 string \<MML application/x-frame
+0 string \<Book application/x-frame
+0 string \<Maker application/x-frame
+
+#------------------------------------------------------------------------------
+# html: file(1) magic for HTML (HyperText Markup Language) docs
+#
+# from Daniel Quinlan <quinlan at yggdrasil.com>
+# and Anna Shergold <anna at inext.co.uk>
+#
+0 string \<!DOCTYPE\ HTML text/html
+0 string \<!doctype\ html text/html
+0 string \<HEAD text/html
+0 string \<head text/html
+0 string \<TITLE text/html
+0 string \<title text/html
+0 string \<html text/html
+0 string \<HTML text/html
+0 string \<!-- text/html
+0 string \<h1 text/html
+0 string \<H1 text/html
+
+# XML eXtensible Markup Language, from Linus Walleij <triad at df.lth.se>
+0 string \<?xml text/xml
+
+#------------------------------------------------------------------------------
+# images: file(1) magic for image formats (see also "c-lang" for XPM bitmaps)
+#
+# originally from jef at helios.ee.lbl.gov (Jef Poskanzer),
+# additions by janl at ifi.uio.no as well as others. Jan also suggested
+# merging several one- and two-line files into here.
+#
+# XXX - byte order for GIF and TIFF fields?
+# [GRR: TIFF allows both byte orders; GIF is probably little-endian]
+#
+
+# [GRR: what the hell is this doing in here?]
+#0 string xbtoa btoa'd file
+
+# PBMPLUS
+# PBM file
+0 string P1 image/x-portable-bitmap 7bit
+# PGM file
+0 string P2 image/x-portable-greymap 7bit
+# PPM file
+0 string P3 image/x-portable-pixmap 7bit
+# PBM "rawbits" file
+0 string P4 image/x-portable-bitmap
+# PGM "rawbits" file
+0 string P5 image/x-portable-greymap
+# PPM "rawbits" file
+0 string P6 image/x-portable-pixmap
+
+# NIFF (Navy Interchange File Format, a modification of TIFF)
+# [GRR: this *must* go before TIFF]
+0 string IIN1 image/x-niff
+
+# TIFF and friends
+# TIFF file, big-endian
+0 string MM image/tiff
+# TIFF file, little-endian
+0 string II image/tiff
+
+# possible GIF replacements; none yet released!
+# (Greg Roelofs, newt at uchicago.edu)
+#
+# GRR 950115: this was mine ("Zip GIF"):
+# ZIF image (GIF+deflate alpha)
+0 string GIF94z image/unknown
+#
+# GRR 950115: this is Jeremy Wohl's Free Graphics Format (better):
+# FGF image (GIF+deflate beta)
+0 string FGF95a image/unknown
+#
+# GRR 950115: this is Thomas Boutell's Portable Bitmap Format proposal
+# (best; not yet implemented):
+# PBF image (deflate compression)
+0 string PBF image/unknown
+
+# GIF
+0 string GIF image/gif
+
+# JPEG images
+0 beshort 0xffd8 image/jpeg
+
+# PC bitmaps (OS/2, Windoze BMP files) (Greg Roelofs, newt at uchicago.edu)
+0 string BM image/bmp
+#>14 byte 12 (OS/2 1.x format)
+#>14 byte 64 (OS/2 2.x format)
+#>14 byte 40 (Windows 3.x format)
+#0 string IC icon
+#0 string PI pointer
+#0 string CI color icon
+#0 string CP color pointer
+#0 string BA bitmap array
+
+
+#------------------------------------------------------------------------------
+# lisp: file(1) magic for lisp programs
+#
+# various lisp types, from Daniel Quinlan (quinlan at yggdrasil.com)
+0 string ;; text/plain 8bit
+# Emacs 18 - this is always correct, but not very magical.
+0 string \012( application/x-elc
+# Emacs 19
+0 string ;ELC\023\000\000\000 application/x-elc
+
+#------------------------------------------------------------------------------
+# mail.news: file(1) magic for mail and news
+#
+# There are tests to ascmagic.c to cope with mail and news.
+0 string Relay-Version: message/rfc822 7bit
+0 string #!\ rnews message/rfc822 7bit
+0 string N#!\ rnews message/rfc822 7bit
+0 string Forward\ to message/rfc822 7bit
+0 string Pipe\ to message/rfc822 7bit
+0 string Return-Path: message/rfc822 7bit
+0 string Path: message/news 8bit
+0 string Xref: message/news 8bit
+0 string From: message/rfc822 7bit
+0 string Article message/news 8bit
+#------------------------------------------------------------------------------
+# msword: file(1) magic for MS Word files
+#
+# Contributor claims:
+# Reversed-engineered MS Word magic numbers
+#
+
+0 string \376\067\0\043 application/msword
+0 string \333\245-\0\0\0 application/msword
+
+# disable this one because it applies also to other
+# Office/OLE documents for which msword is not correct. See PR#2608.
+#0 string \320\317\021\340\241\261 application/msword
+
+
+
+#------------------------------------------------------------------------------
+# printer: file(1) magic for printer-formatted files
+#
+
+# PostScript
+0 string %! application/postscript
+0 string \004%! application/postscript
+
+# Acrobat
+# (due to clamen at cs.cmu.edu)
+0 string %PDF- application/pdf
+
+#------------------------------------------------------------------------------
+# sc: file(1) magic for "sc" spreadsheet
+#
+38 string Spreadsheet application/x-sc
+
+#------------------------------------------------------------------------------
+# tex: file(1) magic for TeX files
+#
+# XXX - needs byte-endian stuff (big-endian and little-endian DVI?)
+#
+# From <conklin at talisman.kaleida.com>
+
+# Although we may know the offset of certain text fields in TeX DVI
+# and font files, we can't use them reliably because they are not
+# zero terminated. [but we do anyway, christos]
+0 string \367\002 application/x-dvi
+#0 string \367\203 TeX generic font data
+#0 string \367\131 TeX packed font data
+#0 string \367\312 TeX virtual font data
+#0 string This\ is\ TeX, TeX transcript text
+#0 string This\ is\ METAFONT, METAFONT transcript text
+
+# There is no way to detect TeX Font Metric (*.tfm) files without
+# breaking them apart and reading the data. The following patterns
+# match most *.tfm files generated by METAFONT or afm2tfm.
+#2 string \000\021 TeX font metric data
+#2 string \000\022 TeX font metric data
+#>34 string >\0 (%s)
+
+# Texinfo and GNU Info, from Daniel Quinlan (quinlan at yggdrasil.com)
+#0 string \\input\ texinfo Texinfo source text
+#0 string This\ is\ Info\ file GNU Info text
+
+# correct TeX magic for Linux (and maybe more)
+# from Peter Tobias (tobias at server.et-inf.fho-emden.de)
+#
+0 leshort 0x02f7 application/x-dvi
+
+# RTF - Rich Text Format
+0 string {\\rtf application/rtf
+
+#------------------------------------------------------------------------------
+# animation: file(1) magic for animation/movie formats
+#
+# animation formats, originally from vax at ccwf.cc.utexas.edu (VaX#n8)
+# MPEG file
+0 string \000\000\001\263 video/mpeg
+#
+# The contributor claims:
+# I couldn't find a real magic number for these, however, this
+# -appears- to work. Note that it might catch other files, too,
+# so BE CAREFUL!
+#
+# Note that title and author appear in the two 20-byte chunks
+# at decimal offsets 2 and 22, respectively, but they are XOR'ed with
+# 255 (hex FF)! DL format SUCKS BIG ROCKS.
+#
+# DL file version 1 , medium format (160x100, 4 images/screen)
+0 byte 1 video/unknown
+0 byte 2 video/unknown
+# Quicktime video, from Linus Walleij <triad at df.lth.se>
+# from Apple quicktime file format documentation.
+4 string moov video/quicktime
+4 string mdat video/quicktime
+
Added: trunk/dports/sysutils/backuppc/files/mime.types
===================================================================
--- trunk/dports/sysutils/backuppc/files/mime.types (rev 0)
+++ trunk/dports/sysutils/backuppc/files/mime.types 2009-08-03 19:28:26 UTC (rev 54888)
@@ -0,0 +1,1065 @@
+# This is a comment. I love comments.
+
+# This file controls what Internet media types are sent to the client for
+# given file extension(s). Sending the correct media type to the client
+# is important so they know how to handle the content of the file.
+# Extra types can either be added here or by using an AddType directive
+# in your config files. For more information about Internet media types,
+# please read RFC 2045, 2046, 2047, 2048, and 2077. The Internet media type
+# registry is at <http://www.iana.org/assignments/media-types/>.
+
+# MIME type Extensions
+application/activemessage
+application/andrew-inset ez
+application/applefile
+application/atom+xml atom
+application/atomcat+xml atomcat
+application/atomicmail
+application/atomsvc+xml atomsvc
+application/auth-policy+xml
+application/batch-smtp
+application/beep+xml
+application/cals-1840
+application/ccxml+xml ccxml
+application/cellml+xml
+application/cnrp+xml
+application/commonground
+application/conference-info+xml
+application/cpl+xml
+application/csta+xml
+application/cstadata+xml
+application/cybercash
+application/davmount+xml davmount
+application/dca-rft
+application/dec-dx
+application/dialog-info+xml
+application/dicom
+application/dns
+application/dvcs
+application/ecmascript ecma
+application/edi-consent
+application/edi-x12
+application/edifact
+application/epp+xml
+application/eshop
+application/fastinfoset
+application/fastsoap
+application/fits
+application/font-tdpfr pfr
+application/h224
+application/http
+application/hyperstudio stk
+application/iges
+application/im-iscomposing+xml
+application/index
+application/index.cmd
+application/index.obj
+application/index.response
+application/index.vnd
+application/iotp
+application/ipp
+application/isup
+application/javascript js
+application/json json
+application/kpml-request+xml
+application/kpml-response+xml
+application/lost+xml lostxml
+application/mac-binhex40 hqx
+application/mac-compactpro cpt
+application/macwriteii
+application/marc mrc
+application/mathematica ma nb mb
+application/mathml+xml mathml
+application/mbms-associated-procedure-description+xml
+application/mbms-deregister+xml
+application/mbms-envelope+xml
+application/mbms-msk+xml
+application/mbms-msk-response+xml
+application/mbms-protection-description+xml
+application/mbms-reception-report+xml
+application/mbms-register+xml
+application/mbms-register-response+xml
+application/mbms-user-service-description+xml
+application/mbox mbox
+application/media_control+xml
+application/mediaservercontrol+xml mscml
+application/mikey
+application/moss-keys
+application/moss-signature
+application/mosskey-data
+application/mosskey-request
+application/mp4 mp4s
+application/mpeg4-generic
+application/mpeg4-iod
+application/mpeg4-iod-xmt
+application/msword doc dot
+application/mxf mxf
+application/nasdata
+application/news-transmission
+application/nss
+application/ocsp-request
+application/ocsp-response
+application/octet-stream bin dms lha lzh class so iso dmg dist distz pkg bpk dump elc
+application/oda oda
+application/oebps-package+xml
+application/ogg ogx
+application/parityfec
+application/patch-ops-error+xml xer
+application/pdf pdf
+application/pgp-encrypted pgp
+application/pgp-keys
+application/pgp-signature asc sig
+application/pics-rules prf
+application/pidf+xml
+application/pidf-diff+xml
+application/pkcs10 p10
+application/pkcs7-mime p7m p7c
+application/pkcs7-signature p7s
+application/pkix-cert cer
+application/pkix-crl crl
+application/pkix-pkipath pkipath
+application/pkixcmp pki
+application/pls+xml pls
+application/poc-settings+xml
+application/postscript ai eps ps
+application/prs.alvestrand.titrax-sheet
+application/prs.cww cww
+application/prs.nprend
+application/prs.plucker
+application/qsig
+application/rdf+xml rdf
+application/reginfo+xml rif
+application/relax-ng-compact-syntax rnc
+application/remote-printing
+application/resource-lists+xml rl
+application/resource-lists-diff+xml rld
+application/riscos
+application/rlmi+xml
+application/rls-services+xml rs
+application/rsd+xml rsd
+application/rss+xml rss
+application/rtf rtf
+application/rtx
+application/samlassertion+xml
+application/samlmetadata+xml
+application/sbml+xml sbml
+application/scvp-cv-request scq
+application/scvp-cv-response scs
+application/scvp-vp-request spq
+application/scvp-vp-response spp
+application/sdp sdp
+application/set-payment
+application/set-payment-initiation setpay
+application/set-registration
+application/set-registration-initiation setreg
+application/sgml
+application/sgml-open-catalog
+application/shf+xml shf
+application/sieve
+application/simple-filter+xml
+application/simple-message-summary
+application/simplesymbolcontainer
+application/slate
+application/smil
+application/smil+xml smi smil
+application/soap+fastinfoset
+application/soap+xml
+application/sparql-query rq
+application/sparql-results+xml srx
+application/spirits-event+xml
+application/srgs gram
+application/srgs+xml grxml
+application/ssml+xml ssml
+application/timestamp-query
+application/timestamp-reply
+application/tve-trigger
+application/ulpfec
+application/vemmi
+application/vividence.scriptfile
+application/vnd.3gpp.bsf+xml
+application/vnd.3gpp.pic-bw-large plb
+application/vnd.3gpp.pic-bw-small psb
+application/vnd.3gpp.pic-bw-var pvb
+application/vnd.3gpp.sms
+application/vnd.3gpp2.bcmcsinfo+xml
+application/vnd.3gpp2.sms
+application/vnd.3gpp2.tcap tcap
+application/vnd.3m.post-it-notes pwn
+application/vnd.accpac.simply.aso aso
+application/vnd.accpac.simply.imp imp
+application/vnd.acucobol acu
+application/vnd.acucorp atc acutc
+application/vnd.adobe.xdp+xml xdp
+application/vnd.adobe.xfdf xfdf
+application/vnd.aether.imp
+application/vnd.americandynamics.acc acc
+application/vnd.amiga.ami ami
+application/vnd.anser-web-certificate-issue-initiation cii
+application/vnd.anser-web-funds-transfer-initiation fti
+application/vnd.antix.game-component atx
+application/vnd.apple.installer+xml mpkg
+application/vnd.arastra.swi swi
+application/vnd.audiograph aep
+application/vnd.autopackage
+application/vnd.avistar+xml
+application/vnd.blueice.multipass mpm
+application/vnd.bmi bmi
+application/vnd.businessobjects rep
+application/vnd.cab-jscript
+application/vnd.canon-cpdl
+application/vnd.canon-lips
+application/vnd.cendio.thinlinc.clientconf
+application/vnd.chemdraw+xml cdxml
+application/vnd.chipnuts.karaoke-mmd mmd
+application/vnd.cinderella cdy
+application/vnd.cirpack.isdn-ext
+application/vnd.claymore cla
+application/vnd.clonk.c4group c4g c4d c4f c4p c4u
+application/vnd.commerce-battelle
+application/vnd.commonspace csp cst
+application/vnd.contact.cmsg cdbcmsg
+application/vnd.cosmocaller cmc
+application/vnd.crick.clicker clkx
+application/vnd.crick.clicker.keyboard clkk
+application/vnd.crick.clicker.palette clkp
+application/vnd.crick.clicker.template clkt
+application/vnd.crick.clicker.wordbank clkw
+application/vnd.criticaltools.wbs+xml wbs
+application/vnd.ctc-posml pml
+application/vnd.ctct.ws+xml
+application/vnd.cups-pdf
+application/vnd.cups-postscript
+application/vnd.cups-ppd ppd
+application/vnd.cups-raster
+application/vnd.cups-raw
+application/vnd.curl curl
+application/vnd.cybank
+application/vnd.data-vision.rdz rdz
+application/vnd.denovo.fcselayout-link fe_launch
+application/vnd.dna dna
+application/vnd.dolby.mlp mlp
+application/vnd.dpgraph dpg
+application/vnd.dreamfactory dfac
+application/vnd.dvb.esgcontainer
+application/vnd.dvb.ipdcesgaccess
+application/vnd.dvb.iptv.alfec-base
+application/vnd.dvb.iptv.alfec-enhancement
+application/vnd.dxr
+application/vnd.ecdis-update
+application/vnd.ecowin.chart mag
+application/vnd.ecowin.filerequest
+application/vnd.ecowin.fileupdate
+application/vnd.ecowin.series
+application/vnd.ecowin.seriesrequest
+application/vnd.ecowin.seriesupdate
+application/vnd.enliven nml
+application/vnd.epson.esf esf
+application/vnd.epson.msf msf
+application/vnd.epson.quickanime qam
+application/vnd.epson.salt slt
+application/vnd.epson.ssf ssf
+application/vnd.ericsson.quickcall
+application/vnd.eszigno3+xml es3 et3
+application/vnd.eudora.data
+application/vnd.ezpix-album ez2
+application/vnd.ezpix-package ez3
+application/vnd.fdf fdf
+application/vnd.ffsns
+application/vnd.fints
+application/vnd.flographit gph
+application/vnd.fluxtime.clip ftc
+application/vnd.font-fontforge-sfd
+application/vnd.framemaker fm frame maker
+application/vnd.frogans.fnc fnc
+application/vnd.frogans.ltf ltf
+application/vnd.fsc.weblaunch fsc
+application/vnd.fujitsu.oasys oas
+application/vnd.fujitsu.oasys2 oa2
+application/vnd.fujitsu.oasys3 oa3
+application/vnd.fujitsu.oasysgp fg5
+application/vnd.fujitsu.oasysprs bh2
+application/vnd.fujixerox.art-ex
+application/vnd.fujixerox.art4
+application/vnd.fujixerox.hbpl
+application/vnd.fujixerox.ddd ddd
+application/vnd.fujixerox.docuworks xdw
+application/vnd.fujixerox.docuworks.binder xbd
+application/vnd.fut-misnet
+application/vnd.fuzzysheet fzs
+application/vnd.genomatix.tuxedo txd
+application/vnd.gmx gmx
+application/vnd.google-earth.kml+xml kml
+application/vnd.google-earth.kmz kmz
+application/vnd.grafeq gqf gqs
+application/vnd.gridmp
+application/vnd.groove-account gac
+application/vnd.groove-help ghf
+application/vnd.groove-identity-message gim
+application/vnd.groove-injector grv
+application/vnd.groove-tool-message gtm
+application/vnd.groove-tool-template tpl
+application/vnd.groove-vcard vcg
+application/vnd.handheld-entertainment+xml zmm
+application/vnd.hbci hbci
+application/vnd.hcl-bireports
+application/vnd.hhe.lesson-player les
+application/vnd.hp-hpgl hpgl
+application/vnd.hp-hpid hpid
+application/vnd.hp-hps hps
+application/vnd.hp-jlyt jlt
+application/vnd.hp-pcl pcl
+application/vnd.hp-pclxl pclxl
+application/vnd.httphone
+application/vnd.hydrostatix.sof-data sfd-hdstx
+application/vnd.hzn-3d-crossword x3d
+application/vnd.ibm.afplinedata
+application/vnd.ibm.electronic-media
+application/vnd.ibm.minipay mpy
+application/vnd.ibm.modcap afp listafp list3820
+application/vnd.ibm.rights-management irm
+application/vnd.ibm.secure-container sc
+application/vnd.iccprofile icc icm
+application/vnd.igloader igl
+application/vnd.immervision-ivp ivp
+application/vnd.immervision-ivu ivu
+application/vnd.informedcontrol.rms+xml
+application/vnd.intercon.formnet xpw xpx
+application/vnd.intertrust.digibox
+application/vnd.intertrust.nncp
+application/vnd.intu.qbo qbo
+application/vnd.intu.qfx qfx
+application/vnd.iptc.g2.conceptitem+xml
+application/vnd.iptc.g2.knowledgeitem+xml
+application/vnd.iptc.g2.newsitem+xml
+application/vnd.iptc.g2.packageitem+xml
+application/vnd.ipunplugged.rcprofile rcprofile
+application/vnd.irepository.package+xml irp
+application/vnd.is-xpr xpr
+application/vnd.jam jam
+application/vnd.japannet-directory-service
+application/vnd.japannet-jpnstore-wakeup
+application/vnd.japannet-payment-wakeup
+application/vnd.japannet-registration
+application/vnd.japannet-registration-wakeup
+application/vnd.japannet-setstore-wakeup
+application/vnd.japannet-verification
+application/vnd.japannet-verification-wakeup
+application/vnd.jcp.javame.midlet-rms rms
+application/vnd.jisp jisp
+application/vnd.joost.joda-archive joda
+application/vnd.kahootz ktz ktr
+application/vnd.kde.karbon karbon
+application/vnd.kde.kchart chrt
+application/vnd.kde.kformula kfo
+application/vnd.kde.kivio flw
+application/vnd.kde.kontour kon
+application/vnd.kde.kpresenter kpr kpt
+application/vnd.kde.kspread ksp
+application/vnd.kde.kword kwd kwt
+application/vnd.kenameaapp htke
+application/vnd.kidspiration kia
+application/vnd.kinar kne knp
+application/vnd.koan skp skd skt skm
+application/vnd.kodak-descriptor sse
+application/vnd.liberty-request+xml
+application/vnd.llamagraphics.life-balance.desktop lbd
+application/vnd.llamagraphics.life-balance.exchange+xml lbe
+application/vnd.lotus-1-2-3 123
+application/vnd.lotus-approach apr
+application/vnd.lotus-freelance pre
+application/vnd.lotus-notes nsf
+application/vnd.lotus-organizer org
+application/vnd.lotus-screencam scm
+application/vnd.lotus-wordpro lwp
+application/vnd.macports.portpkg portpkg
+application/vnd.marlin.drm.actiontoken+xml
+application/vnd.marlin.drm.conftoken+xml
+application/vnd.marlin.drm.license+xml
+application/vnd.marlin.drm.mdcf
+application/vnd.mcd mcd
+application/vnd.medcalcdata mc1
+application/vnd.mediastation.cdkey cdkey
+application/vnd.meridian-slingshot
+application/vnd.mfer mwf
+application/vnd.mfmp mfm
+application/vnd.micrografx.flo flo
+application/vnd.micrografx.igx igx
+application/vnd.mif mif
+application/vnd.minisoft-hp3000-save
+application/vnd.mitsubishi.misty-guard.trustweb
+application/vnd.mobius.daf daf
+application/vnd.mobius.dis dis
+application/vnd.mobius.mbk mbk
+application/vnd.mobius.mqy mqy
+application/vnd.mobius.msl msl
+application/vnd.mobius.plc plc
+application/vnd.mobius.txf txf
+application/vnd.mophun.application mpn
+application/vnd.mophun.certificate mpc
+application/vnd.motorola.flexsuite
+application/vnd.motorola.flexsuite.adsi
+application/vnd.motorola.flexsuite.fis
+application/vnd.motorola.flexsuite.gotap
+application/vnd.motorola.flexsuite.kmr
+application/vnd.motorola.flexsuite.ttc
+application/vnd.motorola.flexsuite.wem
+application/vnd.motorola.iprm
+application/vnd.mozilla.xul+xml xul
+application/vnd.ms-artgalry cil
+application/vnd.ms-asf asf
+application/vnd.ms-cab-compressed cab
+application/vnd.ms-excel xls xlm xla xlc xlt xlw
+application/vnd.ms-fontobject eot
+application/vnd.ms-htmlhelp chm
+application/vnd.ms-ims ims
+application/vnd.ms-lrm lrm
+application/vnd.ms-playready.initiator+xml
+application/vnd.ms-powerpoint ppt pps pot
+application/vnd.ms-project mpp mpt
+application/vnd.ms-tnef
+application/vnd.ms-wmdrm.lic-chlg-req
+application/vnd.ms-wmdrm.lic-resp
+application/vnd.ms-wmdrm.meter-chlg-req
+application/vnd.ms-wmdrm.meter-resp
+application/vnd.ms-works wps wks wcm wdb
+application/vnd.ms-wpl wpl
+application/vnd.ms-xpsdocument xps
+application/vnd.mseq mseq
+application/vnd.msign
+application/vnd.multiad.creator
+application/vnd.multiad.creator.cif
+application/vnd.music-niff
+application/vnd.musician mus
+application/vnd.muvee.style msty
+application/vnd.ncd.control
+application/vnd.ncd.reference
+application/vnd.nervana
+application/vnd.netfpx
+application/vnd.neurolanguage.nlu nlu
+application/vnd.noblenet-directory nnd
+application/vnd.noblenet-sealer nns
+application/vnd.noblenet-web nnw
+application/vnd.nokia.catalogs
+application/vnd.nokia.conml+wbxml
+application/vnd.nokia.conml+xml
+application/vnd.nokia.isds-radio-presets
+application/vnd.nokia.iptv.config+xml
+application/vnd.nokia.landmark+wbxml
+application/vnd.nokia.landmark+xml
+application/vnd.nokia.landmarkcollection+xml
+application/vnd.nokia.n-gage.ac+xml
+application/vnd.nokia.n-gage.data ngdat
+application/vnd.nokia.n-gage.symbian.install n-gage
+application/vnd.nokia.ncd
+application/vnd.nokia.pcd+wbxml
+application/vnd.nokia.pcd+xml
+application/vnd.nokia.radio-preset rpst
+application/vnd.nokia.radio-presets rpss
+application/vnd.novadigm.edm edm
+application/vnd.novadigm.edx edx
+application/vnd.novadigm.ext ext
+application/vnd.oasis.opendocument.chart odc
+application/vnd.oasis.opendocument.chart-template otc
+application/vnd.oasis.opendocument.formula odf
+application/vnd.oasis.opendocument.formula-template otf
+application/vnd.oasis.opendocument.graphics odg
+application/vnd.oasis.opendocument.graphics-template otg
+application/vnd.oasis.opendocument.image odi
+application/vnd.oasis.opendocument.image-template oti
+application/vnd.oasis.opendocument.presentation odp
+application/vnd.oasis.opendocument.presentation-template otp
+application/vnd.oasis.opendocument.spreadsheet ods
+application/vnd.oasis.opendocument.spreadsheet-template ots
+application/vnd.oasis.opendocument.text odt
+application/vnd.oasis.opendocument.text-master otm
+application/vnd.oasis.opendocument.text-template ott
+application/vnd.oasis.opendocument.text-web oth
+application/vnd.obn
+application/vnd.olpc-sugar xo
+application/vnd.oma-scws-config
+application/vnd.oma-scws-http-request
+application/vnd.oma-scws-http-response
+application/vnd.oma.bcast.associated-procedure-parameter+xml
+application/vnd.oma.bcast.drm-trigger+xml
+application/vnd.oma.bcast.imd+xml
+application/vnd.oma.bcast.ltkm
+application/vnd.oma.bcast.notification+xml
+application/vnd.oma.bcast.provisioningtrigger
+application/vnd.oma.bcast.sgboot
+application/vnd.oma.bcast.sgdd+xml
+application/vnd.oma.bcast.sgdu
+application/vnd.oma.bcast.simple-symbol-container
+application/vnd.oma.bcast.smartcard-trigger+xml
+application/vnd.oma.bcast.sprov+xml
+application/vnd.oma.bcast.stkm
+application/vnd.oma.dcd
+application/vnd.oma.dcdc
+application/vnd.oma.dd2+xml dd2
+application/vnd.oma.drm.risd+xml
+application/vnd.oma.group-usage-list+xml
+application/vnd.oma.poc.detailed-progress-report+xml
+application/vnd.oma.poc.final-report+xml
+application/vnd.oma.poc.groups+xml
+application/vnd.oma.poc.invocation-descriptor+xml
+application/vnd.oma.poc.optimized-progress-report+xml
+application/vnd.oma.xcap-directory+xml
+application/vnd.omads-email+xml
+application/vnd.omads-file+xml
+application/vnd.omads-folder+xml
+application/vnd.omaloc-supl-init
+application/vnd.openofficeorg.extension oxt
+application/vnd.osa.netdeploy
+application/vnd.osgi.dp dp
+application/vnd.otps.ct-kip+xml
+application/vnd.palm prc pdb pqa oprc
+application/vnd.paos.xml
+application/vnd.pg.format str
+application/vnd.pg.osasli ei6
+application/vnd.piaccess.application-licence
+application/vnd.picsel efif
+application/vnd.poc.group-advertisement+xml
+application/vnd.pocketlearn plf
+application/vnd.powerbuilder6 pbd
+application/vnd.powerbuilder6-s
+application/vnd.powerbuilder7
+application/vnd.powerbuilder7-s
+application/vnd.powerbuilder75
+application/vnd.powerbuilder75-s
+application/vnd.preminet
+application/vnd.previewsystems.box box
+application/vnd.proteus.magazine mgz
+application/vnd.publishare-delta-tree qps
+application/vnd.pvi.ptid1 ptid
+application/vnd.pwg-multiplexed
+application/vnd.pwg-xhtml-print+xml
+application/vnd.qualcomm.brew-app-res
+application/vnd.quark.quarkxpress qxd qxt qwd qwt qxl qxb
+application/vnd.rapid
+application/vnd.recordare.musicxml mxl
+application/vnd.recordare.musicxml+xml
+application/vnd.renlearn.rlprint
+application/vnd.rn-realmedia rm
+application/vnd.route66.link66+xml link66
+application/vnd.ruckus.download
+application/vnd.s3sms
+application/vnd.sbm.mid2
+application/vnd.scribus
+application/vnd.sealed.3df
+application/vnd.sealed.csf
+application/vnd.sealed.doc
+application/vnd.sealed.eml
+application/vnd.sealed.mht
+application/vnd.sealed.net
+application/vnd.sealed.ppt
+application/vnd.sealed.tiff
+application/vnd.sealed.xls
+application/vnd.sealedmedia.softseal.html
+application/vnd.sealedmedia.softseal.pdf
+application/vnd.seemail see
+application/vnd.sema sema
+application/vnd.semd semd
+application/vnd.semf semf
+application/vnd.shana.informed.formdata ifm
+application/vnd.shana.informed.formtemplate itp
+application/vnd.shana.informed.interchange iif
+application/vnd.shana.informed.package ipk
+application/vnd.simtech-mindmapper twd twds
+application/vnd.smaf mmf
+application/vnd.software602.filler.form+xml
+application/vnd.software602.filler.form-xml-zip
+application/vnd.solent.sdkm+xml sdkm sdkd
+application/vnd.spotfire.dxp dxp
+application/vnd.spotfire.sfs sfs
+application/vnd.sss-cod
+application/vnd.sss-dtf
+application/vnd.sss-ntf
+application/vnd.street-stream
+application/vnd.sun.wadl+xml
+application/vnd.sus-calendar sus susp
+application/vnd.svd svd
+application/vnd.swiftview-ics
+application/vnd.syncml+xml xsm
+application/vnd.syncml.dm+wbxml bdm
+application/vnd.syncml.dm+xml xdm
+application/vnd.syncml.ds.notification
+application/vnd.tao.intent-module-archive tao
+application/vnd.tmobile-livetv tmo
+application/vnd.trid.tpt tpt
+application/vnd.triscape.mxs mxs
+application/vnd.trueapp tra
+application/vnd.truedoc
+application/vnd.ufdl ufd ufdl
+application/vnd.uiq.theme utz
+application/vnd.umajin umj
+application/vnd.unity unityweb
+application/vnd.uoml+xml uoml
+application/vnd.uplanet.alert
+application/vnd.uplanet.alert-wbxml
+application/vnd.uplanet.bearer-choice
+application/vnd.uplanet.bearer-choice-wbxml
+application/vnd.uplanet.cacheop
+application/vnd.uplanet.cacheop-wbxml
+application/vnd.uplanet.channel
+application/vnd.uplanet.channel-wbxml
+application/vnd.uplanet.list
+application/vnd.uplanet.list-wbxml
+application/vnd.uplanet.listcmd
+application/vnd.uplanet.listcmd-wbxml
+application/vnd.uplanet.signal
+application/vnd.vcx vcx
+application/vnd.vd-study
+application/vnd.vectorworks
+application/vnd.vidsoft.vidconference
+application/vnd.visio vsd vst vss vsw
+application/vnd.visionary vis
+application/vnd.vividence.scriptfile
+application/vnd.vsf vsf
+application/vnd.wap.sic
+application/vnd.wap.slc
+application/vnd.wap.wbxml wbxml
+application/vnd.wap.wmlc wmlc
+application/vnd.wap.wmlscriptc wmlsc
+application/vnd.webturbo wtb
+application/vnd.wfa.wsc
+application/vnd.wmc
+application/vnd.wmf.bootstrap
+application/vnd.wordperfect wpd
+application/vnd.wqd wqd
+application/vnd.wrq-hp3000-labelled
+application/vnd.wt.stf stf
+application/vnd.wv.csp+wbxml
+application/vnd.wv.csp+xml
+application/vnd.wv.ssp+xml
+application/vnd.xara xar
+application/vnd.xfdl xfdl
+application/vnd.xmi+xml
+application/vnd.xmpie.cpkg
+application/vnd.xmpie.dpkg
+application/vnd.xmpie.plan
+application/vnd.xmpie.ppkg
+application/vnd.xmpie.xlim
+application/vnd.yamaha.hv-dic hvd
+application/vnd.yamaha.hv-script hvs
+application/vnd.yamaha.hv-voice hvp
+application/vnd.yamaha.smaf-audio saf
+application/vnd.yamaha.smaf-phrase spf
+application/vnd.yellowriver-custom-menu cmp
+application/vnd.zzazz.deck+xml zaz
+application/voicexml+xml vxml
+application/watcherinfo+xml
+application/whoispp-query
+application/whoispp-response
+application/winhlp hlp
+application/wita
+application/wordperfect5.1
+application/wsdl+xml wsdl
+application/wspolicy+xml wspolicy
+application/x-ace-compressed ace
+application/x-bcpio bcpio
+application/x-bittorrent torrent
+application/x-bzip bz
+application/x-bzip2 bz2 boz
+application/x-cdlink vcd
+application/x-chat chat
+application/x-chess-pgn pgn
+application/x-compress
+application/x-cpio cpio
+application/x-csh csh
+application/x-director dcr dir dxr fgd
+application/x-dvi dvi
+application/x-futuresplash spl
+application/x-gtar gtar
+application/x-gzip
+application/x-hdf hdf
+application/x-latex latex
+application/x-ms-wmd wmd
+application/x-ms-wmz wmz
+application/x-msaccess mdb
+application/x-msbinder obd
+application/x-mscardfile crd
+application/x-msclip clp
+application/x-msdownload exe dll com bat msi
+application/x-msmediaview mvb m13 m14
+application/x-msmetafile wmf
+application/x-msmoney mny
+application/x-mspublisher pub
+application/x-msschedule scd
+application/x-msterminal trm
+application/x-mswrite wri
+application/x-netcdf nc cdf
+application/x-pkcs12 p12 pfx
+application/x-pkcs7-certificates p7b spc
+application/x-pkcs7-certreqresp p7r
+application/x-rar-compressed rar
+application/x-sh sh
+application/x-shar shar
+application/x-shockwave-flash swf
+application/x-stuffit sit
+application/x-stuffitx sitx
+application/x-sv4cpio sv4cpio
+application/x-sv4crc sv4crc
+application/x-tar tar
+application/x-tcl tcl
+application/x-tex tex
+application/x-texinfo texinfo texi
+application/x-ustar ustar
+application/x-wais-source src
+application/x-x509-ca-cert der crt
+application/x400-bp
+application/xcap-att+xml
+application/xcap-caps+xml
+application/xcap-el+xml
+application/xcap-error+xml
+application/xcap-ns+xml
+application/xenc+xml xenc
+application/xhtml+xml xhtml xht
+application/xml xml xsl
+application/xml-dtd dtd
+application/xml-external-parsed-entity
+application/xmpp+xml
+application/xop+xml xop
+application/xslt+xml xslt
+application/xspf+xml xspf
+application/xv+xml mxml xhvml xvml xvm
+application/zip zip
+audio/32kadpcm
+audio/3gpp
+audio/3gpp2
+audio/ac3
+audio/amr
+audio/amr-wb
+audio/amr-wb+
+audio/asc
+audio/basic au snd
+audio/bv16
+audio/bv32
+audio/clearmode
+audio/cn
+audio/dat12
+audio/dls
+audio/dsr-es201108
+audio/dsr-es202050
+audio/dsr-es202211
+audio/dsr-es202212
+audio/dvi4
+audio/eac3
+audio/evrc
+audio/evrc-qcp
+audio/evrc0
+audio/evrc1
+audio/evrcb
+audio/evrcb0
+audio/evrcb1
+audio/evrcwb
+audio/evrcwb0
+audio/evrcwb1
+audio/g722
+audio/g7221
+audio/g723
+audio/g726-16
+audio/g726-24
+audio/g726-32
+audio/g726-40
+audio/g728
+audio/g729
+audio/g7291
+audio/g729d
+audio/g729e
+audio/gsm
+audio/gsm-efr
+audio/ilbc
+audio/l16
+audio/l20
+audio/l24
+audio/l8
+audio/lpc
+audio/midi mid midi kar rmi
+audio/mobile-xmf
+audio/mp4 mp4a
+audio/mp4a-latm
+audio/mpa
+audio/mpa-robust
+audio/mpeg mpga mp2 mp2a mp3 m2a m3a
+audio/mpeg4-generic
+audio/ogg oga ogg spx
+audio/parityfec
+audio/pcma
+audio/pcmu
+audio/prs.sid
+audio/qcelp
+audio/red
+audio/rtp-enc-aescm128
+audio/rtp-midi
+audio/rtx
+audio/smv
+audio/smv0
+audio/smv-qcp
+audio/sp-midi
+audio/t140c
+audio/t38
+audio/telephone-event
+audio/tone
+audio/ulpfec
+audio/vdvi
+audio/vmr-wb
+audio/vnd.3gpp.iufp
+audio/vnd.4sb
+audio/vnd.audiokoz
+audio/vnd.celp
+audio/vnd.cisco.nse
+audio/vnd.cmles.radio-events
+audio/vnd.cns.anp1
+audio/vnd.cns.inf1
+audio/vnd.digital-winds eol
+audio/vnd.dlna.adts
+audio/vnd.dolby.mlp
+audio/vnd.dts dts
+audio/vnd.dts.hd dtshd
+audio/vnd.everad.plj
+audio/vnd.hns.audio
+audio/vnd.lucent.voice lvp
+audio/vnd.ms-playready.media.pya pya
+audio/vnd.nokia.mobile-xmf
+audio/vnd.nortel.vbk
+audio/vnd.nuera.ecelp4800 ecelp4800
+audio/vnd.nuera.ecelp7470 ecelp7470
+audio/vnd.nuera.ecelp9600 ecelp9600
+audio/vnd.octel.sbc
+audio/vnd.qcelp
+audio/vnd.rhetorex.32kadpcm
+audio/vnd.sealedmedia.softseal.mpeg
+audio/vnd.vmx.cvsd
+audio/vorbis
+audio/vorbis-config
+audio/wav wav
+audio/x-aiff aif aiff aifc
+audio/x-mpegurl m3u
+audio/x-ms-wax wax
+audio/x-ms-wma wma
+audio/x-pn-realaudio ram ra
+audio/x-pn-realaudio-plugin rmp
+audio/x-wav wav
+chemical/x-cdx cdx
+chemical/x-cif cif
+chemical/x-cmdf cmdf
+chemical/x-cml cml
+chemical/x-csml csml
+chemical/x-pdb pdb
+chemical/x-xyz xyz
+image/bmp bmp
+image/cgm cgm
+image/fits
+image/g3fax g3
+image/gif gif
+image/ief ief
+image/jp2
+image/jpeg jpeg jpg jpe
+image/jpm
+image/jpx
+image/naplps
+image/png png
+image/prs.btif btif
+image/prs.pti
+image/svg+xml svg svgz
+image/t38
+image/tiff tiff tif
+image/tiff-fx
+image/vnd.adobe.photoshop psd
+image/vnd.cns.inf2
+image/vnd.djvu djvu djv
+image/vnd.dwg dwg
+image/vnd.dxf dxf
+image/vnd.fastbidsheet fbs
+image/vnd.fpx fpx
+image/vnd.fst fst
+image/vnd.fujixerox.edmics-mmr mmr
+image/vnd.fujixerox.edmics-rlc rlc
+image/vnd.globalgraphics.pgb
+image/vnd.microsoft.icon
+image/vnd.mix
+image/vnd.ms-modi mdi
+image/vnd.net-fpx npx
+image/vnd.sealed.png
+image/vnd.sealedmedia.softseal.gif
+image/vnd.sealedmedia.softseal.jpg
+image/vnd.svf
+image/vnd.wap.wbmp wbmp
+image/vnd.xiff xif
+image/x-cmu-raster ras
+image/x-cmx cmx
+image/x-icon ico
+image/x-pcx pcx
+image/x-pict pic pct
+image/x-portable-anymap pnm
+image/x-portable-bitmap pbm
+image/x-portable-graymap pgm
+image/x-portable-pixmap ppm
+image/x-rgb rgb
+image/x-xbitmap xbm
+image/x-xpixmap xpm
+image/x-xwindowdump xwd
+message/cpim
+message/delivery-status
+message/disposition-notification
+message/external-body
+message/global
+message/global-delivery-status
+message/global-disposition-notification
+message/global-headers
+message/http
+message/news
+message/partial
+message/rfc822 eml mime
+message/s-http
+message/sip
+message/sipfrag
+message/tracking-status
+message/vnd.si.simp
+model/iges igs iges
+model/mesh msh mesh silo
+model/vnd.dwf dwf
+model/vnd.flatland.3dml
+model/vnd.gdl gdl
+model/vnd.gs.gdl
+model/vnd.gtw gtw
+model/vnd.moml+xml
+model/vnd.mts mts
+model/vnd.parasolid.transmit.binary
+model/vnd.parasolid.transmit.text
+model/vnd.vtu vtu
+model/vrml wrl vrml
+multipart/alternative
+multipart/appledouble
+multipart/byteranges
+multipart/digest
+multipart/encrypted
+multipart/form-data
+multipart/header-set
+multipart/mixed
+multipart/parallel
+multipart/related
+multipart/report
+multipart/signed
+multipart/voice-message
+text/calendar ics ifb
+text/css css
+text/csv csv
+text/directory
+text/dns
+text/enriched
+text/html html htm
+text/parityfec
+text/plain txt text conf def list log in
+text/prs.fallenstein.rst
+text/prs.lines.tag dsc
+text/red
+text/rfc822-headers
+text/richtext rtx
+text/rtf
+text/rtp-enc-aescm128
+text/rtx
+text/sgml sgml sgm
+text/t140
+text/tab-separated-values tsv
+text/troff t tr roff man me ms
+text/ulpfec
+text/uri-list uri uris urls
+text/vnd.abc
+text/vnd.curl
+text/vnd.dmclientscript
+text/vnd.esmertec.theme-descriptor
+text/vnd.fly fly
+text/vnd.fmi.flexstor flx
+text/vnd.graphviz gv
+text/vnd.in3d.3dml 3dml
+text/vnd.in3d.spot spot
+text/vnd.iptc.newsml
+text/vnd.iptc.nitf
+text/vnd.latex-z
+text/vnd.motorola.reflex
+text/vnd.ms-mediapackage
+text/vnd.net2phone.commcenter.command
+text/vnd.si.uricatalogue
+text/vnd.sun.j2me.app-descriptor jad
+text/vnd.trolltech.linguist
+text/vnd.wap.si
+text/vnd.wap.sl
+text/vnd.wap.wml wml
+text/vnd.wap.wmlscript wmls
+text/x-asm s asm
+text/x-c c cc cxx cpp h hh dic
+text/x-fortran f for f77 f90
+text/x-pascal p pas
+text/x-java-source java
+text/x-setext etx
+text/x-uuencode uu
+text/x-vcalendar vcs
+text/x-vcard vcf
+text/xml
+text/xml-external-parsed-entity
+video/3gpp 3gp
+video/3gpp-tt
+video/3gpp2 3g2
+video/bmpeg
+video/bt656
+video/celb
+video/dv
+video/h261 h261
+video/h263 h263
+video/h263-1998
+video/h263-2000
+video/h264 h264
+video/jpeg jpgv
+video/jpeg2000
+video/jpm jpm jpgm
+video/mj2 mj2 mjp2
+video/mp1s
+video/mp2p
+video/mp2t
+video/mp4 mp4 mp4v mpg4
+video/mp4v-es
+video/mpeg mpeg mpg mpe m1v m2v
+video/mpeg4-generic
+video/mpv
+video/nv
+video/ogg ogv
+video/parityfec
+video/pointer
+video/quicktime qt mov
+video/raw
+video/rtp-enc-aescm128
+video/rtx
+video/smpte292m
+video/ulpfec
+video/vc1
+video/vnd.cctv
+video/vnd.dlna.mpeg-tts
+video/vnd.fvt fvt
+video/vnd.hns.video
+video/vnd.iptvforum.1dparityfec-1010
+video/vnd.iptvforum.1dparityfec-2005
+video/vnd.iptvforum.2dparityfec-1010
+video/vnd.iptvforum.2dparityfec-2005
+video/vnd.iptvforum.ttsavc
+video/vnd.iptvforum.ttsmpeg2
+video/vnd.motorola.video
+video/vnd.motorola.videop
+video/vnd.mpegurl mxu m4u
+video/vnd.ms-playready.media.pyv pyv
+video/vnd.nokia.interleaved-multimedia
+video/vnd.nokia.videovoip
+video/vnd.objectvideo
+video/vnd.sealed.mpeg1
+video/vnd.sealed.mpeg4
+video/vnd.sealed.swf
+video/vnd.sealedmedia.softseal.mov
+video/vnd.vivo viv
+video/x-fli fli
+video/x-ms-asf asf asx
+video/x-ms-wm wm
+video/x-ms-wmv wmv
+video/x-ms-wmx wmx
+video/x-ms-wvx wvx
+video/x-msvideo avi
+video/x-sgi-movie movie
+x-conference/x-cooltalk ice
Added: trunk/dports/sysutils/backuppc/files/org.macports.backuppc.apache2.plist
===================================================================
--- trunk/dports/sysutils/backuppc/files/org.macports.backuppc.apache2.plist (rev 0)
+++ trunk/dports/sysutils/backuppc/files/org.macports.backuppc.apache2.plist 2009-08-03 19:28:26 UTC (rev 54888)
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>Label</key>
+ <string>net.sourceforge.backuppc.httpd</string>
+ <key>KeepAlive</key>
+ <true/>
+ <key>RunAtLoad</key>
+ <true/>
+ <key>ProgramArguments</key>
+ <array>
+ <string>@@PREFIX@@/apache2/bin/httpd</string>
+ <string>-f</string>
+ <string>@@CONFPATH@@/httpd.conf</string>
+ <string>-D</string>
+ <string>FOREGROUND</string>
+ </array>
+</dict>
+</plist>
Added: trunk/dports/sysutils/backuppc/files/patch-configure.pl.diff
===================================================================
--- trunk/dports/sysutils/backuppc/files/patch-configure.pl.diff (rev 0)
+++ trunk/dports/sysutils/backuppc/files/patch-configure.pl.diff 2009-08-03 19:28:26 UTC (rev 54888)
@@ -0,0 +1,23 @@
+--- configure.pl (saved version)
++++ (current document)
+@@ -231,9 +231,9 @@
+ #
+ if ( $opts{fhs} ) {
+ $Conf{TopDir} ||= "/data/BackupPC";
+- $Conf{ConfDir} ||= $opts{"config-dir"} || "/etc/BackupPC";
++ $Conf{ConfDir} ||= $opts{"config-dir"} || "@@PREFIX@@/etc/BackupPC";
+ $Conf{InstallDir} ||= "/usr/local/BackupPC";
+- $Conf{LogDir} ||= $opts{"log-dir"} || "/var/log/BackupPC";
++ $Conf{LogDir} = "@@PREFIX@@/var/log/BackupPC";;
+ }
+
+ #
+@@ -265,7 +265,7 @@
+ }
+ $Conf{$Programs{$prog}} = $path if ( !length($Conf{$Programs{$prog}}) );
+ }
+-
++$Conf{$Programs{'gtar/tar'}} = "@@PREFIX@@/bin/gnutar";
+ while ( 1 ) {
+ print <<EOF;
+
Added: trunk/dports/sysutils/backuppc/files/patch-lib-backuppc-cgi-view.pm.diff
===================================================================
--- trunk/dports/sysutils/backuppc/files/patch-lib-backuppc-cgi-view.pm.diff (rev 0)
+++ trunk/dports/sysutils/backuppc/files/patch-lib-backuppc-cgi-view.pm.diff 2009-08-03 19:28:26 UTC (rev 54888)
@@ -0,0 +1,11 @@
+--- lib/BackupPC/CGI/View.pm 2007-11-25 19:00:07.000000000 -0800
++++ lib/BackupPC/CGI/View.pm.new 2009-08-03 11:28:00.000000000 -0700
+@@ -86,7 +86,7 @@
+ $file = $bpc->ConfDir() . "/hosts";
+ $linkHosts = 1;
+ } elsif ( $type eq "docs" ) {
+- $file = $bpc->InstallDir() . "/doc/BackupPC.html";
++ $file = "@@PREFIX@@share/doc/BackupPC/BackupPC.html";
+ } elsif ( $host ne "" ) {
+ if ( !defined($In{num}) ) {
+ # get the latest LOG file
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090803/7f2ba2b1/attachment-0001.html>
More information about the macports-changes
mailing list