aboutsummaryrefslogtreecommitdiff
path: root/security/dazuko
diff options
context:
space:
mode:
authorVolker Stolz <vs@FreeBSD.org>2004-06-25 11:10:58 +0000
committerVolker Stolz <vs@FreeBSD.org>2004-06-25 11:10:58 +0000
commit65c9f5036b39487e29ebf27462901ef2821cf39b (patch)
treec40d4ed73e435a3954834b6a8f178c48f292189a /security/dazuko
parent6a45552c433d8144ea3199a065e8debedb7c97d0 (diff)
downloadports-65c9f5036b39487e29ebf27462901ef2821cf39b.tar.gz
ports-65c9f5036b39487e29ebf27462901ef2821cf39b.zip
Notes
Diffstat (limited to 'security/dazuko')
-rw-r--r--security/dazuko/Makefile30
-rw-r--r--security/dazuko/distinfo2
-rw-r--r--security/dazuko/pkg-deinstall8
-rw-r--r--security/dazuko/pkg-descr6
-rw-r--r--security/dazuko/pkg-install11
-rw-r--r--security/dazuko/pkg-plist2
6 files changed, 59 insertions, 0 deletions
diff --git a/security/dazuko/Makefile b/security/dazuko/Makefile
new file mode 100644
index 000000000000..51d3e14e0fe1
--- /dev/null
+++ b/security/dazuko/Makefile
@@ -0,0 +1,30 @@
+# New ports collection makefile for: dazuko
+# Date created: 01 March 2004
+# Whom: Rob Evers <rob@debank.tv>
+#
+# $FreeBSD$
+
+PORTNAME= dazuko
+PORTVERSION= 2.0.2
+CATEGORIES= security
+MASTER_SITES= http://dazuko.org/files/
+
+MAINTAINER= rob@debank.tv
+COMMENT= A common interface for 3rd party file access control
+
+HAS_CONFIGURE= yes
+
+.include <bsd.port.pre.mk>
+
+.if !${OSVERSION} < 500000
+IGNORE= "Only compiles on 4.x"
+.endif
+
+do-install:
+ ${MKDIR} ${PREFIX}/modules/
+ ${INSTALL_DATA} ${WRKSRC}/dazuko.ko ${PREFIX}/modules/dazuko.ko
+
+post-install:
+ ${SH} ${PKGINSTALL} ${PREFIX} POST-INSTALL
+
+.include <bsd.port.post.mk>
diff --git a/security/dazuko/distinfo b/security/dazuko/distinfo
new file mode 100644
index 000000000000..bc5c46e1d0a8
--- /dev/null
+++ b/security/dazuko/distinfo
@@ -0,0 +1,2 @@
+MD5 (dazuko-2.0.2.tar.gz) = d9f25cc256308a27ee98bde0c2cfabcb
+SIZE (dazuko-2.0.2.tar.gz) = 70140
diff --git a/security/dazuko/pkg-deinstall b/security/dazuko/pkg-deinstall
new file mode 100644
index 000000000000..fa1377823c16
--- /dev/null
+++ b/security/dazuko/pkg-deinstall
@@ -0,0 +1,8 @@
+if [ ! "$2" = "POST-DEINSTALL" ]; then
+ exit 0
+fi
+
+echo ""
+echo "If you want to completely remove this package"
+echo "remove /dev/dazuko"
+echo ""
diff --git a/security/dazuko/pkg-descr b/security/dazuko/pkg-descr
new file mode 100644
index 000000000000..a8f4ebdfeb7b
--- /dev/null
+++ b/security/dazuko/pkg-descr
@@ -0,0 +1,6 @@
+A common interface across all platforms is needed for 3rd party file
+access control. With such an interface, focus could be redirected
+from OS hacking to solving real problems. The interface is here. It
+is called Dazuko.
+
+WWW: http://dazuko.org/
diff --git a/security/dazuko/pkg-install b/security/dazuko/pkg-install
new file mode 100644
index 000000000000..34c41281e8e7
--- /dev/null
+++ b/security/dazuko/pkg-install
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+if [ "$2" = "POST-INSTALL" ]; then
+ if ! [ -c /dev/dazuko ]; then
+ mknod /dev/dazuko c 33 0
+ fi
+ echo ""
+ echo "To load the module do kldload $1/modules/dazuko.ko"
+ echo ""
+fi
+exit 0
diff --git a/security/dazuko/pkg-plist b/security/dazuko/pkg-plist
new file mode 100644
index 000000000000..bf2e1df9fb2b
--- /dev/null
+++ b/security/dazuko/pkg-plist
@@ -0,0 +1,2 @@
+modules/dazuko.ko
+@unexec rmdir %D/modules 2>/dev/null || true