[patch] Cleaning up acconfig.h

Danilo Piazzalunga <[email protected]> Thu, 12 May 2005 22:03:44 +0200
Newsgroups gmane.linux.pld.shadow.general
Message-ID <[email protected]>
Hello,

I was trying to solve a problem(*) that I encountered while rebuilding the
package, I found some unused definitions in acconfig.h. Should want to remove
them, they are pointed out in the attached patch.

(*) it was no real problem, I had messed up things a little...

The package configures and builds flawlessly without them, because they are
not used anywhere in the code:

$ egrep -rl '(SKEY|OPIE|LOGIN_ACCESS|DES_RPC)' .
./doc/WISHLIST
./man/ja/login.access.5
./man/pl/login.access.5
./man/login.access.5
./NEWS
./ChangeLog

SKEY is only mentioned in a comment in man/login.access.5, but this doesn't
concern the code:

.\"$Id: login.access.5,v 1.6 2005/04/02 16:10:24 kloczek Exp $
.\" this is comment
.TH LOGIN.ACCESS 5
.\" .Dt SKEY.ACCESS 5
.\" .Os FreeBSD 1.2
.SH NAME
login.access \- Login access control table

Best Regards,
Danilo
acconfig.h_cleanup.diff (text/x-diff, 1.1 KB)
Index: acconfig.h
===================================================================
RCS file: /cvsroot/shadow/acconfig.h,v
retrieving revision 1.21
diff -u -r1.21 acconfig.h
--- acconfig.h	17 Dec 2003 01:46:59 -0000	1.21
+++ acconfig.h	12 May 2005 19:59:45 -0000
@@ -2,9 +2,6 @@
 
 
 
-/* Define if you have secure RPC.  */
-#undef DES_RPC
-
 /* Path for faillog file.  */
 #undef FAILLOG_FILE
 
@@ -29,18 +26,12 @@
 /* Path for lastlog file.  */
 #undef LASTLOG_FILE
 
-/* Define to support /etc/login.access login access control.  */
-#undef LOGIN_ACCESS
-
 /* Location of system mail spool directory.  */
 #undef MAIL_SPOOL_DIR
 
 /* Name of user's mail spool file if stored in user's home directory.  */
 #undef MAIL_SPOOL_FILE
 
-/* Define to support OPIE one-time password logins.  */
-#undef OPIE
-
 /* Path to passwd program.  */
 #undef PASSWD_PROGRAM
 
@@ -55,9 +46,6 @@
 
 /* Define to support the shadow password file.  */
 #undef SHADOWPWD
-
-/* Define to support S/Key logins.  */
-#undef SKEY
 
 /* Define to support /etc/suauth su access control.  */
 #undef SU_ACCESS