summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Bar-Lev <alonbl@gentoo.org>2006-12-25 18:12:06 +0000
committerAlon Bar-Lev <alonbl@gentoo.org>2006-12-25 18:12:06 +0000
commit60198c881370dbb8c471442347d8a2564329b9af (patch)
tree6fa83cede3c5f47ad6a9da37e1761c1935156e9f /sys-fs/dazuko
parentdebug USE flag for disabling the debugger (diff)
downloadhistorical-60198c881370dbb8c471442347d8a2564329b9af.tar.gz
historical-60198c881370dbb8c471442347d8a2564329b9af.tar.bz2
historical-60198c881370dbb8c471442347d8a2564329b9af.zip
Added --disable-local-dpath --disable-chroot-support to support SMP, closes bug#159067, thanks to Michael Cramer for reporting this
Package-Manager: portage-2.1.1-r2
Diffstat (limited to 'sys-fs/dazuko')
-rw-r--r--sys-fs/dazuko/ChangeLog8
-rw-r--r--sys-fs/dazuko/Manifest15
-rw-r--r--sys-fs/dazuko/dazuko-2.3.2-r3.ebuild92
-rw-r--r--sys-fs/dazuko/files/digest-dazuko-2.3.2-r36
4 files changed, 116 insertions, 5 deletions
diff --git a/sys-fs/dazuko/ChangeLog b/sys-fs/dazuko/ChangeLog
index 6c431cfdbae3..f355ce1a4169 100644
--- a/sys-fs/dazuko/ChangeLog
+++ b/sys-fs/dazuko/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-fs/dazuko
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/dazuko/ChangeLog,v 1.15 2006/12/20 19:44:13 alonbl Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/dazuko/ChangeLog,v 1.16 2006/12/25 18:12:06 alonbl Exp $
+
+*dazuko-2.3.2-r3 (25 Dec 2006)
+
+ 25 Dec 2006; Alon Bar-Lev <alonbl@gentoo.org> +dazuko-2.3.2-r3.ebuild:
+ Added --disable-local-dpath --disable-chroot-support to support SMP, closes
+ bug#159067, thanks to Michael Cramer for reporting this
20 Dec 2006; Alon Bar-Lev <alonbl@gentoo.org> dazuko-2.3.2-r2.ebuild:
fbsd support, closes bug#158647, thanks for Timothy Redaelli
diff --git a/sys-fs/dazuko/Manifest b/sys-fs/dazuko/Manifest
index f775eb9db2b8..43499ac61084 100644
--- a/sys-fs/dazuko/Manifest
+++ b/sys-fs/dazuko/Manifest
@@ -32,10 +32,14 @@ EBUILD dazuko-2.3.2-r2.ebuild 2044 RMD160 740c777b289c54764b041534af35db638c2459
MD5 7f08c14d9f22c4cd3aa7bfd0b7fa05ea dazuko-2.3.2-r2.ebuild 2044
RMD160 740c777b289c54764b041534af35db638c245961 dazuko-2.3.2-r2.ebuild 2044
SHA256 56aed597be4bd28492749378d61a8f7b41105762325a535121c4614648695d7d dazuko-2.3.2-r2.ebuild 2044
-MISC ChangeLog 2184 RMD160 9f0681a3cfcec568ea456f19e870c535d05e7c88 SHA1 3e04e60dd6ded994305df70e0c4687923bdebc2a SHA256 7ef025d3eeee66265044798df74d6cc2dec025f2c9bb65781c4144f4f420bd78
-MD5 cb262b626e77598150ca78f7710a2b23 ChangeLog 2184
-RMD160 9f0681a3cfcec568ea456f19e870c535d05e7c88 ChangeLog 2184
-SHA256 7ef025d3eeee66265044798df74d6cc2dec025f2c9bb65781c4144f4f420bd78 ChangeLog 2184
+EBUILD dazuko-2.3.2-r3.ebuild 2203 RMD160 008f8e4a64cae5055419c32b773e291789191237 SHA1 759ae56e479a4f4d99f45651b70055970730f61e SHA256 597a3d87e4e546110dcd21e50129537dfe58e5ec779300ca6346e71f37aa2b54
+MD5 86f93a7c349042098d622d6532c9d719 dazuko-2.3.2-r3.ebuild 2203
+RMD160 008f8e4a64cae5055419c32b773e291789191237 dazuko-2.3.2-r3.ebuild 2203
+SHA256 597a3d87e4e546110dcd21e50129537dfe58e5ec779300ca6346e71f37aa2b54 dazuko-2.3.2-r3.ebuild 2203
+MISC ChangeLog 2426 RMD160 ddc7f09765387f80e118b2df3587577f1cd0708f SHA1 84e2ba342a28108b3465d644237462c1fc469b85 SHA256 446c41543291b07ca2133de63a1c0c761f1beadfec839c96e8d2911fe2b9802e
+MD5 74b04853d9042f1a3efe2e3510024179 ChangeLog 2426
+RMD160 ddc7f09765387f80e118b2df3587577f1cd0708f ChangeLog 2426
+SHA256 446c41543291b07ca2133de63a1c0c761f1beadfec839c96e8d2911fe2b9802e ChangeLog 2426
MISC metadata.xml 980 RMD160 dfaf2070e4ef1023e90175d32fa626f334a56c07 SHA1 25e746478812c9b3c448ff3dd922a2bbc6129662 SHA256 c9a35d5cae928315a49ceb533066c2c41cf54e4fe4fa1529159b91e22274b022
MD5 e0a4db020fd5c28ea5a62ecefe8f1ec6 metadata.xml 980
RMD160 dfaf2070e4ef1023e90175d32fa626f334a56c07 metadata.xml 980
@@ -58,3 +62,6 @@ SHA256 b21a17d99c6614c80a558bbe8e36974b36a9a79097167631b7f57c0fa504fb72 files/di
MD5 17b72cb4bbd996aa51c5a7e4e456b6ca files/digest-dazuko-2.3.2-r2 518
RMD160 588203f5d747d496147e72a519ba266ebe25cb7c files/digest-dazuko-2.3.2-r2 518
SHA256 a5393833af7e8def4923cbbc3d9b865dbf5594fd2ce8c4291e01c394fc8aca02 files/digest-dazuko-2.3.2-r2 518
+MD5 17b72cb4bbd996aa51c5a7e4e456b6ca files/digest-dazuko-2.3.2-r3 518
+RMD160 588203f5d747d496147e72a519ba266ebe25cb7c files/digest-dazuko-2.3.2-r3 518
+SHA256 a5393833af7e8def4923cbbc3d9b865dbf5594fd2ce8c4291e01c394fc8aca02 files/digest-dazuko-2.3.2-r3 518
diff --git a/sys-fs/dazuko/dazuko-2.3.2-r3.ebuild b/sys-fs/dazuko/dazuko-2.3.2-r3.ebuild
new file mode 100644
index 000000000000..96bc829468d9
--- /dev/null
+++ b/sys-fs/dazuko/dazuko-2.3.2-r3.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/dazuko/dazuko-2.3.2-r3.ebuild,v 1.1 2006/12/25 18:12:06 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
+ mirror://gentoo/${P}-linux-2.6.19.patch.bz2"
+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}"
+
+# kernel settings
+CONFIG_CHECK="SECURITY_CAPABILITIES"
+MODULE_NAMES="dazuko(misc:)"
+BUILD_TARGETS="dummy_rule"
+
+pkg_setup() {
+ [ "${KERNEL}" = "linux" ] && linux-mod_pkg_setup
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${PN}-2.3.1-suspend2.patch"
+
+ if [ "${KERNEL}" == "linux" ] && kernel_is 2 6 19; then
+ epatch "${WORKDIR}/${P}-linux-2.6.19.patch"
+ fi
+}
+
+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
+
+ dodoc COPYING
+ dodoc README
+ dodoc README.linux26
+ dodoc README.trusted
+}
+
+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.2-r3 b/sys-fs/dazuko/files/digest-dazuko-2.3.2-r3
new file mode 100644
index 000000000000..fee1e7bfde35
--- /dev/null
+++ b/sys-fs/dazuko/files/digest-dazuko-2.3.2-r3
@@ -0,0 +1,6 @@
+MD5 e82799830e44dc2b5dfc9d355bcc5b2e dazuko-2.3.2-linux-2.6.19.patch.bz2 4706
+RMD160 09a635922d364f73e6f32787397e3657d2ec8087 dazuko-2.3.2-linux-2.6.19.patch.bz2 4706
+SHA256 239c514ddb4345d758706c50c286b125d3e35e476931bec0909bdf15c80c8d06 dazuko-2.3.2-linux-2.6.19.patch.bz2 4706
+MD5 bb32e24ad60a31dbfc419d3341287f68 dazuko-2.3.2.tar.gz 177134
+RMD160 57fd3dd45a61609a18829467966657ef658ed500 dazuko-2.3.2.tar.gz 177134
+SHA256 b396fc344cf1bad0d7dfb6675573a8ca189f34867fe1256c7f31c8ec9aab45bb dazuko-2.3.2.tar.gz 177134