Re: [Update] Gnupg 2.1.13
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
Excellent! I will test on amd64 and macppc32 with a YubiKey in SmartCard mode. > On Jul 5, 2016, at 4:48 AM, David Coppawrote: > > 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
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
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
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 <dco...@gmail.com> 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... (
[Update] Gnupg 2.1.13
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. gnupg2.1.13.patch Description: Binary data