diff options
author | Markos Chandras <hwoarang@gentoo.org> | 2009-12-14 19:16:15 +0000 |
---|---|---|
committer | Markos Chandras <hwoarang@gentoo.org> | 2009-12-14 19:16:15 +0000 |
commit | 852464cb71fdf4d7be916f928a6a99108e57df5e (patch) | |
tree | e8eca3adf7669cd361b08a75935eb9b4cae2425d /sys-fs | |
parent | alpha/ia64/s390/sh/sparc stable wrt #288026 (diff) | |
download | historical-852464cb71fdf4d7be916f928a6a99108e57df5e.tar.gz historical-852464cb71fdf4d7be916f928a6a99108e57df5e.tar.bz2 historical-852464cb71fdf4d7be916f928a6a99108e57df5e.zip |
sys-fs/dazuko removal per bug #278414
Diffstat (limited to 'sys-fs')
-rw-r--r-- | sys-fs/dazuko/ChangeLog | 145 | ||||
-rw-r--r-- | sys-fs/dazuko/Manifest | 13 | ||||
-rw-r--r-- | sys-fs/dazuko/dazuko-2.3.3.ebuild | 93 | ||||
-rw-r--r-- | sys-fs/dazuko/dazuko-2.3.4.ebuild | 88 | ||||
-rw-r--r-- | sys-fs/dazuko/dazuko-2.3.5_pre1.ebuild | 95 | ||||
-rw-r--r-- | sys-fs/dazuko/dazuko-2.3.6_pre2.ebuild | 103 | ||||
-rw-r--r-- | sys-fs/dazuko/files/dazuko-2.3.5_pre1-redirfs.patch | 31 | ||||
-rw-r--r-- | sys-fs/dazuko/files/dazuko-2.3.6-pre2_redirfs-0.6.patch | 209 | ||||
-rw-r--r-- | sys-fs/dazuko/metadata.xml | 21 |
9 files changed, 0 insertions, 798 deletions
diff --git a/sys-fs/dazuko/ChangeLog b/sys-fs/dazuko/ChangeLog deleted file mode 100644 index 85baebf757c9..000000000000 --- a/sys-fs/dazuko/ChangeLog +++ /dev/null @@ -1,145 +0,0 @@ -# ChangeLog for sys-fs/dazuko -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/dazuko/ChangeLog,v 1.29 2009/02/22 13:19:56 carlo Exp $ - -*dazuko-2.3.6_pre2 (22 Feb 2009) - - 22 Feb 2009; Carsten Lohrke <carlo@gentoo.org> - +files/dazuko-2.3.6-pre2_redirfs-0.6.patch, +dazuko-2.3.6_pre2.ebuild: - Version bump. - - 28 May 2008; Christian Heim <phreak@gentoo.org> metadata.xml: - Removing Alon Bar-Lev (alonbl) from metadata.xml (as per #147110). Assigning - to maintainer-needed. - -*dazuko-2.3.5_pre1 (23 Feb 2008) - - 23 Feb 2008; Alon Bar-Lev <alonbl@gentoo.org> - +files/dazuko-2.3.5_pre1-redirfs.patch, +dazuko-2.3.5_pre1.ebuild: - Version bump to support 2.6.24 - -*dazuko-2.3.4 (11 Oct 2007) - - 11 Oct 2007; Alon Bar-Lev <alonbl@gentoo.org> +dazuko-2.3.4.ebuild: - Version bump - -*dazuko-2.3.3 (22 Mar 2007) - - 22 Mar 2007; Alon Bar-Lev <alonbl@gentoo.org> - -files/dazuko-2.3.1-suspend2.patch, -dazuko-2.3.2-r4.ebuild, - -dazuko-2.3.3_pre1-r1.ebuild, -dazuko-2.3.3_pre2.ebuild, - -dazuko-2.3.3_pre3.ebuild, +dazuko-2.3.3.ebuild: - Version bump + cleanup - -*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) - - 28 Feb 2007; Alon Bar-Lev <alonbl@gentoo.org> +dazuko-2.3.3_pre2.ebuild: - Version bump - -*dazuko-2.3.3_pre1-r1 (23 Feb 2007) -*dazuko-2.3.2-r4 (23 Feb 2007) - - 23 Feb 2007; Alon Bar-Lev <alonbl@gentoo.org> -dazuko-2.3.2-r3.ebuild, - +dazuko-2.3.2-r4.ebuild, -dazuko-2.3.3_pre1.ebuild, - +dazuko-2.3.3_pre1-r1.ebuild: - Added dazuko_events.h, thanks to Frantisek Mensik. - - 23 Feb 2007; Alon Bar-Lev <alonbl@gentoo.org> dazuko-2.3.2-r3.ebuild, - dazuko-2.3.3_pre1.ebuild: - Fix bug#168051 - - 31 Jan 2007; Alon Bar-Lev <alonbl@gentoo.org> dazuko-2.3.3_pre1.ebuild: - Added kernel 2.4 support, bug#164754, thanks to f.mensik - - 24 Jan 2007; Alon Bar-Lev <alonbl@gentoo.org> -dazuko-2.1.0.ebuild, - -dazuko-2.1.1.ebuild, -dazuko-2.2.0.ebuild, -dazuko-2.3.1.ebuild, - -dazuko-2.3.1-r1.ebuild, -dazuko-2.3.2-r2.ebuild: - Cleanup - -*dazuko-2.3.3_pre1 (19 Jan 2007) - - 19 Jan 2007; Alon Bar-Lev <alonbl@gentoo.org> +dazuko-2.3.3_pre1.ebuild: - Version bump - - 10 Jan 2007; Alon Bar-Lev <alonbl@gentoo.org> dazuko-2.3.2-r3.ebuild: - Skip test if not root, bug#159876 - -*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 - - 18 Dec 2006; Jeroen Roovers <jer@gentoo.org> dazuko-2.3.2-r2.ebuild: - Marked ~hppa (bug #151630). - - 12 Dec 2006; Alon Bar-Lev <alonbl@gentoo.org> - files/dazuko-2.3.1-suspend2.patch: - Minor patch fixup - -*dazuko-2.3.2-r2 (12 Dec 2006) - - 12 Dec 2006; Alon Bar-Lev <alonbl@gentoo.org> - files/dazuko-2.3.1-suspend2.patch, -dazuko-2.3.2.ebuild, - -dazuko-2.3.2-r1.ebuild, +dazuko-2.3.2-r2.ebuild: - suspend2+2.6.19 fixups - -*dazuko-2.3.2-r1 (09 Dec 2006) - - 09 Dec 2006; Alon Bar-Lev <alonbl@gentoo.org> - +dazuko-2.3.2-r1.ebuild: - 2.6.19 support - - 02 Dec 2006; Alon Bar-Lev <alonbl@gentoo.org> dazuko-2.3.2.ebuild: - KBUILD_OUTPUT awareness, closes bug#156892, thanks to Zhang Le - -*dazuko-2.3.2 (29 Nov 2006) - - 29 Nov 2006; Alon Bar-Lev <alonbl@gentoo.org> +dazuko-2.3.2.ebuild: - Version bump - -*dazuko-2.3.1-r1 (08 Nov 2006) - - 08 Nov 2006; Alon Bar-Lev <alonbl@gentoo.org> - +files/dazuko-2.3.1-suspend2.patch, +dazuko-2.3.1-r1.ebuild: - Added suspend2-2.2.8.4 support - - 21 Oct 2006; Bryan Ăstergaard <kloeri@gentoo.org> dazuko-2.3.1.ebuild: - Add ~alpha and ~ia64 keywords, bug 151630. - - 18 Oct 2006; Gustavo Zacarias <gustavoz@gentoo.org> dazuko-2.3.1.ebuild: - Keyworded ~sparc wrt #151630 - - 17 Oct 2006; Markus Rothe <corsair@gentoo.org> dazuko-2.3.1.ebuild: - Added ~ppc64; bug #151630 - -*dazuko-2.3.1 (16 Oct 2006) - - 16 Oct 2006; Alon Bar-Lev <alonbl@gentoo.org> metadata.xml, - +dazuko-2.3.1.ebuild: - Take ownership, version bump, closes bug#149562 - -*dazuko-2.2.0 (19 Feb 2006) - - 19 Feb 2006; Wolfram Schlich <wschlich@gentoo.org> +dazuko-2.2.0.ebuild: - version bump - -*dazuko-2.1.1 (24 Jan 2006) - - 24 Jan 2006; Wolfram Schlich <wschlich@gentoo.org> +dazuko-2.1.1.ebuild: - version bump - -*dazuko-2.1.0 (09 Sep 2005) - - 09 Sep 2005; Wolfram Schlich <wschlich@gentoo.org> +metadata.xml, - +dazuko-2.1.0.ebuild: - initial import - diff --git a/sys-fs/dazuko/Manifest b/sys-fs/dazuko/Manifest deleted file mode 100644 index 19e01ac92a81..000000000000 --- a/sys-fs/dazuko/Manifest +++ /dev/null @@ -1,13 +0,0 @@ -AUX dazuko-2.3.5_pre1-redirfs.patch 1190 RMD160 8a0545dfcaf8dbf8ee503764633910da01674023 SHA1 1c50aa6646bca4cb8579a56d411f6efa60e4ef5f SHA256 5730b3f1de23fc563dc6d6817966cd8dc4064e8889daccb7a891c1a2b88e4e73 -AUX dazuko-2.3.6-pre2_redirfs-0.6.patch 5667 RMD160 5a2347e1b5cb05cbfcb948cab98bd2e88cf0995a SHA1 a6f227ef4f567e281f42c7209dd5cf52bb9e433d SHA256 370b583f3092631477715c9647aa3a19db4fb7cc4b0c412eef02e669c29ec3d6 -DIST dazuko-2.3.3.tar.gz 182208 RMD160 17f38352650f15a5a96a4e786d2d14858c7ed4c3 SHA1 a1772d42327a9c2cc5737993abd2a3bc392ae67c SHA256 bc6e6ce086497d5cc142632f63ba2fbb9d4c305e1cd3fac49ede8d43867452ba -DIST dazuko-2.3.4.tar.gz 182144 RMD160 5cd4c7ab0b945f2df6e0c9be089d91c4a2b86798 SHA1 271d0a23d7aed2555f023141504386b6042a5efa SHA256 5ccea045a9f9fbdb3405231090605e8fe7a9359d10e963b87b34bfde810b03fa -DIST dazuko-2.3.5-pre1.tar.gz 190593 RMD160 23bad6476ec99903ebbb0947e508fcdff0f4290d SHA1 9323408d5fe926f6ef2e79ed08eb8417c8c08a3b SHA256 af5ea4ce93c525cdea0d4719dc0de9405237365bb75ce00e3513eeb51a29aec5 -DIST dazuko-2.3.6-pre2.tar.gz 191285 RMD160 6e9cf87c165353ef54757701a3d3040381122797 SHA1 7a553a41e8eae11c379bb45571f81753dace39ef SHA256 dc41cc4598f49465f68b1c71b96f872cf4ede98803d50e4fb570c33018e0e556 -DIST redirfs-0.6.tar.gz 38602 RMD160 a73eca768c07b3a929ca809f5107067be462860f SHA1 881dc875c80e6b3a661de3d857e37b50358adee8 SHA256 b574e23b53981d2917a401baaabb4f52c428d192e92284fbd9e20f4ba688312c -EBUILD dazuko-2.3.3.ebuild 2201 RMD160 30158b2698a1941dc01864c2a1e4fc5f9d6e0bc9 SHA1 8b6afbbe2c5ee2d687c810f5a1a9fb1566035475 SHA256 e6548bf8defe741228dab0809f7a9b0c94fb931795adb235b36005c5b8a07f66 -EBUILD dazuko-2.3.4.ebuild 2039 RMD160 f432623ef767ec06301ba62229909806f7f6e71a SHA1 62129c891f49830acd59091f4eeffcd0db0fd2bd SHA256 2fda97d513acdaa78e248ec772e3a51b214d7777b2e9aa6040e32838220ccbb2 -EBUILD dazuko-2.3.5_pre1.ebuild 2112 RMD160 5162e2506c252eb12a0ac68ccc53ced71ba60ad2 SHA1 4543dd0dd248c578de02e0468abc03605904ee99 SHA256 6badaf1dc0ad56e509c4f865bd8ce776742f3217f0b37f41753012e12b0c17c5 -EBUILD dazuko-2.3.6_pre2.ebuild 2460 RMD160 8c071c8bacd222af94f052922efc6df57095d4ab SHA1 51004820c541e4720b5417ffcd225ab0a7779126 SHA256 b2d587ac0682602d7161a25700f6cf87920b7c2de9b104d3d7906bd4b7aaf49d -MISC ChangeLog 4560 RMD160 5ca54b358f960b0bc7c497e71dbd2add20bc7864 SHA1 5e8e11f37358453d3fb12a8869a49ad8d374497e SHA256 dfeec798af6dea9ed02dac98b9895beb08f4eec87486c308182eb7b6bab76558 -MISC metadata.xml 1007 RMD160 fdcd0e77b660d3b5b0f6fb9bf86bc5f9cfa22546 SHA1 c6a99eadbae413b79cfb8f428b36ddfea0672145 SHA256 c6c4a670d717aa47e0a1d972172d5be0b4f7ad1e670cedee71fc77422b16fb5a diff --git a/sys-fs/dazuko/dazuko-2.3.3.ebuild b/sys-fs/dazuko/dazuko-2.3.3.ebuild deleted file mode 100644 index cf7df072fd1b..000000000000 --- a/sys-fs/dazuko/dazuko-2.3.3.ebuild +++ /dev/null @@ -1,93 +0,0 @@ -# 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.ebuild,v 1.2 2007/07/13 05:15:33 mr_bones_ 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/dazuko-2.3.4.ebuild b/sys-fs/dazuko/dazuko-2.3.4.ebuild deleted file mode 100644 index 25be3d54e87b..000000000000 --- a/sys-fs/dazuko/dazuko-2.3.4.ebuild +++ /dev/null @@ -1,88 +0,0 @@ -# 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.4.ebuild,v 1.1 2007/10/11 20:26:56 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 \ - --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 -} - -pkg_postrm() { - [ "${KERNEL}" = "linux" ] && linux-mod_pkg_postrm -} diff --git a/sys-fs/dazuko/dazuko-2.3.5_pre1.ebuild b/sys-fs/dazuko/dazuko-2.3.5_pre1.ebuild deleted file mode 100644 index baf643a5aa4a..000000000000 --- a/sys-fs/dazuko/dazuko-2.3.5_pre1.ebuild +++ /dev/null @@ -1,95 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/dazuko/dazuko-2.3.5_pre1.ebuild,v 1.1 2008/02/23 10:33:35 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.6.20 - >=sys-fs/redirfs-0.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 - EXTRA_CONFIG="--enable-redirfs" - BUILD_TARGETS="dummy_rule" - fi - MODULE_NAMES="dazuko(misc:)" -} - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}/${P}-redirfs.patch" -} - -src_compile() { - if [ "${KERNEL}" = "FreeBSD" ]; then - KERNEL_DIR=/usr/src/sys - KBUILD_OUTPUT=/boot/modules - MAKE=make - fi - ./configure \ - --without-dep \ - --kernelsrcdir="${KERNEL_DIR}" \ - --kernelobjdir="${KBUILD_OUTPUT}" \ - ${EXTRA_CONFIG} \ - || 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 README* -} - -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 -} - -pkg_postrm() { - [ "${KERNEL}" = "linux" ] && linux-mod_pkg_postrm -} diff --git a/sys-fs/dazuko/dazuko-2.3.6_pre2.ebuild b/sys-fs/dazuko/dazuko-2.3.6_pre2.ebuild deleted file mode 100644 index fe510ed56d93..000000000000 --- a/sys-fs/dazuko/dazuko-2.3.6_pre2.ebuild +++ /dev/null @@ -1,103 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/dazuko/dazuko-2.3.6_pre2.ebuild,v 1.1 2009/02/22 13:19:56 carlo Exp $ - -inherit linux-mod toolchain-funcs flag-o-matic - -MY_P="${P/_/-}" # for -preN versions -S="${WORKDIR}/${MY_P}" - -REDIRFS_P="redirfs-0.6" - -DESCRIPTION="Linux kernel module and interface providing file access control" -HOMEPAGE="http://www.dazuko.org" -SRC_URI="http://dazuko.dnsalias.org/files/${MY_P}.tar.gz - http://www.redirfs.org/packages/${REDIRFS_P}.tar.gz" - -SLOT="0" -LICENSE="GPL-2 BSD" -KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" -IUSE="" - -DEPEND="kernel_linux? ( >=virtual/linux-sources-2.6.27 ) - ~sys-fs/redirfs-0.6" -RDEPEND="${DEPEND}" - -pkg_setup() { - [ "${KERNEL}" = "linux" ] && linux-mod_pkg_setup - # kernel settings - if [ "${KERNEL}" = "linux" ] && kernel_is le 2 4; then - BUILD_TARGETS="all" - else - EXTRA_CONFIG="--enable-redirfs --redirfsdir=${WORKDIR}/${REDIRFS_P}" - BUILD_TARGETS="dummy_rule" - fi - MODULE_NAMES="dazuko(misc:)" - - ewarn "Please notice that Dazuko 2.x is not maintained any longer." - ewarn "Work continues on DazukoFS. For more information see:" - ewarn "http://lists.gnu.org/archive/html/dazuko-devel/2009-02/msg00001.html" -} - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}/dazuko-2.3.6-pre2_redirfs-0.6.patch" -} - -src_compile() { - if [ "${KERNEL}" = "FreeBSD" ]; then - KERNEL_DIR=/usr/src/sys - KBUILD_OUTPUT=/boot/modules - MAKE=make - fi - ./configure \ - --without-dep \ - --kernelsrcdir="${KERNEL_DIR}" \ - --kernelobjdir="${KBUILD_OUTPUT}" \ - ${EXTRA_CONFIG} \ - || 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 README* -} - -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 -} - -pkg_postrm() { - [ "${KERNEL}" = "linux" ] && linux-mod_pkg_postrm -} diff --git a/sys-fs/dazuko/files/dazuko-2.3.5_pre1-redirfs.patch b/sys-fs/dazuko/files/dazuko-2.3.5_pre1-redirfs.patch deleted file mode 100644 index b0159d88051c..000000000000 --- a/sys-fs/dazuko/files/dazuko-2.3.5_pre1-redirfs.patch +++ /dev/null @@ -1,31 +0,0 @@ -diff -urNp dazuko-2.3.5-pre1.org/configure dazuko-2.3.5-pre1/configure ---- dazuko-2.3.5-pre1.org/configure 2008-02-20 23:05:25.000000000 +0200 -+++ dazuko-2.3.5-pre1/configure 2008-02-23 11:26:09.000000000 +0200 -@@ -413,13 +413,13 @@ do_linux26() - if [ $LINUX26_USE_SYSCALLS -eq 0 -a $LINUX26_USE_REDIRFS -eq 1 ] - then - echo -n "checking for RedirFS source code... " -- if [ ! -f "../redirfs/redirfs.h" ] -+ if [ ! -f "/usr/include/redirfs.h" ] - then - echo "not found" - echo "error: please make sure the RedirFS code is available as ../redirfs/" - exit 1 - fi -- echo "found (../redirfs)" -+ echo "found (/usr/include/redirfs)" - - elif [ $LINUX26_USE_SYSCALLS -eq 0 -a $LINUX26_USE_REDIRFS -eq 0 ] - then -diff -urNp dazuko-2.3.5-pre1.org/dazuko_redirfs.c dazuko-2.3.5-pre1/dazuko_redirfs.c ---- dazuko-2.3.5-pre1.org/dazuko_redirfs.c 2008-02-20 23:06:04.000000000 +0200 -+++ dazuko-2.3.5-pre1/dazuko_redirfs.c 2008-02-23 12:02:09.000000000 +0200 -@@ -33,7 +33,7 @@ - #include <linux/namei.h> - #include <linux/dcache.h> - #include <linux/mount.h> --#include "../redirfs/redirfs.h" -+#include "/usr/include/redirfs.h" - #ifdef DEVFS_SUPPORT - #include <linux/devfs_fs_kernel.h> - #endif diff --git a/sys-fs/dazuko/files/dazuko-2.3.6-pre2_redirfs-0.6.patch b/sys-fs/dazuko/files/dazuko-2.3.6-pre2_redirfs-0.6.patch deleted file mode 100644 index 7a5b762180ac..000000000000 --- a/sys-fs/dazuko/files/dazuko-2.3.6-pre2_redirfs-0.6.patch +++ /dev/null @@ -1,209 +0,0 @@ -diff -Nru dazuko-2.3.6-pre2a/dazuko_linux26.h dazuko-2.3.6-pre2b/dazuko_linux26.h ---- dazuko-2.3.6-pre2a/dazuko_linux26.h 2008-02-20 22:05:34.000000000 +0100 -+++ dazuko-2.3.6-pre2b/dazuko_linux26.h 2009-02-11 20:56:07.000000000 +0100 -@@ -24,7 +24,13 @@ - #define DAZUKO_LINUX26_H - - #include <linux/module.h> -+#include <linux/version.h> -+ -+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,27) - #include <asm/semaphore.h> -+#else -+#include <linux/semaphore.h> -+#endif - - #define DEVICE_NAME "dazuko" - -diff -Nru dazuko-2.3.6-pre2a/dazuko_redirfs.c dazuko-2.3.6-pre2b/dazuko_redirfs.c ---- dazuko-2.3.6-pre2a/dazuko_redirfs.c 2008-07-17 20:00:02.000000000 +0200 -+++ dazuko-2.3.6-pre2b/dazuko_redirfs.c 2009-02-11 21:21:12.000000000 +0100 -@@ -66,19 +66,19 @@ - static int dev_major = -1; - static int module_disabled = 0; - --enum redirfs_rv dazukoflt_permission(redirfs_context context, struct redirfs_args *args); -+enum redirfs_rv dazukoflt_open(redirfs_context context, struct redirfs_args *args); - - static redirfs_filter dazukoflt; - - static struct redirfs_filter_info dazukoflt_info = { - .owner = THIS_MODULE, - .name = "dazukoflt", -- .priority = 1, -+ .priority = 860000000, - .active = 1, - }; - - static struct redirfs_op_info dazukoflt_op_info[] = { -- { REDIRFS_REG_IOP_PERMISSION, dazukoflt_permission, NULL }, -+ { REDIRFS_REG_FOP_OPEN, dazukoflt_open, NULL }, - { REDIRFS_OP_END, NULL, NULL } - }; - -@@ -593,16 +593,17 @@ - { - int err = 0; - struct redirfs_path_info path_info; -+ redirfs_path rfs_path; - struct nameidata nd; - - switch (type) - { - case ADD_INCLUDE_PATH: -- path_info.flags = REDIRFS_PATH_INCLUDE | REDIRFS_PATH_ADD; -+ path_info.flags = REDIRFS_PATH_INCLUDE; - break; - - case ADD_EXCLUDE_PATH: -- path_info.flags = REDIRFS_PATH_EXCLUDE | REDIRFS_PATH_ADD; -+ path_info.flags = REDIRFS_PATH_EXCLUDE; - break; - - default: -@@ -614,14 +615,14 @@ - - path_info.dentry = nd.path.dentry; - path_info.mnt = nd.path.mnt; -- err = redirfs_set_path(dazukoflt, &path_info); -- if (err) -- { -+ rfs_path = redirfs_add_path(dazukoflt, &path_info); -+ if (IS_ERR(rfs_path)) { - xp_print("dazuko: failed to set RedirFS path, err=%d\n", err); - err = -1; - } - - path_put(&nd.path); -+ redirfs_put_path(rfs_path); - - return err; - } -@@ -629,7 +630,7 @@ - - /* system hooks */ - --int dazuko_sys_generic(struct inode *inode, int mask, struct nameidata *nd) -+int dazuko_sys_generic(struct inode *inode, struct nameidata *nd) - { - struct dazuko_file_struct *dfs = NULL; - int error = 0; -@@ -645,34 +646,6 @@ - - dazuko_bzero(&event_p, sizeof(event_p)); - -- if ((mask & MAY_EXEC) != 0) -- { -- event = DAZUKO_ON_EXEC; -- daemon_is_allowed = 0; -- } -- else -- { -- /* mask == 0 is passed in when a file is created */ -- if (mask == 0 || (mask & (MAY_WRITE|MAY_APPEND)) != 0) -- { -- if ((mask & MAY_READ) != 0) -- { -- event_p.flags = O_RDWR; -- } -- else -- { -- event_p.flags = O_WRONLY; -- } -- -- event_p.set_flags = 1; -- } -- else if ((mask & MAY_READ) != 0) -- { -- event_p.flags = O_RDONLY; -- event_p.set_flags = 1; -- } -- } -- - xp_id.pid = current->pid; - xp_id.tgid = current->tgid; - xp_id.file = NULL; -@@ -721,18 +694,14 @@ - return 0; - } - --enum redirfs_rv dazukoflt_permission(redirfs_context context, struct redirfs_args *args) -+enum redirfs_rv dazukoflt_open(redirfs_context context, struct redirfs_args *args) - { -- if (!args->args.i_permission.nd) -- return REDIRFS_CONTINUE; -- -- if (!args->args.i_permission.mask) -- return REDIRFS_CONTINUE; -+ struct nameidata nd; - -- if (!args->args.i_permission.nd) -- return REDIRFS_CONTINUE; -+ nd.path.dentry = args->args.f_open.file->f_dentry; -+ nd.path.mnt = args->args.f_open.file->f_vfsmnt; - -- if (dazuko_sys_generic(args->args.i_permission.inode, args->args.i_permission.mask, args->args.i_permission.nd) != 0) -+ if (dazuko_sys_generic(args->args.f_open.file->f_dentry->d_inode, &nd) != 0) - { - args->rv.rv_int = -EACCES; - return REDIRFS_STOP; -@@ -759,10 +728,10 @@ - { - int err; - -- err = redirfs_register_filter(&dazukoflt, &dazukoflt_info); -- if (err) -+ dazukoflt = redirfs_register_filter(&dazukoflt_info); -+ if (IS_ERR(dazukoflt)) - { -- xp_print("dazuko: unable to register with RedirFS, err=%d\n", err); -+ xp_print("dazuko: unable to register with RedirFS, err=%d\n", PTR_ERR(dazukoflt)); - return -1; - } - -@@ -804,20 +773,11 @@ - return dev_major; - } - --#ifndef WITHOUT_UDEV --#ifdef USE_CLASS - dazuko_class = class_create(THIS_MODULE, DEVICE_NAME); --#if defined (CLASS_class_device_create_2_6_15) -- class_device_create(dazuko_class, NULL, MKDEV(dev_major, 0), NULL, DEVICE_NAME); --#elif defined (CLASS_device_create_2_6_26) -+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,27) - device_create(dazuko_class, NULL, MKDEV(dev_major, 0), DEVICE_NAME); - #else -- class_device_create(dazuko_class, MKDEV(dev_major, 0), NULL, DEVICE_NAME); --#endif --#else -- dazuko_class = class_simple_create(THIS_MODULE, DEVICE_NAME); -- class_simple_device_add(dazuko_class, MKDEV(dev_major, 0), NULL, DEVICE_NAME); --#endif -+ device_create(dazuko_class, NULL, MKDEV(dev_major, 0), NULL, DEVICE_NAME); - #endif - - return 0; -@@ -826,21 +786,9 @@ - inline int xp_sys_unhook() - { - if (!module_disabled) { -- unregister_chrdev(dev_major, DEVICE_NAME); -- --#ifndef WITHOUT_UDEV --#ifdef USE_CLASS --#if defined (CLASS_device_create_2_6_26) - device_destroy(dazuko_class, MKDEV(dev_major, 0)); --#else -- class_device_destroy(dazuko_class, MKDEV(dev_major, 0)); --#endif - class_destroy(dazuko_class); --#else -- class_simple_device_remove(MKDEV(dev_major, 0)); -- class_simple_destroy(dazuko_class); --#endif --#endif -+ unregister_chrdev(dev_major, DEVICE_NAME); - } - - redirfs_delete_filter(dazukoflt); diff --git a/sys-fs/dazuko/metadata.xml b/sys-fs/dazuko/metadata.xml deleted file mode 100644 index 73196671dfee..000000000000 --- a/sys-fs/dazuko/metadata.xml +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <herd>no-herd</herd> - <maintainer> - <email>maintainer-needed@gentoo.org</email> - <name>Default assignee for orphaned packages</name> - </maintainer> - <longdescription lang="en"> - This project provides a device driver allowing 3rd-party (userland) - applications to execute file access control. It was originally - developed by H+BEDV Datentechnik GmbH to allow on-access virus - scanning. Other uses include a file-access monitor/logger or external - security implementations. It operates by intercepting file access calls - and passing the file information to a 3rd-party application. The - 3rd-party application then has the opportunity to tell the device - driver to allow or deny the file access. The 3rd-party application also - receives information about the access event, such as accessed file, - type of access, process id, and user id. - </longdescription> -</pkgmetadata> |