Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jan 2017 15:42:12 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r431096 - head/security/gnupg1
Message-ID:  <201701101542.v0AFgCwQ046386@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tijl
Date: Tue Jan 10 15:42:11 2017
New Revision: 431096
URL: https://svnweb.freebsd.org/changeset/ports/431096

Log:
  Restore the link from gpg to gpg2 on uninstallation, removed in r431058.
  
  When gnupg is installed, installing gnupg1 overwrites the link.  Uninstall
  should restore the link so the system is back in the same state.
  
  Approved by:	adamw (maintainer)

Modified:
  head/security/gnupg1/Makefile
  head/security/gnupg1/pkg-plist

Modified: head/security/gnupg1/Makefile
==============================================================================
--- head/security/gnupg1/Makefile	Tue Jan 10 15:37:35 2017	(r431095)
+++ head/security/gnupg1/Makefile	Tue Jan 10 15:42:11 2017	(r431096)
@@ -2,7 +2,7 @@
 
 PORTNAME=	gnupg
 PORTVERSION=	1.4.21
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	security
 MASTER_SITES=	GNUPG
 PKGNAMESUFFIX=	1

Modified: head/security/gnupg1/pkg-plist
==============================================================================
--- head/security/gnupg1/pkg-plist	Tue Jan 10 15:37:35 2017	(r431095)
+++ head/security/gnupg1/pkg-plist	Tue Jan 10 15:42:11 2017	(r431096)
@@ -42,3 +42,4 @@ man/man1/gpgv.1.gz
 %%NLS%%share/locale/uk/LC_MESSAGES/gnupg.mo
 %%NLS%%share/locale/zh_CN/LC_MESSAGES/gnupg.mo
 %%NLS%%share/locale/zh_TW/LC_MESSAGES/gnupg.mo
+@postunexec [ ! -e %D/bin/gpg2 ] || ln -sf gpg2 %D/bin/gpg



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701101542.v0AFgCwQ046386>