ports/63624: New port security/dazuko "interface for 3rd party file access control"

Rob Evers rob at debank.tv
Tue Mar 2 00:00:39 UTC 2004


>Number:         63624
>Category:       ports
>Synopsis:       New port security/dazuko "interface for 3rd party file access control"
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 01 16:00:37 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Rob Evers
>Release:        FreeBSD 4.9-STABLE i386
>Organization:
>Environment:
System: FreeBSD haha.debank.tv 4.9-STABLE FreeBSD 4.9-STABLE #0: Tue Jan 20 17:31:23 CET 2004 rob at slopuh.debank.tv:/usr/obj/usr/src/sys/HAHA i386


	
>Description:
New port security/dazuko
 Dazuko aims to be a cross-platform device driver that allows
 applications to control file access on a system.
 By installing the driver, your system will be able to support
 file access control applications that are based on Dazuko. 

 Works with clamav (and others) to allow for on access virus scanning
 of files.
>How-To-Repeat:

>Fix:

	

--- dazuko begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	dazuko
#	dazuko/pkg-install
#	dazuko/pkg-descr
#	dazuko/pkg-deinstall
#	dazuko/distinfo
#	dazuko/Makefile
#	dazuko/pkg-plist
#
echo c - dazuko
mkdir -p dazuko > /dev/null 2>&1
echo x - dazuko/pkg-install
sed 's/^X//' >dazuko/pkg-install << 'END-of-dazuko/pkg-install'
X#!/bin/sh
X
Xif [ "$2" = "POST-INSTALL" ]; then
X	if ! [ -c /dev/dazuko ]; then
X		mknod /dev/dazuko c 33 0
X	fi
X	echo ""
X	echo "To load the module do kldload $1/modules/dazuko.ko"
X	echo ""
Xfi
Xexit 0
END-of-dazuko/pkg-install
echo x - dazuko/pkg-descr
sed 's/^X//' >dazuko/pkg-descr << 'END-of-dazuko/pkg-descr'
XA common interface across all platforms is needed for 3rd party file
Xaccess control. With such an interface, focus could be redirected
Xfrom OS hacking to solving real problems. The interface is here. It
Xis called Dazuko.
X
XWWW: http://dazuko.org/
END-of-dazuko/pkg-descr
echo x - dazuko/pkg-deinstall
sed 's/^X//' >dazuko/pkg-deinstall << 'END-of-dazuko/pkg-deinstall'
Xif [ ! "$2" = "POST-DEINSTALL" ]; then
X	exit 0
Xfi
X
Xecho ""
Xecho "If you want to completely remove this package"
Xecho "remove /dev/dazuko"
Xecho ""
END-of-dazuko/pkg-deinstall
echo x - dazuko/distinfo
sed 's/^X//' >dazuko/distinfo << 'END-of-dazuko/distinfo'
XMD5 (dazuko-2.0.0.tar.gz) = 45720d3d6d96b53f46ee730268b92564
XSIZE (dazuko-2.0.0.tar.gz) = 56396
END-of-dazuko/distinfo
echo x - dazuko/Makefile
sed 's/^X//' >dazuko/Makefile << 'END-of-dazuko/Makefile'
X# New ports collection makefile for:	dazuko
X# Date created:				01 March 2004
X# Whom:					Rob Evers <rob at debank.tv>
X#
X#
X
XPORTNAME=	dazuko
XPORTVERSION=	2.0.0
XCATEGORIES=	security
XMASTER_SITES=	http://dazuko.org/files/
X
XMAINTAINER=	rob at debank.tv
XCOMMENT=	A common interface for 3rd party file access control
X
XHAS_CONFIGURE=	yes
X
X.include <bsd.port.pre.mk>
X
X.if !${OSVERSION} < 500000
XIGNORE=	"Only compiles on 4.x"
X.endif
X
Xdo-install:
X	${MKDIR} -p ${PREFIX}/modules/
X	${INSTALL_DATA} ${WRKSRC}/dazuko.ko ${PREFIX}/modules/dazuko.ko
Xpost-install:
X	${SH} ${PKGINSTALL} ${PREFIX} POST-INSTALL
X.include <bsd.port.post.mk>
END-of-dazuko/Makefile
echo x - dazuko/pkg-plist
sed 's/^X//' >dazuko/pkg-plist << 'END-of-dazuko/pkg-plist'
Xmodules/dazuko.ko
X at dirrm modules
END-of-dazuko/pkg-plist
exit
--- dazuko ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list