[arch-commits] Commit in trac/repos/community-any (12 files)
Sergej Pupykin
spupykin at nymeria.archlinux.org
Mon Apr 8 09:24:47 UTC 2013
Date: Monday, April 8, 2013 @ 11:24:47
Author: spupykin
Revision: 87854
archrelease: copy trunk to community-any
Added:
trac/repos/community-any/PKGBUILD
(from rev 87853, trac/trunk/PKGBUILD)
trac/repos/community-any/license.txt
(from rev 87853, trac/trunk/license.txt)
trac/repos/community-any/trac.install
(from rev 87853, trac/trunk/trac.install)
trac/repos/community-any/tracd
(from rev 87853, trac/trunk/tracd)
trac/repos/community-any/tracd.conf
(from rev 87853, trac/trunk/tracd.conf)
trac/repos/community-any/tracd.service
(from rev 87853, 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 | 90 ++++++++++++++++++++++++++--------------------------
license.txt | 58 ++++++++++++++++-----------------
trac.install | 64 ++++++++++++++++++-------------------
tracd | 96 ++++++++++++++++++++++++++++----------------------------
tracd.conf | 28 ++++++++--------
tracd.service | 22 ++++++------
6 files changed, 179 insertions(+), 179 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2013-04-08 09:24:21 UTC (rev 87853)
+++ PKGBUILD 2013-04-08 09:24:47 UTC (rev 87854)
@@ -1,45 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Rubin Simons <rubin at xs4all.nl>
-
-pkgname=trac
-pkgver=1.0
-pkgrel=3
-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=('e07f052ec91efc1733cb9d49743ecb32'
- 'af9a4064fd7a5759fee0fc288f749977'
- '907d7bfeb5131f1bf7444b64d18e7eb2'
- '6dc659f6a4c0247173ae7fab4d8fee6e'
- '67db455554d661c725baf3057bd13534')
-
-build() {
- 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 87853, trac/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2013-04-08 09:24:47 UTC (rev 87854)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Rubin Simons <rubin at 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
+}
Deleted: license.txt
===================================================================
--- license.txt 2013-04-08 09:24:21 UTC (rev 87853)
+++ license.txt 2013-04-08 09:24:47 UTC (rev 87854)
@@ -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 87853, trac/trunk/license.txt)
===================================================================
--- license.txt (rev 0)
+++ license.txt 2013-04-08 09:24:47 UTC (rev 87854)
@@ -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-04-08 09:24:21 UTC (rev 87853)
+++ trac.install 2013-04-08 09:24:47 UTC (rev 87854)
@@ -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 87853, trac/trunk/trac.install)
===================================================================
--- trac.install (rev 0)
+++ trac.install 2013-04-08 09:24:47 UTC (rev 87854)
@@ -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-04-08 09:24:21 UTC (rev 87853)
+++ tracd 2013-04-08 09:24:47 UTC (rev 87854)
@@ -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
Copied: trac/repos/community-any/tracd (from rev 87853, trac/trunk/tracd)
===================================================================
--- tracd (rev 0)
+++ tracd 2013-04-08 09:24:47 UTC (rev 87854)
@@ -0,0 +1,48 @@
+#!/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-04-08 09:24:21 UTC (rev 87853)
+++ tracd.conf 2013-04-08 09:24:47 UTC (rev 87854)
@@ -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 87853, trac/trunk/tracd.conf)
===================================================================
--- tracd.conf (rev 0)
+++ tracd.conf 2013-04-08 09:24:47 UTC (rev 87854)
@@ -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-04-08 09:24:21 UTC (rev 87853)
+++ tracd.service 2013-04-08 09:24:47 UTC (rev 87854)
@@ -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 87853, trac/trunk/tracd.service)
===================================================================
--- tracd.service (rev 0)
+++ tracd.service 2013-04-08 09:24:47 UTC (rev 87854)
@@ -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
More information about the arch-commits
mailing list