Added old subversion (1.5.7) ebuild
git-svn-id: svn+ssh://svnintern.kmrc.de/projects/gentoo/iwm-overlay@13502 cbe59ace-07ea-0310-918e-868702b5370d
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
|
||||
;;; subversion site-lisp configuration
|
||||
|
||||
(add-to-list 'load-path "@SITELISP@")
|
||||
(and (< emacs-major-version 22)
|
||||
(add-to-list 'load-path "@SITELISP@/compat"))
|
||||
(add-to-list 'vc-handled-backends 'SVN)
|
||||
|
||||
(defalias 'svn-examine 'svn-status)
|
||||
(autoload 'svn-status "dsvn" "Run `svn status'." t)
|
||||
(autoload 'svn-update "dsvn" "Run `svn update'." t)
|
||||
(autoload 'svn-status "psvn"
|
||||
"Examine the status of Subversion working copy in directory DIR." t)
|
||||
@@ -0,0 +1,10 @@
|
||||
# The commented variables in this file are the defaults that are used
|
||||
# in the init-script. You don't need to uncomment them except to
|
||||
# customize them to different values.
|
||||
|
||||
# Options for svnserve
|
||||
#SVNSERVE_OPTS="--root=/var/svn"
|
||||
|
||||
# User and group as which to run svnserve
|
||||
#SVNSERVE_USER="apache"
|
||||
#SVNSERVE_GROUP="apache"
|
||||
@@ -0,0 +1,10 @@
|
||||
# The commented variables in this file are the defaults that are used
|
||||
# in the init-script. You don't need to uncomment them except to
|
||||
# customize them to different values.
|
||||
|
||||
# Options for svnserve
|
||||
#SVNSERVE_OPTS="--root=/var/svn"
|
||||
|
||||
# User and group as which to run svnserve
|
||||
SVNSERVE_USER="svn"
|
||||
SVNSERVE_GROUP="svnusers"
|
||||
@@ -0,0 +1,26 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 2004 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License, v2 or later
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/subversion/files/svnserve.initd,v 1.2 2005/08/25 13:59:48 pauldv Exp $
|
||||
|
||||
depend() {
|
||||
need net
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Starting svnserve"
|
||||
# Ensure that we run from a readable working dir, and that we do not
|
||||
# lock filesystems when being run from such a location.
|
||||
cd /
|
||||
start-stop-daemon --start --quiet --background --make-pidfile \
|
||||
--pidfile /var/run/svnserve.pid --exec /usr/bin/svnserve \
|
||||
--chuid ${SVNSERVE_USER:-apache}:${SVNSERVE_GROUP:-apache} -- \
|
||||
--foreground --daemon ${SVNSERVE_OPTS:---root=/var/svn}
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping svnserve"
|
||||
start-stop-daemon --stop --quiet --pidfile /var/run/svnserve.pid
|
||||
eend $?
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
service svn
|
||||
{
|
||||
socket_type = stream
|
||||
wait = no
|
||||
user = apache
|
||||
group = apache
|
||||
umask = 002
|
||||
protocol = tcp
|
||||
log_on_failure += USERID HOST
|
||||
port = 3690
|
||||
server = /usr/bin/svnserve
|
||||
server_args = -i
|
||||
disable = yes
|
||||
}
|
||||
Reference in New Issue
Block a user