From aa2e7cdc3cbe61f699736800404f11c51baf07f2 Mon Sep 17 00:00:00 2001 From: guidosarducci Date: Sun, 25 Nov 2018 06:08:35 -0800 Subject: [PATCH 1/2] siproxd: add OpenWrt siproxd wiki link to package info This has the advantage of being available in the package catalog and hence anytime both pre- and post-installation for someone looking for information, using only the 'opkg info siproxd' command. Signed-off-by: Tony Ambardar --- net/siproxd/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/siproxd/Makefile b/net/siproxd/Makefile index c144d0d..39dde99 100644 --- a/net/siproxd/Makefile +++ b/net/siproxd/Makefile @@ -39,7 +39,7 @@ define Package/siproxd endef define Package/siproxd/description - Siproxd is a proxy/masquerading daemon for the SIP protocol. + Siproxd is a proxy/masquerading daemon for the SIP protocol. Refer to https://openwrt.org/docs/guide-user/services/voip/siproxd for configuration details and examples. endef define Package/siproxd/conffiles From aac5a6f843d6167eda262661bb17ca594f131213 Mon Sep 17 00:00:00 2001 From: guidosarducci Date: Sun, 25 Nov 2018 06:15:27 -0800 Subject: [PATCH 2/2] siproxd: capture debug output in syslog Although siproxd normally logs to syslog, it's debug output appears to go only to stderr. Adjust procd setup to also capture stderr in syslog. Signed-off-by: Tony Ambardar --- net/siproxd/Makefile | 2 +- net/siproxd/files/siproxd.init | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/net/siproxd/Makefile b/net/siproxd/Makefile index 39dde99..68a4b7e 100644 --- a/net/siproxd/Makefile +++ b/net/siproxd/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=siproxd PKG_VERSION:=0.8.2 -PKG_RELEASE:=4 +PKG_RELEASE:=5 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=@SF/siproxd diff --git a/net/siproxd/files/siproxd.init b/net/siproxd/files/siproxd.init index a8b86f7..7d5b003 100644 --- a/net/siproxd/files/siproxd.init +++ b/net/siproxd/files/siproxd.init @@ -110,6 +110,7 @@ section_end() { procd_set_param command "$PROG" --config "$conf_file" procd_set_param pidfile "$pid_file" procd_set_param respawn + procd_set_param stderr 1 procd_add_jail siproxd log procd_add_jail_mount /etc/passwd /etc/group /etc/TZ /dev/null procd_add_jail_mount "$conf_file"