summaryrefslogtreecommitdiff
path: root/security/vncrypt
diff options
context:
space:
mode:
authorSergey Skvortsov <skv@FreeBSD.org>2002-05-27 11:15:41 +0000
committerSergey Skvortsov <skv@FreeBSD.org>2002-05-27 11:15:41 +0000
commit16e316ad557fb95bf9c0b0d323f1570eec45201a (patch)
tree126cd9c16d1d4a7fb27d3fb6bf001d802bce08c3 /security/vncrypt
parentAdd ElScreen, a GNU screen like utility on Emacsen. (diff)
Add vncrypt 1.0-beta3, cryptographic disk driver for FreeBSD.
Notes
Notes: svn path=/head/; revision=60117
Diffstat (limited to 'security/vncrypt')
-rw-r--r--security/vncrypt/Makefile54
-rw-r--r--security/vncrypt/distinfo1
-rw-r--r--security/vncrypt/pkg-comment1
-rw-r--r--security/vncrypt/pkg-descr8
-rw-r--r--security/vncrypt/pkg-message4
-rw-r--r--security/vncrypt/pkg-plist12
6 files changed, 80 insertions, 0 deletions
diff --git a/security/vncrypt/Makefile b/security/vncrypt/Makefile
new file mode 100644
index 000000000000..e2cb1b2ef220
--- /dev/null
+++ b/security/vncrypt/Makefile
@@ -0,0 +1,54 @@
+# New ports collection makefile for: vncrypt
+# Date created: 22 Jan 2002
+# Whom: Sergey Skvortsov <skv@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= vncrypt
+PORTVERSION= 1.0-beta3
+CATEGORIES= security
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= skv@FreeBSD.org
+
+NO_PACKAGE= "Depends on kernel"
+PLIST_SUB= KMODDIR=${KMODDIR} DOCSDIR="share/doc/${PORTNAME}"
+MAKE_ENV+= BINDIR=${PREFIX}/sbin
+PKGMESSAGE= ${WRKDIR}/pkg-message
+
+.include <bsd.port.pre.mk>
+
+SUP_OS_VER= 450004
+.if ${OSVERSION} < ${SUP_OS_VER}
+BROKEN= "OS versions prior to ${SUP_OS_VER} is not supported"
+.endif
+
+.ifdef(IPSEC)
+#Compile for kernel with IPSEC support
+MAKE_ENV+= CRYPTO_SRCS=""
+.endif
+
+DOCS_LANG= en ru
+DOCS_en= README
+DOCS_ru= README.rus doc/*rus*
+
+post-install:
+.ifndef(NOPORTDOCS)
+ @${ECHO_MSG} "===> Installing documentation for ${PKGNAME}"
+.for _LANG in ${DOCS_LANG}
+ @${MKDIR} ${DOCSDIR}/${_LANG}
+.for DOCFILE in ${DOCS_${_LANG}}
+ @${INSTALL_DATA} ${WRKSRC}/${DOCFILE} ${DOCSDIR}/${_LANG}
+.endfor
+.endfor
+.endif
+ @${SED} -e "s:%%PREFIX%%:${PREFIX}:g" pkg-message >${PKGMESSAGE}
+.ifndef(BATCH)
+ @${ECHO}
+ @${CAT} ${PKGMESSAGE}
+ @${ECHO}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/security/vncrypt/distinfo b/security/vncrypt/distinfo
new file mode 100644
index 000000000000..a0116caf99de
--- /dev/null
+++ b/security/vncrypt/distinfo
@@ -0,0 +1 @@
+MD5 (vncrypt-1.0-beta3.tar.gz) = b3ed2f9f81e9d840f4115811cc09c025
diff --git a/security/vncrypt/pkg-comment b/security/vncrypt/pkg-comment
new file mode 100644
index 000000000000..e78790c40b85
--- /dev/null
+++ b/security/vncrypt/pkg-comment
@@ -0,0 +1 @@
+Cryptographic disk driver for FreeBSD
diff --git a/security/vncrypt/pkg-descr b/security/vncrypt/pkg-descr
new file mode 100644
index 000000000000..6d7c86ed9504
--- /dev/null
+++ b/security/vncrypt/pkg-descr
@@ -0,0 +1,8 @@
+This is cryptographic disk driver for FreeBSD. It provides transparent
+encryption and decryption of selected devices. It is based on vn(4).
+
+Author: Andrey Sverdlichenko <rblaze@users.sourceforge.net>
+WWW: http://sourceforge.net/projects/vncrypt/
+
+-- Sergey Skvortsov
+skv@FreeBSD.org
diff --git a/security/vncrypt/pkg-message b/security/vncrypt/pkg-message
new file mode 100644
index 000000000000..9495543ef191
--- /dev/null
+++ b/security/vncrypt/pkg-message
@@ -0,0 +1,4 @@
+---------------------------------------------------------
+See %%PREFIX%%/share/doc/vncrypt/ for documentation.
+---------------------------------------------------------
+
diff --git a/security/vncrypt/pkg-plist b/security/vncrypt/pkg-plist
new file mode 100644
index 000000000000..b236ddff877e
--- /dev/null
+++ b/security/vncrypt/pkg-plist
@@ -0,0 +1,12 @@
+sbin/vncryptctl
+sbin/vndecrypt
+%%PORTDOCS%%%%DOCSDIR%%/ru/aes-cbc.rus.html
+%%PORTDOCS%%%%DOCSDIR%%/ru/bf-cbc.rus.html
+%%PORTDOCS%%%%DOCSDIR%%/ru/keyfile.rus.html
+%%PORTDOCS%%%%DOCSDIR%%/ru/README.rus
+%%PORTDOCS%%%%DOCSDIR%%/en/README
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/ru
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/en
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@cwd /
+%%KMODDIR%%/vncrypt.ko