delete buggy ebulds
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@2465 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
parent
677e030bbd
commit
2127799501
@ -1,3 +0,0 @@
|
||||
AUX spl-0.4.9-kernel-2-6-33-1.patch 991 RMD160 33c75ce291cb2d786efb8ac98b3a76d344bf85fd SHA1 cb17f800c42b79d91b6ebc67516873369ca6c277 SHA256 e9b24c7885a395cef6f3e81eaa5b6513c371943143d5daf9bba0c7ea8db052f4
|
||||
DIST spl-0.4.9.tar.gz 472894 RMD160 d8a0b3d915a034f18d1360f14eb2884946ec7782 SHA1 8a61565d0a1c54f7c74abe87b1741faf1e115b5e SHA256 119898acd3edc5ae276534592f5e0a172e1a38035ba738090196ed5c5d8bd34d
|
||||
EBUILD spl-0.4.9.ebuild 2197 RMD160 735cac15309883d01d2becca9ad9de240893c82c SHA1 cf698124658e93042cb671be001c73a8270634fe SHA256 81bd0346582387a0c149806610d42cdf570a31687d1a56202efc8d90e667a44d
|
@ -1,25 +0,0 @@
|
||||
Submitted By: Mario Fetka (geos_one) (mario dot fetka at gmail dot com)
|
||||
Date: 2010-06-11
|
||||
Initial Package Version: 0.4.9
|
||||
Origin: me
|
||||
Upstream Status: unknown
|
||||
Description: make it build with 2.6.33 and greater
|
||||
|
||||
diff -Naur spl-0.4.9.orig/config/spl-build.m4 spl-0.4.9/config/spl-build.m4
|
||||
--- spl-0.4.9.orig/config/spl-build.m4 2010-06-11 12:27:58.500095682 +0000
|
||||
+++ spl-0.4.9/config/spl-build.m4 2010-06-11 12:28:38.221340815 +0000
|
||||
@@ -160,6 +160,14 @@
|
||||
echo "kernsrcver=UTS_RELEASE") |
|
||||
cpp -I $kernelbuild/include |
|
||||
grep "^kernsrcver=" | cut -d \" -f 2`
|
||||
+
|
||||
+ elif test -r $kernelbuild/include/generated/utsrelease.h &&
|
||||
+ fgrep -q UTS_RELEASE $kernelbuild/include/generated/utsrelease.h; then
|
||||
+
|
||||
+ kernsrcver=`(echo "#include <generated/utsrelease.h>";
|
||||
+ echo "kernsrcver=UTS_RELEASE") |
|
||||
+ cpp -I $kernelbuild/include |
|
||||
+ grep "^kernsrcver=" | cut -d \" -f 2`
|
||||
fi
|
||||
|
||||
if test -z "$kernsrcver"; then
|
@ -1,89 +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/fuse/fuse-2.7.4.ebuild,v 1.7 2009/05/18 14:08:43 jer Exp $
|
||||
|
||||
EAPI="2"
|
||||
#WANT_AUTOCONF="2.5"
|
||||
WANT_AUTOMAKE="1.11"
|
||||
|
||||
inherit linux-mod eutils autotools
|
||||
|
||||
MY_P=${P/_/-}
|
||||
DESCRIPTION="The Solaris Porting Layer"
|
||||
HOMEPAGE="http://wiki.github.com/behlendorf/spl/"
|
||||
SRC_URI="http://github.com/downloads/behlendorf/spl/${MY_P}.tar.gz"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd"
|
||||
IUSE="kernel_linux"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
pkg_setup() {
|
||||
MODULE_NAMES="spl(fs/spl:${S}/module:${S}/module/spl) \
|
||||
splat(fs/spl:${S}/module:${S}/module/splat)"
|
||||
linux-mod_pkg_setup
|
||||
# BUILD_PARAMS="majver=${KV_MAJOR}.${KV_MINOR} \
|
||||
# fusemoduledir=\"${ROOT}\"/lib/modules/${KV_FULL/\ }/fs"
|
||||
BUILD_TARGETS="all"
|
||||
# ECONF_PARAMS="--with-kernel=${KV_DIR} --with-kernel-build=${KV_OUT_DIR}"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/spl-0.4.9-kernel-2-6-33-1.patch
|
||||
#AT_M4DIR="config" eautoreconf
|
||||
sh autogen.sh
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--with-linux=${KERNEL_DIR} \
|
||||
|| die "econf failed for fuse userland"
|
||||
# cp module/Makefile module/Makefile.kl
|
||||
# econf \
|
||||
# --with-config=user \
|
||||
# || die "econf failed for fuse userland"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
convert_to_m module/Makefile
|
||||
# cp module/Makefile.kl module/Makefile
|
||||
linux-mod_src_compile
|
||||
emake || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
|
||||
dodoc AUTHORS ChangeLog Filesystems README \
|
||||
README.NFS NEWS doc/how-fuse-works \
|
||||
doc/kernel.txt FAQ
|
||||
docinto example
|
||||
dodoc example/*
|
||||
|
||||
if use kernel_linux ; then
|
||||
linux-mod_src_install
|
||||
newinitd ${FILESDIR}/fuse.init fuse
|
||||
else
|
||||
insinto /usr/include/fuse
|
||||
doins include/fuse_kernel.h
|
||||
newinitd ${FILESDIR}/fuse-fbsd.init fuse
|
||||
fi
|
||||
|
||||
rm -rf "${D}/dev"
|
||||
|
||||
dodir /etc
|
||||
cat > ${D}/etc/fuse.conf <<EOF
|
||||
# Set the maximum number of FUSE mounts allowed to non-root users.
|
||||
# The default is 1000.
|
||||
#
|
||||
#mount_max = 1000
|
||||
|
||||
# Allow non-root users to specify the 'allow_other' or 'allow_root'
|
||||
# mount options.
|
||||
#
|
||||
#user_allow_other
|
||||
EOF
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use kernel_linux && linux-mod_pkg_postinst
|
||||
}
|
@ -1,3 +0,0 @@
|
||||
AUX zfs-0.4.9-kernel-2-6-33-1.patch 975 RMD160 f7df0e219912b8e8be0fdd3bea35386009721222 SHA1 e074bfb57f802ccde53e7e3827b3e4d340c89708 SHA256 79f5b8331606cb3693f39df69d7f29b59e0bd8a0fbac239e705b19dc69a2a1ba
|
||||
DIST zfs-0.4.9.tar.gz 1581976 RMD160 9355ba1efe61cb4f4be50c4b1eebb28f8d60dfa4 SHA1 8b8f3540fdfa85dd9c5e3e6cf9dc80eced4606fe SHA256 4e301d1d6b124c8465807155c4c25011e80fdee2e10947ffc83d9e5394b261de
|
||||
EBUILD zfs-0.4.9.ebuild 2252 RMD160 bc4ee734c15c10c86cf85df29a6debb201039902 SHA1 bae4b63a7586ea13d34493c4b72e8a54898cb03f SHA256 fb7d815eabb747a2b91f7b509fab1f667606b5aa12aa32689cc271b8611e438f
|
@ -1,25 +0,0 @@
|
||||
Submitted By: Mario Fetka (geos_one) (mario dot fetka at gmail dot com)
|
||||
Date: 2010-06-11
|
||||
Initial Package Version: 0.4.9
|
||||
Origin: me
|
||||
Upstream Status: unknown
|
||||
Description: make it build with 2.6.33 and greater
|
||||
|
||||
diff -Naur zfs-0.4.9.orig/config/kernel.m4 zfs-0.4.9/config/kernel.m4
|
||||
--- zfs-0.4.9.orig/config/kernel.m4 2010-06-11 11:41:37.716096278 +0000
|
||||
+++ zfs-0.4.9/config/kernel.m4 2010-06-11 11:42:59.524095064 +0000
|
||||
@@ -129,6 +129,14 @@
|
||||
echo "kernsrcver=UTS_RELEASE") |
|
||||
cpp -I $kernelbuild/include |
|
||||
grep "^kernsrcver=" | cut -d \" -f 2`
|
||||
+
|
||||
+ elif test -r $kernelbuild/include/generated/utsrelease.h &&
|
||||
+ fgrep -q UTS_RELEASE $kernelbuild/include/generated/utsrelease.h; then
|
||||
+
|
||||
+ kernsrcver=`(echo "#include <generated/utsrelease.h>";
|
||||
+ echo "kernsrcver=UTS_RELEASE") |
|
||||
+ cpp -I $kernelbuild/include |
|
||||
+ grep "^kernsrcver=" | cut -d \" -f 2`
|
||||
fi
|
||||
|
||||
if test -z "$kernsrcver"; then
|
@ -1,90 +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/fuse/fuse-2.7.4.ebuild,v 1.7 2009/05/18 14:08:43 jer Exp $
|
||||
|
||||
EAPI="2"
|
||||
#WANT_AUTOCONF="2.5"
|
||||
WANT_AUTOMAKE="1.11"
|
||||
|
||||
inherit linux-mod eutils autotools
|
||||
|
||||
MY_P=${P/_/-}
|
||||
DESCRIPTION="Native ZFS for Linux"
|
||||
HOMEPAGE="http://wiki.github.com/behlendorf/zfs/"
|
||||
SRC_URI="http://github.com/downloads/behlendorf/zfs/${MY_P}.tar.gz"
|
||||
LICENSE="CCDL"
|
||||
KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd"
|
||||
IUSE="kernel_linux"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
pkg_setup() {
|
||||
MODULE_NAMES="avl(fs/zfs:${S}/module/avl) \
|
||||
nvpair(fs/zfs:${S}/module/nvpair) \
|
||||
unicode(fs/zfs:${S}/module/unicode) \
|
||||
zcommon(fs/zfs:${S}/module/zcommon) \
|
||||
zfs(fs/zfs:${S}/module/zfs) \
|
||||
zpios(fs/zfs:${S}/module/zpios)"
|
||||
linux-mod_pkg_setup
|
||||
# BUILD_PARAMS="majver=${KV_MAJOR}.${KV_MINOR} \
|
||||
# fusemoduledir=\"${ROOT}\"/lib/modules/${KV_FULL/\ }/fs"
|
||||
BUILD_TARGETS="all"
|
||||
# ECONF_PARAMS="--with-kernel=${KV_DIR} --with-kernel-build=${KV_OUT_DIR}"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/zfs-0.4.9-kernel-2-6-33-1.patch
|
||||
#AT_M4DIR="config" eautoreconf
|
||||
sh autogen.sh
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
econf \
|
||||
--with-linux=${KERNEL_DIR} \
|
||||
|| die "econf failed for fuse userland"
|
||||
emake || die "emake failed"
|
||||
|
||||
# if use kernel_linux ; then
|
||||
# cd "${S}"
|
||||
# sed -i -e 's/.*depmod.*//g' kernel/Makefile.in
|
||||
# convert_to_m kernel/Makefile.in
|
||||
# linux-mod_src_compile
|
||||
# fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
|
||||
dodoc AUTHORS ChangeLog Filesystems README \
|
||||
README.NFS NEWS doc/how-fuse-works \
|
||||
doc/kernel.txt FAQ
|
||||
docinto example
|
||||
dodoc example/*
|
||||
|
||||
if use kernel_linux ; then
|
||||
linux-mod_src_install
|
||||
newinitd ${FILESDIR}/fuse.init fuse
|
||||
else
|
||||
insinto /usr/include/fuse
|
||||
doins include/fuse_kernel.h
|
||||
newinitd ${FILESDIR}/fuse-fbsd.init fuse
|
||||
fi
|
||||
|
||||
rm -rf "${D}/dev"
|
||||
|
||||
dodir /etc
|
||||
cat > ${D}/etc/fuse.conf <<EOF
|
||||
# Set the maximum number of FUSE mounts allowed to non-root users.
|
||||
# The default is 1000.
|
||||
#
|
||||
#mount_max = 1000
|
||||
|
||||
# Allow non-root users to specify the 'allow_other' or 'allow_root'
|
||||
# mount options.
|
||||
#
|
||||
#user_allow_other
|
||||
EOF
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use kernel_linux && linux-mod_pkg_postinst
|
||||
}
|
Loading…
Reference in New Issue
Block a user