diff options
-rw-r--r-- | sys-freebsd/freebsd-rescue/ChangeLog | 8 | ||||
-rw-r--r-- | sys-freebsd/freebsd-rescue/freebsd-rescue-7.2.ebuild | 51 |
2 files changed, 58 insertions, 1 deletions
diff --git a/sys-freebsd/freebsd-rescue/ChangeLog b/sys-freebsd/freebsd-rescue/ChangeLog index 58e4d2bd792f..874d9b25f623 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-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-rescue/ChangeLog,v 1.18 2009/01/22 21:04:01 the_paya Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-rescue/ChangeLog,v 1.19 2009/05/22 13:40:51 aballier Exp $ + +*freebsd-rescue-7.2 (22 May 2009) + + 22 May 2009; Alexis Ballier <aballier@gentoo.org> + +freebsd-rescue-7.2.ebuild: + bump to 7.2 *freebsd-rescue-7.1 (22 Jan 2009) diff --git a/sys-freebsd/freebsd-rescue/freebsd-rescue-7.2.ebuild b/sys-freebsd/freebsd-rescue/freebsd-rescue-7.2.ebuild new file mode 100644 index 000000000000..d31e9da24ff3 --- /dev/null +++ b/sys-freebsd/freebsd-rescue/freebsd-rescue-7.2.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-rescue/freebsd-rescue-7.2.ebuild,v 1.1 2009/05/22 13:40:51 aballier Exp $ + +inherit bsdmk freebsd + +DESCRIPTION="FreeBSD's rescue binaries" +SLOT="0" +KEYWORDS="~x86-fbsd" + +IUSE="atm nis" + +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" + +RDEPEND="" +DEPEND="sys-devel/flex + =sys-freebsd/freebsd-sources-${RV}* + =sys-freebsd/freebsd-mk-defs-${RV}*" + +S="${WORKDIR}/rescue" + +pkg_setup() { + use atm || mymakeopts="${mymakeopts} NO_ATM= " + use nis || mymakeopts="${mymakeopts} NO_NIS= " + + for flag in atm nis; do + if use ${flag} && ! built_with_use sys-libs/freebsd-lib ${flag}; then + die "You can't add ${flag} support here without adding it to sys-libs/freebsd-lib" + fi + done + +# append-flags -fno-stack-protector -fno-stack-protector-all +} + +src_unpack() { + freebsd_src_unpack + + # As they are patches from ${WORKDIR} apply them by hand + cd "${WORKDIR}" + epatch "${FILESDIR}/${PN}"-5.4-gentoo.patch + epatch "${FILESDIR}/${PN}"-7.1-zlib.patch +} |