This commit is contained in:
jasper 2009-04-26 20:56:50 +00:00
parent 856c981df4
commit ce664f690d
2 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.2 2009/04/23 15:38:11 jasper Exp $
# $OpenBSD: Makefile,v 1.3 2009/04/26 20:56:50 jasper Exp $
COMMENT-main = network and application monitoring - agent
COMMENT-server = network and application monitoring - server
@ -6,8 +6,8 @@ COMMENT-web = network and application monitoring - web frontend
VERSION = 1.6.4
DISTNAME = zabbix-${VERSION}
PKGNAME-main = zabbix-agent-${VERSION}p0
PKGNAME-server = zabbix-server-${VERSION}p0
PKGNAME-main = zabbix-agent-${VERSION}p1
PKGNAME-server = zabbix-server-${VERSION}p1
PKGNAME-web = zabbix-web-${VERSION}p0
CATEGORIES = net

View File

@ -1,4 +1,4 @@
$OpenBSD: patch-src_libs_zbxnix_daemon_c,v 1.1 2009/04/23 15:38:11 jasper Exp $
$OpenBSD: patch-src_libs_zbxnix_daemon_c,v 1.2 2009/04/26 20:56:50 jasper Exp $
--- src/libs/zbxnix/daemon.c.orig Wed Apr 22 23:04:10 2009
+++ src/libs/zbxnix/daemon.c Wed Apr 22 23:04:22 2009
@@ -90,7 +90,7 @@ int daemon_start(int allow_root)
@ -6,7 +6,7 @@ $OpenBSD: patch-src_libs_zbxnix_daemon_c,v 1.1 2009/04/23 15:38:11 jasper Exp $
struct passwd *pwd;
struct sigaction phan;
- char user[7] = "zabbix";
+ char user[7] = "_zabbix";
+ char user[8] = "_zabbix";
/* running as root ?*/
if((0 == allow_root) && (0 == getuid() || 0 == getgid()))