Re: [Update] Gnupg 2.1.13

2016-07-06 Thread Boyd Waters
On my amd64, "make test" fails for me, as it tries to build the GNU makeinfo 
documentation before running tests. Uses makeinfo option "--css-ref" that was 
introduced in TexInfo 2006.

Port for GNU TexInfo builds with no trouble, but is renamed to gmakeinfo to 
avoid shadowing the distribution's /usr/bin/makeinfo.

You can specify MAKEINFO="/usr/local/bin/gmakeinfo" make test and it works.

I'm working on this again today with a clean -current...


Re: [Update] Gnupg 2.1.13

2016-07-06 Thread Pierre-Emmanuel Andre
On Tue, Jul 05, 2016 at 12:48:24PM +0200, David Coppa wrote:
> On Mon, 04 Jul 2016, Boyd Waters wrote:
> 
> > Will clean this up and post again after some testing here. No worries re 
> > 6.0 timing. Thanks!
> > 
> > > On Jul 4, 2016, at 5:35 PM, Stuart Henderson  wrote:
> > > 
> > > I think it's probably a bit late to get enough testing of this before
> > > 6.0 lock, if it doesn't make it then please mention it again on ports@
> > > if it gets forgotten later :)
> 
> Here's my version.
> 
> Works well for me, and I've also tested smartcard support with my
> Gemalto Gemplus USB SmartCard Reader.
> 
> Ciao!
> David
>

Hi,

Works fine on @amd64. ok pea@
Thanks,


> Index: gnupg2/Makefile
> ===
> RCS file: /cvs/ports/security/gnupg2/Makefile,v
> retrieving revision 1.42
> diff -u -p -u -p -r1.42 Makefile
> --- gnupg2/Makefile   29 Jun 2016 16:14:44 -  1.42
> +++ gnupg2/Makefile   5 Jul 2016 10:43:25 -
> @@ -2,9 +2,8 @@
>  
>  COMMENT =GNU privacy guard - a free PGP replacement
>  
> -DISTNAME =   gnupg-2.1.9
> +DISTNAME =   gnupg-2.1.13
>  CATEGORIES = security
> -REVISION =   0
>  
>  MASTER_SITES =   ${MASTER_SITES_GNUPG:=gnupg/}
>  
> @@ -15,9 +14,9 @@ MAINTAINER =Pierre-Emmanuel Andre   # GPLv3+
>  PERMIT_PACKAGE_CDROM =   Yes
>  
> -WANTLIB +=   assuan bz2 c gcrypt gnutls gpg-error
> -WANTLIB +=   ksba npth pthread readline
> -WANTLIB +=   termcap usb z
> +WANTLIB +=   assuan>=1.2 bz2 c gcrypt gnutls gpg-error
> +WANTLIB +=   ksba npth pthread readline sqlite3
> +WANTLIB +=   termcap usb-1.0 z
>  
>  EXTRACT_SUFX =   .tar.bz2
>  
> @@ -27,10 +26,10 @@ FLAVORS = ldap
>  FLAVOR ?=
>  
>  LIB_DEPENDS =archivers/bzip2 \
> - devel/libusb-compat \
> + devel/libusb1 \
>   devel/npth \
>   security/gnutls \
> - security/libassuan \
> + security/libassuan>=2.4.2 \
>   security/libgcrypt \
>   security/libksba
>  
> @@ -53,12 +52,12 @@ CONFIGURE_STYLE = gnu
>  CONFIGURE_ENV =  CPPFLAGS="-I${LOCALBASE}/include" \
>   LDFLAGS="-L${LOCALBASE}/lib"
>  CONFIGURE_ARGS +=docdir=${LOCALBASE}/share/doc/gnupg2 \
> + --enable-g13 \
>   --enable-gpgtar \
>   --with-adns=no
>  
>  # Avoid conflict with gnupg-1.x
>  post-install:
> - @mv ${PREFIX}/man/man1/gpg-zip.1 ${PREFIX}/man/man1/gpg2-zip.1
>   @mv ${PREFIX}/man/man7/gnupg.7 ${PREFIX}/man/man7/gnupg2.7
>  
>  .include 
> Index: gnupg2/distinfo
> ===
> RCS file: /cvs/ports/security/gnupg2/distinfo,v
> retrieving revision 1.18
> diff -u -p -u -p -r1.18 distinfo
> --- gnupg2/distinfo   20 Oct 2015 09:20:50 -  1.18
> +++ gnupg2/distinfo   5 Jul 2016 10:43:25 -
> @@ -1,2 +1,2 @@
> -SHA256 (gnupg-2.1.9.tar.bz2) = HLdjOlcZC+tm+SSct0RmAyKbJz1NiTMbdcZS+kop97Y=
> -SIZE (gnupg-2.1.9.tar.bz2) = 4925167
> +SHA256 (gnupg-2.1.13.tar.bz2) = T52DpiIdqmATD6efCx031sIP/90DILZAx6WXxbYhlnU=
> +SIZE (gnupg-2.1.13.tar.bz2) = 5545361
> Index: gnupg2/patches/patch-doc_Makefile_in
> ===
> RCS file: gnupg2/patches/patch-doc_Makefile_in
> diff -N gnupg2/patches/patch-doc_Makefile_in
> --- /dev/null 1 Jan 1970 00:00:00 -
> +++ gnupg2/patches/patch-doc_Makefile_in  5 Jul 2016 10:43:25 -
> @@ -0,0 +1,12 @@
> +$OpenBSD$
> +--- doc/Makefile.in.orig Tue Jul  5 08:34:21 2016
>  doc/Makefile.in  Tue Jul  5 08:34:39 2016
> +@@ -514,7 +514,7 @@ CLEANFILES = yat2m mkdefsinc defs.inc
> + DISTCLEANFILES = gnupg.tmp gnupg.ops yat2m-stamp.tmp yat2m-stamp \
> +  gnupg-card-architecture.eps \
> +  gnupg-module-overview.eps \
> +- $(myman_pages) gpg-zip.1 gnupg.7
> ++ $(myman_pages) gnupg.7
> + 
> + all: $(BUILT_SOURCES)
> + $(MAKE) $(AM_MAKEFLAGS) all-am
> Index: gnupg2/pkg/PLIST
> ===
> RCS file: /cvs/ports/security/gnupg2/pkg/PLIST,v
> retrieving revision 1.14
> diff -u -p -u -p -r1.14 PLIST
> --- gnupg2/pkg/PLIST  29 Jun 2016 16:14:44 -  1.14
> +++ gnupg2/pkg/PLIST  5 Jul 2016 10:43:25 -
> @@ -9,7 +9,6 @@
>  @bin bin/gpg-connect-agent
>  @bin bin/gpg2
>  @bin bin/gpgconf
> -@bin bin/gpgkey2ssh
>  @bin bin/gpgparsemail
>  @bin bin/gpgsm
>  @bin bin/gpgtar
> @@ -25,7 +24,6 @@
>  @man man/man1/gpg-agent.1
>  @man man/man1/gpg-connect-agent.1
>  @man man/man1/gpg-preset-passphrase.1
> -@man man/man1/gpg2-zip.1
>  @man man/man1/gpg2.1
>  @man man/man1/gpgconf.1
>  @man man/man1/gpgparsemail.1
> @@ -40,6 +38,7 @@
>  @man man/man8/dirmngr.8
>  

Re: [Update] Gnupg 2.1.13

2016-07-05 Thread Boyd Waters
Excellent! I will test on amd64 and macppc32 with a YubiKey in SmartCard mode.

> On Jul 5, 2016, at 4:48 AM, David Coppa  wrote:
> 
> Here's my version.
> 
> Works well for me, and I've also tested smartcard support with my
> Gemalto Gemplus USB SmartCard Reader.



Re: [Update] Gnupg 2.1.13

2016-07-05 Thread David Coppa
On Mon, 04 Jul 2016, Boyd Waters wrote:

> Will clean this up and post again after some testing here. No worries re 6.0 
> timing. Thanks!
> 
> > On Jul 4, 2016, at 5:35 PM, Stuart Henderson  wrote:
> > 
> > I think it's probably a bit late to get enough testing of this before
> > 6.0 lock, if it doesn't make it then please mention it again on ports@
> > if it gets forgotten later :)

Here's my version.

Works well for me, and I've also tested smartcard support with my
Gemalto Gemplus USB SmartCard Reader.

Ciao!
David

Index: gnupg2/Makefile
===
RCS file: /cvs/ports/security/gnupg2/Makefile,v
retrieving revision 1.42
diff -u -p -u -p -r1.42 Makefile
--- gnupg2/Makefile 29 Jun 2016 16:14:44 -  1.42
+++ gnupg2/Makefile 5 Jul 2016 10:43:25 -
@@ -2,9 +2,8 @@
 
 COMMENT =  GNU privacy guard - a free PGP replacement
 
-DISTNAME = gnupg-2.1.9
+DISTNAME = gnupg-2.1.13
 CATEGORIES =   security
-REVISION = 0
 
 MASTER_SITES = ${MASTER_SITES_GNUPG:=gnupg/}
 
@@ -15,9 +14,9 @@ MAINTAINER =  Pierre-Emmanuel Andre =1.2 bz2 c gcrypt gnutls gpg-error
+WANTLIB += ksba npth pthread readline sqlite3
+WANTLIB += termcap usb-1.0 z
 
 EXTRACT_SUFX = .tar.bz2
 
@@ -27,10 +26,10 @@ FLAVORS =   ldap
 FLAVOR ?=
 
 LIB_DEPENDS =  archivers/bzip2 \
-   devel/libusb-compat \
+   devel/libusb1 \
devel/npth \
security/gnutls \
-   security/libassuan \
+   security/libassuan>=2.4.2 \
security/libgcrypt \
security/libksba
 
@@ -53,12 +52,12 @@ CONFIGURE_STYLE =   gnu
 CONFIGURE_ENV =CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
 CONFIGURE_ARGS +=  docdir=${LOCALBASE}/share/doc/gnupg2 \
+   --enable-g13 \
--enable-gpgtar \
--with-adns=no
 
 # Avoid conflict with gnupg-1.x
 post-install:
-   @mv ${PREFIX}/man/man1/gpg-zip.1 ${PREFIX}/man/man1/gpg2-zip.1
@mv ${PREFIX}/man/man7/gnupg.7 ${PREFIX}/man/man7/gnupg2.7
 
 .include 
Index: gnupg2/distinfo
===
RCS file: /cvs/ports/security/gnupg2/distinfo,v
retrieving revision 1.18
diff -u -p -u -p -r1.18 distinfo
--- gnupg2/distinfo 20 Oct 2015 09:20:50 -  1.18
+++ gnupg2/distinfo 5 Jul 2016 10:43:25 -
@@ -1,2 +1,2 @@
-SHA256 (gnupg-2.1.9.tar.bz2) = HLdjOlcZC+tm+SSct0RmAyKbJz1NiTMbdcZS+kop97Y=
-SIZE (gnupg-2.1.9.tar.bz2) = 4925167
+SHA256 (gnupg-2.1.13.tar.bz2) = T52DpiIdqmATD6efCx031sIP/90DILZAx6WXxbYhlnU=
+SIZE (gnupg-2.1.13.tar.bz2) = 5545361
Index: gnupg2/patches/patch-doc_Makefile_in
===
RCS file: gnupg2/patches/patch-doc_Makefile_in
diff -N gnupg2/patches/patch-doc_Makefile_in
--- /dev/null   1 Jan 1970 00:00:00 -
+++ gnupg2/patches/patch-doc_Makefile_in5 Jul 2016 10:43:25 -
@@ -0,0 +1,12 @@
+$OpenBSD$
+--- doc/Makefile.in.orig   Tue Jul  5 08:34:21 2016
 doc/Makefile.inTue Jul  5 08:34:39 2016
+@@ -514,7 +514,7 @@ CLEANFILES = yat2m mkdefsinc defs.inc
+ DISTCLEANFILES = gnupg.tmp gnupg.ops yat2m-stamp.tmp yat2m-stamp \
+  gnupg-card-architecture.eps \
+  gnupg-module-overview.eps \
+-   $(myman_pages) gpg-zip.1 gnupg.7
++   $(myman_pages) gnupg.7
+ 
+ all: $(BUILT_SOURCES)
+   $(MAKE) $(AM_MAKEFLAGS) all-am
Index: gnupg2/pkg/PLIST
===
RCS file: /cvs/ports/security/gnupg2/pkg/PLIST,v
retrieving revision 1.14
diff -u -p -u -p -r1.14 PLIST
--- gnupg2/pkg/PLIST29 Jun 2016 16:14:44 -  1.14
+++ gnupg2/pkg/PLIST5 Jul 2016 10:43:25 -
@@ -9,7 +9,6 @@
 @bin bin/gpg-connect-agent
 @bin bin/gpg2
 @bin bin/gpgconf
-@bin bin/gpgkey2ssh
 @bin bin/gpgparsemail
 @bin bin/gpgsm
 @bin bin/gpgtar
@@ -25,7 +24,6 @@
 @man man/man1/gpg-agent.1
 @man man/man1/gpg-connect-agent.1
 @man man/man1/gpg-preset-passphrase.1
-@man man/man1/gpg2-zip.1
 @man man/man1/gpg2.1
 @man man/man1/gpgconf.1
 @man man/man1/gpgparsemail.1
@@ -40,6 +38,7 @@
 @man man/man8/dirmngr.8
 sbin/addgnupghome
 sbin/applygnupgdefaults
+@bin sbin/g13-syshelp
 share/doc/gnupg2/
 share/doc/gnupg2/DCO
 share/doc/gnupg2/DETAILS
@@ -90,6 +89,7 @@ share/gnupg/help.txt
 share/gnupg/help.zh_CN.txt
 share/gnupg/help.zh_TW.txt
 share/gnupg/qualified.txt
+share/gnupg/sks-keyservers.netCA.pem
 share/locale/ca/LC_MESSAGES/gnupg2.mo
 share/locale/cs/LC_MESSAGES/gnupg2.mo
 share/locale/da/LC_MESSAGES/gnupg2.mo
Index: libassuan/Makefile
===
RCS file: /cvs/ports/security/libassuan/Makefile,v
retrieving 

Re: [Update] Gnupg 2.1.13

2016-07-04 Thread Boyd Waters
Thanks. Working on this...

I am having trouble with my gpg2 patch; I thought I was being clever
handling the gpg-zip.1 man file.

I am on a *really* lousy Internet link at the moment. Friend's house for
holiday. Hopefully tomorrow my head will be a little bit less tangled!


Re: [Update] Gnupg 2.1.13

2016-07-04 Thread Daniel Jakots
On Mon, 4 Jul 2016 15:39:04 -0600, Boyd Waters 
wrote:

> libassuan-2.4.2 patch.
> sorry about messy re-post

This diff is mangled so I used the previous one. 

The line SHARED_LIBS should be updated ; it looks like upstream went
from 4.1 to 7.2 but only functions were added so I guess a minor bump
should be enough though as it's cheap...

Cheers,
Daniel



Re: [Update] Gnupg 2.1.13

2016-07-04 Thread Boyd Waters
libassuan-2.4.2 patch.
sorry about messy re-post




Index: Makefile
===
RCS file: /cvs/ports/security/libassuan/Makefile,v
retrieving revision 1.14
diff -u -p -r1.14 Makefile
--- Makefile 17 Sep 2013 11:10:01 - 1.14
+++ Makefile 4 Jul 2016 21:25:51 -
@@ -2,7 +2,7 @@

 COMMENT= IPC library used by GnuPG and gpgme

-DISTNAME= libassuan-2.1.1
+DISTNAME= libassuan-2.4.2
 EXTRACT_SUFX= .tar.bz2

 SHARED_LIBS +=  assuan1.1  # 2.0
Index: distinfo
===
RCS file: /cvs/ports/security/libassuan/distinfo,v
retrieving revision 1.8
diff -u -p -r1.8 distinfo
--- distinfo 17 Sep 2013 11:10:02 - 1.8
+++ distinfo 4 Jul 2016 21:25:51 -
@@ -1,2 +1,2 @@
-SHA256 (libassuan-2.1.1.tar.bz2) =
I+LWd3m4jpDSn+HfaxVxCfHCpkfQ8bKg9Clbs8CyA50=
-SIZE (libassuan-2.1.1.tar.bz2) = 538155
+SHA256 (libassuan-2.4.2.tar.bz2) =
bb06dc81380b74bf1b64d5849be5c0409a336f3b4c45f20ac688e86d1b5bcb20
+SIZE (libassuan-2.4.2.tar.bz2) = 587631
Index: patches/patch-configure
===
RCS file: /cvs/ports/security/libassuan/patches/patch-configure,v
retrieving revision 1.3
diff -u -p -r1.3 patch-configure
--- patches/patch-configure 17 Sep 2013 11:10:02 - 1.3
+++ patches/patch-configure 4 Jul 2016 21:25:51 -
@@ -1,7 +1,7 @@
 $OpenBSD: patch-configure,v 1.3 2013/09/17 11:10:02 ajacoutot Exp $
 configure.orig Mon Jun 24 07:14:16 2013
-+++ configure Tue Sep 17 13:06:46 2013
-@@ -14355,11 +14355,12 @@ if ${assuan_cv_sys_so_peercred+:} false; then :
+--- configure.orig Wed Dec  2 06:15:59 2015
 configure Mon Jun 27 00:48:10 2016
+@@ -14577,11 +14577,12 @@ if ${assuan_cv_sys_so_peercred+:} false; then :
  else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  /* end confdefs.h.  */
Index: patches/patch-src_assuan-socket_c
===
RCS file: patches/patch-src_assuan-socket_c
diff -N patches/patch-src_assuan-socket_c
--- /dev/null 1 Jan 1970 00:00:00 -
+++ patches/patch-src_assuan-socket_c 4 Jul 2016 21:25:51 -
@@ -0,0 +1,26 @@
+$OpenBSD$
+--- src/assuan-socket.c.orig Fri Nov 27 03:32:13 2015
 src/assuan-socket.c Mon Jun 27 00:48:10 2016
+@@ -38,6 +38,22 @@
+ # include 
+ #endif
+ #include 
++
++
++/* OpenBSD does not have EPROTO */
++#if !defined(ENOTSUP) && defined(EOPNOTSUPP)
++#define ENOTSUP EOPNOTSUPP
++#endif
++
++#if !defined(ENODATA) && defined(ENOENT)
++#define ENODATA ENOENT
++#endif
++
++#if !defined(EPROTO) && defined(ENOPROTOOPT)
++#define EPROTO ENOPROTOOPT
++#endif
++
++
+ #ifdef HAVE_SYS_STAT_H
+ # include 
+ #endif


Re: [Update] Gnupg 2.1.13

2016-07-04 Thread Boyd Waters
Very sorry. Yes, libassuan was simply a version bump. I will re-submit a patch 
with that.

> On Jul 4, 2016, at 4:27 AM, David Coppa  wrote:
> 
>> On Fri, 01 Jul 2016, Boyd Waters wrote:
>> 
>> Hello, world. I am new to OpenBSD and my CVS skills are a dim memory from
>> 10 years ago.
>> 
>> Here is a patch for gnupg2 to update to version 2.1.13
>> 
>> My Yubikey (and I suppose, other SmartCard readers) need at least version
>> 2.1.11 to push 4096-bit RSA keys to the card.
>> 
>> Tested on amd64.
>> 
>> I will test on MacPPC (PowerPC G3, the 750 CPU) and on MacPPC G4 next week.
>> 
>> Comments welcome. Thanks.
> 
> How have you built gnupg-2.1.13 without first updating libassuan?
> 
> ---8<---
> 
> ===>  Configuring for gnupg-2.1.13
> Using /usr/pobj/gnupg-2.1.13/config.site (generated)
> 
> ...
> 
> checking for cc for build... cc
> checking for pkg-config... /usr/bin/pkg-config
> checking pkg-config is at least version 0.9.0... yes
> configure: checking for libraries
> checking for gpg-error-config... /usr/local/bin/gpg-error-config
> checking for GPG Error - version >= 1.21... yes (1.23)
> checking for libgcrypt-config... /usr/local/bin/libgcrypt-config
> checking for LIBGCRYPT - version >= 1.6.0... yes (1.7.1)
> checking LIBGCRYPT API version... okay
> checking for libassuan-config... /usr/local/bin/libassuan-config
> checking for LIBASSUAN - version >= 2.4.1... no
> checking for ksba-config... /usr/local/bin/ksba-config
> checking for KSBA - version >= 1.2.0... yes (1.3.3)
> checking KSBA API version... okay
> checking for libusb_init in -lusb-1.0... yes
> checking libusb include dir... /usr/local/include/libusb-1.0
> checking for library containing dlopen... none required
> checking for SQLITE3... yes
> checking for encfs... /usr/bin/encfs
> checking for fusermount... /usr/bin/fusermount
> checking for openpty in -lutil... (cached) yes
> checking for shred... /usr/local/bin/shred
> checking for npth-config... /usr/local/bin/npth-config
> checking for NPTH - version >= 0.91... yes (1.2)
> checking NPTH API version... okay
> checking for ntbtls-config... no
> checking for NTBTLS - version >= 0.1.0... no
> checking for LIBGNUTLS... yes
> configure: checking for networking options
> checking for gethostbyname... (cached) yes
> checking for setsockopt... (cached) yes
> checking for library containing res_query... none required
> checking for library containing dn_expand... none required
> checking for library containing dn_skipname... no
> checking for library containing __dn_skipname... none required
> checking whether the resolver is usable... yes
> configure: WARNING:
> ***
> *** Building without LDAP support.
> *** No CRL access or X.509 certificate search available.
> ***
> checking for sendmail... /usr/sbin/sendmail
> checking for ld used by GCC... /usr/bin/ld
> checking if the linker (/usr/bin/ld) is GNU ld... yes
> checking for shared library run path origin... done
> checking for iconv... yes
> checking for working iconv... yes
> checking how to link with libiconv... /usr/local/lib/libiconv.so.6.0
> checking for iconv declaration... 
> extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, 
> char * *outbuf, size_t *outbytesleft);
> configure: checking for gettext
> checking whether NLS is requested... yes
> checking for msgfmt... /usr/local/bin/msgfmt
> checking for gmsgfmt... /usr/local/bin/msgfmt
> checking for xgettext... /usr/local/bin/xgettext
> checking for msgmerge... /usr/local/bin/msgmerge
> checking for CFPreferencesCopyAppValue... no
> checking for CFLocaleCopyCurrent... no
> checking for GNU gettext in libc... no
> checking for iconv... (cached) yes
> checking for working iconv... (cached) yes
> checking how to link with libiconv... /usr/local/lib/libiconv.so.6.0
> checking for GNU gettext in libintl... yes
> checking whether to use NLS... yes
> checking where the gettext function comes from... external libintl
> checking how to link with libintl... /usr/local/lib/libintl.so.6.0 
> /usr/local/lib/libiconv.so.6.0 -lc -Wl,-rpath,/usr/local/lib
> checking for strchr... (cached) yes
> checking for nl_langinfo and CODESET... yes
> checking for LC_MESSAGES... yes
> configure: checking for header files
> checking for ANSI C header files... (cached) yes
> checking for string.h... (cached) yes
> checking for unistd.h... (cached) yes
> checking langinfo.h usability... yes
> checking langinfo.h presence... yes
> checking for langinfo.h... yes
> checking for termio.h... (cached) no
> checking for locale.h... (cached) yes
> checking for getopt.h... (cached) yes
> checking for pty.h... (cached) no
> checking for utmp.h... (cached) yes
> checking for pwd.h... (cached) yes
> checking for inttypes.h... (cached) yes
> checking for signal.h... (cached) yes
> checking for sys/select.h... (cached) yes
> checking for signal.h... (cached) yes
> checking whether time.h and sys/time.h may both be included... (cached) yes
> configure: checking for system 

Re: [Update] Gnupg 2.1.13

2016-07-04 Thread David Coppa
On Fri, 01 Jul 2016, Boyd Waters wrote:

> Hello, world. I am new to OpenBSD and my CVS skills are a dim memory from
> 10 years ago.
> 
> Here is a patch for gnupg2 to update to version 2.1.13
> 
> My Yubikey (and I suppose, other SmartCard readers) need at least version
> 2.1.11 to push 4096-bit RSA keys to the card.
> 
> Tested on amd64.
> 
> I will test on MacPPC (PowerPC G3, the 750 CPU) and on MacPPC G4 next week.
> 
> Comments welcome. Thanks.

How have you built gnupg-2.1.13 without first updating libassuan?

---8<---

===>  Configuring for gnupg-2.1.13
Using /usr/pobj/gnupg-2.1.13/config.site (generated)

...

checking for cc for build... cc
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
configure: checking for libraries
checking for gpg-error-config... /usr/local/bin/gpg-error-config
checking for GPG Error - version >= 1.21... yes (1.23)
checking for libgcrypt-config... /usr/local/bin/libgcrypt-config
checking for LIBGCRYPT - version >= 1.6.0... yes (1.7.1)
checking LIBGCRYPT API version... okay
checking for libassuan-config... /usr/local/bin/libassuan-config
checking for LIBASSUAN - version >= 2.4.1... no
checking for ksba-config... /usr/local/bin/ksba-config
checking for KSBA - version >= 1.2.0... yes (1.3.3)
checking KSBA API version... okay
checking for libusb_init in -lusb-1.0... yes
checking libusb include dir... /usr/local/include/libusb-1.0
checking for library containing dlopen... none required
checking for SQLITE3... yes
checking for encfs... /usr/bin/encfs
checking for fusermount... /usr/bin/fusermount
checking for openpty in -lutil... (cached) yes
checking for shred... /usr/local/bin/shred
checking for npth-config... /usr/local/bin/npth-config
checking for NPTH - version >= 0.91... yes (1.2)
checking NPTH API version... okay
checking for ntbtls-config... no
checking for NTBTLS - version >= 0.1.0... no
checking for LIBGNUTLS... yes
configure: checking for networking options
checking for gethostbyname... (cached) yes
checking for setsockopt... (cached) yes
checking for library containing res_query... none required
checking for library containing dn_expand... none required
checking for library containing dn_skipname... no
checking for library containing __dn_skipname... none required
checking whether the resolver is usable... yes
configure: WARNING:
***
*** Building without LDAP support.
*** No CRL access or X.509 certificate search available.
***
checking for sendmail... /usr/sbin/sendmail
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for iconv... yes
checking for working iconv... yes
checking how to link with libiconv... /usr/local/lib/libiconv.so.6.0
checking for iconv declaration... 
 extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, 
char * *outbuf, size_t *outbytesleft);
configure: checking for gettext
checking whether NLS is requested... yes
checking for msgfmt... /usr/local/bin/msgfmt
checking for gmsgfmt... /usr/local/bin/msgfmt
checking for xgettext... /usr/local/bin/xgettext
checking for msgmerge... /usr/local/bin/msgmerge
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... no
checking for iconv... (cached) yes
checking for working iconv... (cached) yes
checking how to link with libiconv... /usr/local/lib/libiconv.so.6.0
checking for GNU gettext in libintl... yes
checking whether to use NLS... yes
checking where the gettext function comes from... external libintl
checking how to link with libintl... /usr/local/lib/libintl.so.6.0 
/usr/local/lib/libiconv.so.6.0 -lc -Wl,-rpath,/usr/local/lib
checking for strchr... (cached) yes
checking for nl_langinfo and CODESET... yes
checking for LC_MESSAGES... yes
configure: checking for header files
checking for ANSI C header files... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking for termio.h... (cached) no
checking for locale.h... (cached) yes
checking for getopt.h... (cached) yes
checking for pty.h... (cached) no
checking for utmp.h... (cached) yes
checking for pwd.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for signal.h... (cached) yes
checking for sys/select.h... (cached) yes
checking for signal.h... (cached) yes
checking whether time.h and sys/time.h may both be included... (cached) yes
configure: checking for system characteristics
checking for an ANSI C-conforming const... (cached) yes
checking for inline... inline
checking for working volatile... (cached) yes
checking for size_t... (cached) yes
checking for mode_t... (cached) yes
checking return type of signal handlers... (cached) void
checking whether sys_siglist is declared... yes
checking for sys/socket.h... (cached) yes
checking for socklen_t...