Apache2, WebDAV et Subversion

Subversion est un logiciel de gestion de “version”.

Il permet par son utilisation d'avoir tout les versions et donc suivre l'évolution d'un projet. Ce qui permet de revenir en arrière en cas de probleme.

Pour plus d'information, direction Wikipedia

Subversion

Préparation pour l'installation de Subversion

Voici ma liste de USE :

Kathryl@sandbox ~ # equery uses subversion
[ Searching for packages matching subversion... ]
[ Colour Code : set unset ]
[ Legend        : Left column  (U) - USE flags from make.conf                     ]
[                  : Right column (I) - USE flags packages was installed with ]
[ Found these USE variables for dev-util/subversion-1.4.6 ]
 U I
 + + apache2         : Add Apache2 support
 - - bash-completion : Enable bash-completion support
 + + berkdb          : Adds support for sys-libs/db (Berkeley DB for MySQL)
 - - debug           : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see http://www.gentoo.org/proj/en/qa/backtraces.xml
 - - doc             : Adds extra documentation (API, Javadoc, etc)
 - - elibc_FreeBSD   : <unknown>
 - - emacs           : Adds support for GNU Emacs
 - - extras          : Install extras scripts (examples, tools, hooks)
 - - java            : Adds support for Java
 + + nls             : Adds Native Language Support (using gettext - GNU locale utilities)
 - - nowebdav        : Disables WebDAV support via neon library
 - - perl            : Adds support/bindings for the Perl language
 - - python          : Adds support/bindings for the Python language
 - - ruby            : Adds support/bindings for the Ruby language
 + + svnserve        : Install scripts for svnserve
 - - vim-syntax      : Pulls in related vim syntax scripts

Ce qui donnera pour /etc/portage/package.use :

Kathryl@sandbox ~ # grep subversion /etc/portage/package.use 
dev-util/subversion berkdb apache2 svnserve

Installation de Subversion

Kathryl@sandbox ~ # emerge -av subversion

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] dev-util/subversion-1.4.6  USE="apache2 berkdb nls svnserve -bash-completion -debug -doc -emacs -extras -java -nowebdav -perl -python -ruby -vim-syntax" 0 kB 

Total: 1 package (1 reinstall), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No] 

Configuration de Subversion

Apache2

Installation d'Apache2

Kathryl@sandbox ~ # equery uses apache
[ Searching for packages matching apache... ]
[ Colour Code : set unset ]
[ Legend        : Left column  (U) - USE flags from make.conf                     ]
[                  : Right column (I) - USE flags packages was installed with ]
[ Found these USE variables for www-servers/apache-2.2.9 ]
 U I
 + + apache2_modules_actions         : <unknown>
 + + apache2_modules_alias           : <unknown>
 - - apache2_modules_asis            : <unknown>
 + + apache2_modules_auth_basic      : <unknown>
 - - apache2_modules_auth_digest     : <unknown>
 + + apache2_modules_authn_alias     : <unknown>
 + + apache2_modules_authn_anon      : <unknown>
 - - apache2_modules_authn_dbd       : <unknown>
 + + apache2_modules_authn_dbm       : <unknown>
 + + apache2_modules_authn_default   : <unknown>
 + + apache2_modules_authn_file      : <unknown>
 + + apache2_modules_authz_dbm       : <unknown>
 + + apache2_modules_authz_default   : <unknown>
 + + apache2_modules_authz_groupfile : <unknown>
 + + apache2_modules_authz_host      : <unknown>
 + + apache2_modules_authz_owner     : <unknown>
 + + apache2_modules_authz_user      : <unknown>
 + + apache2_modules_autoindex       : <unknown>
 + + apache2_modules_cache           : <unknown>
 - - apache2_modules_cern_meta       : <unknown>
 - - apache2_modules_charset_lite    : <unknown>
 + + apache2_modules_dav             : <unknown>
 + + apache2_modules_dav_fs          : <unknown>
 + + apache2_modules_dav_lock        : <unknown>
 - - apache2_modules_dbd             : <unknown>
 + + apache2_modules_deflate         : <unknown>
 + + apache2_modules_dir             : <unknown>
 + + apache2_modules_disk_cache      : <unknown>
 - - apache2_modules_dumpio          : <unknown>
 + + apache2_modules_env             : <unknown>
 + + apache2_modules_expires         : <unknown>
 + + apache2_modules_ext_filter      : <unknown>
 + + apache2_modules_file_cache      : <unknown>
 + + apache2_modules_filter          : <unknown>
 + + apache2_modules_headers         : <unknown>
 - - apache2_modules_ident           : <unknown>
 - - apache2_modules_imagemap        : <unknown>
 + + apache2_modules_include         : <unknown>
 + + apache2_modules_info            : <unknown>
 + + apache2_modules_log_config      : <unknown>
 - - apache2_modules_log_forensic    : <unknown>
 + + apache2_modules_logio           : <unknown>
 + + apache2_modules_mem_cache       : <unknown>
 + + apache2_modules_mime            : <unknown>
 + + apache2_modules_mime_magic      : <unknown>
 + + apache2_modules_negotiation     : <unknown>
 - - apache2_modules_proxy           : <unknown>
 - - apache2_modules_proxy_ajp       : <unknown>
 - - apache2_modules_proxy_balancer  : <unknown>
 - - apache2_modules_proxy_connect   : <unknown>
 - - apache2_modules_proxy_ftp       : <unknown>
 - - apache2_modules_proxy_http      : <unknown>
 + + apache2_modules_rewrite         : <unknown>
 + + apache2_modules_setenvif        : <unknown>
 + + apache2_modules_speling         : <unknown>
 + + apache2_modules_status          : <unknown>
 - - apache2_modules_substitute      : <unknown>
 + + apache2_modules_unique_id       : <unknown>
 + + apache2_modules_userdir         : <unknown>
 + + apache2_modules_usertrack       : <unknown>
 - - apache2_modules_version         : <unknown>
 + + apache2_modules_vhost_alias     : <unknown>
 - - apache2_mpms_event              : <unknown>
 - - apache2_mpms_itk                : <unknown>
 - - apache2_mpms_peruser            : <unknown>
 - - apache2_mpms_prefork            : <unknown>
 - - apache2_mpms_worker             : <unknown>
 - - debug                           : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see http://www.gentoo.org/proj/en/qa/backtraces.xml
 - - doc                             : Adds extra documentation (API, Javadoc, etc)
 - - ldap                            : Adds LDAP support (Lightweight Directory Access Protocol)
 - - selinux                         : !!internal use only!! Security Enhanced Linux support, this must be set by the selinux profile or breakage will occur
 - - sni                             : Enable TLS Server Name Indication (SNI) - EXPERIMENTAL!
 + + ssl                             : Adds support for Secure Socket Layer connections
 - - static                          : !!do not set this during bootstrap!! Causes binaries to be statically linked instead of dynamically
 - - suexec                          : Install suexec with apache
 - - threads                         : Adds threads support for various packages. Usually pthreads

Configuration d'Apache2

Créer un repository

wiki/webdav_subversion.txt · Dernière modification: Friday 25 July 2008 par kathryl
Flux RSS du Blog Driven by DokuWiki Gentoo Powered Valid XHTML1.0 Powered by Apache PHP Powered Coffee Powered