summaryrefslogtreecommitdiff
path: root/security/bcrypt
diff options
context:
space:
mode:
authorxtraeme <xtraeme>2005-09-03 22:45:51 +0000
committerxtraeme <xtraeme>2005-09-03 22:45:51 +0000
commit8548ceed486433999898c58221da88d6376a1774 (patch)
tree1a30b39f2a61944ede3f4c094264375a5b8c7270 /security/bcrypt
parent3da1d86919699598d2ec99211d37522469bb5fd5 (diff)
downloadpkgsrc-8548ceed486433999898c58221da88d6376a1774.tar.gz
Initial import of bcrypt-1.1.
Bcrypt is a cross platform file encryption utility. Encrypted files are portable across all supported operating systems and processors. Passphrases must be between 8 and 56 characters and are hashed internally to a 448 bit key. However, all characters supplied are significant. The stronger your passphrase, the more secure your data. In addition to encrypting your data, bcrypt will by default overwrite the original input file with random garbage three times before deleting it in order to thwart data recovery attempts by persons who may gain access to your computer.
Diffstat (limited to 'security/bcrypt')
-rw-r--r--security/bcrypt/DESCR10
-rw-r--r--security/bcrypt/Makefile23
-rw-r--r--security/bcrypt/PLIST3
-rw-r--r--security/bcrypt/distinfo6
-rw-r--r--security/bcrypt/patches/patch-aa17
5 files changed, 59 insertions, 0 deletions
diff --git a/security/bcrypt/DESCR b/security/bcrypt/DESCR
new file mode 100644
index 00000000000..7c117e5b25d
--- /dev/null
+++ b/security/bcrypt/DESCR
@@ -0,0 +1,10 @@
+Bcrypt is a cross platform file encryption utility. Encrypted files
+are portable across all supported operating systems and processors.
+Passphrases must be between 8 and 56 characters and are hashed
+internally to a 448 bit key. However, all characters supplied are
+significant. The stronger your passphrase, the more secure your data.
+
+In addition to encrypting your data, bcrypt will by default overwrite
+the original input file with random garbage three times before deleting
+it in order to thwart data recovery attempts by persons who may gain
+access to your computer.
diff --git a/security/bcrypt/Makefile b/security/bcrypt/Makefile
new file mode 100644
index 00000000000..f841c9c4fc1
--- /dev/null
+++ b/security/bcrypt/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/09/03 22:45:51 xtraeme Exp $
+#
+
+DISTNAME= bcrypt-1.1
+CATEGORIES= security
+MASTER_SITES= http://bcrypt.sourceforge.net/
+
+MAINTAINER= tech-pkg@NetBSD.org
+HOMEPAGE= http://bcrypt.sourceforge.net/
+COMMENT= Cross platform file encryption utility
+
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+
+BUILD_TARGET= bcrypt
+
+INSTALLATION_DIRS= bin man/man1
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/bcrypt ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/bcrypt.1 ${PREFIX}/man/man1
+
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/security/bcrypt/PLIST b/security/bcrypt/PLIST
new file mode 100644
index 00000000000..c2f89560cdc
--- /dev/null
+++ b/security/bcrypt/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/09/03 22:45:51 xtraeme Exp $
+bin/bcrypt
+man/man1/bcrypt.1
diff --git a/security/bcrypt/distinfo b/security/bcrypt/distinfo
new file mode 100644
index 00000000000..2709a88d076
--- /dev/null
+++ b/security/bcrypt/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/09/03 22:45:51 xtraeme Exp $
+
+SHA1 (bcrypt-1.1.tar.gz) = fd4c7c83fdc560f143bb0e0a8c9fb7aa57e69698
+RMD160 (bcrypt-1.1.tar.gz) = c043a25169b09e7b07c2e00db0d4ca2c3b3d13be
+Size (bcrypt-1.1.tar.gz) = 36781 bytes
+SHA1 (patch-aa) = db3644c1ee6965816220aaad6f5b190b424c436f
diff --git a/security/bcrypt/patches/patch-aa b/security/bcrypt/patches/patch-aa
new file mode 100644
index 00000000000..47c73cde339
--- /dev/null
+++ b/security/bcrypt/patches/patch-aa
@@ -0,0 +1,17 @@
+$NetBSD: patch-aa,v 1.1.1.1 2005/09/03 22:45:51 xtraeme Exp $
+
+--- Makefile.orig 2005-09-04 00:35:52.000000000 +0200
++++ Makefile 2005-09-04 00:36:25.000000000 +0200
+@@ -1,9 +1,9 @@
+ DEFAULTS = Makefile includes.h blowfish.h functions.h config.h
+-CC = gcc
+-CFLAGS = -O2 -Wall
++#CC = gcc
++CFLAGS += -O2 -Wall
+ COMPILE = ${CC} ${CFLAGS}
+ OBJS = main.o blowfish.o rwfile.o keys.o wrapbf.o endian.o wrapzl.o
+-LDFLAGS = -L/usr/local/lib -lz
++LDFLAGS += -lz
+ PREFIX = /usr/local
+
+ bcrypt: ${OBJS} Makefile