[patch] fix building with shadow-4.0.17 with skey support

Mike Frysinger <[email protected]> Sat, 15 Jul 2006 00:52:40 -0400
Newsgroups gmane.linux.pld.shadow.general
Organization wh0rd.org
Message-ID <[email protected]>
--Boundary-00=_YSHuENRqnfbdxO4
Content-Type: multipart/signed; boundary="nextPart2290157.8qPz21Z2HV";
	protocol="application/pgp-signature"; micalg=pgp-sha1
Content-Transfer-Encoding: 7bit

--nextPart2290157.8qPz21Z2HV
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

looks like lib/getpass.c was punted, but configure.in still rewrites getpas=
s()=20
to libshadow_getpass()

simple patch by Ulrich Mueller to remove define from configure.in

http://bugs.gentoo.org/139966
=2Dmike

--nextPart2290157.8qPz21Z2HV
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)

iQIVAwUARLh0mEFjO5/oN/WBAQJEOw/+KVcV/ZE3uNMS4tW2BNQJCJXs26tHRmXf
4qKY3lCm1ZJRGNlHUWeNkTbcuVGAuNgvY1arDgK9neDrzCswfxyFRpu1OJ+lVeU+
6lJap4+YnwwpP1LJv1VpX4KeStr2EiRx3jyX3mqghHi39+TSgPuUhG7IxRqF0qMI
ubNHHlVUygabqqxaRynIIkvcEdJirFp/O9wwBah/gFEhc11zAMtXZ6wCY/+XVH4E
UGGTUnqZF6JYeElqhysn8ZiIpFMp4P/NNj9UIdWTgJsF3cN37pEIabUdPE4nK9X9
WvGgqlVFOv40dn/HytalZkuM61DlMKX9YgPdgPeOutmMQ0HpWZErTlrY8L795iyl
GHYNU4q0bo/ILsLe7nUfPZCgU99ysjneNwmWNMdvpGVx5u3JGKY9FY8qiyvBxtC1
JVprQsRo98/DzFrMTYfwnSHL/v1mdp3+mVLpyu/WtEDG1j3oAJ7TMH0bruDSbxYI
H6OFfGgGsUqifgToKu2Orz1re4lwdV29iCD3wDq2VsSIO6lxswQKXS33FuJOTHym
QOxUnZLCj90qrlxGh8/vj3JTyak/8e07B0icTG7FXfoYSIqZvfCN4ypqz3RBbQGT
l8F1WOlF+btBnKt0TcXDG1AtANTEuxbAtRCNvHxJ9aKYr3W3tM0eLZou4YF/p4ff
ZrIWtGo4yH8=
=h/fS
-----END PGP SIGNATURE-----

--nextPart2290157.8qPz21Z2HV--

--Boundary-00=_YSHuENRqnfbdxO4
Content-Type: text/x-diff; charset="us-ascii";
	name="shadow-4.0.17-no-local-getpass.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
	filename="shadow-4.0.17-no-local-getpass.patch"

Index: configure.in
===================================================================
RCS file: /cvsroot/shadow/configure.in,v
retrieving revision 1.145
diff -u -p -r1.145 configure.in
--- configure.in	25 Jun 2006 12:30:47 -0000	1.145
+++ configure.in	15 Jul 2006 04:51:29 -0000
@@ -329,9 +329,6 @@ if test "$with_skey" = "yes"; then
 	],[
 		skeychallenge((void*)0, (void*)0, (void*)0, 0);
 	],[AC_DEFINE(SKEY_BSD_STYLE, 1, [Define to support newer BSD S/Key API])])
-	dnl libshadow_getpass() handles password prompt with enabled echo
-	AC_DEFINE(getpass, libshadow_getpass,
-		[Define to libshadow_getpass to use our own version of getpass().])
 fi
 
 AM_GNU_GETTEXT_VERSION(0.12.1)

--Boundary-00=_YSHuENRqnfbdxO4
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline