diff options
author | clsung <clsung@FreeBSD.org> | 2012-03-03 01:00:35 +0800 |
---|---|---|
committer | clsung <clsung@FreeBSD.org> | 2012-03-03 01:00:35 +0800 |
commit | 183de0585a531e69714f9e23d6cc5f9baa9c6cb6 (patch) | |
tree | 4695644729036153abb5f7ef9e14162d21aa1b0d | |
parent | 7005a25dda3701dd17d2f6bcd57654969fadf252 (diff) | |
download | freebsd-ports-gnome-183de0585a531e69714f9e23d6cc5f9baa9c6cb6.tar.gz freebsd-ports-gnome-183de0585a531e69714f9e23d6cc5f9baa9c6cb6.tar.zst freebsd-ports-gnome-183de0585a531e69714f9e23d6cc5f9baa9c6cb6.zip |
- Update to 0.12.3
Obtained from: decke (via irc)
-rw-r--r-- | www/trac/Makefile | 3 | ||||
-rw-r--r-- | www/trac/distinfo | 4 | ||||
-rw-r--r-- | www/trac/files/patch-trac__util__daemon.py | 25 |
3 files changed, 28 insertions, 4 deletions
diff --git a/www/trac/Makefile b/www/trac/Makefile index 4875342567ef..89c74e664454 100644 --- a/www/trac/Makefile +++ b/www/trac/Makefile @@ -6,8 +6,7 @@ # PORTNAME= trac -PORTVERSION= 0.12.2 -PORTREVISION= 2 +PORTVERSION= 0.12.3 CATEGORIES= www devel python MASTER_SITES= http://ftp.edgewall.com/pub/trac/ \ ftp://ftp.edgewall.com/pub/trac/ diff --git a/www/trac/distinfo b/www/trac/distinfo index c5a6d549ee2d..ed64371b59c0 100644 --- a/www/trac/distinfo +++ b/www/trac/distinfo @@ -1,2 +1,2 @@ -SHA256 (Trac-0.12.2.tar.gz) = c5b41da9a2a1464f9f5a42f8624b3a9cf3cb96f8ffbbdb17bf3cb01b06280ec6 -SIZE (Trac-0.12.2.tar.gz) = 2208361 +SHA256 (Trac-0.12.3.tar.gz) = 0eefacc5ebb91158ed7351b8f9b2eec7f45ce03b692bdc72a3c8061951174506 +SIZE (Trac-0.12.3.tar.gz) = 2239934 diff --git a/www/trac/files/patch-trac__util__daemon.py b/www/trac/files/patch-trac__util__daemon.py new file mode 100644 index 000000000000..2fa8e904f321 --- /dev/null +++ b/www/trac/files/patch-trac__util__daemon.py @@ -0,0 +1,25 @@ +Revert r10799 which breaks tracd startup + +beta# /usr/local/etc/rc.d/tracd start +Starting tracd. +Error writing to pid file: IOError: [Errno 2] No such file or directory: '/var/db/trac/redports/tracd.pid' +/usr/local/etc/rc.d/tracd: WARNING: failed to start tracd + +See: http://trac.edgewall.org/changeset/10799/ +--- trac/util/daemon.py.orig 2012-02-06 21:53:52.000000000 +0100 ++++ trac/util/daemon.py 2012-02-07 10:38:32.414621956 +0100 +@@ -44,14 +44,6 @@ + if e.errno != errno.ESRCH: + raise + +- # The pid file must be writable +- try: +- fileobj = open(pidfile, 'r+') +- fileobj.close() +- except IOError, e: +- from trac.util.text import exception_to_unicode +- sys.exit('Error writing to pid file: %s' % exception_to_unicode(e)) +- + # Perform first fork + pid = os.fork() + if pid > 0: |