1

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

Ivan Tham
Details
Message ID
<20170226071045.7910-1-pickfire@riseup.net>
Sender timestamp
1488093045
DKIM signature
missing
Download raw message
Patch: +1 -0
---
 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:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---
Leonardo Arena
Details
Message ID
<1488536336.11710.418.camel@gmail.com>
In-Reply-To
<20170226071045.7910-1-pickfire@riseup.net> (view parent)
Sender timestamp
1488536336
DKIM signature
missing
Download raw message
On dom, 2017-02-26 at 15:10 +0800, Ivan Tham wrote:
> ---
>  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

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