[arch-commits] Commit in trac/repos (6 files)

Ángel Velásquez angvp at nymeria.archlinux.org
Mon Aug 19 11:14:15 UTC 2013


    Date: Monday, August 19, 2013 @ 13:14:15
  Author: angvp
Revision: 96034

archrelease: copy trunk to community-testing-any

Added:
  trac/repos/community-testing-any/
  trac/repos/community-testing-any/PKGBUILD
    (from rev 96033, trac/trunk/PKGBUILD)
  trac/repos/community-testing-any/license.txt
    (from rev 96033, trac/trunk/license.txt)
  trac/repos/community-testing-any/trac.install
    (from rev 96033, trac/trunk/trac.install)
  trac/repos/community-testing-any/tracd.conf
    (from rev 96033, trac/trunk/tracd.conf)
  trac/repos/community-testing-any/tracd.service
    (from rev 96033, trac/trunk/tracd.service)

---------------+
 PKGBUILD      |   42 ++++++++++++++++++++++++++++++++++++++++++
 license.txt   |   29 +++++++++++++++++++++++++++++
 trac.install  |   32 ++++++++++++++++++++++++++++++++
 tracd.conf    |   14 ++++++++++++++
 tracd.service |   11 +++++++++++
 5 files changed, 128 insertions(+)

Copied: trac/repos/community-testing-any/PKGBUILD (from rev 96033, trac/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2013-08-19 11:14:15 UTC (rev 96034)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Rubin Simons <rubin at xs4all.nl>
+
+pkgname=trac
+pkgver=1.0.1
+pkgrel=4
+pkgdesc="Trac Integrated SCM & Project Management using Apache & Subversion."
+arch=('any')
+url="http://trac.edgewall.org/"
+license=('BSD')
+depends=(python2 python2-genshi python2-babel)
+makedepends=(clearsilver python2-setuptools)
+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
+}

Copied: trac/repos/community-testing-any/license.txt (from rev 96033, trac/trunk/license.txt)
===================================================================
--- community-testing-any/license.txt	                        (rev 0)
+++ community-testing-any/license.txt	2013-08-19 11:14:15 UTC (rev 96034)
@@ -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.
+

Copied: trac/repos/community-testing-any/trac.install (from rev 96033, trac/trunk/trac.install)
===================================================================
--- community-testing-any/trac.install	                        (rev 0)
+++ community-testing-any/trac.install	2013-08-19 11:14:15 UTC (rev 96034)
@@ -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
+}
+

Copied: trac/repos/community-testing-any/tracd.conf (from rev 96033, trac/trunk/tracd.conf)
===================================================================
--- community-testing-any/tracd.conf	                        (rev 0)
+++ community-testing-any/tracd.conf	2013-08-19 11:14:15 UTC (rev 96034)
@@ -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= 

Copied: trac/repos/community-testing-any/tracd.service (from rev 96033, trac/trunk/tracd.service)
===================================================================
--- community-testing-any/tracd.service	                        (rev 0)
+++ community-testing-any/tracd.service	2013-08-19 11:14:15 UTC (rev 96034)
@@ -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