FreeBSD Bugzilla – Attachment 243406 Details for
Bug 272519
security/gnupg: Create symlink for ${PREFIX}/man/man1/gpg.1.gz
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch file
security_gnupg.create-symlink-for-manpage.patch (text/plain), 1.46 KB, created by
Yasuhiro Kimura
on 2023-07-15 17:14:28 UTC
(
hide
)
Description:
Patch file
Filename:
MIME Type:
Creator:
Yasuhiro Kimura
Created:
2023-07-15 17:14:28 UTC
Size:
1.46 KB
patch
obsolete
>From 9219498cb3dfcdf53ba14651ed474c9d9284f3cc Mon Sep 17 00:00:00 2001 >From: Yasuhiro Kimura <yasu@FreeBSD.org> >Date: Sun, 16 Jul 2023 01:58:03 +0900 >Subject: [PATCH] security/gnupg: Create symlink for > ${PREFIX}/man/man1/gpg.1.gz > >When security/gnupg1 isn't installed, ${PREFIX}/bin/gpg symlink is >created whose target is 'gpg2'. It means gpg2 can also be invoked as >'gpg'. And under such situation it is convenient for user if gpg2(1) >man page can also be accessed as gpg(1). So create >${PREFIX}/man/man1/gpg.1.gz symlink whose target is 'gpg2.1.gz'. >--- > security/gnupg/Makefile | 2 +- > security/gnupg/pkg-plist | 2 ++ > 2 files changed, 3 insertions(+), 1 deletion(-) > >diff --git a/security/gnupg/Makefile b/security/gnupg/Makefile >index ca13f0c944f9..02637667f41b 100644 >--- a/security/gnupg/Makefile >+++ b/security/gnupg/Makefile >@@ -1,6 +1,6 @@ > PORTNAME= gnupg > DISTVERSION= 2.4.3 >-PORTREVISION= 1 >+PORTREVISION= 2 > CATEGORIES= security > MASTER_SITES= GNUPG > >diff --git a/security/gnupg/pkg-plist b/security/gnupg/pkg-plist >index 49090edb2b2e..a279fde721f7 100644 >--- a/security/gnupg/pkg-plist >+++ b/security/gnupg/pkg-plist >@@ -123,3 +123,5 @@ sbin/applygnupgdefaults > %%NLS%%share/locale/zh_TW/LC_MESSAGES/gnupg2.mo > @postexec [ -e %D/bin/gpg ] || ln -sf gpg2 %D/bin/gpg > @postunexec [ -e %D/bin/gpg ] || rm -f %D/bin/gpg >+@postexec [ -e %D/man/man1/gpg.1.gz] || ln -sf gpg2.1.gz %D/man/man1/gpg.1.gz >+@postunexec [ -e %D/man/man1/gpg.1.gz ] || rm -f %D/man/man1/gpg.1.gz >-- >2.41.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 272519
: 243406