www-apps/trac-1.2.3
This commit is contained in:
		
							
								
								
									
										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" | ||||
							
								
								
									
										26
									
								
								www-apps/trac/files/tracd.initd
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										26
									
								
								www-apps/trac/files/tracd.initd
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,26 @@ | ||||
| #!/sbin/openrc-run | ||||
| # Copyright 1999-2011 Gentoo Foundation | ||||
| # Distributed under the terms of the GNU General Public License, v2 or later | ||||
|  | ||||
| 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