summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/Makefile1
-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
7 files changed, 81 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile
index 7ea26788c669..9833e83ed64d 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -259,6 +259,7 @@
SUBDIR += uvscan-dat
SUBDIR += vlock
SUBDIR += vlog
+ SUBDIR += vncrypt
SUBDIR += vpnd
SUBDIR += vscan
SUBDIR += whisker
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