[Midnightbsd-cvs] src [11743] trunk/usr.bin/doas: tag and lower warns level
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Mon Jul 9 22:27:46 EDT 2018
Revision: 11743
http://svnweb.midnightbsd.org/src/?rev=11743
Author: laffer1
Date: 2018-07-09 22:27:45 -0400 (Mon, 09 Jul 2018)
Log Message:
-----------
tag and lower warns level
Modified Paths:
--------------
trunk/usr.bin/doas/Makefile
trunk/usr.bin/doas/doas.1
trunk/usr.bin/doas/doas.c
trunk/usr.bin/doas/doas.conf.5
trunk/usr.bin/doas/doas.h
trunk/usr.bin/doas/env.c
trunk/usr.bin/doas/execvpe.c
trunk/usr.bin/doas/parse.y
trunk/usr.bin/doas/reallocarray.c
trunk/usr.bin/doas/tree.h
Property Changed:
----------------
trunk/usr.bin/doas/LICENSE
trunk/usr.bin/doas/parse.y
Index: trunk/usr.bin/doas/LICENSE
===================================================================
--- trunk/usr.bin/doas/LICENSE 2018-07-09 23:35:06 UTC (rev 11742)
+++ trunk/usr.bin/doas/LICENSE 2018-07-10 02:27:45 UTC (rev 11743)
Property changes on: trunk/usr.bin/doas/LICENSE
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/usr.bin/doas/Makefile
===================================================================
--- trunk/usr.bin/doas/Makefile 2018-07-09 23:35:06 UTC (rev 11742)
+++ trunk/usr.bin/doas/Makefile 2018-07-10 02:27:45 UTC (rev 11743)
@@ -1,3 +1,4 @@
+# $MidnightBSD$
SRCS= parse.y doas.c env.c execvpe.c
PROG= doas
@@ -7,7 +8,7 @@
BINMODE=4555
CFLAGS+= -I${.CURDIR}
-COPTS+= -Wall
+CFLAGS+= -Wall
CFLAGS+=-DUSE_PAM -DDOAS_CONF=\"/etc/doas.conf\"
LDFLAGS+=-lpam
@@ -14,4 +15,6 @@
CFLAGS+=-DHAVE_LOGIN_CAP_H
LDFLAGS+=-lutil
+WARNS= 0
+
.include <bsd.prog.mk>
Modified: trunk/usr.bin/doas/doas.1
===================================================================
--- trunk/usr.bin/doas/doas.1 2018-07-09 23:35:06 UTC (rev 11742)
+++ trunk/usr.bin/doas/doas.1 2018-07-10 02:27:45 UTC (rev 11743)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
.\" $OpenBSD: doas.1,v 1.16 2016/06/11 04:38:21 tedu Exp $
.\"
.\"Copyright (c) 2015 Ted Unangst <tedu at openbsd.org>
Modified: trunk/usr.bin/doas/doas.c
===================================================================
--- trunk/usr.bin/doas/doas.c 2018-07-09 23:35:06 UTC (rev 11742)
+++ trunk/usr.bin/doas/doas.c 2018-07-10 02:27:45 UTC (rev 11743)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
/* $OpenBSD: doas.c,v 1.57 2016/06/19 19:29:43 martijn Exp $ */
/*
* Copyright (c) 2015 Ted Unangst <tedu at openbsd.org>
Modified: trunk/usr.bin/doas/doas.conf.5
===================================================================
--- trunk/usr.bin/doas/doas.conf.5 2018-07-09 23:35:06 UTC (rev 11742)
+++ trunk/usr.bin/doas/doas.conf.5 2018-07-10 02:27:45 UTC (rev 11743)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
.\" $OpenBSD: doas.conf.5,v 1.26 2016/06/11 17:17:10 tedu Exp $
.\"
.\"Copyright (c) 2015 Ted Unangst <tedu at openbsd.org>
Modified: trunk/usr.bin/doas/doas.h
===================================================================
--- trunk/usr.bin/doas/doas.h 2018-07-09 23:35:06 UTC (rev 11742)
+++ trunk/usr.bin/doas/doas.h 2018-07-10 02:27:45 UTC (rev 11743)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
/* $OpenBSD: doas.h,v 1.8 2016/06/19 19:29:43 martijn Exp $ */
struct rule {
int action;
Modified: trunk/usr.bin/doas/env.c
===================================================================
--- trunk/usr.bin/doas/env.c 2018-07-09 23:35:06 UTC (rev 11742)
+++ trunk/usr.bin/doas/env.c 2018-07-10 02:27:45 UTC (rev 11743)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
/* $OpenBSD: env.c,v 1.2 2016/06/19 19:29:43 martijn Exp $ */
/*
* Copyright (c) 2016 Ted Unangst <tedu at openbsd.org>
Modified: trunk/usr.bin/doas/execvpe.c
===================================================================
--- trunk/usr.bin/doas/execvpe.c 2018-07-09 23:35:06 UTC (rev 11742)
+++ trunk/usr.bin/doas/execvpe.c 2018-07-10 02:27:45 UTC (rev 11743)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
/*-
* Copyright (C) 2015 NONAKA Kimihiro <nonakap at gmail.com>
* All rights reserved.
Modified: trunk/usr.bin/doas/parse.y
===================================================================
--- trunk/usr.bin/doas/parse.y 2018-07-09 23:35:06 UTC (rev 11742)
+++ trunk/usr.bin/doas/parse.y 2018-07-10 02:27:45 UTC (rev 11743)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
/* $OpenBSD: parse.y,v 1.18 2016/06/07 16:49:23 tedu Exp $ */
/*
* Copyright (c) 2015 Ted Unangst <tedu at openbsd.org>
@@ -185,7 +186,7 @@
parse_errors++;
}
-struct keyword {
+static struct keyword {
const char *word;
int token;
} keywords[] = {
Property changes on: trunk/usr.bin/doas/parse.y
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Modified: trunk/usr.bin/doas/reallocarray.c
===================================================================
--- trunk/usr.bin/doas/reallocarray.c 2018-07-09 23:35:06 UTC (rev 11742)
+++ trunk/usr.bin/doas/reallocarray.c 2018-07-10 02:27:45 UTC (rev 11743)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
/* $OpenBSD: reallocarray.c,v 1.3 2015/09/13 08:31:47 guenther Exp $ */
/*
* Copyright (c) 2008 Otto Moerbeek <otto at drijf.net>
Modified: trunk/usr.bin/doas/tree.h
===================================================================
--- trunk/usr.bin/doas/tree.h 2018-07-09 23:35:06 UTC (rev 11742)
+++ trunk/usr.bin/doas/tree.h 2018-07-10 02:27:45 UTC (rev 11743)
@@ -1,3 +1,4 @@
+/* $MidnightBSD$ */
/* $OpenBSD: tree.h,v 1.14 2015/05/25 03:07:49 deraadt Exp $ */
/*
* Copyright 2002 Niels Provos <provos at citi.umich.edu>
More information about the Midnightbsd-cvs
mailing list