diff options
author | vs <vs@FreeBSD.org> | 2004-06-25 11:10:58 +0000 |
---|---|---|
committer | vs <vs@FreeBSD.org> | 2004-06-25 11:10:58 +0000 |
commit | afb697dc66303b102fc60338e35cf098f6effb07 (patch) | |
tree | dcba8b1a45f5cd5642fb78db3f6194809b716833 /security/dazuko | |
parent | 0c741c07bd5e215c754ff34fcac287470478cf67 (diff) | |
download | FreeBSD-ports-afb697dc66303b102fc60338e35cf098f6effb07.zip FreeBSD-ports-afb697dc66303b102fc60338e35cf098f6effb07.tar.gz |
Add dazuko 2.0.2, a common interface for 3rd party file access control.
PR: ports/63624
Submitted by: Rob Evers <rob@debank.tv>
Diffstat (limited to 'security/dazuko')
-rw-r--r-- | security/dazuko/Makefile | 30 | ||||
-rw-r--r-- | security/dazuko/distinfo | 2 | ||||
-rw-r--r-- | security/dazuko/pkg-deinstall | 8 | ||||
-rw-r--r-- | security/dazuko/pkg-descr | 6 | ||||
-rw-r--r-- | security/dazuko/pkg-install | 11 | ||||
-rw-r--r-- | security/dazuko/pkg-plist | 2 |
6 files changed, 59 insertions, 0 deletions
diff --git a/security/dazuko/Makefile b/security/dazuko/Makefile new file mode 100644 index 0000000..51d3e14 --- /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 0000000..bc5c46e --- /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 0000000..fa13778 --- /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 0000000..a8f4ebd --- /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 0000000..34c4128 --- /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 0000000..bf2e1df --- /dev/null +++ b/security/dazuko/pkg-plist @@ -0,0 +1,2 @@ +modules/dazuko.ko +@unexec rmdir %D/modules 2>/dev/null || true |