[arch-commits] Commit in trac/repos/community-any (9 files)

Sergej Pupykin spupykin at nymeria.archlinux.org
Fri Sep 13 09:21:14 UTC 2013


    Date: Friday, September 13, 2013 @ 11:21:14
  Author: spupykin
Revision: 97122

archrelease: copy trunk to community-any

Added:
  trac/repos/community-any/PKGBUILD
    (from rev 97121, trac/trunk/PKGBUILD)
  trac/repos/community-any/license.txt
    (from rev 97121, trac/trunk/license.txt)
  trac/repos/community-any/trac.install
    (from rev 97121, trac/trunk/trac.install)
  trac/repos/community-any/tracd.service
    (from rev 97121, 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.conf
  trac/repos/community-any/tracd.service

---------------+
 PKGBUILD      |   81 ++++++++++++++++++++++++++------------------------------
 license.txt   |   58 ++++++++++++++++++++--------------------
 trac.install  |   43 +++++++----------------------
 tracd.conf    |   14 ---------
 tracd.service |   22 +++++++--------
 5 files changed, 90 insertions(+), 128 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2013-09-13 09:20:59 UTC (rev 97121)
+++ PKGBUILD	2013-09-13 09:21:14 UTC (rev 97122)
@@ -1,42 +0,0 @@
-# $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-any/PKGBUILD (from rev 97121, trac/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2013-09-13 09:21:14 UTC (rev 97122)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Rubin Simons <rubin at xs4all.nl>
+
+pkgname=trac
+pkgver=1.0.1
+pkgrel=5
+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)
+md5sums=('c869fa40e29fa4597e2c9c960de9f2f3'
+         'af9a4064fd7a5759fee0fc288f749977'
+         '36bad295c72e8f147724e40840ff3774')
+
+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 $srcdir/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-09-13 09:20:59 UTC (rev 97121)
+++ license.txt	2013-09-13 09:21:14 UTC (rev 97122)
@@ -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 97121, trac/trunk/license.txt)
===================================================================
--- license.txt	                        (rev 0)
+++ license.txt	2013-09-13 09:21:14 UTC (rev 97122)
@@ -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-09-13 09:20:59 UTC (rev 97121)
+++ trac.install	2013-09-13 09:21:14 UTC (rev 97122)
@@ -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 97121, trac/trunk/trac.install)
===================================================================
--- trac.install	                        (rev 0)
+++ trac.install	2013-09-13 09:21:14 UTC (rev 97122)
@@ -0,0 +1,11 @@
+post_install() {
+  echo "-- tracd.service is an example. Copy it into /etc/systemd/... and edit"
+  echo "-- Please read http://trac.edgewall.org/wiki/TracInstall to install"
+  echo "-- additional requirements"
+  echo "--"
+  echo "-- DB engines are mandatory!!!"
+}
+
+post_upgrade() {
+  echo "-- tracd.service is an example. Copy it into /etc/systemd/... and edit"
+}

Deleted: tracd.conf
===================================================================
--- tracd.conf	2013-09-13 09:20:59 UTC (rev 97121)
+++ tracd.conf	2013-09-13 09:21:14 UTC (rev 97122)
@@ -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= 

Deleted: tracd.service
===================================================================
--- tracd.service	2013-09-13 09:20:59 UTC (rev 97121)
+++ tracd.service	2013-09-13 09:21:14 UTC (rev 97122)
@@ -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 97121, trac/trunk/tracd.service)
===================================================================
--- tracd.service	                        (rev 0)
+++ tracd.service	2013-09-13 09:21:14 UTC (rev 97122)
@@ -0,0 +1,11 @@
+[Unit]
+Description=Trac service
+After=network.target remote-fs.target nss-lookup.target
+
+[Service]
+Type=forking
+# Example: copy it into /etc/systemd/ and edit.
+ExecStart=/usr/bin/tracd -d -b localhost -p 8080 --auth /tmp,/tmp/passwd,realm /tmp
+
+[Install]
+WantedBy=multi-user.target




More information about the arch-commits mailing list