summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Bar-Lev <alonbl@gentoo.org>2007-03-20 08:39:32 +0000
committerAlon Bar-Lev <alonbl@gentoo.org>2007-03-20 08:39:32 +0000
commit9676ab51981969be2894b8dbb8ddecda9d2fcf73 (patch)
tree3e85e8816cc5a81bf05e5224c351a2bb520dfca5 /sys-fs/dazuko
parentFixed tests to die on failure. Excluded testorderby and testorderby_desc whic... (diff)
downloadgentoo-2-9676ab51981969be2894b8dbb8ddecda9d2fcf73.tar.gz
gentoo-2-9676ab51981969be2894b8dbb8ddecda9d2fcf73.tar.bz2
gentoo-2-9676ab51981969be2894b8dbb8ddecda9d2fcf73.zip
Version bump
(Portage version: 2.1.2.2)
Diffstat (limited to 'sys-fs/dazuko')
-rw-r--r--sys-fs/dazuko/ChangeLog7
-rw-r--r--sys-fs/dazuko/dazuko-2.3.3_pre3.ebuild94
-rw-r--r--sys-fs/dazuko/files/digest-dazuko-2.3.3_pre33
3 files changed, 103 insertions, 1 deletions
diff --git a/sys-fs/dazuko/ChangeLog b/sys-fs/dazuko/ChangeLog
index 027a7f191700..e50c7c386b7e 100644
--- a/sys-fs/dazuko/ChangeLog
+++ b/sys-fs/dazuko/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-fs/dazuko
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/dazuko/ChangeLog,v 1.23 2007/02/28 18:23:51 alonbl Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/dazuko/ChangeLog,v 1.24 2007/03/20 08:39:32 alonbl Exp $
+
+*dazuko-2.3.3_pre3 (20 Mar 2007)
+
+ 20 Mar 2007; Alon Bar-Lev <alonbl@gentoo.org> +dazuko-2.3.3_pre3.ebuild:
+ Version bump
*dazuko-2.3.3_pre2 (28 Feb 2007)
diff --git a/sys-fs/dazuko/dazuko-2.3.3_pre3.ebuild b/sys-fs/dazuko/dazuko-2.3.3_pre3.ebuild
new file mode 100644
index 000000000000..7ca9b5f4c560
--- /dev/null
+++ b/sys-fs/dazuko/dazuko-2.3.3_pre3.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/dazuko/dazuko-2.3.3_pre3.ebuild,v 1.1 2007/03/20 08:39:32 alonbl Exp $
+
+inherit linux-mod toolchain-funcs flag-o-matic
+
+DESCRIPTION="Linux kernel module and interface providing file access control"
+MY_P="${P/_/-}" # for -preN versions
+SRC_URI="http://www.dazuko.org/files/${MY_P}.tar.gz"
+HOMEPAGE="http://www.dazuko.org"
+LICENSE="GPL-2 BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE=""
+DEPEND="kernel_linux? ( >=virtual/linux-sources-2.2 )"
+RDEPEND=${DEPEND}
+S="${WORKDIR}/${MY_P}"
+
+pkg_setup() {
+ [ "${KERNEL}" = "linux" ] && linux-mod_pkg_setup
+ # kernel settings
+ if [ "${KERNEL}" = "linux" ] && kernel_is le 2 4; then
+ BUILD_TARGETS="all"
+ else
+ CONFIG_CHECK="SECURITY_CAPABILITIES"
+ BUILD_TARGETS="dummy_rule"
+ fi
+ MODULE_NAMES="dazuko(misc:)"
+}
+
+src_compile() {
+ if [ "${KERNEL}" = "FreeBSD" ]; then
+ KERNEL_DIR=/usr/src/sys
+ KBUILD_OUTPUT=/boot/modules
+ MAKE=make
+ fi
+ ./configure \
+ --without-dep \
+ --disable-local-dpath \
+ --disable-chroot-support \
+ --kernelsrcdir="${KERNEL_DIR}" \
+ --kernelobjdir="${KBUILD_OUTPUT}" \
+ || die "configure failed"
+
+ if [ "${KERNEL}" = "linux" ]; then
+ convert_to_m Makefile
+ linux-mod_src_compile
+ else
+ emake CC="$(tc-getCC)" LD="$(tc-getLD)" LDFLAGS="$(raw-ldflags)" || die
+ fi
+
+ emake -C library CC="$(tc-getCC)" || die
+}
+
+src_install() {
+ if [ "${KERNEL}" = "linux" ]; then
+ linux-mod_src_install
+ else
+ insinto /boot/modules
+ doins "${S}"/dazuko.kld
+ exeinto /boot/modules
+ doexe "${S}"/dazuko.ko
+ fi
+
+ dolib.a library/libdazuko.a
+ insinto /usr/include
+ doins dazukoio.h
+ doins dazuko_events.h
+
+ dodoc COPYING
+ dodoc README
+ dodoc README.linux26
+ dodoc README.trusted
+}
+
+src_test() {
+ if [ "${EUID}" != 0 ]; then
+ ewarn "Cannot test while not root"
+ else
+ emake test || die "Test failed"
+ fi
+}
+
+pkg_postinst() {
+ [ "${KERNEL}" = "linux" ] && linux-mod_pkg_postinst
+
+ einfo "Please note that chroot support is disabled due to incompatability "
+ einfo "with SMP kernels"
+}
+
+pkg_postrm() {
+ [ "${KERNEL}" = "linux" ] && linux-mod_pkg_postrm
+}
+
diff --git a/sys-fs/dazuko/files/digest-dazuko-2.3.3_pre3 b/sys-fs/dazuko/files/digest-dazuko-2.3.3_pre3
new file mode 100644
index 000000000000..e01f53f30cad
--- /dev/null
+++ b/sys-fs/dazuko/files/digest-dazuko-2.3.3_pre3
@@ -0,0 +1,3 @@
+MD5 cb8ae4d36cb389e4d33e480807494d2e dazuko-2.3.3-pre3.tar.gz 182165
+RMD160 ac6fa8fb9836eeda8457873644107efe851ec5c2 dazuko-2.3.3-pre3.tar.gz 182165
+SHA256 4d06afb40a81aa4fac528da2706fd65262e7a5257a622783e1251e0e182189d9 dazuko-2.3.3-pre3.tar.gz 182165