Bump
Package-Manager: portage-2.2.0_alpha166 RepoMan-Options: --force
This commit is contained in:
36
www-apps/trac/files/1.0.1-git-identity.patch
Normal file
36
www-apps/trac/files/1.0.1-git-identity.patch
Normal file
@@ -0,0 +1,36 @@
|
||||
http://trac.edgewall.org/changeset/11675
|
||||
|
||||
Index: /branches/1.0-stable/tracopt/versioncontrol/git/tests/PyGIT.py
|
||||
===================================================================
|
||||
--- /branches/1.0-stable/tracopt/versioncontrol/git/tests/PyGIT.py (revision 11674)
|
||||
+++ /branches/1.0-stable/tracopt/versioncontrol/git/tests/PyGIT.py (revision 11675)
|
||||
@@ -153,4 +153,6 @@
|
||||
# create git repository and master branch
|
||||
self._git('init', self.repos_path)
|
||||
+ self._git('config', 'user.name', u"Joé")
|
||||
+ self._git('config', 'user.email', "joe@example.com")
|
||||
create_file(os.path.join(self.repos_path, '.gitignore'))
|
||||
self._git('add', '.gitignore')
|
||||
@@ -166,5 +168,5 @@
|
||||
cwd=self.repos_path)
|
||||
proc.wait()
|
||||
- assert proc.returncode == 0
|
||||
+ assert proc.returncode == 0, proc.stderr.read()
|
||||
return proc
|
||||
|
||||
@@ -181,5 +183,6 @@
|
||||
create_file(os.path.join(self.repos_path, 'tickét.txt'))
|
||||
self._git('add', 'tickét.txt')
|
||||
- self._git('commit', '-m', 'unicode-filename')
|
||||
+ self._git('commit', '-m', 'unicode-filename',
|
||||
+ '--date', 'Sun Feb 3 18:30 2013 +0100')
|
||||
storage = self._storage()
|
||||
filenames = sorted(fname for mode, type, sha, size, fname
|
||||
@@ -189,4 +192,7 @@
|
||||
self.assertEquals(u'.gitignore', filenames[0])
|
||||
self.assertEquals(u'tickét.txt', filenames[1])
|
||||
+ # check commit author, for good measure
|
||||
+ self.assertEquals(u'Joé <joe@example.com> 1359912600 +0100',
|
||||
+ storage.read_commit(storage.head())[1]['author'][0])
|
||||
|
||||
def test_unicode_branches(self):
|
||||
41
www-apps/trac/files/postinst-en.txt
Normal file
41
www-apps/trac/files/postinst-en.txt
Normal file
@@ -0,0 +1,41 @@
|
||||
Install Instructions
|
||||
====================
|
||||
|
||||
This is brief and generic information about Trac.
|
||||
|
||||
See the releases notes at http://trac.edgewall.org/wiki/TracDev/ReleaseNotes
|
||||
for the Trac version you have installed to learn about software changes and
|
||||
possible caveats.
|
||||
|
||||
Web Server
|
||||
----------
|
||||
|
||||
Trac installation depends on the web server you are using.
|
||||
|
||||
FastCGI users: see http://trac.edgewall.org/wiki/TracFastCgi
|
||||
|
||||
CGI users: see http://trac.edgewall.org/wiki/TracCgi
|
||||
|
||||
Apache 2 and mod_python users: you have to manually emerge
|
||||
www-apache/mod_python. See http://trac.edgewall.org/wiki/TracModPython
|
||||
|
||||
You can also use Trac without having to install a web server. See
|
||||
http://trac.edgewall.org/wiki/TracStandalone to know more.
|
||||
|
||||
Trac relies on the web server for users authentication. Please refer to the
|
||||
Trac wiki and to your web server documentation to set up authentication.
|
||||
|
||||
Trac environments
|
||||
-----------------
|
||||
|
||||
To complete the install, create your first Trac environment by running this
|
||||
command:
|
||||
|
||||
trac-admin /var/lib/trac/<project-name> initenv
|
||||
|
||||
Don't forget to review the configuration file! It is located at
|
||||
/var/lib/trac/<project-name>/conf/trac.ini. Consult its reference at
|
||||
http://trac.edgewall.org/wiki/TracIni
|
||||
|
||||
See http://trac.edgewall.org/wiki/TracEnvironment to know more about Trac
|
||||
environments and how to configure them.
|
||||
19
www-apps/trac/files/postupgrade-en.txt
Normal file
19
www-apps/trac/files/postupgrade-en.txt
Normal file
@@ -0,0 +1,19 @@
|
||||
Upgrade Instructions
|
||||
====================
|
||||
|
||||
This is brief and generic information about Trac.
|
||||
|
||||
See the releases notes at http://trac.edgewall.org/wiki/TracDev/ReleaseNotes
|
||||
for the Trac version you have installed to learn about software changes and
|
||||
possible caveats.
|
||||
|
||||
If you are upgrading from a previous Trac version, please follow the
|
||||
instructions here:
|
||||
|
||||
http://trac.edgewall.org/wiki/TracUpgrade
|
||||
|
||||
You will need to run trac-admin commands (upgrade, wiki upgrade...) for each
|
||||
Trac environment you have.
|
||||
|
||||
You might also want to check for new configuration options by comparing trac.ini
|
||||
file with trac.ini.sample file in the conf/ directory in each Trac environment.
|
||||
13
www-apps/trac/files/tracd.confd
Normal file
13
www-apps/trac/files/tracd.confd
Normal file
@@ -0,0 +1,13 @@
|
||||
# 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.
|
||||
|
||||
# Port for tracd
|
||||
#TRACD_PORT="8000"
|
||||
|
||||
# Options for tracd
|
||||
#TRACD_OPTS="--env-parent-dir /var/lib/trac/"
|
||||
|
||||
# User and group as which to run tracd
|
||||
#TRACD_USER="tracd"
|
||||
#TRACD_GROUP="tracd"
|
||||
27
www-apps/trac/files/tracd.initd
Executable file
27
www-apps/trac/files/tracd.initd
Executable file
@@ -0,0 +1,27 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License, v2 or later
|
||||
# $Header: /var/cvsroot/gentoo-x86/www-apps/trac/files/tracd.initd,v 1.6 2011/12/31 20:17:51 idl0r Exp $
|
||||
|
||||
depend() {
|
||||
need net
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Starting tracd"
|
||||
# tracd fails to create pidfile if started as non-root user, thus we are asking
|
||||
# s-s-d to do that. To have correct pid we avoid -d option of tracd and use
|
||||
# --background option of s-s-d.
|
||||
start-stop-daemon --start --user ${TRACD_USER:-tracd} --group ${TRACD_GROUP:-tracd} \
|
||||
--pidfile /var/run/tracd.pid --make-pidfile --background \
|
||||
--env PYTHON_EGG_CACHE="/var/lib/trac/egg-cache" \
|
||||
--exec /usr/bin/tracd -- \
|
||||
-p ${TRACD_PORT:-8000} ${TRACD_OPTS:---env-parent-dir /var/lib/trac/}
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping tracd"
|
||||
start-stop-daemon --stop --quiet --pidfile /var/run/tracd.pid
|
||||
eend $?
|
||||
}
|
||||
Reference in New Issue
Block a user