pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/net/exabgp
Module Name: pkgsrc
Committed By: he
Date: Tue Jul 4 12:35:12 UTC 2017
Modified Files:
pkgsrc/net/exabgp: Makefile distinfo
Added Files:
pkgsrc/net/exabgp/patches: patch-lib_exabgp_application_healthcheck.py
Log Message:
Patch the healthcheck.py script in its proper place.
Provide a default syslog target of /var/run/log for NetBSD, so
that the healthcheck.py script can run on NetBSD.
Bump PKGREVISION.
To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 pkgsrc/net/exabgp/Makefile
cvs rdiff -u -r1.12 -r1.13 pkgsrc/net/exabgp/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/net/exabgp/patches/patch-lib_exabgp_application_healthcheck.py
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/net/exabgp/Makefile
diff -u pkgsrc/net/exabgp/Makefile:1.20 pkgsrc/net/exabgp/Makefile:1.21
--- pkgsrc/net/exabgp/Makefile:1.20 Tue Jun 20 14:10:16 2017
+++ pkgsrc/net/exabgp/Makefile Tue Jul 4 12:35:12 2017
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.20 2017/06/20 14:10:16 he Exp $
+# $NetBSD: Makefile,v 1.21 2017/07/04 12:35:12 he Exp $
VERSION= 3.4.19
DISTNAME= ${VERSION}
+PKGREVISION= 1
PKGNAME= exabgp-${VERSION}
EGG_NAME= exabgp-${VERSION}
CATEGORIES= net
@@ -23,16 +24,15 @@ DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9
REPLACE_PERL+= etc/exabgp/processes/dynamic-1.pl
REPLACE_PERL+= etc/exabgp/processes/watchdog-1.pl
-REPLACE_PYTHON+= etc/exabgp/processes/healthcheck.py
REPLACE_PYTHON+= etc/exabgp/processes/read-write.py
REPLACE_PYTHON+= etc/exabgp/processes/stderr-1.py
REPLACE_PYTHON+= etc/exabgp/processes/syslog-1.py
REPLACE_PYTHON+= etc/exabgp/processes/tcp-server
REPLACE_PYTHON+= lib/exabgp/application/bmp.py
REPLACE_PYTHON+= lib/exabgp/application/cli.py
+REPLACE_PYTHON+= lib/exabgp/application/healthcheck.py
REPLACE_PYTHON+= lib/exabgp/application/netlink.py
REPLACE_PYTHON+= lib/exabgp/netlink/old.py
-REPLACE_PYTHON+= lib/exabgp/netlink/route.py
REPLACE_PYTHON+= lib/exabgp/reactor/api/encoding.py
REPLACE_PYTHON+= qa/conf/api-add-remove.run
REPLACE_PYTHON+= qa/conf/api-announcement.run
Index: pkgsrc/net/exabgp/distinfo
diff -u pkgsrc/net/exabgp/distinfo:1.12 pkgsrc/net/exabgp/distinfo:1.13
--- pkgsrc/net/exabgp/distinfo:1.12 Tue Jun 20 14:10:16 2017
+++ pkgsrc/net/exabgp/distinfo Tue Jul 4 12:35:12 2017
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.12 2017/06/20 14:10:16 he Exp $
+$NetBSD: distinfo,v 1.13 2017/07/04 12:35:12 he Exp $
SHA1 (exabgp/3.4.19.tar.gz) = 8199eb40f3b533a7db1ee43e4a97213f550a4261
RMD160 (exabgp/3.4.19.tar.gz) = 4596ea5663169e09d8be5a0b5833c2f9426a7ff2
SHA512 (exabgp/3.4.19.tar.gz) = 92fb0aea9b2594433acacdc196cfda217867f59ea6524b409b69dff506fdc9a9a815b93807ff06d4c81404b1f6568a1a41e64178122eaf9ce7732416474f3455
Size (exabgp/3.4.19.tar.gz) = 543475 bytes
+SHA1 (patch-lib_exabgp_application_healthcheck.py) = d3b3c511e8d4fae60bcc21b7ee23585ee83ae9d8
Added files:
Index: pkgsrc/net/exabgp/patches/patch-lib_exabgp_application_healthcheck.py
diff -u /dev/null pkgsrc/net/exabgp/patches/patch-lib_exabgp_application_healthcheck.py:1.1
--- /dev/null Tue Jul 4 12:35:12 2017
+++ pkgsrc/net/exabgp/patches/patch-lib_exabgp_application_healthcheck.py Tue Jul 4 12:35:12 2017
@@ -0,0 +1,22 @@
+$NetBSD: patch-lib_exabgp_application_healthcheck.py,v 1.1 2017/07/04 12:35:12 he Exp $
+
+Provide a default syslog destination on NetBSD as well.
+Fix spelling...
+
+--- lib/exabgp/application/healthcheck.py.orig 2017-07-04 09:41:30.000000000 +0000
++++ lib/exabgp/application/healthcheck.py
+@@ -203,11 +203,13 @@ def setup_logging (debug, silent, name,
+ """Setup logger"""
+
+ def syslog_address():
+- """Return a sensitive syslog address"""
++ """Return a sensible syslog address"""
+ if sys.platform == "darwin":
+ return "/var/run/syslog"
+ if sys.platform.startswith("freebsd"):
+ return "/var/run/log"
++ if sys.platform.startswith("netbsd"):
++ return "/var/run/log"
+ if sys.platform.startswith("linux"):
+ return "/dev/log"
+ raise EnvironmentError("Unable to guess syslog address for your "
Home |
Main Index |
Thread Index |
Old Index