Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Nov 2021 11:13:58 GMT
From:      Oleksii Samorukov <samm@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: ebd032c40d75 - 2021Q4 - www/trac-devel: remove outdated patch
Message-ID:  <202111281113.1ASBDwrj086283@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch 2021Q4 has been updated by samm:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ebd032c40d75315cbc797299cca88c78c381d7e4

commit ebd032c40d75315cbc797299cca88c78c381d7e4
Author:     Oleksii Samorukov <samm@FreeBSD.org>
AuthorDate: 2021-11-25 09:02:48 +0000
Commit:     Oleksii Samorukov <samm@FreeBSD.org>
CommitDate: 2021-11-28 11:12:03 +0000

    www/trac-devel: remove outdated patch
    
    Reported by: pkg-fallout@FreeBSD.org
    PR:             258942
    MFH:            2021Q4
    
    (cherry picked from commit 33c764690e3e249e2c6481fd1ec8d26e14845e78)
---
 www/trac-devel/files/patch-trac_util_daemon.py | 23 -----------------------
 1 file changed, 23 deletions(-)

diff --git a/www/trac-devel/files/patch-trac_util_daemon.py b/www/trac-devel/files/patch-trac_util_daemon.py
deleted file mode 100644
index ba7819c27ebc..000000000000
--- a/www/trac-devel/files/patch-trac_util_daemon.py
+++ /dev/null
@@ -1,23 +0,0 @@
---- trac/util/daemon.py.orig	2020-12-20 02:35:50 UTC
-+++ trac/util/daemon.py
-@@ -68,12 +68,14 @@ def daemonize(pidfile=None, progname=None, stdin='/dev
-     # The process is now daemonized, redirect standard file descriptors
-     for stream in sys.stdout, sys.stderr:
-         stream.flush()
--    stdin = os.open(stdin, 'rb')
--    stdout = os.open(stdout, 'ab+')
--    stderr = os.open(stderr, 'ab+', 0)
--    os.dup2(stdin.fileno(), sys.stdin.fileno())
--    os.dup2(stdout.fileno(), sys.stdout.fileno())
--    os.dup2(stderr.fileno(), sys.stderr.fileno())
-+    stdin = os.open(stdin, os.O_RDONLY)
-+    stdout = os.open(stdout,  os.O_RDWR | os.O_APPEND)
-+    stderr = os.open(stderr, os.O_RDWR | os.O_APPEND)
-+    os.dup2(stdin, sys.stdin.fileno())
-+    os.dup2(stdout, sys.stdout.fileno())
-+    os.dup2(stderr, sys.stderr.fileno())
-+    for fd in stdin, stdout, stderr:
-+        os.close(fd)
- 
-     if pidfile:
-         # Register signal handlers to ensure atexit hooks are called on exit



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202111281113.1ASBDwrj086283>