/[gentoo-alt]/trunk/net-misc/openssh/files/openssh-3.9_p1-configure-openct.patch
Gentoo

Contents of /trunk/net-misc/openssh/files/openssh-3.9_p1-configure-openct.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 302 - (show annotations) (download)
Fri Apr 29 17:42:46 2005 UTC (9 years, 8 months ago) by flameeyes
File size: 995 byte(s)
Added openssh which uses virtual/pam.

1 The --without-opensc logic is broken, so let's fix it.
2
3 patch by Stian Skjelstad.
4
5 http://bugs.gentoo.org/show_bug.cgi?id=78730
6
7 --- openssh-3.9p1/configure.ac
8 +++ openssh-3.9p1/configure.ac
9 @@ -2171,9 +2171,9 @@
10 AC_ARG_WITH(opensc,
11 AC_HELP_STRING([--with-opensc=PFX],
12 [Enable smartcard support using OpenSC]),
13 - opensc_config_prefix="$withval", opensc_config_prefix="")
14 -if test x$opensc_config_prefix != x ; then
15 - OPENSC_CONFIG=$opensc_config_prefix/bin/opensc-config
16 + [
17 +if test "x$withval" != xno ; then
18 + OPENSC_CONFIG="$withval/bin/opensc-config"
19 AC_PATH_PROG(OPENSC_CONFIG, opensc-config, no)
20 if test "$OPENSC_CONFIG" != "no"; then
21 LIBOPENSC_CFLAGS=`$OPENSC_CONFIG --cflags`
22 @@ -2183,8 +2183,12 @@
23 AC_DEFINE(SMARTCARD)
24 AC_DEFINE(USE_OPENSC)
25 SCARD_MSG="yes, using OpenSC"
26 + else
27 + AC_MSG_ERROR([opensc-config not found])
28 fi
29 fi
30 + ]
31 +)
32
33 # Check libraries needed by DNS fingerprint support
34 AC_SEARCH_LIBS(getrrsetbyname, resolv,

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.20