aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2004-06-25 19:10:58 +0800
committervs <vs@FreeBSD.org>2004-06-25 19:10:58 +0800
commitafb697dc66303b102fc60338e35cf098f6effb07 (patch)
treedcba8b1a45f5cd5642fb78db3f6194809b716833
parent0c741c07bd5e215c754ff34fcac287470478cf67 (diff)
downloadfreebsd-ports-gnome-afb697dc66303b102fc60338e35cf098f6effb07.tar.gz
freebsd-ports-gnome-afb697dc66303b102fc60338e35cf098f6effb07.tar.zst
freebsd-ports-gnome-afb697dc66303b102fc60338e35cf098f6effb07.zip
Add dazuko 2.0.2, a common interface for 3rd party file access control.
PR: ports/63624 Submitted by: Rob Evers <rob@debank.tv>
-rw-r--r--security/Makefile1
-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
7 files changed, 60 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile
index bfbf32f7a695..c9f289e69297 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -57,6 +57,7 @@
SUBDIR += cyrus-sasl
SUBDIR += cyrus-sasl2
SUBDIR += cyrus-sasl2-saslauthd
+ SUBDIR += dazuko
SUBDIR += dcetest
SUBDIR += ddos_scan
SUBDIR += destroy
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