Date: Sun, 21 Oct 2018 00:48:38 +0000 (UTC) From: Ed Maste <emaste@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r339515 - head/usr.sbin/pwd_mkdb Message-ID: <201810210048.w9L0mc9h039566@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: emaste Date: Sun Oct 21 00:48:38 2018 New Revision: 339515 URL: https://svnweb.freebsd.org/changeset/base/339515 Log: pwd_mkdb: retire -B and -L endianness options Legacy v3 db support was retired in r333133, and it was v3 support that required the -B and -L options. The options were retained temporarily, but now that stable/12 has branched they can be removed. Sponsored by: The FreeBSD Foundation Modified: head/usr.sbin/pwd_mkdb/pwd_mkdb.8 head/usr.sbin/pwd_mkdb/pwd_mkdb.c Modified: head/usr.sbin/pwd_mkdb/pwd_mkdb.8 ============================================================================== --- head/usr.sbin/pwd_mkdb/pwd_mkdb.8 Sun Oct 21 00:43:27 2018 (r339514) +++ head/usr.sbin/pwd_mkdb/pwd_mkdb.8 Sun Oct 21 00:48:38 2018 (r339515) @@ -28,7 +28,7 @@ .\" @(#)pwd_mkdb.8 8.1 (Berkeley) 6/6/93 .\" $FreeBSD$ .\" -.Dd April 30, 2018 +.Dd October 20, 2018 .Dt PWD_MKDB 8 .Os .Sh NAME @@ -36,7 +36,7 @@ .Nd "generate the password databases" .Sh SYNOPSIS .Nm -.Op Fl BCiLNp +.Op Fl CiNp .Op Fl d Ar directory .Op Fl s Ar cachesize .Op Fl u Ar username @@ -111,15 +111,6 @@ encrypted password and the insecure version has an ast .Pp The databases are used by the C library password routines (see .Xr getpwent 3 ) . -.Pp -The following options affected the generation of legacy entries, -and are now deprecated. -.Bl -tag -width flag -.It Fl B -Store data in big-endian format. -.It Fl L -Store data in little-endian format. -.El .Pp The .Nm Modified: head/usr.sbin/pwd_mkdb/pwd_mkdb.c ============================================================================== --- head/usr.sbin/pwd_mkdb/pwd_mkdb.c Sun Oct 21 00:43:27 2018 (r339514) +++ head/usr.sbin/pwd_mkdb/pwd_mkdb.c Sun Oct 21 00:48:38 2018 (r339515) @@ -123,18 +123,10 @@ main(int argc, char *argv[]) makeold = 0; username = NULL; oldfp = NULL; - while ((ch = getopt(argc, argv, "BCLNd:ips:u:v")) != -1) + while ((ch = getopt(argc, argv, "CNd:ips:u:v")) != -1) switch(ch) { - case 'B': /* big-endian output */ - warnx("endiannes options (-B/-L) are deprecated"); - openinfo.lorder = BIG_ENDIAN; - break; case 'C': /* verify only */ Cflag = 1; - break; - case 'L': /* little-endian output */ - warnx("endiannes options (-B/-L) are deprecated"); - openinfo.lorder = LITTLE_ENDIAN; break; case 'N': /* do not wait for lock */ nblock = LOCK_NB; /* will fail if locked */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201810210048.w9L0mc9h039566>