Module Name: src
Committed By: drochner
Date: Wed Jan 27 19:10:31 UTC 2010
Modified Files:
src/distrib/sets/lists/comp: mi
src/include: util.h
src/lib/libutil: Makefile
Removed Files:
src/lib/libutil: pw_policy.3 pw_policy.c
Log Message:
retire pw_policy(3) -- it is not found useful, there are other
(more common) ways to enforce a password strength policy
approved by elad
To generate a diff of this commit:
cvs rdiff -u -r1.1378 -r1.1379 src/distrib/sets/lists/comp/mi
cvs rdiff -u -r1.53 -r1.54 src/include/util.h
cvs rdiff -u -r1.62 -r1.63 src/lib/libutil/Makefile
cvs rdiff -u -r1.9 -r0 src/lib/libutil/pw_policy.3
cvs rdiff -u -r1.14 -r0 src/lib/libutil/pw_policy.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/distrib/sets/lists/comp/mi
diff -u src/distrib/sets/lists/comp/mi:1.1378 src/distrib/sets/lists/comp/mi:1.1379
--- src/distrib/sets/lists/comp/mi:1.1378 Tue Jan 26 14:06:35 2010
+++ src/distrib/sets/lists/comp/mi Wed Jan 27 19:10:30 2010
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.1378 2010/01/26 14:06:35 jruoho Exp $
+# $NetBSD: mi,v 1.1379 2010/01/27 19:10:30 drochner Exp $
#
# Note: don't delete entries from here - mark them as "obsolete" instead.
#
@@ -7456,7 +7456,7 @@
./usr/share/man/cat3/pw_init.0 comp-c-catman .cat
./usr/share/man/cat3/pw_lock.0 comp-c-catman .cat
./usr/share/man/cat3/pw_mkdb.0 comp-c-catman .cat
-./usr/share/man/cat3/pw_policy.0 comp-c-catman .cat
+./usr/share/man/cat3/pw_policy.0 comp-obsolete obsolete
./usr/share/man/cat3/pw_prompt.0 comp-c-catman .cat
./usr/share/man/cat3/pw_scan.0 comp-c-catman .cat
./usr/share/man/cat3/pw_setprefix.0 comp-c-catman .cat
@@ -13094,7 +13094,7 @@
./usr/share/man/html3/pw_init.html comp-c-htmlman html
./usr/share/man/html3/pw_lock.html comp-c-htmlman html
./usr/share/man/html3/pw_mkdb.html comp-c-htmlman html
-./usr/share/man/html3/pw_policy.html comp-c-htmlman html
+./usr/share/man/html3/pw_policy.html comp-obsolete obsolete
./usr/share/man/html3/pw_prompt.html comp-c-htmlman html
./usr/share/man/html3/pw_scan.html comp-c-htmlman html
./usr/share/man/html3/pw_setprefix.html comp-c-htmlman html
@@ -18732,7 +18732,7 @@
./usr/share/man/man3/pw_init.3 comp-c-man .man
./usr/share/man/man3/pw_lock.3 comp-c-man .man
./usr/share/man/man3/pw_mkdb.3 comp-c-man .man
-./usr/share/man/man3/pw_policy.3 comp-c-man .man
+./usr/share/man/man3/pw_policy.3 comp-obsolete obsolete
./usr/share/man/man3/pw_prompt.3 comp-c-man .man
./usr/share/man/man3/pw_scan.3 comp-c-man .man
./usr/share/man/man3/pw_setprefix.3 comp-c-man .man
Index: src/include/util.h
diff -u src/include/util.h:1.53 src/include/util.h:1.54
--- src/include/util.h:1.53 Tue Oct 13 22:00:31 2009
+++ src/include/util.h Wed Jan 27 19:10:31 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: util.h,v 1.53 2009/10/13 22:00:31 pooka Exp $ */
+/* $NetBSD: util.h,v 1.54 2010/01/27 19:10:31 drochner Exp $ */
/*-
* Copyright (c) 1995
@@ -63,8 +63,6 @@
struct winsize;
struct sockaddr;
-typedef struct pw_policy *pw_policy_t;
-
char *flags_to_string(unsigned long, const char *);
pid_t forkpty(int *, char *, struct termios *, struct winsize *);
const char *getbootfile(void);
@@ -110,9 +108,6 @@
void pw_init(void);
int pw_lock(int);
int pw_mkdb(const char *, int);
-pw_policy_t pw_policy_load(void *, int);
-int pw_policy_test(pw_policy_t, char *);
-void pw_policy_free(pw_policy_t);
void pw_prompt(void);
int pw_setprefix(const char *);
int raise_default_signal(int);
Index: src/lib/libutil/Makefile
diff -u src/lib/libutil/Makefile:1.62 src/lib/libutil/Makefile:1.63
--- src/lib/libutil/Makefile:1.62 Sat Jun 20 14:28:29 2009
+++ src/lib/libutil/Makefile Wed Jan 27 19:10:31 2010
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.62 2009/06/20 14:28:29 christos Exp $
+# $NetBSD: Makefile,v 1.63 2010/01/27 19:10:31 drochner Exp $
# @(#)Makefile 8.1 (Berkeley) 6/4/93
USE_SHLIBDIR= yes
@@ -16,7 +16,7 @@
if_media.c \
login.c loginx.c login_cap.c login_tty.c logout.c logoutx.c \
logwtmp.c logwtmpx.c opendisk.c parsedate.y \
- passwd.c pw_scan.c pw_policy.c pidfile.c pidlock.c pty.c \
+ passwd.c pw_scan.c pidfile.c pidlock.c pty.c \
raise_default_signal.c \
secure_path.c snprintb.c sockaddr_snprintf.c stat_flags.c \
ttyaction.c ttymsg.c
@@ -27,7 +27,7 @@
login.3 login_cap.3 loginx.3 \
disklabel_dkcksum.3 disklabel_scan.3 \
opendisk.3 openpty.3 parsedate.3 pidfile.3 pidlock.3 \
- pw_getconf.3 pw_init.3 pw_lock.3 pw_policy.3 secure_path.3 \
+ pw_getconf.3 pw_init.3 pw_lock.3 secure_path.3 \
raise_default_signal.3 \
snprintb.3 sockaddr_snprintf.3 stat_flags.3 ttyaction.3 \
ttymsg.3 util.3