svn commit: r378519 - in head/shells/lshell: . files

John Marino marino at FreeBSD.org
Fri Feb 6 10:07:21 UTC 2015


Author: marino
Date: Fri Feb  6 10:07:19 2015
New Revision: 378519
URL: https://svnweb.freebsd.org/changeset/ports/378519
QAT: https://qat.redports.org/buildarchive/r378519/

Log:
  shells/lshell: fix syslog file location (/dev/log => /var/run/log)
  
  PR:		195245
  Submitted by:	dam (my.gd)
  Approved by:	n/a (unmaintained)

Added:
  head/shells/lshell/files/
  head/shells/lshell/files/patch-lshell_checkconfig.py   (contents, props changed)
Modified:
  head/shells/lshell/Makefile

Modified: head/shells/lshell/Makefile
==============================================================================
--- head/shells/lshell/Makefile	Fri Feb  6 09:59:17 2015	(r378518)
+++ head/shells/lshell/Makefile	Fri Feb  6 10:07:19 2015	(r378519)
@@ -3,6 +3,7 @@
 
 PORTNAME=	lshell
 PORTVERSION=	0.9.16
+PORTREVISION=	1
 CATEGORIES=	shells
 MASTER_SITES=	SF
 

Added: head/shells/lshell/files/patch-lshell_checkconfig.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/shells/lshell/files/patch-lshell_checkconfig.py	Fri Feb  6 10:07:19 2015	(r378519)
@@ -0,0 +1,11 @@
+--- lshell/checkconfig.py.orig	2013-08-19 19:59:37 UTC
++++ lshell/checkconfig.py
+@@ -307,7 +307,7 @@ class CheckConfig:
+             try:
+                 if logfilename == "syslog":
+                     from logging.handlers import SysLogHandler
+-                    syslog = SysLogHandler(address='/dev/log')
++                    syslog = SysLogHandler(address='/var/run/log')
+                     syslog.setFormatter(syslogformatter)
+                     syslog.setLevel(self.levels[self.conf['loglevel']])
+                     logger.addHandler(syslog)


More information about the svn-ports-all mailing list