overlay/sys-kernel/genkernel/files/genkernel-3.4.44.2.ebuild.diff

45 lines
1.6 KiB
Diff
Raw Normal View History

--- /usr/portage/sys-kernel/genkernel/genkernel-3.4.44.2.ebuild 2012-10-15 23:00:37.000000000 +0200
+++ genkernel-3.4.45.ebuild 2012-11-13 17:11:02.448710326 +0100
@@ -15,6 +15,7 @@
VERSION_LVM='2.02.88'
VERSION_UNIONFS_FUSE='0.24'
VERSION_GPG='1.4.11'
+VERSION_DROPBEAR='2012.55'
RH_HOME="ftp://sources.redhat.com/pub"
DM_HOME="http://people.redhat.com/~heinzm/sw/dmraid/src"
@@ -29,7 +30,8 @@
http://www.open-iscsi.org/bits/open-iscsi-${VERSION_ISCSI}.tar.gz
mirror://sourceforge/fuse/fuse-${VERSION_FUSE}.tar.gz
http://podgorny.cz/unionfs-fuse/releases/unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.bz2
- mirror://gnupg/gnupg/gnupg-${VERSION_GPG}.tar.bz2"
+ mirror://gnupg/gnupg/gnupg-${VERSION_GPG}.tar.bz2
+ https://matt.ucc.asn.au/dropbear/dropbear-${VERSION_DROPBEAR}.tar.bz2"
if [[ ${PV} == 9999* ]]
then
@@ -77,6 +79,7 @@
src_prepare() {
use selinux && sed -i 's/###//g' "${S}"/gen_compile.sh
+ epatch "${FILESDIR}/genkernel-3.4.44.2-add_reiser4_tux3-1.patch"
# Update software.sh
sed -i \
@@ -88,6 +91,7 @@
-e "s:VERSION_LVM:$VERSION_LVM:" \
-e "s:VERSION_UNIONFS_FUSE:$VERSION_UNIONFS_FUSE:" \
-e "s:VERSION_GPG:$VERSION_GPG:" \
+ -e "s:VERSION_DROPBEAR:$VERSION_DROPBEAR:" \
"${S}"/defaults/software.sh \
|| die "Could not adjust versions"
}
@@ -126,6 +130,7 @@
"${DISTDIR}"/unionfs-fuse-${VERSION_UNIONFS_FUSE}.tar.bz2 \
"${DISTDIR}"/gnupg-${VERSION_GPG}.tar.bz2 \
"${DISTDIR}"/open-iscsi-${VERSION_ISCSI}.tar.gz \
+ "${DISTDIR}"/dropbear-${VERSION_DROPBEAR}.tar.bz2 \
"${D}"/var/cache/genkernel/src || die "Copying distfiles..."
newbashcomp "${FILESDIR}"/genkernel.bash "${PN}"