summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2011-11-07 12:42:54 +0000
committerAlexis Ballier <aballier@gentoo.org>2011-11-07 12:42:54 +0000
commit924e9525c1f21fff0c0f74964d9ff80f264211f6 (patch)
tree1e93857ca8ec33cdad2cd6c05bc0c3cffa80e5b3 /sys-freebsd/freebsd-rescue
parentversion bump (diff)
downloadhistorical-924e9525c1f21fff0c0f74964d9ff80f264211f6.tar.gz
historical-924e9525c1f21fff0c0f74964d9ff80f264211f6.tar.bz2
historical-924e9525c1f21fff0c0f74964d9ff80f264211f6.zip
bump to 9.0_rc1
Package-Manager: portage-2.2.0_alpha72/cvs/Linux x86_64
Diffstat (limited to 'sys-freebsd/freebsd-rescue')
-rw-r--r--sys-freebsd/freebsd-rescue/ChangeLog8
-rw-r--r--sys-freebsd/freebsd-rescue/files/freebsd-sbin-bsdxml2expat.patch13
-rw-r--r--sys-freebsd/freebsd-rescue/freebsd-rescue-9.0_rc1.ebuild58
3 files changed, 78 insertions, 1 deletions
diff --git a/sys-freebsd/freebsd-rescue/ChangeLog b/sys-freebsd/freebsd-rescue/ChangeLog
index b064bc41bbab..910673e97035 100644
--- a/sys-freebsd/freebsd-rescue/ChangeLog
+++ b/sys-freebsd/freebsd-rescue/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-freebsd/freebsd-rescue
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-rescue/ChangeLog,v 1.23 2011/07/06 06:06:54 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-rescue/ChangeLog,v 1.24 2011/11/07 12:31:21 aballier Exp $
+
+*freebsd-rescue-9.0_rc1 (07 Nov 2011)
+
+ 07 Nov 2011; Alexis Ballier <aballier@gentoo.org>
+ +files/freebsd-sbin-bsdxml2expat.patch, +freebsd-rescue-9.0_rc1.ebuild:
+ bump to 9.0_rc1
*freebsd-rescue-8.2 (06 Jul 2011)
diff --git a/sys-freebsd/freebsd-rescue/files/freebsd-sbin-bsdxml2expat.patch b/sys-freebsd/freebsd-rescue/files/freebsd-sbin-bsdxml2expat.patch
new file mode 100644
index 000000000000..bdda99b8c0da
--- /dev/null
+++ b/sys-freebsd/freebsd-rescue/files/freebsd-sbin-bsdxml2expat.patch
@@ -0,0 +1,13 @@
+diff -uNr sbin/ifconfig.old/regdomain.c sbin/ifconfig/regdomain.c
+--- sbin/ifconfig.old/regdomain.c 2010-12-21 17:09:25.000000000 +0000
++++ sbin/ifconfig/regdomain.c 2011-07-10 15:56:27.000000000 +0000
+@@ -39,7 +39,7 @@
+ #include <err.h>
+ #include <unistd.h>
+
+-#include <bsdxml.h>
++#include <expat.h>
+
+ #include "regdomain.h"
+
+Los ficheros binarios sbin/ifconfig.old/regdomain.o y sbin/ifconfig/regdomain.o son distintos
diff --git a/sys-freebsd/freebsd-rescue/freebsd-rescue-9.0_rc1.ebuild b/sys-freebsd/freebsd-rescue/freebsd-rescue-9.0_rc1.ebuild
new file mode 100644
index 000000000000..58e5d89513e0
--- /dev/null
+++ b/sys-freebsd/freebsd-rescue/freebsd-rescue-9.0_rc1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-rescue/freebsd-rescue-9.0_rc1.ebuild,v 1.1 2011/11/07 12:31:21 aballier Exp $
+
+EAPI=2
+
+inherit bsdmk freebsd
+
+DESCRIPTION="FreeBSD's rescue binaries"
+SLOT="0"
+KEYWORDS="~x86-fbsd"
+LICENSE="BSD zfs? ( CDDL )"
+
+IUSE="atm netware nis zfs"
+
+SRC_URI="mirror://gentoo/${UBIN}.tar.bz2
+ mirror://gentoo/${CONTRIB}.tar.bz2
+ mirror://gentoo/${LIB}.tar.bz2
+ mirror://gentoo/${BIN}.tar.bz2
+ mirror://gentoo/${SBIN}.tar.bz2
+ mirror://gentoo/${USBIN}.tar.bz2
+ mirror://gentoo/${GNU}.tar.bz2
+ mirror://gentoo/${SYS}.tar.bz2
+ mirror://gentoo/${LIBEXEC}.tar.bz2
+ mirror://gentoo/${RESCUE}.tar.bz2
+ zfs? ( mirror://gentoo/${CDDL}.tar.bz2 )"
+
+RDEPEND=""
+DEPEND="sys-devel/flex
+ >=app-arch/libarchive-2.7.1[static-libs]
+ app-arch/xz-utils[static-libs]
+ sys-libs/ncurses[static-libs]
+ dev-libs/expat[static-libs]
+ app-arch/bzip2[static-libs]
+ dev-libs/libxml2:2[static-libs]
+ sys-libs/zlib[static-libs]
+ dev-util/pkgconfig
+ =sys-freebsd/freebsd-lib-${RV}*[atm?,netware?]
+ =sys-freebsd/freebsd-sources-${RV}*
+ =sys-freebsd/freebsd-mk-defs-${RV}*"
+
+S="${WORKDIR}/rescue"
+
+pkg_setup() {
+ use atm || mymakeopts="${mymakeopts} WITHOUT_ATM= "
+ use netware || mymakeopts="${mymakeopts} WITHOUT_IPX= "
+ use nis || mymakeopts="${mymakeopts} WITHOUT_NIS= "
+ use zfs || mymakeopts="${mymakeopts} WITHOUT_CDDL= "
+}
+
+src_prepare() {
+ # As they are patches from ${WORKDIR} apply them by hand
+ cd "${WORKDIR}"
+ epatch "${FILESDIR}/${PN}"-8.0-pkgconfig_static_libarchive.patch
+ epatch "${FILESDIR}/${PN}"-7.1-zlib.patch
+ epatch "${FILESDIR}/${PN}"-8.2-libzcleverlink.patch
+ epatch "${FILESDIR}/freebsd-sbin-bsdxml2expat.patch"
+}