summaryrefslogtreecommitdiff
path: root/security/PortableSigner
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2014-04-23 11:27:58 +0000
committerwiz <wiz@pkgsrc.org>2014-04-23 11:27:58 +0000
commita77b1b316e8f66d47679b57ccc37e42aa328aa21 (patch)
tree46672517f03c92f371f3509a63262a64f6a3e168 /security/PortableSigner
parent820a7ff44b1e6a2fd82b137bd6ed5f69b7f75504 (diff)
downloadpkgsrc-a77b1b316e8f66d47679b57ccc37e42aa328aa21.tar.gz
Import PortableSigner-2.0.38c0573 as security/PortableSigner.
PortableSigner is a signing (with X.509 certificates) program for PDF files. It's platform independent and runs (tested) under Windows (2000, XP, ...), Linux and Mac OS X. It's possible to sign PDF documents digital with X.509 certificates. This signed documents are read only. Therefore it's possible to implement "electronic paper".
Diffstat (limited to 'security/PortableSigner')
-rw-r--r--security/PortableSigner/DESCR7
-rw-r--r--security/PortableSigner/Makefile36
-rw-r--r--security/PortableSigner/PLIST11
-rw-r--r--security/PortableSigner/distinfo5
4 files changed, 59 insertions, 0 deletions
diff --git a/security/PortableSigner/DESCR b/security/PortableSigner/DESCR
new file mode 100644
index 00000000000..6c396ff8a3b
--- /dev/null
+++ b/security/PortableSigner/DESCR
@@ -0,0 +1,7 @@
+PortableSigner is a signing (with X.509 certificates) program for
+PDF files. It's platform independent and runs (tested) under
+Windows (2000, XP, ...), Linux and Mac OS X.
+
+It's possible to sign PDF documents digital with X.509 certificates.
+This signed documents are read only. Therefore it's possible to
+implement "electronic paper".
diff --git a/security/PortableSigner/Makefile b/security/PortableSigner/Makefile
new file mode 100644
index 00000000000..3420db3a0ce
--- /dev/null
+++ b/security/PortableSigner/Makefile
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile,v 1.1 2014/04/23 11:27:58 wiz Exp $
+
+DISTNAME= PortableSigner-Generic-2.0.38c0573
+PKGNAME= ${DISTNAME:S/-Generic//}
+CATEGORIES= security
+MASTER_SITES= http://sourceforge.net/projects/portablesigner/files/portablesigner/2.0-Release/
+EXTRACT_SUFX= .zip
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://portablesigner.sourceforge.net/
+COMMENT= Tool for digital signing (with X.509 certificates) of PDF files
+LICENSE= eupl-v1.1
+
+WRKSRC= ${WRKDIR}
+USE_LANGUAGES= # none
+USE_JAVA= run
+USE_JAVA2= yes
+
+INSTALLATION_DIRS= bin lib/PortableSigner/lib share/applications share/doc/PortableSigner
+
+do-build:
+ ${ECHO} '#!/bin/sh' > ${WRKDIR}/PortableSigner.sh
+ ${ECHO} "exec ${JAVA_BINPREFIX}-java -cp \"${PREFIX}/lib/PortableSigner/lib/*\" -jar ${PREFIX}/lib/PortableSigner/PortableSigner.jar "'"$$@"' >> ${WRKDIR}/PortableSigner.sh
+
+do-install:
+ cd ${WRKSRC} && cp PortableSigner.jar ${DESTDIR}${PREFIX}/lib/PortableSigner
+ # must be lib, hardcoded in PortableSigner.jar
+ cd ${WRKSRC} && cp lib/* ${DESTDIR}${PREFIX}/lib/PortableSigner/lib
+ ${INSTALL_SCRIPT} ${WRKDIR}/PortableSigner.sh ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKDIR}/linux/PortableSignerLogo.png ${DESTDIR}${PREFIX}/share/doc/PortableSigner
+ ${INSTALL_DATA} ${WRKDIR}/linux/Readme.txt ${DESTDIR}${PREFIX}/share/doc/PortableSigner
+ ${INSTALL_DATA} ${WRKDIR}/linux/portablesigner.desktop ${DESTDIR}${PREFIX}/share/applications
+
+.include "../../sysutils/desktop-file-utils/desktopdb.mk"
+.include "../../mk/java-vm.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/security/PortableSigner/PLIST b/security/PortableSigner/PLIST
new file mode 100644
index 00000000000..3bc64ca50ec
--- /dev/null
+++ b/security/PortableSigner/PLIST
@@ -0,0 +1,11 @@
+@comment $NetBSD: PLIST,v 1.1 2014/04/23 11:27:58 wiz Exp $
+bin/PortableSigner.sh
+lib/PortableSigner/PortableSigner.jar
+lib/PortableSigner/lib/bcprov-ext-jdk16-146.jar
+lib/PortableSigner/lib/commons-cli-1.2.jar
+lib/PortableSigner/lib/itextpdf-5.1.3.jar
+lib/PortableSigner/lib/quaqua.jar
+lib/PortableSigner/lib/swing-layout-1.0.4.jar
+share/applications/portablesigner.desktop
+share/doc/PortableSigner/PortableSignerLogo.png
+share/doc/PortableSigner/Readme.txt
diff --git a/security/PortableSigner/distinfo b/security/PortableSigner/distinfo
new file mode 100644
index 00000000000..b77a57f1411
--- /dev/null
+++ b/security/PortableSigner/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2014/04/23 11:27:58 wiz Exp $
+
+SHA1 (PortableSigner-Generic-2.0.38c0573.zip) = fa98f8d4de485f79fb32ed7998b3b0918181e54e
+RMD160 (PortableSigner-Generic-2.0.38c0573.zip) = 92f6f599178d4274f1781a1b64c13f574ab56e85
+Size (PortableSigner-Generic-2.0.38c0573.zip) = 5219989 bytes