From ae04cd2b43e3f2f0805fbc4ee69c4013fa75e3eb Mon Sep 17 00:00:00 2001 From: Alon Bar-Lev Date: Sat, 9 Dec 2006 18:41:37 +0000 Subject: [PATCH] 2.6.19 support Package-Manager: portage-2.1.1-r2 --- sys-fs/dazuko/ChangeLog | 8 ++- sys-fs/dazuko/Manifest | 16 ++++-- sys-fs/dazuko/dazuko-2.3.2-r1.ebuild | 60 ++++++++++++++++++++++ sys-fs/dazuko/files/digest-dazuko-2.3.2-r1 | 6 +++ 4 files changed, 85 insertions(+), 5 deletions(-) create mode 100644 sys-fs/dazuko/dazuko-2.3.2-r1.ebuild create mode 100644 sys-fs/dazuko/files/digest-dazuko-2.3.2-r1 diff --git a/sys-fs/dazuko/ChangeLog b/sys-fs/dazuko/ChangeLog index 36348b8e735a..da17c65d9924 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.10 2006/12/02 16:02:44 alonbl Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/dazuko/ChangeLog,v 1.11 2006/12/09 18:41:37 alonbl Exp $ + +*dazuko-2.3.2-r1 (09 Dec 2006) + + 09 Dec 2006; Alon Bar-Lev + +dazuko-2.3.2-r1.ebuild: + 2.6.19 support 02 Dec 2006; Alon Bar-Lev dazuko-2.3.2.ebuild: KBUILD_OUTPUT awareness, closes bug#156892, thanks to Zhang Le diff --git a/sys-fs/dazuko/Manifest b/sys-fs/dazuko/Manifest index c2dfd2596460..7b40dcfc5f12 100644 --- a/sys-fs/dazuko/Manifest +++ b/sys-fs/dazuko/Manifest @@ -6,6 +6,7 @@ DIST dazuko-2.1.0.tar.gz 159456 DIST dazuko-2.1.1.tar.gz 162359 DIST dazuko-2.2.0.tar.gz 162903 DIST dazuko-2.3.1.tar.gz 176944 RMD160 cc527bf0f251cfa96ec79ddbcc8e6ad49247dbef SHA1 16e00e054973a18e10ca50ed6f894224c9d54a9d SHA256 9481875699e6fefd80f40b945159df55815408f76f9fd511656c55a52499fc8e +DIST dazuko-2.3.2-linux-2.6.19.patch.bz2 4706 RMD160 09a635922d364f73e6f32787397e3657d2ec8087 SHA1 01f4bf3b0c13e9c5f15cd1287ad25dcef0717a37 SHA256 239c514ddb4345d758706c50c286b125d3e35e476931bec0909bdf15c80c8d06 DIST dazuko-2.3.2.tar.gz 177134 RMD160 57fd3dd45a61609a18829467966657ef658ed500 SHA1 a0c404062d3eb0f095aa4fc75f6279f61a5e8700 SHA256 b396fc344cf1bad0d7dfb6675573a8ca189f34867fe1256c7f31c8ec9aab45bb EBUILD dazuko-2.1.0.ebuild 1297 RMD160 3cc896e4d5f75773faa72666e451a83e0294be56 SHA1 67109003041bd9f0a53287b1545603e5db8a9056 SHA256 e996028183dbc7a131a63cec13ca7ea46dc5f0ba6b12ec3760fa54d00558f573 MD5 d6b204957b957752d4e53a0668d97f55 dazuko-2.1.0.ebuild 1297 @@ -27,14 +28,18 @@ EBUILD dazuko-2.3.1.ebuild 1094 RMD160 d9f6d0a38c8e0dbbafff3d3414d864fe3c39217d MD5 75cee2dc54b7e1609f3f6433452aa684 dazuko-2.3.1.ebuild 1094 RMD160 d9f6d0a38c8e0dbbafff3d3414d864fe3c39217d dazuko-2.3.1.ebuild 1094 SHA256 7fa71348c942729731e59294353b849da53a9ba5037fd092bb26a26ca6ee7851 dazuko-2.3.1.ebuild 1094 +EBUILD dazuko-2.3.2-r1.ebuild 1337 RMD160 ab633a2d9ab944b04d547aac22f602de81396e7a SHA1 2297ae64845605f2ced95f7ac2a581296cb59984 SHA256 59ffe8ed7e38cf772089f12ce40ddb07e6f21650166d0c8be39884f21406f03e +MD5 e019423f2c3de494ba217acd348616b7 dazuko-2.3.2-r1.ebuild 1337 +RMD160 ab633a2d9ab944b04d547aac22f602de81396e7a dazuko-2.3.2-r1.ebuild 1337 +SHA256 59ffe8ed7e38cf772089f12ce40ddb07e6f21650166d0c8be39884f21406f03e dazuko-2.3.2-r1.ebuild 1337 EBUILD dazuko-2.3.2.ebuild 1211 RMD160 88489df5dd7a27a52f7d127c361e0b174f8b50e0 SHA1 b055574d02f5da806dd168909b93601fb57c3848 SHA256 222f953f6ef189d7473b54943aeed6440e46c996e0eb4ecfa0d308dc48f5659c MD5 6c532c3cab5789e801f51a0834489bdf dazuko-2.3.2.ebuild 1211 RMD160 88489df5dd7a27a52f7d127c361e0b174f8b50e0 dazuko-2.3.2.ebuild 1211 SHA256 222f953f6ef189d7473b54943aeed6440e46c996e0eb4ecfa0d308dc48f5659c dazuko-2.3.2.ebuild 1211 -MISC ChangeLog 1498 RMD160 c53b8deee03eabf762514be6b5d40b67954a815c SHA1 a6d9e40348315efc4e6ea39989f2cc08076f5802 SHA256 c012e4dc7e819293f3d6a049d827384583066236dacac1648921c2981492d4db -MD5 331ef049e2e0518e354b5988c53d1d12 ChangeLog 1498 -RMD160 c53b8deee03eabf762514be6b5d40b67954a815c ChangeLog 1498 -SHA256 c012e4dc7e819293f3d6a049d827384583066236dacac1648921c2981492d4db ChangeLog 1498 +MISC ChangeLog 1623 RMD160 a97788bf8604bbb6d9e85f43aa3c31f87bf5812c SHA1 a73fb7da5a26eec8f4ec17cac95a0f72e1b87269 SHA256 f9842deb6127a86629dde5e2842f4287b83ba541fa397e4bea8c665018a45579 +MD5 127b6e4abf4f51bc74d3d99b8d842fb3 ChangeLog 1623 +RMD160 a97788bf8604bbb6d9e85f43aa3c31f87bf5812c ChangeLog 1623 +SHA256 f9842deb6127a86629dde5e2842f4287b83ba541fa397e4bea8c665018a45579 ChangeLog 1623 MISC metadata.xml 980 RMD160 dfaf2070e4ef1023e90175d32fa626f334a56c07 SHA1 25e746478812c9b3c448ff3dd922a2bbc6129662 SHA256 c9a35d5cae928315a49ceb533066c2c41cf54e4fe4fa1529159b91e22274b022 MD5 e0a4db020fd5c28ea5a62ecefe8f1ec6 metadata.xml 980 RMD160 dfaf2070e4ef1023e90175d32fa626f334a56c07 metadata.xml 980 @@ -57,3 +62,6 @@ SHA256 b21a17d99c6614c80a558bbe8e36974b36a9a79097167631b7f57c0fa504fb72 files/di MD5 f9f54352941af145b8444188df816523 files/digest-dazuko-2.3.2 238 RMD160 4ae20268dd95b194559ec29500243e6325cc6042 files/digest-dazuko-2.3.2 238 SHA256 6c47094d5881ad4123cafda2bcc0574ccb1284c24643a190c440256ca4637cb6 files/digest-dazuko-2.3.2 238 +MD5 17b72cb4bbd996aa51c5a7e4e456b6ca files/digest-dazuko-2.3.2-r1 518 +RMD160 588203f5d747d496147e72a519ba266ebe25cb7c files/digest-dazuko-2.3.2-r1 518 +SHA256 a5393833af7e8def4923cbbc3d9b865dbf5594fd2ce8c4291e01c394fc8aca02 files/digest-dazuko-2.3.2-r1 518 diff --git a/sys-fs/dazuko/dazuko-2.3.2-r1.ebuild b/sys-fs/dazuko/dazuko-2.3.2-r1.ebuild new file mode 100644 index 000000000000..36c230fbab9d --- /dev/null +++ b/sys-fs/dazuko/dazuko-2.3.2-r1.ebuild @@ -0,0 +1,60 @@ +# 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-r1.ebuild,v 1.1 2006/12/09 18:41:37 alonbl Exp $ + +inherit linux-mod + +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 ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="" +DEPEND=">=virtual/linux-sources-2.2" +S="${WORKDIR}/${MY_P}" + +# kernel settings +CONFIG_CHECK="SECURITY_CAPABILITIES" +MODULE_NAMES="dazuko(misc:)" +BUILD_TARGETS="dummy_rule" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${PN}-2.3.1-suspend2.patch" + + if kernel_is 2 6 19; then + epatch "${WORKDIR}/${P}-linux-2.6.19.patch" + fi +} + +src_compile() { + ./configure \ + --without-dep \ + --kernelsrcdir="${KERNEL_DIR}" \ + --kernelobjdir="${KBUILD_OUTPUT}" \ + || die "configure failed" + convert_to_m Makefile + linux-mod_src_compile + + cd library + emake || die + cd .. +} + +src_install() { + linux-mod_src_install + + dolib.a library/libdazuko.a + insinto /usr/include + doins dazukoio.h + + dodoc COPYING + dodoc README + dodoc README.linux26 + dodoc README.trusted +} + diff --git a/sys-fs/dazuko/files/digest-dazuko-2.3.2-r1 b/sys-fs/dazuko/files/digest-dazuko-2.3.2-r1 new file mode 100644 index 000000000000..fee1e7bfde35 --- /dev/null +++ b/sys-fs/dazuko/files/digest-dazuko-2.3.2-r1 @@ -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 -- 2.26.2