From owner-cvs-usrsbin Sun Sep 8 16:50:29 1996 Return-Path: owner-cvs-usrsbin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id QAA04226 for cvs-usrsbin-outgoing; Sun, 8 Sep 1996 16:50:29 -0700 (PDT) Received: (from pst@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id QAA04211; Sun, 8 Sep 1996 16:50:25 -0700 (PDT) Date: Sun, 8 Sep 1996 16:50:25 -0700 (PDT) From: Paul Traina Message-Id: <199609082350.QAA04211@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrsbin Subject: cvs commit: src/usr.sbin/cron/cron database.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk pst 96/09/08 16:50:24 Modified: usr.sbin/cron/cron database.c Log: Fix some buffer overflow problems... Revision Changes Path 1.2 +3 -3 src/usr.sbin/cron/cron/database.c From owner-cvs-usrsbin Mon Sep 9 07:46:37 1996 Return-Path: owner-cvs-usrsbin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA24088 for cvs-usrsbin-outgoing; Mon, 9 Sep 1996 07:46:37 -0700 (PDT) Received: from luke.pmr.com (luke.pmr.com [206.224.65.132]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id HAA24073; Mon, 9 Sep 1996 07:46:33 -0700 (PDT) Received: (from bob@localhost) by luke.pmr.com (8.7.5/8.7.3) id JAA05306; Mon, 9 Sep 1996 09:46:31 -0500 (CDT) From: Bob Willcox Message-Id: <199609091446.JAA05306@luke.pmr.com> Subject: Re: cvs commit: src/usr.sbin/newsyslog newsyslog.c To: jkh@freefall.freebsd.org (Jordan K. Hubbard) Date: Mon, 9 Sep 1996 09:46:31 -0500 (CDT) Cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-usrsbin@freefall.freebsd.org In-Reply-To: <199609060636.XAA29293@freefall.freebsd.org> from "Jordan K. Hubbard" at "Sep 5, 96 11:36:13 pm" X-Mailer: ELM [version 2.4ME+ PL22 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Jordan K. Hubbard wrote: > jkh 96/09/05 23:36:12 > > Modified: usr.sbin/newsyslog newsyslog.c > Log: > PR#2724 in NetBSD notes that newsyslog save log files even if the number > of copies to save is zero. Incorporate suggested fix with some stylistic > cleanup to make the resulting code more readable. > Submitted-By: Kenneth Stailey > > Revision Changes Path > 1.6 +15 -6 src/usr.sbin/newsyslog/newsyslog.c > This change breaks newsyslog (on my system, anyway). Now, newsyslog will never rename /var/log/maillog to /var/log/mailog.0 (for example). The problem with the above change is that when numdays is -1 the rename will be skipped. Unfortunately, numdays will *always* be -1 at the termination of the while loop which precedes the changes. :-( Thanks, -- Bob Willcox politics, n: bob@luke.pmr.com A strife of interests masquerading as a contest of Austin, TX principles. The conduct of public affairs for private advantage. -- Ambrose Bierce From owner-cvs-usrsbin Mon Sep 9 08:32:51 1996 Return-Path: owner-cvs-usrsbin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id IAA26144 for cvs-usrsbin-outgoing; Mon, 9 Sep 1996 08:32:51 -0700 (PDT) Received: (from jkh@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id IAA26116; Mon, 9 Sep 1996 08:32:34 -0700 (PDT) Date: Mon, 9 Sep 1996 08:32:34 -0700 (PDT) From: "Jordan K. Hubbard" Message-Id: <199609091532.IAA26116@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrsbin Subject: cvs commit: src/usr.sbin/newsyslog newsyslog.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jkh 96/09/09 08:32:33 Modified: usr.sbin/newsyslog newsyslog.c Log: Doh! Actually read the patch I applied and see what it was *trying* to do, then make it do that. Error-of-my-ways-pointed-out-by: Bob Willcox Revision Changes Path 1.7 +5 -4 src/usr.sbin/newsyslog/newsyslog.c From owner-cvs-usrsbin Mon Sep 9 11:48:52 1996 Return-Path: owner-cvs-usrsbin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA10741 for cvs-usrsbin-outgoing; Mon, 9 Sep 1996 11:48:52 -0700 (PDT) Received: (from sos@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA10628; Mon, 9 Sep 1996 11:47:49 -0700 (PDT) Date: Mon, 9 Sep 1996 11:47:49 -0700 (PDT) From: Soren Schmidt Message-Id: <199609091847.LAA10628@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-etc, cvs-usrsbin Subject: cvs commit: src/etc/etc.i386 MAKEDEV src/usr.sbin/moused moused.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk sos 96/09/09 11:47:48 Modified: etc/etc.i386 MAKEDEV usr.sbin/moused moused.c Log: Fix for the problem that moused hangs if it is started from /etc/rc Introduces the /dev/consolectl device for controlling various console related things (given syscons is used). Revision Changes Path 1.123 +5 -3 src/etc/etc.i386/MAKEDEV 1.3 +2 -2 src/usr.sbin/moused/moused.c From owner-cvs-usrsbin Mon Sep 9 17:51:17 1996 Return-Path: owner-cvs-usrsbin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id RAA02292 for cvs-usrsbin-outgoing; Mon, 9 Sep 1996 17:51:17 -0700 (PDT) Received: (from fenner@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id RAA02202; Mon, 9 Sep 1996 17:50:15 -0700 (PDT) Date: Mon, 9 Sep 1996 17:50:15 -0700 (PDT) From: Bill Fenner Message-Id: <199609100050.RAA02202@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrsbin Subject: cvs commit: src/usr.sbin/traceroute traceroute.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk fenner 96/09/09 17:50:14 Modified: usr.sbin/traceroute traceroute.c Log: Change strcpy() to strncpy() in several places, and give gethostname() the real buffer size. Note that the strncpy(domain, ...) doesn't need to be a strncpy(), since it is copying from itself to itself, but belts and suspenders don't hurt and this is not time-critical code. Fixes the half of PR bin/1581 that wasn't fixed in rev 1.7 Submitted by: Karl Revision Changes Path 1.11 +5 -5 src/usr.sbin/traceroute/traceroute.c From owner-cvs-usrsbin Mon Sep 9 20:38:32 1996 Return-Path: owner-cvs-usrsbin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA10308 for cvs-usrsbin-outgoing; Mon, 9 Sep 1996 20:38:32 -0700 (PDT) Received: (from peter@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA10292; Mon, 9 Sep 1996 20:38:23 -0700 (PDT) Date: Mon, 9 Sep 1996 20:38:23 -0700 (PDT) From: Peter Wemm Message-Id: <199609100338.UAA10292@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrsbin Subject: cvs commit: src/usr.sbin/cron/cron database.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 96/09/09 20:38:22 Modified: usr.sbin/cron/cron database.c Log: personal (ie: with the crontab command) cron tabs were broken by the last change. :-( ie: /var/cron/log would report: .. cron[206]: (usage) CAN'T OPEN (%s/%s) Revision Changes Path 1.3 +2 -2 src/usr.sbin/cron/cron/database.c From owner-cvs-usrsbin Tue Sep 10 11:21:00 1996 Return-Path: owner-cvs-usrsbin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA03452 for cvs-usrsbin-outgoing; Tue, 10 Sep 1996 11:21:00 -0700 (PDT) Received: (from peter@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA03432; Tue, 10 Sep 1996 11:20:48 -0700 (PDT) Date: Tue, 10 Sep 1996 11:20:48 -0700 (PDT) From: Peter Wemm Message-Id: <199609101820.LAA03432@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrsbin Subject: cvs commit: src/usr.sbin/moused moused.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 96/09/10 11:20:47 Modified: usr.sbin/moused moused.c Log: gut and overhaul moused, it was simply not working for me on any mouse I could find. This change does the following: - s/usage()/break;/ in handling the -s switch. - use err/warn instead of fprintf(stderr, ... strerror()); exit(1); - implement Hitachi PUMA HitTablet support from the XFree86 code, whatever the hell that is. :-) - correctly implement baud rate setting, too much was cut from the XFree86 code, the critical parts were a sweep over all likely mouse powerup baud rates to switch it to the reqested rate. - logitech support was busted (at least on mine, which is autosensing and runs in either mmseries or logitech mode depending on the handshake code at startup. Among other things, you talk to it at 1200, then switch to the target baud later. Some remaining problems.. samplerate setting is missing, but I've not found where this is meant to be set yet. I presume this is resolution setting of some kind. Revision Changes Path 1.4 +224 -48 src/usr.sbin/moused/moused.c From owner-cvs-usrsbin Tue Sep 10 11:25:46 1996 Return-Path: owner-cvs-usrsbin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA03852 for cvs-usrsbin-outgoing; Tue, 10 Sep 1996 11:25:46 -0700 (PDT) Received: from spinner.DIALix.COM (spinner.DIALix.COM [192.203.228.67]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id LAA03829; Tue, 10 Sep 1996 11:25:30 -0700 (PDT) Received: from spinner.DIALix.COM (localhost.DIALix.oz.au [127.0.0.1]) by spinner.DIALix.COM (8.7.5/8.7.3) with ESMTP id CAA00910; Wed, 11 Sep 1996 02:25:17 +0800 (WST) Message-Id: <199609101825.CAA00910@spinner.DIALix.COM> To: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-usrsbin@freefall.freebsd.org Subject: Re: cvs commit: src/usr.sbin/moused moused.c In-reply-to: Your message of "Tue, 10 Sep 1996 11:20:48 MST." <199609101820.LAA03432@freefall.freebsd.org> Date: Wed, 11 Sep 1996 02:25:17 +0800 From: Peter Wemm Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Peter Wemm wrote: > peter 96/09/10 11:20:47 > > Modified: usr.sbin/moused moused.c I forgot to mention: - implement the cleardtr (-D) and clearrts (-R) support - choose an arbitary baud rate (eg: -S 4800) Cheers, -Peter From owner-cvs-usrsbin Tue Sep 10 12:17:36 1996 Return-Path: owner-cvs-usrsbin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA07429 for cvs-usrsbin-outgoing; Tue, 10 Sep 1996 12:17:36 -0700 (PDT) Received: (from peter@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA07404; Tue, 10 Sep 1996 12:17:28 -0700 (PDT) Date: Tue, 10 Sep 1996 12:17:28 -0700 (PDT) From: Peter Wemm Message-Id: <199609101917.MAA07404@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrsbin Subject: cvs commit: src/usr.sbin/moused Makefile Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 96/09/10 12:17:27 Modified: usr.sbin/moused Makefile Log: Argh! there's no need for moused to be setuid-root! Now that it works from startup, and works with XFree86 via /dev/sysmouse, it should be started at boot and left running. Pointed out by: Sujal Patel Revision Changes Path 1.2 +3 -3 src/usr.sbin/moused/Makefile From owner-cvs-usrsbin Wed Sep 11 01:37:12 1996 Return-Path: owner-cvs-usrsbin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id BAA21235 for cvs-usrsbin-outgoing; Wed, 11 Sep 1996 01:37:12 -0700 (PDT) Received: (from jkh@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id BAA21200; Wed, 11 Sep 1996 01:36:58 -0700 (PDT) Date: Wed, 11 Sep 1996 01:36:58 -0700 (PDT) From: "Jordan K. Hubbard" Message-Id: <199609110836.BAA21200@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrsbin Subject: cvs commit: src/usr.sbin/adduser adduser.perl Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jkh 96/09/11 01:36:57 Modified: usr.sbin/adduser adduser.perl Log: Make passwords no longer echo or display. Because of this, we now also ask for matching confirmation. I'm sure there is a clever direct-from-perl ioctl way of putting the terminal into noecho mode, but I don't feel like learning perl so I just used system. [yes, I'll put stty on the installation boot floppy as necessary] Revision Changes Path 1.17 +16 -4 src/usr.sbin/adduser/adduser.perl From owner-cvs-usrsbin Wed Sep 11 10:17:52 1996 Return-Path: owner-cvs-usrsbin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA16115 for cvs-usrsbin-outgoing; Wed, 11 Sep 1996 10:17:52 -0700 (PDT) Received: from main.gbdata.com (Main.GBData.COM [207.90.222.20]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id KAA16107; Wed, 11 Sep 1996 10:17:45 -0700 (PDT) Received: (from gclarkii@localhost) by main.gbdata.com (8.7.5/8.6.9) id MAA04749; Wed, 11 Sep 1996 12:17:45 -0500 (CDT) From: Gary Clark II Message-Id: <199609111717.MAA04749@main.gbdata.com> Subject: Re: cvs commit: src/usr.sbin/adduser adduser.perl To: jkh@freefall.freebsd.org (Jordan K. Hubbard) Date: Wed, 11 Sep 1996 12:17:44 -0500 (CDT) Cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-usrsbin@freefall.freebsd.org In-Reply-To: <199609110836.BAA21200@freefall.freebsd.org> from "Jordan K. Hubbard" at "Sep 11, 96 01:36:58 am" X-Mailer: ELM [version 2.4ME+ PL22 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Jordan K. Hubbard wrote: > jkh 96/09/11 01:36:57 > > Modified: usr.sbin/adduser adduser.perl > Log: > Make passwords no longer echo or display. Because of this, we now also > ask for matching confirmation. I'm sure there is a clever direct-from-perl > ioctl way of putting the terminal into noecho mode, but I don't feel like > learning perl so I just used system. [yes, I'll put stty on the installation > boot floppy as necessary] > > Revision Changes Path > 1.17 +16 -4 src/usr.sbin/adduser/adduser.perl > Jordan, How big is the combination of perl+stty compared to curseperl? If they are in the same range then curseperl can handle that kind of stuff... Gary -- Gary Clark II (N5VMF) | I speak only for myself and "maybe" my company gclarkii@GBData.COM | Member of the FreeBSD Doc Team Providing Internet and ISP startups mail info@GBData.COM for information FreeBSD FAQ at ftp://ftp.FreeBSD.ORG/pub/FreeBSD/docs/freebsd-faq.ascii From owner-cvs-usrsbin Sat Sep 14 16:22:37 1996 Return-Path: owner-cvs-usrsbin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id QAA16826 for cvs-usrsbin-outgoing; Sat, 14 Sep 1996 16:22:37 -0700 (PDT) Received: (from wosch@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id QAA16805; Sat, 14 Sep 1996 16:22:27 -0700 (PDT) Date: Sat, 14 Sep 1996 16:22:27 -0700 (PDT) From: Wolfram Schneider Message-Id: <199609142322.QAA16805@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrsbin Subject: cvs commit: src/usr.sbin/adduser adduser.perl Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk wosch 96/09/14 16:22:27 Modified: usr.sbin/adduser adduser.perl Log: Do not backup master.passwd if pwd_mkdb returned an error. This was to paranoid, pwd_mkdb(8) is carefully enough to not corrupt master.passwd on failure. Submitted by: joerg Revision Changes Path 1.18 +3 -13 src/usr.sbin/adduser/adduser.perl From owner-cvs-usrsbin Sat Sep 14 17:39:29 1996 Return-Path: owner-cvs-usrsbin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id RAA21248 for cvs-usrsbin-outgoing; Sat, 14 Sep 1996 17:39:29 -0700 (PDT) Received: (from wpaul@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id RAA21231; Sat, 14 Sep 1996 17:39:21 -0700 (PDT) Date: Sat, 14 Sep 1996 17:39:21 -0700 (PDT) From: Bill Paul Message-Id: <199609150039.RAA21231@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrsbin Subject: cvs commit: src/usr.sbin/ypserv Makefile mkaliases Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk wpaul 96/09/14 17:39:21 Modified: usr.sbin/ypserv Makefile Removed: usr.sbin/ypserv mkaliases Log: Toss the mkaliases script into the attic and remove its install target from the Makefile. We don't need it anymore, and it was broken anyway. Revision Changes Path 1.6 +1 -4 src/usr.sbin/ypserv/Makefile