ad virtual pkg

This commit is contained in:
Mario Fetka 2012-11-23 07:05:05 +01:00
parent 3744f77870
commit 30ed640069
4 changed files with 56 additions and 0 deletions

View File

@ -13,9 +13,15 @@ source $BASEDIR/kernel
for package in ${PACKAGES}; do
name=$(echo ${package} | cut -d/ -f2)
sourcename=$(echo ${package} | grep sources)
echo "source pkg ${sourcename}"
sourcenames="${sourcenames} ${sourcename}"
cp ${package}/${name}-${OLD}.ebuild ${package}/${name}-${OLD}.ebuild.old
sed -e "s:^K_NASPATCHES_VER=.*:K_NASPATCHES_VER=\"${VER}\":" -e "s:^K_NASCONFIGS_VER=.*:K_NASCONFIGS_VER=\"${CNF}\":" ${package}/${name}-${OLD}.ebuild.old > ${package}/${name}-${NEW}.ebuild
rm -f ${package}/${name}-${OLD}.ebuild.old
git add ${package}/${name}-${NEW}.ebuild
ebuild ${package}/${name}-${NEW}.ebuild manifest
done
sed -e "s:^SABLINK_SOURCES=.*:SABLINK_SOURCES=\"${sourcenames}\":" -i virtual/linux-sources/linux-sources-0.ebuild
ebuild virtual/linux-sources/linux-sources-0.ebuild manifest

View File

@ -0,0 +1,2 @@
EBUILD linux-sources-0.ebuild 1355 SHA256 9190508ab70ecb921d21a203c501b95fe0c98001b4042931847dabcba21b87ff SHA512 f4ee5c033f98733ff74a78110a21b08acda279097b7da2f0277022dfc6d1ef1c13695c969400dd1e141e93654980250caf5a307b488b7ae7d7dfcb1f8316eafb WHIRLPOOL 0da8f7e53ab7946e859f039dd76f22bd95c26043e177c69622d249c9d66b05b540666ce80647cf8d6632064d221bde88a31ed0b784ab4bf1b97e9b641a4603de
MISC metadata.xml 223 SHA256 81397b5eb31af3dbcf2105207a21628be9a62fd03a105cc672ae99663b191a8c SHA512 5fefb6cbf52338b205b57f7ce80f03c7c1d3a6457b48a730996deb84b9c3e7c325cb032f8c8711d5382d6c898733e1fff38ac02e74927f5b2d6fe11dc0be6844 WHIRLPOOL 6f22b281394bf4ff8e98f3ecb0e87f7c7c06b9b106284f7c6aac2fa9f363c5fcbbe58a84b1c8181353d8bd0aeb36b4d760a4f439aaa5cd97e02627cb7bab3331

View File

@ -0,0 +1,40 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=2
DESCRIPTION="Virtual for Linux kernel sources"
HOMEPAGE=""
SRC_URI=""
LICENSE=""
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86"
IUSE=""
SABLINK_SOURCES=" sys-kernel/buffalo_ls_chl-sources sys-kernel/buffalo_ls_chl2-sources sys-kernel/buffalo_ls_hgl-sources sys-kernel/buffalo_ls_live-sources sys-kernel/buffalo_ls_mini-sources sys-kernel/buffalo_ls_pro-sources sys-kernel/buffalo_kb_pro-sources sys-kernel/buffalo_ls_pro_duo_rev1-sources sys-kernel/buffalo_ls_pro_duo_rev2-sources sys-kernel/buffalo_ls_ql-sources sys-kernel/buffalo_ls_vl-sources sys-kernel/buffalo_ls_wvl-sources sys-kernel/buffalo_ls_xhl-sources"
DEPEND=""
RDEPEND="|| (
${SABLINK_SOURCES}
sys-kernel/gentoo-sources
sys-kernel/vanilla-sources
sys-kernel/cell-sources
sys-kernel/ck-sources
sys-kernel/cluster-sources
sys-kernel/git-sources
sys-kernel/hardened-sources
sys-kernel/mips-sources
sys-kernel/mm-sources
sys-kernel/openvz-sources
sys-kernel/pf-sources
sys-kernel/rsbac-sources
sys-kernel/sparc-sources
sys-kernel/tuxonice-sources
sys-kernel/usermode-sources
sys-kernel/vserver-sources
sys-kernel/xbox-sources
sys-kernel/xen-sources
sys-kernel/zen-sources
)"

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>kernel-misc</herd>
<maintainer>
<email>ulm@gentoo.org</email>
</maintainer>
</pkgmetadata>