summaryrefslogtreecommitdiff
path: root/www/trac
diff options
context:
space:
mode:
authorgdt <gdt@pkgsrc.org>2015-02-08 16:52:46 +0000
committergdt <gdt@pkgsrc.org>2015-02-08 16:52:46 +0000
commit91eedcb73421a87491fdabf27b7ab983e5ac4a18 (patch)
tree0220f38c446a3d52776017ec223adf8ec7843d35 /www/trac
parentb5bd227bd9db21901fa46d7778b9b33ed83e4645 (diff)
downloadpkgsrc-91eedcb73421a87491fdabf27b7ab983e5ac4a18.tar.gz
Drop patch as superceded by upstream changes.
Upstream says that this patch is no longer necessary because an equivalent change was applied elsewhere in the code. Until we're sure, park the patch by dropping from distinfo and commenting out the patch contents, leaving a note in the patchfile about why.
Diffstat (limited to 'www/trac')
-rw-r--r--www/trac/Makefile3
-rw-r--r--www/trac/distinfo3
-rw-r--r--www/trac/patches/patch-tracopt_versioncontrol_git_PyGIT.py58
3 files changed, 35 insertions, 29 deletions
diff --git a/www/trac/Makefile b/www/trac/Makefile
index 8d1c4dd43a3..bf4b2bd0ff2 100644
--- a/www/trac/Makefile
+++ b/www/trac/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.68 2015/02/08 14:27:23 gdt Exp $
+# $NetBSD: Makefile,v 1.69 2015/02/08 16:52:46 gdt Exp $
DISTNAME= Trac-1.0.4
PKGNAME= ${DISTNAME:tl}
+PKGREVISION= 1
CATEGORIES= devel www
MASTER_SITES= http://ftp.edgewall.org/pub/trac/ \
ftp://ftp.edgewall.org/pub/trac/
diff --git a/www/trac/distinfo b/www/trac/distinfo
index e39a851cc7b..787536b45bc 100644
--- a/www/trac/distinfo
+++ b/www/trac/distinfo
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.37 2015/02/08 14:27:23 gdt Exp $
+$NetBSD: distinfo,v 1.38 2015/02/08 16:52:46 gdt Exp $
SHA1 (Trac-1.0.4.tar.gz) = 126698656e5d1709fb91985b28c3492c7a70e3b2
RMD160 (Trac-1.0.4.tar.gz) = 50b7b4b9a2c7d087d89159b4bf6c8e617ef8aa81
Size (Trac-1.0.4.tar.gz) = 3579886 bytes
-SHA1 (patch-tracopt_versioncontrol_git_PyGIT.py) = 71c82c57f4d47dee47beb5e270d7fb7c363d0cf6
diff --git a/www/trac/patches/patch-tracopt_versioncontrol_git_PyGIT.py b/www/trac/patches/patch-tracopt_versioncontrol_git_PyGIT.py
index 2246411874d..2292ef2f3d8 100644
--- a/www/trac/patches/patch-tracopt_versioncontrol_git_PyGIT.py
+++ b/www/trac/patches/patch-tracopt_versioncontrol_git_PyGIT.py
@@ -1,4 +1,10 @@
-$NetBSD: patch-tracopt_versioncontrol_git_PyGIT.py,v 1.2 2015/01/18 14:46:09 gdt Exp $
+$NetBSD: patch-tracopt_versioncontrol_git_PyGIT.py,v 1.3 2015/02/08 16:52:46 gdt Exp $
+
+2015-02-08: upstream says that this is unnecesary >= 1.0.2 because of
+http://trac.edgewall.org/changeset/11710
+which has since been refactored into a utils file.
+Hence it is not in distinfo, and parked here commented out until this is
+confirmed.
The git browser can fail if the git log process has already exited when
trac tries to terminate it (resulting in a python exception).
@@ -6,30 +12,30 @@ trac tries to terminate it (resulting in a python exception).
This patch should be applied upstream; Reported to trac-devel@ on
2014-03-11 and on 2015-01-18.
---- tracopt/versioncontrol/git/PyGIT.py.orig 2013-02-01 00:47:41.000000000 +0000
-+++ tracopt/versioncontrol/git/PyGIT.py
-@@ -913,7 +913,11 @@ class Storage(object):
- except ValueError:
- break
- f.close()
-- terminate(p[0])
-+ # The process may or may not have finished.
-+ try:
-+ terminate(p[0])
-+ except:
-+ pass
- p[0].wait()
- p[:] = []
- while True:
-@@ -930,7 +934,10 @@ class Storage(object):
+# --- tracopt/versioncontrol/git/PyGIT.py.orig 2013-02-01 00:47:41.000000000 +0000
+# +++ tracopt/versioncontrol/git/PyGIT.py
+# @@ -913,7 +913,11 @@ class Storage(object):
+# except ValueError:
+# break
+# f.close()
+# - terminate(p[0])
+# + # The process may or may not have finished.
+# + try:
+# + terminate(p[0])
+# + except:
+# + pass
+# p[0].wait()
+# p[:] = []
+# while True:
+# @@ -930,7 +934,10 @@ class Storage(object):
- if p:
- p[0].stdout.close()
-- terminate(p[0])
-+ try:
-+ terminate(p[0])
-+ except:
-+ pass
- p[0].wait()
+# if p:
+# p[0].stdout.close()
+# - terminate(p[0])
+# + try:
+# + terminate(p[0])
+# + except:
+# + pass
+# p[0].wait()
- def last_change(self, sha, path, historian=None):
+# def last_change(self, sha, path, historian=None):