pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/security/pinentry-mac
Module Name: pkgsrc
Committed By: jym
Date: Wed May 31 12:19:17 UTC 2017
Added Files:
pkgsrc/security/pinentry-mac: DESCR Makefile PLIST distinfo
pkgsrc/security/pinentry-mac/files: pinentry-mac.sh
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/security/pinentry-mac/DESCR \
pkgsrc/security/pinentry-mac/Makefile pkgsrc/security/pinentry-mac/PLIST \
pkgsrc/security/pinentry-mac/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/security/pinentry-mac/files/pinentry-mac.sh
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/security/pinentry-mac/DESCR
diff -u /dev/null pkgsrc/security/pinentry-mac/DESCR:1.1
--- /dev/null Wed May 31 12:19:17 2017
+++ pkgsrc/security/pinentry-mac/DESCR Wed May 31 12:19:16 2017
@@ -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.
Index: pkgsrc/security/pinentry-mac/Makefile
diff -u /dev/null pkgsrc/security/pinentry-mac/Makefile:1.1
--- /dev/null Wed May 31 12:19:17 2017
+++ pkgsrc/security/pinentry-mac/Makefile Wed May 31 12:19:16 2017
@@ -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"
Index: pkgsrc/security/pinentry-mac/PLIST
diff -u /dev/null pkgsrc/security/pinentry-mac/PLIST:1.1
--- /dev/null Wed May 31 12:19:17 2017
+++ pkgsrc/security/pinentry-mac/PLIST Wed May 31 12:19:16 2017
@@ -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
Index: pkgsrc/security/pinentry-mac/distinfo
diff -u /dev/null pkgsrc/security/pinentry-mac/distinfo:1.1
--- /dev/null Wed May 31 12:19:17 2017
+++ pkgsrc/security/pinentry-mac/distinfo Wed May 31 12:19:16 2017
@@ -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
Index: pkgsrc/security/pinentry-mac/files/pinentry-mac.sh
diff -u /dev/null pkgsrc/security/pinentry-mac/files/pinentry-mac.sh:1.1
--- /dev/null Wed May 31 12:19:17 2017
+++ pkgsrc/security/pinentry-mac/files/pinentry-mac.sh Wed May 31 12:19:17 2017
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+open '@PINENTRY_APP_DIR@' $@
Home |
Main Index |
Thread Index |
Old Index