pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/pinentry-mac Initial import of pinentry-mac, ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/30ff38416692
branches: trunk
changeset: 363067:30ff38416692
user: jym <jym%pkgsrc.org@localhost>
date: Wed May 31 12:19:16 2017 +0000
description:
Initial import of pinentry-mac, version 0.9.4.
This is a Darwin-ported pinentry, which works natively without
pulling in gtk or qt4 dependencies. It is independent from the
original collection of pinentry tools, and grew its own code and
repository, although it still uses Assuan protocol internally (and
can therefore be integrated with gpg-agent and enigmail under Mac OS).
Note that it uses xcodebuild instead of autotools and generates an App.
I decided to copy over the .app as under libexec and rely on sh script
for invocation, App cannot be called through symlinks.
Description:
This is a collection of simple PIN or passphrase entry dialogs which
utilize the Assuan protocol as described by the aegypten project.
It provides programs for several graphical toolkits, such as GTK+ and
QT, as well as for the console, using curses.
This package is a port of the pinentry tool for Darwin.
diffstat:
security/pinentry-mac/DESCR | 5 +++
security/pinentry-mac/Makefile | 38 +++++++++++++++++++++++++++++
security/pinentry-mac/PLIST | 10 +++++++
security/pinentry-mac/distinfo | 6 ++++
security/pinentry-mac/files/pinentry-mac.sh | 3 ++
5 files changed, 62 insertions(+), 0 deletions(-)
diffs (82 lines):
diff -r 4f64c09a3208 -r 30ff38416692 security/pinentry-mac/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/pinentry-mac/DESCR Wed May 31 12:19:16 2017 +0000
@@ -0,0 +1,5 @@
+This is a collection of simple PIN or passphrase entry dialogs which
+utilize the Assuan protocol as described by the aegypten project.
+It provides programs for several graphical toolkits, such as GTK+ and
+QT, as well as for the console, using curses.
+This package is a port of the pinentry tool for Darwin.
diff -r 4f64c09a3208 -r 30ff38416692 security/pinentry-mac/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/pinentry-mac/Makefile Wed May 31 12:19:16 2017 +0000
@@ -0,0 +1,38 @@
+# $NetBSD: Makefile,v 1.1 2017/05/31 12:19:16 jym Exp $
+
+DISTNAME= pinentry-mac-${PINENTRY_VERSION}
+MASTER_SITES= ${MASTER_SITE_GITHUB:=GPGTools/}
+PINENTRY_VERSION=0.9.4
+GITHUB_TAG= v${PKGVERSION_NOREV}
+EXTRACT_SUFX= .zip
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/GPGTools/pinentry-mac/
+COMMENT= Application for entering PINs or Passphrases under Mac OS
+LICENSE= gnu-gpl-v3
+CATEGORIES= security
+
+ONLY_FOR_PLATFORM=Darwin-*-*
+USE_TOOLS= pax
+
+PINENTRY_APP_DIR= ${PREFIX}/libexec/${PINENTRY_APP_NAME}
+PINENTRY_APP_NAME= pinentry-mac.app
+INSTALLATION_DIRS= bin
+
+FILES_SUBST+= PINENTRY_APP_DIR=${PINENTRY_APP_DIR:Q}
+
+SUBST_CLASSES+= pinentry-mac-sh
+SUBST_STAGE.pinentry-mac-sh= pre-configure
+SUBST_FILES.pinentry-mac-sh+= ${WRKDIR}/pinentry-mac.sh
+SUBST_VARS.pinentry-mac-sh+= PINENTRY_APP_DIR
+SUBST_MESSAGE.pinentry-mac-sh= Set path to the pinentry-mac .app directory.
+
+post-extract:
+ ${CP} ${FILESDIR}/pinentry-mac.sh ${WRKDIR}
+
+do-install:
+ ${INSTALL_PROGRAM_DIR} ${DESTDIR}${PINENTRY_APP_DIR}
+ cd ${WRKSRC}/build/Release/${PINENTRY_APP_NAME} && pax -rwpam . ${DESTDIR}${PINENTRY_APP_DIR}
+ ${INSTALL_SCRIPT} ${WRKDIR}/pinentry-mac.sh ${DESTDIR}${PREFIX}/bin/pinentry-mac
+
+.include "../../mk/bsd.pkg.mk"
diff -r 4f64c09a3208 -r 30ff38416692 security/pinentry-mac/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/pinentry-mac/PLIST Wed May 31 12:19:16 2017 +0000
@@ -0,0 +1,10 @@
+@comment $NetBSD: PLIST,v 1.1 2017/05/31 12:19:16 jym Exp $
+bin/pinentry-mac
+libexec/pinentry-mac.app/Contents/Info.plist
+libexec/pinentry-mac.app/Contents/MacOS/pinentry-mac
+libexec/pinentry-mac.app/Contents/PkgInfo
+libexec/pinentry-mac.app/Contents/Resources/COPYING
+libexec/pinentry-mac.app/Contents/Resources/English.lproj/Pinentry.nib
+libexec/pinentry-mac.app/Contents/Resources/German.lproj/Pinentry.nib
+libexec/pinentry-mac.app/Contents/Resources/Icon.icns
+libexec/pinentry-mac.app/Contents/Resources/Main.nib
diff -r 4f64c09a3208 -r 30ff38416692 security/pinentry-mac/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/pinentry-mac/distinfo Wed May 31 12:19:16 2017 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/05/31 12:19:16 jym Exp $
+
+SHA1 (pinentry-mac-0.9.4.zip) = da2a909ec45e74ad1a6ff2fad34b34e3dcdb8f32
+RMD160 (pinentry-mac-0.9.4.zip) = 9b2e4dc378ebec9f314e1706a5d3d9a358f0e4b2
+SHA512 (pinentry-mac-0.9.4.zip) = 6eaba116eb248a2b444e131c9f9f56f91c028783e37e5b600763f1c02b9162495a557517dfb96883cf4d22d8582907e4615d3491fc8aadaf85eee8b4464067bf
+Size (pinentry-mac-0.9.4.zip) = 312871 bytes
diff -r 4f64c09a3208 -r 30ff38416692 security/pinentry-mac/files/pinentry-mac.sh
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/pinentry-mac/files/pinentry-mac.sh Wed May 31 12:19:16 2017 +0000
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+open '@PINENTRY_APP_DIR@' $@
Home |
Main Index |
Thread Index |
Old Index