summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authoragc <agc>2009-12-14 08:00:05 +0000
committeragc <agc>2009-12-14 08:00:05 +0000
commit2303556f460c7c58da6bcc1bd06fc623280fab80 (patch)
tree86b6a8f49ee177562bacb0d6d53b70d6d65a9b08 /security
parent8a9c735f8f37031f669643b6d0403ecf42425dfd (diff)
downloadpkgsrc-2303556f460c7c58da6bcc1bd06fc623280fab80.tar.gz
Initial import of seccure-0.4 into the Packages Collection.
The seccure toolset implements a selection of asymmetric algorithms based on elliptic curve cryptography (ECC). In particular it offers public key encryption / decryption, signature generation / verification and key establishment. ECC schemes offer a much better key size to security ratio than classical systems (RSA, DSA). Keys are short enough to make direct specification of keys on the command line possible (sometimes this is more convenient than the management of PGP-like key rings). seccure builds on this feature and therefore is the tool of choice whenever lightweight asymmetric cryptography -- independent of key servers, revocation certificates, the Web of Trust or even configuration files -- is required.
Diffstat (limited to 'security')
-rw-r--r--security/seccure/DESCR13
-rw-r--r--security/seccure/Makefile17
-rw-r--r--security/seccure/PLIST10
-rw-r--r--security/seccure/distinfo6
-rw-r--r--security/seccure/patches/patch-aa38
5 files changed, 84 insertions, 0 deletions
diff --git a/security/seccure/DESCR b/security/seccure/DESCR
new file mode 100644
index 00000000000..ef9ef5da8a2
--- /dev/null
+++ b/security/seccure/DESCR
@@ -0,0 +1,13 @@
+The seccure toolset implements a selection of asymmetric algorithms
+based on elliptic curve cryptography (ECC). In particular it offers
+public key encryption / decryption, signature generation /
+verification and key establishment.
+
+ECC schemes offer a much better key size to security ratio than
+classical systems (RSA, DSA). Keys are short enough to make direct
+specification of keys on the command line possible (sometimes this is
+more convenient than the management of PGP-like key rings). seccure
+builds on this feature and therefore is the tool of choice whenever
+lightweight asymmetric cryptography -- independent of key servers,
+revocation certificates, the Web of Trust or even configuration files
+-- is required.
diff --git a/security/seccure/Makefile b/security/seccure/Makefile
new file mode 100644
index 00000000000..ed75022ef48
--- /dev/null
+++ b/security/seccure/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/12/14 08:00:05 agc Exp $
+
+DISTNAME= seccure-0.4
+CATEGORIES= security
+MASTER_SITES= http://point-at-infinity.org/seccure/
+
+MAINTAINER= agc@NetBSD.org
+HOMEPAGE= http://point-at-infinity.org/seccure/
+COMMENT= SECCURE Elliptic Curve Crypto Utility for Reliable Encryption
+LICENSE= gnu-gpl-v2
+
+PKG_DESTDIR_SUPPORT= user-destdir
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
+
+.include "../../security/libgcrypt/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/security/seccure/PLIST b/security/seccure/PLIST
new file mode 100644
index 00000000000..1aa09c0dfa6
--- /dev/null
+++ b/security/seccure/PLIST
@@ -0,0 +1,10 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/12/14 08:00:05 agc Exp $
+bin/seccure-decrypt
+bin/seccure-dh
+bin/seccure-encrypt
+bin/seccure-key
+bin/seccure-sign
+bin/seccure-signcrypt
+bin/seccure-veridec
+bin/seccure-verify
+${PKGMANDIR}/man1/seccure.1
diff --git a/security/seccure/distinfo b/security/seccure/distinfo
new file mode 100644
index 00000000000..bf8c806f61a
--- /dev/null
+++ b/security/seccure/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/12/14 08:00:05 agc Exp $
+
+SHA1 (seccure-0.4.tar.gz) = 883e335f58cc36279c33493ab219f4940a46dab8
+RMD160 (seccure-0.4.tar.gz) = fc35fdf69372c39b20a67c5341b1e36ce6bf8e9f
+Size (seccure-0.4.tar.gz) = 31881 bytes
+SHA1 (patch-aa) = 1a83424f90b94e38ccbb4c1d0fa210032c4aab65
diff --git a/security/seccure/patches/patch-aa b/security/seccure/patches/patch-aa
new file mode 100644
index 00000000000..8bfee10f2a5
--- /dev/null
+++ b/security/seccure/patches/patch-aa
@@ -0,0 +1,38 @@
+$NetBSD: patch-aa,v 1.1.1.1 2009/12/14 08:00:05 agc Exp $
+
+--- Makefile 2009/12/07 22:32:10 1.1
++++ Makefile 2009/12/07 22:37:20
+@@ -1,6 +1,9 @@
+ CFLAGS = -O2 -Wall # -D NOBEEP
+
+-default: binaries # doc
++BINDIR=${DESTDIR}${PREFIX}/bin
++MANDIR=${DESTDIR}${PREFIX}/${PKGMANDIR}
++
++default all build: binaries # doc
+
+ binaries: seccure-key seccure-encrypt seccure-decrypt seccure-sign \
+ seccure-verify seccure-signcrypt seccure-veridec seccure-dh
+@@ -8,15 +11,13 @@
+ doc: seccure.1 seccure.1.html
+
+ install: default
+- install -m0755 seccure-key $(DESTDIR)/usr/bin
+- ln -f $(DESTDIR)/usr/bin/seccure-key $(DESTDIR)/usr/bin/seccure-encrypt
+- ln -f $(DESTDIR)/usr/bin/seccure-key $(DESTDIR)/usr/bin/seccure-decrypt
+- ln -f $(DESTDIR)/usr/bin/seccure-key $(DESTDIR)/usr/bin/seccure-sign
+- ln -f $(DESTDIR)/usr/bin/seccure-key $(DESTDIR)/usr/bin/seccure-verify
+- ln -f $(DESTDIR)/usr/bin/seccure-key $(DESTDIR)/usr/bin/seccure-signcrypt
+- ln -f $(DESTDIR)/usr/bin/seccure-key $(DESTDIR)/usr/bin/seccure-veridec
+- ln -f $(DESTDIR)/usr/bin/seccure-key $(DESTDIR)/usr/bin/seccure-dh
+- install -m0644 seccure.1 $(DESTDIR)/usr/share/man/man1
++ ${BSD_INSTALL_PROGRAM} seccure-key ${BINDIR}
++ for f in encrypt decrypt sign verify signcrypt veridec dh; do \
++ rm -f ${BINDIR}/seccure-$$f; \
++ ln ${BINDIR}/seccure-key ${BINDIR}/seccure-$$f; \
++ ls -l ${BINDIR}/seccure-$$f; \
++ done
++ ${BSD_INSTALL_MAN} seccure.1 ${MANDIR}/man1
+
+ clean:
+ rm -f *.o *~ seccure-key seccure-encrypt seccure-decrypt seccure-sign \