Update to darkstat-3.0.719.

from brad
This commit is contained in:
ajacoutot 2015-05-25 06:01:43 +00:00
parent 9cd1e888e2
commit fcab0c5ac5
3 changed files with 9 additions and 10 deletions

View File

@ -1,12 +1,11 @@
# $OpenBSD: Makefile,v 1.25 2014/07/22 10:55:40 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.26 2015/05/25 06:01:43 ajacoutot Exp $
COMMENT= network statistics gatherer with graphs
DISTNAME= darkstat-3.0.718
DISTNAME= darkstat-3.0.719
CATEGORIES= net www
MASTER_SITES= ${HOMEPAGE}
EXTRACT_SUFX= .tar.bz2
REVISION= 0
HOMEPAGE= http://unix4lyfe.org/darkstat/

View File

@ -1,2 +1,2 @@
SHA256 (darkstat-3.0.718.tar.bz2) = aC8+U/TonqatCCNrQiWl4IWUKCmXZdjZlTdM1/oirf8=
SIZE (darkstat-3.0.718.tar.bz2) = 116044
SHA256 (darkstat-3.0.719.tar.bz2) = rq+QlYX39D3AMqdTKP22IRTlhAWwapKhPA02UyNt7dc=
SIZE (darkstat-3.0.719.tar.bz2) = 117695

View File

@ -1,10 +1,10 @@
$OpenBSD: patch-conv_c,v 1.1 2014/02/07 08:56:53 brad Exp $
$OpenBSD: patch-conv_c,v 1.2 2015/05/25 06:01:43 ajacoutot Exp $
Re-instate the chroot by default code.
--- conv.c.orig Thu Feb 6 02:48:24 2014
+++ conv.c Thu Feb 6 02:59:47 2014
@@ -288,7 +288,9 @@ daemonize_finish(void)
--- conv.c.orig Sun May 24 03:40:25 2015
+++ conv.c Sun May 24 16:31:58 2015
@@ -289,7 +289,9 @@ daemonize_finish(void)
* For security, chroot (optionally) and drop privileges.
* Pass a NULL chroot_dir to disable chroot() behaviour.
*/
@ -15,7 +15,7 @@ Re-instate the chroot by default code.
struct passwd *pw;
errno = 0;
@@ -300,9 +302,7 @@ void privdrop(const char *chroot_dir, const char *priv
@@ -301,9 +303,7 @@ void privdrop(const char *chroot_dir, const char *priv
else
err(1, "getpwnam(\"%s\") failed", privdrop_user);
}