Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Jun 2001 15:13:06 -0400 (EDT)
From:      Mike Barcroft <mike@q9media.com>
To:        audit@FreeBSD.org
Subject:   src/usr.sbin warns patch
Message-ID:  <200106231913.f5NJD6p89481@coffee.q9media.com>

next in thread | raw e-mail | index | archive | help
I would appreciate it if someone would commit the patch at the end of
this message.  Also available at:
http://testbed.q9media.net/freebsd/usr.sbin.20010623.patch

It seems src/usr.sbin is in worse shape than src/usr.bin with regards
to compiler warnings.  Again, this patch should probably be tested on
an alpha before committing.


Best regards,
Mike Barcroft

-----------------------------------------------------------------------

usr.sbin.20010623.patch

o Set WARNS?=2 on Makefiles that should have it.
o Tested on i386; alpha might have additional warnings.


Index: usr.sbin/accton/Makefile
===================================================================
RCS file: /home/ncvs/src/usr.sbin/accton/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- usr.sbin/accton/Makefile	2001/03/26 14:39:16	1.4
+++ usr.sbin/accton/Makefile	2001/06/23 18:50:44
@@ -2,6 +2,7 @@
 # $FreeBSD: src/usr.sbin/accton/Makefile,v 1.4 2001/03/26 14:39:16 ru Exp $
 
 PROG=	accton
+WARNS?=	2
 MAN=	accton.8
 
 .include <bsd.prog.mk>
Index: usr.sbin/dev_mkdb/Makefile
===================================================================
RCS file: /home/ncvs/src/usr.sbin/dev_mkdb/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- usr.sbin/dev_mkdb/Makefile	2001/03/26 14:39:50	1.4
+++ usr.sbin/dev_mkdb/Makefile	2001/06/23 18:50:47
@@ -2,6 +2,7 @@
 # $FreeBSD: src/usr.sbin/dev_mkdb/Makefile,v 1.4 2001/03/26 14:39:50 ru Exp $
 
 PROG=	dev_mkdb
+WARNS?=	2
 MAN=	dev_mkdb.8
 
 .include <bsd.prog.mk>
Index: usr.sbin/digictl/Makefile
===================================================================
RCS file: /home/ncvs/src/usr.sbin/digictl/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- usr.sbin/digictl/Makefile	2001/05/17 01:42:52	1.3
+++ usr.sbin/digictl/Makefile	2001/06/23 18:50:47
@@ -1,6 +1,7 @@
 # $FreeBSD: src/usr.sbin/digictl/Makefile,v 1.3 2001/05/17 01:42:52 brian Exp $
 
 PROG=	digictl
+WARNS?=	2
 MAN=	digictl.8
 
 .include <bsd.prog.mk>
Index: usr.sbin/lastlogin/Makefile
===================================================================
RCS file: /home/ncvs/src/usr.sbin/lastlogin/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- usr.sbin/lastlogin/Makefile	2001/03/26 14:40:33	1.3
+++ usr.sbin/lastlogin/Makefile	2001/06/23 18:50:48
@@ -1,7 +1,7 @@
 # $FreeBSD: src/usr.sbin/lastlogin/Makefile,v 1.3 2001/03/26 14:40:33 ru Exp $
 
 PROG=	lastlogin
+WARNS?=	2
 MAN=	lastlogin.8
-CFLAGS+=-Wall
 
 .include <bsd.prog.mk>
Index: usr.sbin/procctl/Makefile
===================================================================
RCS file: /home/ncvs/src/usr.sbin/procctl/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- usr.sbin/procctl/Makefile	2001/03/26 14:41:30	1.6
+++ usr.sbin/procctl/Makefile	2001/06/23 18:50:53
@@ -1,6 +1,7 @@
 # $FreeBSD: src/usr.sbin/procctl/Makefile,v 1.6 2001/03/26 14:41:30 ru Exp $
 
 PROG=	procctl
+WARNS?=	2
 MAN=	procctl.8
 
 .include <bsd.prog.mk>
Index: usr.sbin/rip6query/Makefile
===================================================================
RCS file: /home/ncvs/src/usr.sbin/rip6query/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- usr.sbin/rip6query/Makefile	2001/03/26 14:41:41	1.4
+++ usr.sbin/rip6query/Makefile	2001/06/23 18:50:55
@@ -3,6 +3,7 @@
 #	$FreeBSD: src/usr.sbin/rip6query/Makefile,v 1.4 2001/03/26 14:41:41 ru Exp $
 
 PROG=	rip6query
+WARNS?=	2
 MAN=	rip6query.8
 
 CFLAGS+=-DINET6 -I${.CURDIR}/../route6d
Index: usr.sbin/usbdevs/Makefile
===================================================================
RCS file: /home/ncvs/src/usr.sbin/usbdevs/Makefile,v
retrieving revision 1.8
diff -u -r1.8 Makefile
--- usr.sbin/usbdevs/Makefile	2001/05/18 13:41:42	1.8
+++ usr.sbin/usbdevs/Makefile	2001/06/23 18:50:58
@@ -2,6 +2,7 @@
 #	FreeBSD $FreeBSD: src/usr.sbin/usbdevs/Makefile,v 1.8 2001/05/18 13:41:42 ru Exp $
 
 PROG=	usbdevs
+WARNS?=	2
 MAN=	usbdevs.8
 
 .include <bsd.prog.mk>

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-audit" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200106231913.f5NJD6p89481>