Subject: [alpine-aports] [PATCH] main/gnupg: Replaces gnupg1

From: Ivan Tham <[email-masked]>
Date: Sun, 26 Feb 2017 15:10:45 +0800

---
 main/gnupg/APKBUILD | 1 +
 1 file changed, 1 insertion(+)

diff --git a/main/gnupg/APKBUILD b/main/gnupg/APKBUILD
index 775cdb9..f8e9e11 100644
--- a/main/gnupg/APKBUILD
+++ b/main/gnupg/APKBUILD
@@ -10,6 +10,7 @@ arch="all"
 license="GPL"
 options=""
 depends="pinentry"
+replaces="gnupg" # Replace gnupg1
 makedepends="curl-dev libksba-dev libgcrypt-dev libgpg-error-dev
 	npth-dev zlib-dev libassuan-dev openldap-dev bzip2-dev"
 subpackages="$pkgname-doc"
-- 
2.11.1

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---

---

From: Leonardo Arena <[email-masked]>
Date: Fri, 03 Mar 2017 11:18:56 +0100

> +replaces="gnupg" # Replace gnupg1

gnupg1 has the same entry.
I think that the idea is that when you do "apk add gnupg" you get v2 by
default and if you want v1 you need to specify it. If you have gnupg v2
already installed it will be uninstalled and replaced with v1.

Thanks

|_eo