Sunday, September 06, 2020

Re: Killing gpg1

Hi,

On Sun, Sep 06, 2020 at 02:33:12AM +0200, Jeremie Courreges-Anglas wrote:
> This doesn't catch everything.

Yeah, I realised shortly after. I think it's because the [^2] part of
the glob doesn't catch cases where the line ends after `security/gnupg`.
I spent a little time trying to figure out the right query, but resorted
to grep.

Interested to know how ajacoutot@'s script works. Does it use a sqlports
query?

> + security/p5-GPG (no consumer, not updated since import in 2001)

^ Shall we kill this one?

> As Edd notes, the migration path for consumer ports may be as easy as
> replacing security/gnupg with security/gnupg2 in BUILD, RUN and
> TEST_DEPENDS, and bump REVISION.

Below is my diff so far. This includes your latest diff to
security/gnupg2. An earlier version of this diff in a mini bulk didn't
break compilation of any of gpg's dependants.

I wasn't sure if we need to add a pkg spec to the updated RUN/BUILD
depends, or just updating the pkg path is sufficient.

`RUN_DEPENDS=gnupg->=2:security/gnupg2` vs. just `RUN_DEPENDS=security/gnupg2`.

We will also need to add a quirk to ensure that gnupg1 updates to
gnupg2 properly.

> Regarding the user migration path, the compat "gpg2" and "gpgv2"
> symlinks could be removed for 6.9, or this could be done post-release.
> I would go with the latter but I don't feel strongly about it.

I'm thinking post-release too. We are bound to encounter breakage, and
it'd be good to limit that to -current if possible.

Assuming the plan is to eventually retire bin/gpg2 in favour of bin/gpg,
we can incrementally fix things whilst the old gpg2 symlink is still
present. I imagine we can discover a fair chunk of breakage by running a
bulk where we've locally removed the symlink.

We should also grep the tree for patches containing `gpg`.

> Of course, runtime tests would be useful, if only to point out old
> software that should have been adapted to work with gnupg-2.X.

This is the part that worries me most. I think to some degree we will be
relying on users to tell us what's broken, as it'll be quite hard to
runtime test all the various modes of operation of the dependant ports.

So does the following diff look like we are heading in the right
direction?


Index: databases/mysql-zrm/Makefile
===================================================================
RCS file: /cvs/ports/databases/mysql-zrm/Makefile,v
retrieving revision 1.25
diff -u -p -r1.25 Makefile
--- databases/mysql-zrm/Makefile 20 Mar 2020 16:44:22 -0000 1.25
+++ databases/mysql-zrm/Makefile 5 Sep 2020 12:54:28 -0000
@@ -5,7 +5,7 @@ COMMENT = MySQL backup scripts
V = 3.0
DISTNAME = MySQL-zrm-${V}-release
PKGNAME = mysql-zrm-${V}
-REVISION = 1
+REVISION = 2
CATEGORIES = databases perl5

HOMEPAGE = http://www.zmanda.com/
@@ -19,7 +19,7 @@ MASTER_SITES = http://www.zmanda.com/dow

RUN_DEPENDS = archivers/gtar \
databases/p5-DBD-mysql \
- security/gnupg \
+ security/gnupg2 \
textproc/p5-XML-RSS

WRKDIST = ${WRKDIR}
Index: mail/mailpile/Makefile
===================================================================
RCS file: /cvs/ports/mail/mailpile/Makefile,v
retrieving revision 1.13
diff -u -p -r1.13 Makefile
--- mail/mailpile/Makefile 2 Oct 2019 08:16:33 -0000 1.13
+++ mail/mailpile/Makefile 5 Sep 2020 12:57:49 -0000
@@ -5,7 +5,7 @@ PKGNAME = ${DISTNAME:L}
GH_ACCOUNT = mailpile
GH_PROJECT = Mailpile
GH_TAGNAME = 1.0.0rc6
-REVISION=2
+REVISION=3

HOMEPAGE = https://www.mailpile.is/

@@ -25,7 +25,7 @@ RUN_DEPENDS = devel/py-appdirs \
devel/py-six \
net/py-idna \
security/py-asn1crypto \
- security/gnupg \
+ security/gnupg2 \
security/py-cryptodome \
security/py-cryptography \
security/py-pgpdump \
Index: mail/mutt/Makefile
===================================================================
RCS file: /cvs/ports/mail/mutt/Makefile,v
retrieving revision 1.140
diff -u -p -r1.140 Makefile
--- mail/mutt/Makefile 31 Aug 2020 16:52:03 -0000 1.140
+++ mail/mutt/Makefile 5 Sep 2020 15:11:05 -0000
@@ -4,6 +4,7 @@ COMMENT= tty-based e-mail client

DISTNAME= mutt-1.14.7
EPOCH= 3
+REVISION = 0

CATEGORIES= mail
HOMEPAGE= http://www.mutt.org/
@@ -97,7 +98,7 @@ post-install:
mv -f ${PREFIX}/share/doc/mutt/samples/* ${PREFIX}/share/examples/mutt
cd ${PREFIX}/share/examples/mutt; \
chmod +x *.sh *.pl mutt_xtitle markdown2html
- sed -i -e 's,gpg ,${LOCALBASE}/bin/gpg2 ,' \
+ sed -i -e 's,gpg ,${LOCALBASE}/bin/gpg ,' \
${PREFIX}/share/examples/mutt/gpg.rc

.include <bsd.port.mk>
Index: mail/p5-Mail-SpamAssassin/Makefile
===================================================================
RCS file: /cvs/ports/mail/p5-Mail-SpamAssassin/Makefile,v
retrieving revision 1.115
diff -u -p -r1.115 Makefile
--- mail/p5-Mail-SpamAssassin/Makefile 30 Jan 2020 07:54:00 -0000 1.115
+++ mail/p5-Mail-SpamAssassin/Makefile 5 Sep 2020 12:54:57 -0000
@@ -3,6 +3,7 @@
COMMENT= mailfilter to identify and mark spam

VER= 3.4.4
+REVISION = 0
DISTNAME= Mail-SpamAssassin-${VER}
PKGNAME= p5-${DISTNAME}
RULESNAME= Mail-SpamAssassin-rules-${VER}.r1873061.tgz
@@ -39,7 +40,7 @@ RUN_DEPENDS= ${COMMON_DEPENDS} \
p5-GeoIP2-*|p5-IP-Country-DB_File-*|p5-IP-Country-*:net/p5-GeoIP2 \
net/p5-Net-LibIDN \
net/p5-Net-Patricia \
- security/gnupg \
+ security/gnupg2 \
textproc/p5-Encode-Detect \
curl-*|p5-libwww-*:net/curl \
www/p5-HTTP-Date
Index: mail/pine-pgp-filters/Makefile
===================================================================
RCS file: /cvs/ports/mail/pine-pgp-filters/Makefile,v
retrieving revision 1.10
diff -u -p -r1.10 Makefile
--- mail/pine-pgp-filters/Makefile 12 Jul 2019 20:47:36 -0000 1.10
+++ mail/pine-pgp-filters/Makefile 5 Sep 2020 15:10:01 -0000
@@ -3,7 +3,7 @@
COMMENT= simple shell based filters to use GnuPG within (Al)Pine

DISTNAME= pine-pgp-filters-1.8
-REVISION= 3
+REVISION= 4
CATEGORIES= mail security

HOMEPAGE= http://dougbarton.us/PGP/ppf/index.html
@@ -13,8 +13,8 @@ PERMIT_PACKAGE= Yes

MASTER_SITES= http://dougbarton.us/PGP/ppf/

-BUILD_DEPENDS= security/gnupg
-RUN_DEPENDS= security/gnupg \
+BUILD_DEPENDS= security/gnupg2
+RUN_DEPENDS= security/gnupg2 \
mail/alpine,-main

CONFIGURE_STYLE=simple
Index: net/py-slixmpp/Makefile
===================================================================
RCS file: /cvs/ports/net/py-slixmpp/Makefile,v
retrieving revision 1.19
diff -u -p -r1.19 Makefile
--- net/py-slixmpp/Makefile 11 Jul 2020 06:49:49 -0000 1.19
+++ net/py-slixmpp/Makefile 5 Sep 2020 13:02:25 -0000
@@ -26,6 +26,6 @@ RUN_DEPENDS = devel/py-asn1${MODPY_FLAV
devel/py-asn1-modules${MODPY_FLAVOR} \
net/py-aiodns${MODPY_FLAVOR} \
www/py-aiohttp
-TEST_DEPENDS = security/gnupg
+TEST_DEPENDS = security/gnupg2

.include <bsd.port.mk>
Index: security/clamav-unofficial-sigs/Makefile
===================================================================
RCS file: /cvs/ports/security/clamav-unofficial-sigs/Makefile,v
retrieving revision 1.16
diff -u -p -r1.16 Makefile
--- security/clamav-unofficial-sigs/Makefile 12 Jul 2019 21:15:35 -0000 1.16
+++ security/clamav-unofficial-sigs/Makefile 5 Sep 2020 12:59:33 -0000
@@ -3,7 +3,7 @@
COMMENT = fetch and update unofficial signatures for ClamAV

V = 4.9.2
-REVISION = 2
+REVISION = 3
DISTNAME = clamav-unofficial-sigs-$V
DISTFILES = ${DISTNAME}{$V}.tar.gz

@@ -19,7 +19,7 @@ MASTER_SITES = https://github.com/extrem
RUN_DEPENDS = net/curl \
net/rsync \
security/clamav \
- security/gnupg \
+ security/gnupg2 \
shells/bash

NO_BUILD = Yes
Index: security/fwknop/Makefile
===================================================================
RCS file: /cvs/ports/security/fwknop/Makefile,v
retrieving revision 1.6
diff -u -p -r1.6 Makefile
--- security/fwknop/Makefile 12 Jul 2019 20:49:02 -0000 1.6
+++ security/fwknop/Makefile 5 Sep 2020 12:55:22 -0000
@@ -3,7 +3,7 @@
COMMENT = firewall knock operator

DISTNAME = fwknop-2.6.10
-REVISION = 0
+REVISION = 1

SHARED_LIBS += fko 0.0 # 3.0

@@ -21,9 +21,9 @@ WANTLIB += assuan c gpg-error gpgme icon
MASTER_SITES = https://www.cipherdyne.org/fwknop/download/

BUILD_DEPENDS = net/wget \
- security/gnupg
+ security/gnupg2
RUN_DEPENDS = net/wget \
- security/gnupg
+ security/gnupg2
LIB_DEPENDS = devel/gettext,-runtime \
security/gpgme

Index: security/gnupg/Makefile
===================================================================
RCS file: security/gnupg/Makefile
diff -N security/gnupg/Makefile
--- security/gnupg/Makefile 5 Jul 2020 09:40:19 -0000 1.117
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,73 +0,0 @@
-# $OpenBSD: Makefile,v 1.117 2020/07/05 09:40:19 jca Exp $
-
-COMMENT= GNU privacy guard - a free PGP replacement
-
-DISTNAME= gnupg-1.4.23
-REVISION= 4
-CATEGORIES= security
-
-# restrict, not compatible with gnupg-2.
-PKGSPEC = gnupg-<2
-
-MASTER_SITES= ${MASTER_SITE_GNUPG:=gnupg/}
-
-HOMEPAGE= https://www.gnupg.org/
-
-# GPLv3
-PERMIT_PACKAGE= Yes
-
-WANTLIB += bz2 c crypto curses curl iconv intl nghttp2 readline ssl z
-
-LIB_DEPENDS= archivers/bzip2 \
- devel/gettext,-runtime \
- net/curl
-
-CONFIGURE_STYLE= gnu
-MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/scripts
-CONFIGURE_ARGS+= --disable-gnupg-iconv
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib"
-MAKE_FLAGS= LIBINTL="-L${LOCALBASE}/lib -lintl -liconv" \
- LIBICONV="-L${LOCALBASE}/lib -liconv"
-
-FLAVORS= card ldap
-FLAVOR?=
-
-.if ${FLAVOR:Mcard}
-LIB_DEPENDS+= devel/libusb-compat
-WANTLIB += usb
-.else
-CONFIGURE_ARGS+= --disable-card-support --without-libusb
-.endif
-
-.if ${FLAVOR:Mldap}
-CONFIGURE_ARGS+= --enable-ldap
-LIB_DEPENDS+= databases/openldap
-WANTLIB += ldap>=8
-.else
-CONFIGURE_ARGS+= --disable-ldap
-.endif
-
-
-GNUPGDOCFILES= README AUTHORS COPYING THANKS TODO BUGS \
- doc/DETAILS doc/FAQ doc/OpenPGP doc/HACKING
-
-.include <bsd.port.arch.mk>
-.if (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "mips64" || \
- ${MACHINE_ARCH} == "mips64el" || ${MACHINE_ARCH} == "powerpc") \
- && ${PROPERTIES:Mclang}
-CFLAGS += -fheinous-gnu-extensions
-.endif
-
-.if ${MACHINE_ARCH} == "hppa"
-pre-configure:
- # mpi/hppa1.1/udiv-qrnnd.S is not PIE-safe
- mv ${WRKSRC}/mpi/hppa/udiv-qrnnd.S ${WRKSRC}/mpi/hppa1.1/
-.endif
-
-post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gnupg
- cd ${WRKSRC}; ${INSTALL_DATA} ${GNUPGDOCFILES} \
- ${PREFIX}/share/doc/gnupg
-
-.include <bsd.port.mk>
Index: security/gnupg/distinfo
===================================================================
RCS file: security/gnupg/distinfo
diff -N security/gnupg/distinfo
--- security/gnupg/distinfo 13 Jun 2018 06:20:01 -0000 1.32
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,2 +0,0 @@
-SHA256 (gnupg-1.4.23.tar.gz) = R9kgsK0Jm9yf/G4bNjK/YXN8Iv1todqZRCmvHF+pURo=
-SIZE (gnupg-1.4.23.tar.gz) = 5218622
Index: security/gnupg/patches/patch-cipher_Makefile_in
===================================================================
RCS file: security/gnupg/patches/patch-cipher_Makefile_in
diff -N security/gnupg/patches/patch-cipher_Makefile_in
--- security/gnupg/patches/patch-cipher_Makefile_in 19 Oct 2017 16:36:04 -0000 1.12
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,13 +0,0 @@
-$OpenBSD: patch-cipher_Makefile_in,v 1.12 2017/10/19 16:36:04 jca Exp $
-Index: cipher/Makefile.in
---- cipher/Makefile.in.orig
-+++ cipher/Makefile.in
-@@ -401,7 +401,7 @@ target_alias = @target_alias@
- top_build_prefix = @top_build_prefix@
- top_builddir = @top_builddir@
- top_srcdir = @top_srcdir@
--AM_CPPFLAGS = -I.. -I$(top_srcdir)/include -I$(top_srcdir)/intl \
-+AM_CPPFLAGS = -I.. -I$(top_srcdir)/include \
- -I$(top_srcdir)/mpi -I../mpi $(am__append_1)
- noinst_LIBRARIES = libcipher.a
- libcipher_a_SOURCES = cipher.c pubkey.c md.c dynload.c bithelp.h des.c \
Index: security/gnupg/patches/patch-doc_Makefile_in
===================================================================
RCS file: security/gnupg/patches/patch-doc_Makefile_in
diff -N security/gnupg/patches/patch-doc_Makefile_in
--- security/gnupg/patches/patch-doc_Makefile_in 1 Mar 2015 12:12:54 -0000 1.10
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,12 +0,0 @@
-$OpenBSD: patch-doc_Makefile_in,v 1.10 2015/03/01 12:12:54 jca Exp $
---- doc/Makefile.in.orig Fri Feb 27 09:37:51 2015
-+++ doc/Makefile.in Fri Feb 27 22:39:17 2015
-@@ -422,7 +422,7 @@ gnupg1_TEXINFOS = gnupg1.texi
-
- # Need this to avoid building of dvis with automake 1.4
- DVIS =
--pkgdata_DATA = FAQ
-+#pkgdata_DATA = FAQ
-
- # we can't add gpg.texi gpgv.texi here because automake does not like them to
- # be built files.
Index: security/gnupg/patches/patch-g10_Makefile_in
===================================================================
RCS file: security/gnupg/patches/patch-g10_Makefile_in
diff -N security/gnupg/patches/patch-g10_Makefile_in
--- security/gnupg/patches/patch-g10_Makefile_in 1 Mar 2015 12:12:54 -0000 1.11
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,12 +0,0 @@
-$OpenBSD: patch-g10_Makefile_in,v 1.11 2015/03/01 12:12:54 jca Exp $
---- g10/Makefile.in.orig Fri Feb 27 09:37:51 2015
-+++ g10/Makefile.in Fri Feb 27 22:39:17 2015
-@@ -461,7 +461,7 @@ target_alias = @target_alias@
- top_build_prefix = @top_build_prefix@
- top_builddir = @top_builddir@
- top_srcdir = @top_srcdir@
--AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/intl \
-+AM_CPPFLAGS = -I$(top_srcdir)/include \
- @LIBUSB_CPPFLAGS@ $(am__append_1)
- needed_libs = ../cipher/libcipher.a ../mpi/libmpi.a ../util/libutil.a
- other_libs = $(LIBICONV) $(DNSLIBS) $(LIBINTL) $(CAPLIBS)
Index: security/gnupg/patches/patch-keyserver_Makefile_in
===================================================================
RCS file: security/gnupg/patches/patch-keyserver_Makefile_in
diff -N security/gnupg/patches/patch-keyserver_Makefile_in
--- security/gnupg/patches/patch-keyserver_Makefile_in 1 Mar 2015 12:12:54 -0000 1.10
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,12 +0,0 @@
-$OpenBSD: patch-keyserver_Makefile_in,v 1.10 2015/03/01 12:12:54 jca Exp $
---- keyserver/Makefile.in.orig Fri Feb 27 09:37:52 2015
-+++ keyserver/Makefile.in Fri Feb 27 22:40:22 2015
-@@ -444,7 +444,7 @@ target_alias = @target_alias@
- top_build_prefix = @top_build_prefix@
- top_builddir = @top_builddir@
- top_srcdir = @top_srcdir@
--AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/intl
-+AM_CPPFLAGS = -I$(top_srcdir)/include
- EXTRA_SCRIPTS = gpgkeys_mailto
- gpglibexecdir = $(libexecdir)/@PACKAGE@
- gpglibexec_PROGRAMS = @GPGKEYS_LDAP@ @GPGKEYS_HKP@ @GPGKEYS_FINGER@ @GPGKEYS_CURL@
Index: security/gnupg/patches/patch-mpi_Makefile_in
===================================================================
RCS file: security/gnupg/patches/patch-mpi_Makefile_in
diff -N security/gnupg/patches/patch-mpi_Makefile_in
--- security/gnupg/patches/patch-mpi_Makefile_in 11 Nov 2018 21:14:33 -0000 1.4
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,14 +0,0 @@
-$OpenBSD: patch-mpi_Makefile_in,v 1.4 2018/11/11 21:14:33 naddy Exp $
-
-Index: mpi/Makefile.in
---- mpi/Makefile.in.orig
-+++ mpi/Makefile.in
-@@ -713,7 +713,7 @@ uninstall-am:
- # cancel the default rules used by libtool which do not really
- # work and add one to cpp .S files
- .S.o:
-- $(CPP) $(INCLUDES) $(DEFS) $< | grep -v '^#' > _$*.s
-+ $(CPP) $(INCLUDES) $(DEFS) -DPIC $< | grep -v '^#' > _$*.s
- $(COMPILE) $(AM_CCASFLAGS) -c _$*.s
- mv -f _$*.o $*.o
-
Index: security/gnupg/patches/patch-mpi_config_links
===================================================================
RCS file: security/gnupg/patches/patch-mpi_config_links
diff -N security/gnupg/patches/patch-mpi_config_links
--- security/gnupg/patches/patch-mpi_config_links 12 Apr 2020 18:29:01 -0000 1.7
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,15 +0,0 @@
-$OpenBSD: patch-mpi_config_links,v 1.7 2020/04/12 18:29:01 cwen Exp $
-
-Fix "error: unsupported argument '-mppc' to option 'Wa,'" with clang on macppc
-
-Index: mpi/config.links
---- mpi/config.links.orig
-+++ mpi/config.links
-@@ -234,7 +234,6 @@ case "${host}" in
- echo '/* configured for {Open,Net}BSD on powerpc */' >>./mpi/asm-syntax.h
- echo '#define ELF_SYNTAX' >>./mpi/asm-syntax.h
- cat $srcdir/mpi/powerpc32/syntax.h >>./mpi/asm-syntax.h
-- mpi_sflags="-Wa,-mppc"
- path="powerpc32"
- ;;
-
Index: security/gnupg/patches/patch-mpi_longlong_h
===================================================================
RCS file: security/gnupg/patches/patch-mpi_longlong_h
diff -N security/gnupg/patches/patch-mpi_longlong_h
--- security/gnupg/patches/patch-mpi_longlong_h 23 Jan 2018 13:54:54 -0000 1.3
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,42 +0,0 @@
-$OpenBSD: patch-mpi_longlong_h,v 1.3 2018/01/23 13:54:54 jca Exp $
-
-Index: mpi/longlong.h
---- mpi/longlong.h.orig
-+++ mpi/longlong.h
-@@ -184,8 +184,8 @@ extern UDItype __udiv_qrnnd ();
- #define add_ssaaaa(sh, sl, ah, al, bh, bl) \
- __asm__ ("adds %1, %4, %5\n" \
- "adc %0, %2, %3" \
-- : "=r" ((USItype)(sh)), \
-- "=&r" ((USItype)(sl)) \
-+ : "=r" ((sh)), \
-+ "=&r" ((sl)) \
- : "%r" ((USItype)(ah)), \
- "rI" ((USItype)(bh)), \
- "%r" ((USItype)(al)), \
-@@ -193,8 +193,8 @@ extern UDItype __udiv_qrnnd ();
- #define sub_ddmmss(sh, sl, ah, al, bh, bl) \
- __asm__ ("subs %1, %4, %5\n" \
- "sbc %0, %2, %3" \
-- : "=r" ((USItype)(sh)), \
-- "=&r" ((USItype)(sl)) \
-+ : "=r" ((sh)), \
-+ "=&r" ((sl)) \
- : "r" ((USItype)(ah)), \
- "rI" ((USItype)(bh)), \
- "r" ((USItype)(al)), \
-@@ -221,10 +221,10 @@ extern UDItype __udiv_qrnnd ();
- : "r0", "r1", "r2" __AND_CLOBBER_CC)
- #else
- #define umul_ppmm(xh, xl, a, b) \
-- __asm__ ("%@ Inlined umul_ppmm\n" \
-- "umull %r1, %r0, %r2, %r3" \
-- : "=&r" ((USItype)(xh)), \
-- "=r" ((USItype)(xl)) \
-+ __asm__ ("@ Inlined umul_ppmm\n" \
-+ "umull %1, %0, %2, %3" \
-+ : "=&r" ((xh)), \
-+ "=r" ((xl)) \
- : "r" ((USItype)(a)), \
- "r" ((USItype)(b)) \
- : "r0", "r1")
Index: security/gnupg/patches/patch-tools_Makefile_in
===================================================================
RCS file: security/gnupg/patches/patch-tools_Makefile_in
diff -N security/gnupg/patches/patch-tools_Makefile_in
--- security/gnupg/patches/patch-tools_Makefile_in 1 Mar 2015 12:12:54 -0000 1.11
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,12 +0,0 @@
-$OpenBSD: patch-tools_Makefile_in,v 1.11 2015/03/01 12:12:54 jca Exp $
---- tools/Makefile.in.orig Fri Feb 27 09:37:52 2015
-+++ tools/Makefile.in Fri Feb 27 22:39:17 2015
-@@ -430,7 +430,7 @@ top_build_prefix = @top_build_prefix@
- top_builddir = @top_builddir@
- top_srcdir = @top_srcdir@
- EXTRA_DIST = lspgpot ring-a-party mail-signed-keys convert-from-106
--AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/intl \
-+AM_CPPFLAGS = -I$(top_srcdir)/include \
- $(am__append_1)
- needed_libs = ../cipher/libcipher.a ../mpi/libmpi.a ../util/libutil.a
- other_libs = $(LIBICONV) $(LIBINTL) $(CAPLIBS)
Index: security/gnupg/patches/patch-util_Makefile_in
===================================================================
RCS file: security/gnupg/patches/patch-util_Makefile_in
diff -N security/gnupg/patches/patch-util_Makefile_in
--- security/gnupg/patches/patch-util_Makefile_in 1 Mar 2015 12:12:54 -0000 1.10
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,12 +0,0 @@
-$OpenBSD: patch-util_Makefile_in,v 1.10 2015/03/01 12:12:54 jca Exp $
---- util/Makefile.in.orig Fri Feb 27 09:37:52 2015
-+++ util/Makefile.in Fri Feb 27 22:40:53 2015
-@@ -415,7 +415,7 @@ target_alias = @target_alias@
- top_build_prefix = @top_build_prefix@
- top_builddir = @top_builddir@
- top_srcdir = @top_srcdir@
--AM_CPPFLAGS = -I.. -I$(top_srcdir)/include -I$(top_srcdir)/intl
-+AM_CPPFLAGS = -I.. -I$(top_srcdir)/include
- noinst_LIBRARIES = libutil.a libcompat.a
- libutil_a_SOURCES = logger.c fileutil.c miscutil.c strgutil.c ttyio.c \
- argparse.c memory.c secmem.c errors.c iobuf.c dotlock.c http.c \
Index: security/gnupg/patches/patch-util_secmem_c
===================================================================
RCS file: security/gnupg/patches/patch-util_secmem_c
diff -N security/gnupg/patches/patch-util_secmem_c
--- security/gnupg/patches/patch-util_secmem_c 13 Oct 2014 19:21:16 -0000 1.5
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,40 +0,0 @@
-$OpenBSD: patch-util_secmem_c,v 1.5 2014/10/13 19:21:16 sthen Exp $
---- util/secmem.c.orig Thu Dec 20 12:22:28 2012
-+++ util/secmem.c Sun Dec 30 23:27:38 2012
-@@ -36,6 +36,8 @@
- #include <sys/lock.h>
-

No comments:

Post a Comment