Date: Monday, May 13, 2013 @ 16:38:46 Author: spupykin Revision: 90727
archrelease: copy trunk to community-any Added: trac/repos/community-any/PKGBUILD (from rev 90726, trac/trunk/PKGBUILD) trac/repos/community-any/license.txt (from rev 90726, trac/trunk/license.txt) trac/repos/community-any/trac.install (from rev 90726, trac/trunk/trac.install) trac/repos/community-any/tracd.conf (from rev 90726, trac/trunk/tracd.conf) trac/repos/community-any/tracd.service (from rev 90726, trac/trunk/tracd.service) Deleted: trac/repos/community-any/PKGBUILD trac/repos/community-any/license.txt trac/repos/community-any/trac.install trac/repos/community-any/tracd trac/repos/community-any/tracd.conf trac/repos/community-any/tracd.service ---------------+ PKGBUILD | 87 +++++++++++++++++++++++++++----------------------------- license.txt | 58 ++++++++++++++++++------------------- trac.install | 64 ++++++++++++++++++++--------------------- tracd | 48 ------------------------------ tracd.conf | 28 +++++++++--------- tracd.service | 22 +++++++------- 6 files changed, 128 insertions(+), 179 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2013-05-13 14:38:29 UTC (rev 90726) +++ PKGBUILD 2013-05-13 14:38:46 UTC (rev 90727) @@ -1,45 +0,0 @@ -# $Id$ -# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> -# Contributor: Rubin Simons <ru...@xs4all.nl> - -pkgname=trac -pkgver=1.0.1 -pkgrel=1 -pkgdesc="Trac Integrated SCM & Project Management using Apache & Subversion." -arch=('any') -url="http://trac.edgewall.org/" -license=('BSD') -depends=(python2 setuptools python2-genshi python2-babel) -makedepends=(clearsilver) -install=trac.install -backup=("etc/conf.d/tracd.conf") -source=(http://ftp.edgewall.com/pub/trac/Trac-$pkgver.tar.gz - license.txt - tracd - tracd.service - tracd.conf) -md5sums=('c869fa40e29fa4597e2c9c960de9f2f3' - 'af9a4064fd7a5759fee0fc288f749977' - '907d7bfeb5131f1bf7444b64d18e7eb2' - '6dc659f6a4c0247173ae7fab4d8fee6e' - '67db455554d661c725baf3057bd13534') - -package() { - cd $srcdir/Trac-$pkgver - - # python2 fix - for file in trac/admin/console.py trac/test.py trac/tests/functional/*.py \ - trac/web/*.py trac/wiki/default-pages/TracFastCgi \ - contrib/cgi-bin/trac.{f,}cgi; do - sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' $file - sed -i 's_#!/usr/bin/python_#!/usr/bin/python2_' $file - done - - python2 setup.py install --prefix=/usr --root=$pkgdir - install -D -m755 ../tracd $pkgdir/etc/rc.d/tracd - install -D -m644 ../tracd.conf $pkgdir/etc/conf.d/tracd.conf - install -D -m644 ../license.txt $pkgdir/usr/share/licenses/trac/license.txt - install -D -m0755 contrib/cgi-bin/trac.cgi $pkgdir/usr/share/trac/trac.cgi - install -D -m0755 contrib/cgi-bin/trac.fcgi $pkgdir/usr/share/trac/trac.fcgi - install -Dm0644 $srcdir/tracd.service $pkgdir/usr/lib/systemd/system/tracd.service -} Copied: trac/repos/community-any/PKGBUILD (from rev 90726, trac/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2013-05-13 14:38:46 UTC (rev 90727) @@ -0,0 +1,42 @@ +# $Id$ +# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> +# Contributor: Rubin Simons <ru...@xs4all.nl> + +pkgname=trac +pkgver=1.0.1 +pkgrel=2 +pkgdesc="Trac Integrated SCM & Project Management using Apache & Subversion." +arch=('any') +url="http://trac.edgewall.org/" +license=('BSD') +depends=(python2 setuptools python2-genshi python2-babel) +makedepends=(clearsilver) +install=trac.install +backup=("etc/conf.d/tracd.conf") +source=(http://ftp.edgewall.com/pub/trac/Trac-$pkgver.tar.gz + license.txt + tracd.service + tracd.conf) +md5sums=('c869fa40e29fa4597e2c9c960de9f2f3' + 'af9a4064fd7a5759fee0fc288f749977' + '6dc659f6a4c0247173ae7fab4d8fee6e' + '67db455554d661c725baf3057bd13534') + +package() { + cd $srcdir/Trac-$pkgver + + # python2 fix + for file in trac/admin/console.py trac/test.py trac/tests/functional/*.py \ + trac/web/*.py trac/wiki/default-pages/TracFastCgi \ + contrib/cgi-bin/trac.{f,}cgi; do + sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' $file + sed -i 's_#!/usr/bin/python_#!/usr/bin/python2_' $file + done + + python2 setup.py install --prefix=/usr --root=$pkgdir + install -D -m644 ../tracd.conf $pkgdir/etc/conf.d/tracd.conf + install -D -m644 ../license.txt $pkgdir/usr/share/licenses/trac/license.txt + install -D -m0755 contrib/cgi-bin/trac.cgi $pkgdir/usr/share/trac/trac.cgi + install -D -m0755 contrib/cgi-bin/trac.fcgi $pkgdir/usr/share/trac/trac.fcgi + install -Dm0644 $srcdir/tracd.service $pkgdir/usr/lib/systemd/system/tracd.service +} Deleted: license.txt =================================================================== --- license.txt 2013-05-13 14:38:29 UTC (rev 90726) +++ license.txt 2013-05-13 14:38:46 UTC (rev 90727) @@ -1,29 +0,0 @@ -Copyright (C) 2003-2005 Edgewall Software -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. -2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the - distribution. -3. The name of the author may not be used to endorse or promote - products derived from this software without specific prior - written permission. - -THIS SOFTWARE IS PROVIDED BY THE AUTHOR `AS IS'' AND ANY EXPRESS -OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY -DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - Copied: trac/repos/community-any/license.txt (from rev 90726, trac/trunk/license.txt) =================================================================== --- license.txt (rev 0) +++ license.txt 2013-05-13 14:38:46 UTC (rev 90727) @@ -0,0 +1,29 @@ +Copyright (C) 2003-2005 Edgewall Software +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. +3. The name of the author may not be used to endorse or promote + products derived from this software without specific prior + written permission. + +THIS SOFTWARE IS PROVIDED BY THE AUTHOR `AS IS'' AND ANY EXPRESS +OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY +DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + Deleted: trac.install =================================================================== --- trac.install 2013-05-13 14:38:29 UTC (rev 90726) +++ trac.install 2013-05-13 14:38:46 UTC (rev 90727) @@ -1,32 +0,0 @@ -pre_install() { - /bin/true -} - -post_install() { - echo "-- Please read http://trac.edgewall.org/wiki/TracInstall to install" - echo "-- additional requirements" - echo "--" - echo "-- DB engines are mandatory!!!" - /bin/true -} - -pre_upgrade() { - /bin/true -} - -post_upgrade() { - echo "-- Please read http://trac.edgewall.org/wiki/TracInstall to install" - echo "-- additional requirements" - echo "--" - echo "-- DB engines are mandatory!!!" - /bin/true -} - -pre_remove() { - /bin/true -} - -post_remove() { - /bin/true -} - Copied: trac/repos/community-any/trac.install (from rev 90726, trac/trunk/trac.install) =================================================================== --- trac.install (rev 0) +++ trac.install 2013-05-13 14:38:46 UTC (rev 90727) @@ -0,0 +1,32 @@ +pre_install() { + /bin/true +} + +post_install() { + echo "-- Please read http://trac.edgewall.org/wiki/TracInstall to install" + echo "-- additional requirements" + echo "--" + echo "-- DB engines are mandatory!!!" + /bin/true +} + +pre_upgrade() { + /bin/true +} + +post_upgrade() { + echo "-- Please read http://trac.edgewall.org/wiki/TracInstall to install" + echo "-- additional requirements" + echo "--" + echo "-- DB engines are mandatory!!!" + /bin/true +} + +pre_remove() { + /bin/true +} + +post_remove() { + /bin/true +} + Deleted: tracd =================================================================== --- tracd 2013-05-13 14:38:29 UTC (rev 90726) +++ tracd 2013-05-13 14:38:46 UTC (rev 90727) @@ -1,48 +0,0 @@ -#!/bin/sh - -. /etc/conf.d/tracd.conf -. /etc/rc.conf -. /etc/rc.d/functions - -DAEMON_NAME=tracd - -if [ -z "$PORT" ]; then - PORT="-p 8080" -else - PORT="-p $PORT" -fi - -if [ -z "$AUTH" ]; then - AUTH= -else - AUTH="--auth ${AUTH//;/ --auth }" -fi - -case "$1" in - start) - if [ -z "$PROJECT" ]; then - echo "You need to set the project path in /etc/conf.d/${DAEMON_NAME}.conf" - exit 1 - fi - stat_busy "Starting $DAEMON_NAME: " - tracd -d $HOSTNAME $PORT $AUTH $PROJECT - if [ $? -gt 0 ]; then - stat_fail - else - add_daemon $DAEMON_NAME - stat_done - fi - ;; - stop) - stat_busy "Shutting down $DAEMON_NAME: " - kill `ps ax|grep pyth|grep tracd|awk -- "{print \\$1;}"` - rm_daemon $DAEMON_NAME - stat_done - ;; - reload|restart) - $0 stop - $0 start - ;; - *) - echo "Usage: $0 {start|stop|restart|reload}" -esac Deleted: tracd.conf =================================================================== --- tracd.conf 2013-05-13 14:38:29 UTC (rev 90726) +++ tracd.conf 2013-05-13 14:38:46 UTC (rev 90727) @@ -1,14 +0,0 @@ -# configuration for trac standalone daemon -# see http://projects.edgewall.com/trac/wiki/TracStandalone -# - -# PORT : port to be used by tracd ( option -p ) -PORT=8080 - -# AUTH : file to use for authentication -# format : project,digestfile,realm -AUTH= - -# PROJECT : list of project to serve, you can place more than one project. -# PROJECT="/path/to/project1 /path/to/project2" -PROJECT= Copied: trac/repos/community-any/tracd.conf (from rev 90726, trac/trunk/tracd.conf) =================================================================== --- tracd.conf (rev 0) +++ tracd.conf 2013-05-13 14:38:46 UTC (rev 90727) @@ -0,0 +1,14 @@ +# configuration for trac standalone daemon +# see http://projects.edgewall.com/trac/wiki/TracStandalone +# + +# PORT : port to be used by tracd ( option -p ) +PORT=8080 + +# AUTH : file to use for authentication +# format : project,digestfile,realm +AUTH= + +# PROJECT : list of project to serve, you can place more than one project. +# PROJECT="/path/to/project1 /path/to/project2" +PROJECT= Deleted: tracd.service =================================================================== --- tracd.service 2013-05-13 14:38:29 UTC (rev 90726) +++ tracd.service 2013-05-13 14:38:46 UTC (rev 90727) @@ -1,11 +0,0 @@ -[Unit] -Description=Trac service -After=network.target remote-fs.target nss-lookup.target - -[Service] -Type=forking -EnvironmentFile=/etc/conf.d/tracd.conf -ExecStart=tracd -d $HOSTNAME -p $PORT --auth ${AUTH//;/ --auth } $PROJECT - -[Install] -WantedBy=multi-user.target Copied: trac/repos/community-any/tracd.service (from rev 90726, trac/trunk/tracd.service) =================================================================== --- tracd.service (rev 0) +++ tracd.service 2013-05-13 14:38:46 UTC (rev 90727) @@ -0,0 +1,11 @@ +[Unit] +Description=Trac service +After=network.target remote-fs.target nss-lookup.target + +[Service] +Type=forking +EnvironmentFile=/etc/conf.d/tracd.conf +ExecStart=tracd -d $HOSTNAME -p $PORT --auth ${AUTH//;/ --auth } $PROJECT + +[Install] +WantedBy=multi-user.target