first import

This commit is contained in:
wbaumann
2009-04-14 19:54:53 +00:00
commit d12d77382e
60 changed files with 28149 additions and 0 deletions

40
etc/Makefile.am Normal file
View File

@ -0,0 +1,40 @@
## Makefile for etc directory in davfs.
## Copyright (C) 2006, 2007, 2008, 2009 Werner Baumann
##
## This file is part of davfs2.
##
## davfs2 is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 3 of the License, or
## (at your option) any later version.
##
## davfs2 is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You should have received a copy of the GNU General Public License
## along with davfs2; if not, write to the Free Software Foundation,
## Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
## Process this file with automake to produce Makefile.in
dist_pkgdata_DATA = davfs2.conf secrets
pkgsysconfdir = $(sysconfdir)/@PACKAGE@
install-data-local: $(dist_pkgdata_DATA)
@$(NORMAL_INSTALL)
$(mkinstalldirs) $(DESTDIR)$(pkgsysconfdir)
$(INSTALL_DATA) -b davfs2.conf $(DESTDIR)$(pkgsysconfdir)/davfs2.conf
$(INSTALL_DATA) -b -m 600 secrets $(DESTDIR)$(pkgsysconfdir)/secrets
$(mkinstalldirs) $(DESTDIR)$(pkgsysconfdir)/certs
$(mkinstalldirs) $(DESTDIR)$(pkgsysconfdir)/certs/private
chmod 700 $(DESTDIR)$(pkgsysconfdir)/certs/private
uninstall-local:
@$(NORMAL_UNINSTALL)
@list='$(dist_pkgdata_DATA)'; for p in $$list; do \
f="`echo $$p | sed -e 's|^.*/||'`"; \
echo " rm -f $(DESTDIR)$(pkgsysconfdir)/$$f"; \
rm -f $(DESTDIR)$(pkgsysconfdir)/$$f; \
done

72
etc/davfs2.conf Normal file
View File

@ -0,0 +1,72 @@
# davfs2 configuration file 2009-04-12
# version 9
# ------------------------------------
# Copyright (C) 2006, 2007, 2008, 2009 Werner Baumann
# Copying and distribution of this file, with or without modification, are
# permitted in any medium without royalty provided the copyright notice
# and this notice are preserved.
# Please read the davfs2.conf (5) man page for a description of the
# configuration options and syntax rules.
# Available options and default values
# ====================================
# General Options
# ---------------
# dav_user davfs2 # system wide config file only
# dav_group davfs2 # system wide config file only
# ignore_home # system wide config file only
# kernel_fs fuse
# buf_size 16 # KiByte
# WebDAV Related Options
# ----------------------
# use_proxy 1 # system wide config file only
# proxy # system wide config file only
# servercert
# clientcert
# secrets ~/.davfs2/secrets # user config file only
# ask_auth 1
# use_locks 1
# lock_owner <user-name>
# lock_timeout 1800 # seconds
# lock_refresh 60 # seconds
# use_expect100 0
# if_match_bug 0
# drop_weak_etags 0
# allow_cookie 0
# precheck 1
# ignore_dav_header 0
# server_charset
# connect_timeout 10 # seconds
# read_timeout 30 # seconds
# retry 30 # seconds
# max_retry 300 # seconds
# add_header
# Cache Related Options
# ---------------------
# backup_dir lost+found
# cache_dir /var/cache/davfs2 # system wide cache
# ~/.davfs2/cache # per user cache
# cache_size 50 # MiByte
# table_size 1024
# dir_refresh 60 # seconds
# file_refresh 1 # second
# delay_upload 10
# gui_optimize 0
# Debugging Options
# -----------------
# debug # possible values: config, kernel, cache, http, xml,
# httpauth, locks, ssl, httpbody, secrets, most

68
etc/secrets Normal file
View File

@ -0,0 +1,68 @@
# davfs2 secrets file 2009-04-12
# version 4
# -------------------------------
# Copyright (C) 2006, 2007, 2008, 2009 Werner Baumann
# Copying and distribution of this file, with or without modification, are
# permitted in any medium without royalty provided the copyright notice
# and this notice are preserved.
# # This file must be readable and writeable by the owner only (mode 0600).
# This file contains user-name and password for the proxy, the
# WebDAV resources and decryption passwords for client certificates.
# Comments are indicated by a '#' character and the rest of the line
# is ignored. Empty lines are ignored too.
# Each line consists of two or three items separated by spaces or tabs.
# If an item contains one of the characters space, tab, #, \ or ", this
# character must be escaped by a preceding \. Alternatively, the item
# may be enclosed in double quotes.
# Proxy Line
# ----------
# A proxy line consists of the fully qualified domain name of the proxy,
# the user-name and the password. The proxy name must not contain a scheme
# or path segment, but a port number should be added, separated by a colon.
# The password my be omitted.
# Instead of the name of the proxy, the keyword "proxy" may be used.
# Examples
# foo.bar:3245 otto my\ secret
# foo.bar otto "my secret"
# proxy otto "my secret"
# Credential Line
# ---------------
# A credential line consists of the mount-point, the user-name and
# the password. The mount-point must be an absolute path, starting
# with /. The password may be omitted.
# For compatibility with older versions, instead of the mount-point
# the URL may be given. The URL must contain scheme, fully qualified
# domain name and path. If the path segment is missing, / is assumed.
# Examples
# /home/otto/foo otto g3H\"x\ 7z\\
# /media/dav/bar otto geheim
# Old style
# "http://foo.bar/my documents" otto "geh # heim"
# https://foo.bar:333/dav otto geh\ \#\ heim
# Password for Client Certificate
# -------------------------------
# It must contain the name of the certificate file and the encryption
# password. The name must be either absolute (starting with /) or the
# file-name only. If it is not absolute, it is assumed to be in the
# standard directory for client certificates.
# Examples
# /home/otto/.davfs2/certs/private/otto.crt geheim
# otto_private.crt "this is extraordinary secret"
# "otto private.crt" this\ is\ secret,\ too.