mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 23:53:51 +02:00
runit: set all fields of sockaddr_in in svlogd.
This commit is contained in:
parent
10dd3566c9
commit
c0211f5c97
2 changed files with 14 additions and 1 deletions
13
srcpkgs/runit/patches/svlogd.patch
Normal file
13
srcpkgs/runit/patches/svlogd.patch
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
Initialize all fields of sockaddr_in.
|
||||||
|
http://skarnet.org/cgi-bin/archive.cgi?2:mss:1163:201602:gpiglpbjdemlioaeabbn
|
||||||
|
|
||||||
|
--- runit-2.1.2/src/svlogd.c 2014-08-10 15:22:34.000000000 -0300
|
||||||
|
+++ runit-2.1.2/src/svlogd.c 2016-02-04 22:53:52.910965361 -0300
|
||||||
|
@@ -430,6 +430,7 @@
|
||||||
|
ld->name =(char*)fn;
|
||||||
|
ld->ppid =0;
|
||||||
|
ld->match ='+';
|
||||||
|
+ ld->udpaddr.sin_family =AF_INET;
|
||||||
|
ld->udpaddr.sin_port =0;
|
||||||
|
ld->udponly =0;
|
||||||
|
while (! stralloc_copys(&ld->prefix, "")) pause_nomem();
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'runit'
|
# Template file for 'runit'
|
||||||
pkgname=runit
|
pkgname=runit
|
||||||
version=2.1.2
|
version=2.1.2
|
||||||
revision=7
|
revision=8
|
||||||
wrksrc="admin"
|
wrksrc="admin"
|
||||||
short_desc="A UNIX init scheme with service supervision"
|
short_desc="A UNIX init scheme with service supervision"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
|
|
Loading…
Add table
Reference in a new issue