diff options
60 files changed, 88 insertions, 4595 deletions
diff --git a/sys-freebsd/boot0/ChangeLog b/sys-freebsd/boot0/ChangeLog index 7a1b2e6606fe..d8c63e9bff42 100644 --- a/sys-freebsd/boot0/ChangeLog +++ b/sys-freebsd/boot0/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-freebsd/boot0 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/boot0/ChangeLog,v 1.31 2012/01/16 16:37:08 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/boot0/ChangeLog,v 1.32 2012/03/30 15:50:49 aballier Exp $ + + 30 Mar 2012; Alexis Ballier <aballier@gentoo.org> -boot0-9.0_rc1.ebuild, + -boot0-9.0_rc2.ebuild, -boot0-9.0_rc3.ebuild: + remove old *boot0-9.0 (16 Jan 2012) diff --git a/sys-freebsd/boot0/boot0-9.0_rc1.ebuild b/sys-freebsd/boot0/boot0-9.0_rc1.ebuild deleted file mode 100644 index 800f68925133..000000000000 --- a/sys-freebsd/boot0/boot0-9.0_rc1.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/boot0/boot0-9.0_rc1.ebuild,v 1.1 2011/11/07 12:18:39 aballier Exp $ - -EAPI=2 - -inherit bsdmk freebsd flag-o-matic - -DESCRIPTION="FreeBSD's bootloader" -SLOT="0" -KEYWORDS="~sparc-fbsd ~x86-fbsd" - -IUSE="bzip2 ieee1394 tftp zfs" - -SRC_URI="mirror://gentoo/${SYS}.tar.bz2" - -RDEPEND="" -DEPEND="=sys-freebsd/freebsd-mk-defs-${RV}* - =sys-freebsd/freebsd-lib-${RV}*" - -S="${WORKDIR}/sys/boot" - -boot0_use_enable() { - use ${1} && mymakeopts="${mymakeopts} LOADER_${2}_SUPPORT=\"yes\"" -} - -pkg_setup() { - boot0_use_enable ieee1394 FIREWIRE - boot0_use_enable zfs ZFS - boot0_use_enable tftp TFTP - boot0_use_enable bzip2 BZIP2 -} - -src_prepare() { - sed -e '/-fomit-frame-pointer/d' -e '/-mno-align-long-strings/d' \ - -i "${S}"/i386/boot2/Makefile \ - -i "${S}"/i386/gptboot/Makefile \ - -i "${S}"/i386/gptzfsboot/Makefile \ - -i "${S}"/i386/zfsboot/Makefile || die -} - -src_compile() { - strip-flags - append-flags "-I/usr/include/libstand/" - append-flags "-fno-strict-aliasing" - NOFLAGSTRIP="yes" freebsd_src_compile -} - -src_install() { - dodir /boot/defaults - mkinstall FILESDIR=/boot || die "mkinstall failed" -} diff --git a/sys-freebsd/boot0/boot0-9.0_rc2.ebuild b/sys-freebsd/boot0/boot0-9.0_rc2.ebuild deleted file mode 100644 index dd33bff65a9d..000000000000 --- a/sys-freebsd/boot0/boot0-9.0_rc2.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/boot0/boot0-9.0_rc2.ebuild,v 1.1 2011/12/07 17:04:42 aballier Exp $ - -EAPI=2 - -inherit bsdmk freebsd flag-o-matic - -DESCRIPTION="FreeBSD's bootloader" -SLOT="0" -KEYWORDS="~sparc-fbsd ~x86-fbsd" - -IUSE="bzip2 ieee1394 tftp zfs" - -SRC_URI="mirror://gentoo/${SYS}.tar.bz2" - -RDEPEND="" -DEPEND="=sys-freebsd/freebsd-mk-defs-${RV}* - =sys-freebsd/freebsd-lib-${RV}*" - -S="${WORKDIR}/sys/boot" - -boot0_use_enable() { - use ${1} && mymakeopts="${mymakeopts} LOADER_${2}_SUPPORT=\"yes\"" -} - -pkg_setup() { - boot0_use_enable ieee1394 FIREWIRE - boot0_use_enable zfs ZFS - boot0_use_enable tftp TFTP - boot0_use_enable bzip2 BZIP2 -} - -src_prepare() { - sed -e '/-fomit-frame-pointer/d' -e '/-mno-align-long-strings/d' \ - -i "${S}"/i386/boot2/Makefile \ - -i "${S}"/i386/gptboot/Makefile \ - -i "${S}"/i386/gptzfsboot/Makefile \ - -i "${S}"/i386/zfsboot/Makefile || die -} - -src_compile() { - strip-flags - append-flags "-I/usr/include/libstand/" - append-flags "-fno-strict-aliasing" - NOFLAGSTRIP="yes" freebsd_src_compile -} - -src_install() { - dodir /boot/defaults - mkinstall FILESDIR=/boot || die "mkinstall failed" -} diff --git a/sys-freebsd/boot0/boot0-9.0_rc3.ebuild b/sys-freebsd/boot0/boot0-9.0_rc3.ebuild deleted file mode 100644 index 79304ad633a7..000000000000 --- a/sys-freebsd/boot0/boot0-9.0_rc3.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/boot0/boot0-9.0_rc3.ebuild,v 1.1 2011/12/09 13:18:05 aballier Exp $ - -EAPI=2 - -inherit bsdmk freebsd flag-o-matic - -DESCRIPTION="FreeBSD's bootloader" -SLOT="0" -KEYWORDS="~sparc-fbsd ~x86-fbsd" - -IUSE="bzip2 ieee1394 tftp zfs" - -SRC_URI="mirror://gentoo/${SYS}.tar.bz2" - -RDEPEND="" -DEPEND="=sys-freebsd/freebsd-mk-defs-${RV}* - =sys-freebsd/freebsd-lib-${RV}*" - -S="${WORKDIR}/sys/boot" - -boot0_use_enable() { - use ${1} && mymakeopts="${mymakeopts} LOADER_${2}_SUPPORT=\"yes\"" -} - -pkg_setup() { - boot0_use_enable ieee1394 FIREWIRE - boot0_use_enable zfs ZFS - boot0_use_enable tftp TFTP - boot0_use_enable bzip2 BZIP2 -} - -src_prepare() { - sed -e '/-fomit-frame-pointer/d' -e '/-mno-align-long-strings/d' \ - -i "${S}"/i386/boot2/Makefile \ - -i "${S}"/i386/gptboot/Makefile \ - -i "${S}"/i386/gptzfsboot/Makefile \ - -i "${S}"/i386/zfsboot/Makefile || die -} - -src_compile() { - strip-flags - append-flags "-I/usr/include/libstand/" - append-flags "-fno-strict-aliasing" - NOFLAGSTRIP="yes" freebsd_src_compile -} - -src_install() { - dodir /boot/defaults - mkinstall FILESDIR=/boot || die "mkinstall failed" -} diff --git a/sys-freebsd/freebsd-bin/ChangeLog b/sys-freebsd/freebsd-bin/ChangeLog index c4818b6ebd77..8ee607ea6eff 100644 --- a/sys-freebsd/freebsd-bin/ChangeLog +++ b/sys-freebsd/freebsd-bin/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-freebsd/freebsd-bin # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-bin/ChangeLog,v 1.41 2012/01/16 16:37:08 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-bin/ChangeLog,v 1.42 2012/03/30 15:53:10 aballier Exp $ + + 30 Mar 2012; Alexis Ballier <aballier@gentoo.org> + -freebsd-bin-9.0_rc1.ebuild, -freebsd-bin-9.0_rc2.ebuild, + -freebsd-bin-9.0_rc3.ebuild: + remove old *freebsd-bin-9.0 (16 Jan 2012) diff --git a/sys-freebsd/freebsd-bin/freebsd-bin-9.0_rc1.ebuild b/sys-freebsd/freebsd-bin/freebsd-bin-9.0_rc1.ebuild deleted file mode 100644 index efa21ad3e6ba..000000000000 --- a/sys-freebsd/freebsd-bin/freebsd-bin-9.0_rc1.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-bin/freebsd-bin-9.0_rc1.ebuild,v 1.1 2011/11/07 12:19:42 aballier Exp $ - -inherit bsdmk freebsd - -DESCRIPTION="FreeBSD /bin tools" -SLOT="0" -KEYWORDS="~sparc-fbsd ~x86-fbsd" - -IUSE="" - -SRC_URI="mirror://gentoo/${BIN}.tar.bz2 - mirror://gentoo/${UBIN}.tar.bz2 - mirror://gentoo/${SBIN}.tar.bz2 - mirror://gentoo/${LIB}.tar.bz2" - -RDEPEND="=sys-freebsd/freebsd-lib-${RV}* - sys-libs/ncurses - sys-apps/ed - !app-misc/realpath - !<sys-freebsd/freebsd-ubin-8" -DEPEND="${RDEPEND} - =sys-freebsd/freebsd-mk-defs-${RV}* - >=sys-devel/flex-2.5.31-r2" - -S=${WORKDIR}/bin - -# csh and tcsh are provided by tcsh package, rmail is sendmail stuff. -REMOVE_SUBDIRS="csh rmail ed" - -pkg_setup() { - mymakeopts="${mymakeopts} WITHOUT_TCSH= WITHOUT_SENDMAIL= WITHOUT_RCMDS= " -} diff --git a/sys-freebsd/freebsd-bin/freebsd-bin-9.0_rc2.ebuild b/sys-freebsd/freebsd-bin/freebsd-bin-9.0_rc2.ebuild deleted file mode 100644 index 565d5d87fd81..000000000000 --- a/sys-freebsd/freebsd-bin/freebsd-bin-9.0_rc2.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-bin/freebsd-bin-9.0_rc2.ebuild,v 1.1 2011/12/07 17:05:10 aballier Exp $ - -inherit bsdmk freebsd - -DESCRIPTION="FreeBSD /bin tools" -SLOT="0" -KEYWORDS="~sparc-fbsd ~x86-fbsd" - -IUSE="" - -SRC_URI="mirror://gentoo/${BIN}.tar.bz2 - mirror://gentoo/${UBIN}.tar.bz2 - mirror://gentoo/${SBIN}.tar.bz2 - mirror://gentoo/${LIB}.tar.bz2" - -RDEPEND="=sys-freebsd/freebsd-lib-${RV}* - sys-libs/ncurses - sys-apps/ed - !app-misc/realpath - !<sys-freebsd/freebsd-ubin-8" -DEPEND="${RDEPEND} - =sys-freebsd/freebsd-mk-defs-${RV}* - >=sys-devel/flex-2.5.31-r2" - -S=${WORKDIR}/bin - -# csh and tcsh are provided by tcsh package, rmail is sendmail stuff. -REMOVE_SUBDIRS="csh rmail ed" - -pkg_setup() { - mymakeopts="${mymakeopts} WITHOUT_TCSH= WITHOUT_SENDMAIL= WITHOUT_RCMDS= " -} diff --git a/sys-freebsd/freebsd-bin/freebsd-bin-9.0_rc3.ebuild b/sys-freebsd/freebsd-bin/freebsd-bin-9.0_rc3.ebuild deleted file mode 100644 index 4577620b33a0..000000000000 --- a/sys-freebsd/freebsd-bin/freebsd-bin-9.0_rc3.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-bin/freebsd-bin-9.0_rc3.ebuild,v 1.1 2011/12/09 13:18:32 aballier Exp $ - -inherit bsdmk freebsd - -DESCRIPTION="FreeBSD /bin tools" -SLOT="0" -KEYWORDS="~sparc-fbsd ~x86-fbsd" - -IUSE="" - -SRC_URI="mirror://gentoo/${BIN}.tar.bz2 - mirror://gentoo/${UBIN}.tar.bz2 - mirror://gentoo/${SBIN}.tar.bz2 - mirror://gentoo/${LIB}.tar.bz2" - -RDEPEND="=sys-freebsd/freebsd-lib-${RV}* - sys-libs/ncurses - sys-apps/ed - !app-misc/realpath - !<sys-freebsd/freebsd-ubin-8" -DEPEND="${RDEPEND} - =sys-freebsd/freebsd-mk-defs-${RV}* - >=sys-devel/flex-2.5.31-r2" - -S=${WORKDIR}/bin - -# csh and tcsh are provided by tcsh package, rmail is sendmail stuff. -REMOVE_SUBDIRS="csh rmail ed" - -pkg_setup() { - mymakeopts="${mymakeopts} WITHOUT_TCSH= WITHOUT_SENDMAIL= WITHOUT_RCMDS= " -} diff --git a/sys-freebsd/freebsd-cddl/ChangeLog b/sys-freebsd/freebsd-cddl/ChangeLog index 256a50ca85e6..ff3585bb3804 100644 --- a/sys-freebsd/freebsd-cddl/ChangeLog +++ b/sys-freebsd/freebsd-cddl/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-freebsd/freebsd-cddl # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-cddl/ChangeLog,v 1.17 2012/03/30 09:14:43 naota Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-cddl/ChangeLog,v 1.18 2012/03/30 15:44:49 aballier Exp $ + + 30 Mar 2012; Alexis Ballier <aballier@gentoo.org> + -freebsd-cddl-9.0_rc1.ebuild, -freebsd-cddl-9.0_rc2.ebuild, + -freebsd-cddl-9.0_rc3.ebuild: + remove old 30 Mar 2012; Naohiro Aota <naota@gentoo.org> freebsd-cddl-9.0.ebuild: Apply patch to add library search path. #409693; Install library proper place diff --git a/sys-freebsd/freebsd-cddl/freebsd-cddl-9.0_rc1.ebuild b/sys-freebsd/freebsd-cddl/freebsd-cddl-9.0_rc1.ebuild deleted file mode 100644 index f644d6f79d56..000000000000 --- a/sys-freebsd/freebsd-cddl/freebsd-cddl-9.0_rc1.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-cddl/freebsd-cddl-9.0_rc1.ebuild,v 1.1 2011/11/07 12:20:47 aballier Exp $ - -inherit bsdmk freebsd flag-o-matic eutils - -DESCRIPTION="FreeBSD CDDL (opensolaris/zfs) extra software" -SLOT="0" -KEYWORDS="~x86-fbsd" - -IUSE="build" -LICENSE="CDDL" - -SRC_URI="mirror://gentoo/${P}.tar.bz2 - mirror://gentoo/${CONTRIB}.tar.bz2 - mirror://gentoo/${UBIN}.tar.bz2 - mirror://gentoo/${LIB}.tar.bz2 - mirror://gentoo/${SBIN}.tar.bz2 - mirror://gentoo/${SYS}.tar.bz2 - build? ( mirror://gentoo/${SYS}.tar.bz2 - mirror://gentoo/${INCLUDE}.tar.bz2 )" - -# sys is required. - -RDEPEND="=sys-freebsd/freebsd-lib-${RV}* - =sys-freebsd/freebsd-libexec-${RV}* - build? ( sys-apps/baselayout ) - dev-libs/libelf" - -DEPEND="${RDEPEND} - =sys-freebsd/freebsd-mk-defs-${RV}* - !build? ( =sys-freebsd/freebsd-sources-${RV}* )" - -S="${WORKDIR}/cddl" - -PATCHES=( "${FILESDIR}/${PN}-9.0-bsdxml.patch" - "${FILESDIR}/${PN}-9.0-underlink.patch" ) - -src_unpack() { - freebsd_src_unpack - # Link in include headers. - ln -s "/usr/include" "${WORKDIR}/include" || die "Symlinking /usr/include.." - # Force linking to new libraries - for i in "${S}/lib/"lib* ; do - append-ldflags " -L${i}" - done -} - -src_install() { - freebsd_src_install - # Install zfs volinit script. - newinitd "${FILESDIR}"/zvol.initd zvol -} diff --git a/sys-freebsd/freebsd-cddl/freebsd-cddl-9.0_rc2.ebuild b/sys-freebsd/freebsd-cddl/freebsd-cddl-9.0_rc2.ebuild deleted file mode 100644 index 92c7fb2dd4ed..000000000000 --- a/sys-freebsd/freebsd-cddl/freebsd-cddl-9.0_rc2.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-cddl/freebsd-cddl-9.0_rc2.ebuild,v 1.1 2011/12/07 17:05:37 aballier Exp $ - -inherit bsdmk freebsd flag-o-matic eutils - -DESCRIPTION="FreeBSD CDDL (opensolaris/zfs) extra software" -SLOT="0" -KEYWORDS="~x86-fbsd" - -IUSE="build" -LICENSE="CDDL" - -SRC_URI="mirror://gentoo/${P}.tar.bz2 - mirror://gentoo/${CONTRIB}.tar.bz2 - mirror://gentoo/${UBIN}.tar.bz2 - mirror://gentoo/${LIB}.tar.bz2 - mirror://gentoo/${SBIN}.tar.bz2 - mirror://gentoo/${SYS}.tar.bz2 - build? ( mirror://gentoo/${SYS}.tar.bz2 - mirror://gentoo/${INCLUDE}.tar.bz2 )" - -# sys is required. - -RDEPEND="=sys-freebsd/freebsd-lib-${RV}* - =sys-freebsd/freebsd-libexec-${RV}* - build? ( sys-apps/baselayout ) - dev-libs/libelf" - -DEPEND="${RDEPEND} - =sys-freebsd/freebsd-mk-defs-${RV}* - !build? ( =sys-freebsd/freebsd-sources-${RV}* )" - -S="${WORKDIR}/cddl" - -PATCHES=( "${FILESDIR}/${PN}-9.0-bsdxml.patch" - "${FILESDIR}/${PN}-9.0-underlink.patch" ) - -src_unpack() { - freebsd_src_unpack - # Link in include headers. - ln -s "/usr/include" "${WORKDIR}/include" || die "Symlinking /usr/include.." - # Force linking to new libraries - for i in "${S}/lib/"lib* ; do - append-ldflags " -L${i}" - done -} - -src_install() { - freebsd_src_install - # Install zfs volinit script. - newinitd "${FILESDIR}"/zvol.initd zvol -} diff --git a/sys-freebsd/freebsd-cddl/freebsd-cddl-9.0_rc3.ebuild b/sys-freebsd/freebsd-cddl/freebsd-cddl-9.0_rc3.ebuild deleted file mode 100644 index 00fe333f6ce0..000000000000 --- a/sys-freebsd/freebsd-cddl/freebsd-cddl-9.0_rc3.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-cddl/freebsd-cddl-9.0_rc3.ebuild,v 1.1 2011/12/09 13:18:58 aballier Exp $ - -inherit bsdmk freebsd flag-o-matic eutils - -DESCRIPTION="FreeBSD CDDL (opensolaris/zfs) extra software" -SLOT="0" -KEYWORDS="~x86-fbsd" - -IUSE="build" -LICENSE="CDDL" - -SRC_URI="mirror://gentoo/${P}.tar.bz2 - mirror://gentoo/${CONTRIB}.tar.bz2 - mirror://gentoo/${UBIN}.tar.bz2 - mirror://gentoo/${LIB}.tar.bz2 - mirror://gentoo/${SBIN}.tar.bz2 - mirror://gentoo/${SYS}.tar.bz2 - build? ( mirror://gentoo/${SYS}.tar.bz2 - mirror://gentoo/${INCLUDE}.tar.bz2 )" - -# sys is required. - -RDEPEND="=sys-freebsd/freebsd-lib-${RV}* - =sys-freebsd/freebsd-libexec-${RV}* - build? ( sys-apps/baselayout ) - dev-libs/libelf" - -DEPEND="${RDEPEND} - =sys-freebsd/freebsd-mk-defs-${RV}* - !build? ( =sys-freebsd/freebsd-sources-${RV}* )" - -S="${WORKDIR}/cddl" - -PATCHES=( "${FILESDIR}/${PN}-9.0-bsdxml.patch" - "${FILESDIR}/${PN}-9.0-underlink.patch" ) - -src_unpack() { - freebsd_src_unpack - # Link in include headers. - ln -s "/usr/include" "${WORKDIR}/include" || die "Symlinking /usr/include.." - # Force linking to new libraries - for i in "${S}/lib/"lib* ; do - append-ldflags " -L${i}" - done -} - -src_install() { - freebsd_src_install - # Install zfs volinit script. - newinitd "${FILESDIR}"/zvol.initd zvol -} diff --git a/sys-freebsd/freebsd-contrib/ChangeLog b/sys-freebsd/freebsd-contrib/ChangeLog index 4285f7a40aa0..c5bb2009bafc 100644 --- a/sys-freebsd/freebsd-contrib/ChangeLog +++ b/sys-freebsd/freebsd-contrib/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-freebsd/freebsd-contrib # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-contrib/ChangeLog,v 1.33 2012/01/16 16:37:09 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-contrib/ChangeLog,v 1.34 2012/03/30 15:45:16 aballier Exp $ + + 30 Mar 2012; Alexis Ballier <aballier@gentoo.org> + -freebsd-contrib-9.0_rc1.ebuild, -freebsd-contrib-9.0_rc2.ebuild, + -freebsd-contrib-9.0_rc3.ebuild: + remove old *freebsd-contrib-9.0 (16 Jan 2012) diff --git a/sys-freebsd/freebsd-contrib/freebsd-contrib-9.0_rc1.ebuild b/sys-freebsd/freebsd-contrib/freebsd-contrib-9.0_rc1.ebuild deleted file mode 100644 index fde509db7ee5..000000000000 --- a/sys-freebsd/freebsd-contrib/freebsd-contrib-9.0_rc1.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-contrib/freebsd-contrib-9.0_rc1.ebuild,v 1.1 2011/11/07 12:22:26 aballier Exp $ - -inherit bsdmk freebsd flag-o-matic - -DESCRIPTION="Contributed sources for FreeBSD." -SLOT="0" -KEYWORDS="~sparc-fbsd ~x86-fbsd" -LICENSE="BSD GPL-2 as-is" - -IUSE="" - -SRC_URI="mirror://gentoo/${GNU}.tar.bz2 - mirror://gentoo/${P}.tar.bz2" - -RDEPEND="" -DEPEND="=sys-freebsd/freebsd-sources-${RV}* - =sys-freebsd/freebsd-mk-defs-${RV}*" - -S="${WORKDIR}/gnu" - -src_unpack() { - echo ">>> Unpacking needed parts of ${GNU}.tar.bz2 to ${WORKDIR}" - tar -jxpf "${DISTDIR}/${GNU}.tar.bz2" gnu/lib/libodialog gnu/usr.bin/sort gnu/usr.bin/patch - echo ">>> Unpacking needed parts of ${CONTRIB}.tar.bz2 to ${WORKDIR}" - tar -jxpf "${DISTDIR}/${CONTRIB}.tar.bz2" contrib/gnu-sort - - freebsd_do_patches - freebsd_rename_libraries -} - -src_compile() { - cd "${S}/lib/libodialog" - freebsd_src_compile - - cd "${S}/usr.bin/sort" - freebsd_src_compile - - cd "${S}/usr.bin/patch" - freebsd_src_compile -} - -src_install() { - use profile || mymakeopts="${mymakeopts} NO_PROFILE= " - mymakeopts="${mymakeopts} NO_MANCOMPRESS= NO_INFOCOMPRESS= " - - cd "${S}/lib/libodialog" - mkinstall || die "libodialog install failed" - - cd "${S}/usr.bin/sort" - mkinstall BINDIR="/bin/" || die "sort install failed" - - cd "${S}/usr.bin/patch" - mkinstall BINDIR="/usr/bin/" || die "patch install failed" -} diff --git a/sys-freebsd/freebsd-contrib/freebsd-contrib-9.0_rc2.ebuild b/sys-freebsd/freebsd-contrib/freebsd-contrib-9.0_rc2.ebuild deleted file mode 100644 index 099ddfde90f8..000000000000 --- a/sys-freebsd/freebsd-contrib/freebsd-contrib-9.0_rc2.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-contrib/freebsd-contrib-9.0_rc2.ebuild,v 1.1 2011/12/07 17:06:03 aballier Exp $ - -inherit bsdmk freebsd flag-o-matic - -DESCRIPTION="Contributed sources for FreeBSD." -SLOT="0" -KEYWORDS="~sparc-fbsd ~x86-fbsd" -LICENSE="BSD GPL-2 as-is" - -IUSE="" - -SRC_URI="mirror://gentoo/${GNU}.tar.bz2 - mirror://gentoo/${P}.tar.bz2" - -RDEPEND="" -DEPEND="=sys-freebsd/freebsd-sources-${RV}* - =sys-freebsd/freebsd-mk-defs-${RV}*" - -S="${WORKDIR}/gnu" - -src_unpack() { - echo ">>> Unpacking needed parts of ${GNU}.tar.bz2 to ${WORKDIR}" - tar -jxpf "${DISTDIR}/${GNU}.tar.bz2" gnu/lib/libodialog gnu/usr.bin/sort gnu/usr.bin/patch - echo ">>> Unpacking needed parts of ${CONTRIB}.tar.bz2 to ${WORKDIR}" - tar -jxpf "${DISTDIR}/${CONTRIB}.tar.bz2" contrib/gnu-sort - - freebsd_do_patches - freebsd_rename_libraries -} - -src_compile() { - cd "${S}/lib/libodialog" - freebsd_src_compile - - cd "${S}/usr.bin/sort" - freebsd_src_compile - - cd "${S}/usr.bin/patch" - freebsd_src_compile -} - -src_install() { - use profile || mymakeopts="${mymakeopts} NO_PROFILE= " - mymakeopts="${mymakeopts} NO_MANCOMPRESS= NO_INFOCOMPRESS= " - - cd "${S}/lib/libodialog" - mkinstall || die "libodialog install failed" - - cd "${S}/usr.bin/sort" - mkinstall BINDIR="/bin/" || die "sort install failed" - - cd "${S}/usr.bin/patch" - mkinstall BINDIR="/usr/bin/" || die "patch install failed" -} diff --git a/sys-freebsd/freebsd-contrib/freebsd-contrib-9.0_rc3.ebuild b/sys-freebsd/freebsd-contrib/freebsd-contrib-9.0_rc3.ebuild deleted file mode 100644 index 18d13488b730..000000000000 --- a/sys-freebsd/freebsd-contrib/freebsd-contrib-9.0_rc3.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-contrib/freebsd-contrib-9.0_rc3.ebuild,v 1.1 2011/12/09 13:19:26 aballier Exp $ - -inherit bsdmk freebsd flag-o-matic - -DESCRIPTION="Contributed sources for FreeBSD." -SLOT="0" -KEYWORDS="~sparc-fbsd ~x86-fbsd" -LICENSE="BSD GPL-2 as-is" - -IUSE="" - -SRC_URI="mirror://gentoo/${GNU}.tar.bz2 - mirror://gentoo/${P}.tar.bz2" - -RDEPEND="" -DEPEND="=sys-freebsd/freebsd-sources-${RV}* - =sys-freebsd/freebsd-mk-defs-${RV}*" - -S="${WORKDIR}/gnu" - -src_unpack() { - echo ">>> Unpacking needed parts of ${GNU}.tar.bz2 to ${WORKDIR}" - tar -jxpf "${DISTDIR}/${GNU}.tar.bz2" gnu/lib/libodialog gnu/usr.bin/sort gnu/usr.bin/patch - echo ">>> Unpacking needed parts of ${CONTRIB}.tar.bz2 to ${WORKDIR}" - tar -jxpf "${DISTDIR}/${CONTRIB}.tar.bz2" contrib/gnu-sort - - freebsd_do_patches - freebsd_rename_libraries -} - -src_compile() { - cd "${S}/lib/libodialog" - freebsd_src_compile - - cd "${S}/usr.bin/sort" - freebsd_src_compile - - cd "${S}/usr.bin/patch" - freebsd_src_compile -} - -src_install() { - use profile || mymakeopts="${mymakeopts} NO_PROFILE= " - mymakeopts="${mymakeopts} NO_MANCOMPRESS= NO_INFOCOMPRESS= " - - cd "${S}/lib/libodialog" - mkinstall || die "libodialog install failed" - - cd "${S}/usr.bin/sort" - mkinstall BINDIR="/bin/" || die "sort install failed" - - cd "${S}/usr.bin/patch" - mkinstall BINDIR="/usr/bin/" || die "patch install failed" -} diff --git a/sys-freebsd/freebsd-lib/ChangeLog b/sys-freebsd/freebsd-lib/ChangeLog index 56e32f3a3ecc..bfa941db6d2e 100644 --- a/sys-freebsd/freebsd-lib/ChangeLog +++ b/sys-freebsd/freebsd-lib/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-freebsd/freebsd-lib # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-lib/ChangeLog,v 1.108 2012/01/22 10:09:39 naota Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-lib/ChangeLog,v 1.109 2012/03/30 15:45:43 aballier Exp $ + + 30 Mar 2012; Alexis Ballier <aballier@gentoo.org> + -freebsd-lib-9.0_rc1.ebuild, -freebsd-lib-9.0_rc2.ebuild, + -freebsd-lib-9.0_rc3.ebuild: + remove old 22 Jan 2012; <naota@gentoo.org> freebsd-lib-9.0.ebuild: Add missing source code. diff --git a/sys-freebsd/freebsd-lib/freebsd-lib-9.0_rc1.ebuild b/sys-freebsd/freebsd-lib/freebsd-lib-9.0_rc1.ebuild deleted file mode 100644 index 365c591806a8..000000000000 --- a/sys-freebsd/freebsd-lib/freebsd-lib-9.0_rc1.ebuild +++ /dev/null @@ -1,450 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-lib/freebsd-lib-9.0_rc1.ebuild,v 1.5 2011/11/10 14:29:54 aballier Exp $ - -EAPI=2 - -inherit bsdmk freebsd flag-o-matic multilib toolchain-funcs - -DESCRIPTION="FreeBSD's base system libraries" -SLOT="0" -KEYWORDS="~sparc-fbsd ~x86-fbsd" - -# Crypto is needed to have an internal OpenSSL header -# sys is needed for libalias, probably we can just extract that instead of -# extracting the whole tarball -SRC_URI="mirror://gentoo/${LIB}.tar.bz2 - mirror://gentoo/${CONTRIB}.tar.bz2 - mirror://gentoo/${CRYPTO}.tar.bz2 - mirror://gentoo/${LIBEXEC}.tar.bz2 - mirror://gentoo/${ETC}.tar.bz2 - mirror://gentoo/${INCLUDE}.tar.bz2 - mirror://gentoo/${USBIN}.tar.bz2 - mirror://gentoo/${GNU}.tar.bz2 - build? ( - mirror://gentoo/${SYS}.tar.bz2 )" - -if [ "${CATEGORY#*cross-}" = "${CATEGORY}" ]; then - RDEPEND="ssl? ( dev-libs/openssl ) - hesiod? ( net-dns/hesiod ) - kerberos? ( virtual/krb5 ) - usb? ( !dev-libs/libusb ) - zfs? ( =sys-freebsd/freebsd-cddl-${RV}* ) - >=dev-libs/expat-2.0.1 - !dev-libs/libedit - !sys-freebsd/freebsd-headers" - DEPEND="${RDEPEND} - >=sys-devel/flex-2.5.31-r2 - =sys-freebsd/freebsd-sources-${RV}* - !bootstrap? ( app-arch/bzip2 )" -else - SRC_URI="${SRC_URI} - mirror://gentoo/${SYS}.tar.bz2" -fi - -DEPEND="${DEPEND} - =sys-freebsd/freebsd-mk-defs-${RV}*" - -S="${WORKDIR}/lib" - -export CTARGET=${CTARGET:-${CHOST}} -if [ "${CTARGET}" = "${CHOST}" -a "${CATEGORY#*cross-}" != "${CATEGORY}" ]; then - export CTARGET=${CATEGORY/cross-} -fi - -IUSE="atm bluetooth ssl hesiod ipv6 kerberos usb netware - build bootstrap crosscompile_opts_headers-only zfs - userland_GNU userland_BSD" - -pkg_setup() { - [ -c /dev/zero ] || \ - die "You forgot to mount /dev; the compiled libc would break." - - if ! use ssl && use kerberos; then - eerror "If you want kerberos support you need to enable ssl support, too." - fi - - use atm || mymakeopts="${mymakeopts} WITHOUT_ATM= " - use bluetooth || mymakeopts="${mymakeopts} WITHOUT_BLUETOOTH= " - use hesiod || mymakeopts="${mymakeopts} WITHOUT_HESIOD= " - use ipv6 || mymakeopts="${mymakeopts} WITHOUT_INET6_SUPPORT= " - use kerberos || mymakeopts="${mymakeopts} WITHOUT_KERBEROS_SUPPORT= " - use netware || mymakeopts="${mymakeopts} WITHOUT_IPX= WITHOUT_IPX_SUPPORT= WITHOUT_NCP= " - use ssl || mymakeopts="${mymakeopts} WITHOUT_OPENSSL= " - use usb || mymakeopts="${mymakeopts} WITHOUT_USB= " - use zfs || mymakeopts="${mymakeopts} WITHOUT_CDDL= " - - mymakeopts="${mymakeopts} WITHOUT_BIND= WITHOUT_BIND_LIBS= WITHOUT_SENDMAIL= WITHOUT_CLANG= " - - if [ "${CTARGET}" != "${CHOST}" ]; then - mymakeopts="${mymakeopts} MACHINE=$(tc-arch-kernel ${CTARGET})" - mymakeopts="${mymakeopts} MACHINE_ARCH=$(tc-arch-kernel ${CTARGET})" - fi -} - -PATCHES=( - "${FILESDIR}/${PN}-6.0-gccfloat.patch" - "${FILESDIR}/${PN}-6.0-flex-2.5.31.patch" - "${FILESDIR}/${PN}-6.1-csu.patch" - "${FILESDIR}/${PN}-8.0-rpcsec_gss.patch" - "${FILESDIR}/${PN}-9.0-liblink.patch" - "${FILESDIR}/${PN}-9.0-mancol.patch" - "${FILESDIR}/${PN}-bsdxml2expat.patch" ) - -# Here we disable and remove source which we don't need or want -# In order: -# - ncurses stuff -# - libexpat creates a bsdxml library which is the same as expat -# - archiving libraries (have their own ebuild) -# - sendmail libraries (they are installed by sendmail) -# - SNMP library and dependency (have their own ebuilds) -# -# The rest are libraries we already have somewhere else because -# they are contribution. -# Note: libtelnet is an internal lib used by telnet and telnetd programs -# as it's not used in freebsd-lib package itself, it's pointless building -# it here. -REMOVE_SUBDIRS="ncurses \ - libexpat \ - libz libbz2 libarchive liblzma \ - libsm libsmdb libsmutil \ - libbegemot libbsnmp \ - libpam libpcap bind libwrap libmagic \ - libcom_err libtelnet - libelf" - -src_prepare() { - sed -i.bak -e 's:-o/dev/stdout:-t:' "${S}/libc/net/Makefile.inc" - sed -i.bak -e 's:histedit.h::' "${WORKDIR}/include/Makefile" - - # Upstream Display Managers default to using VT7 - # We should make FreeBSD allow this by default - local x= - for x in "${WORKDIR}"/etc/etc.*/ttys ; do - sed -i.bak \ - -e '/ttyv5[[:space:]]/ a\ -# Display Managers default to VT7.\ -# If you use the xdm init script, keep ttyv6 commented out\ -# unless you force a different VT for the DM being used.' \ - -e '/^ttyv[678][[:space:]]/ s/^/# /' "${x}" \ - || die "Failed to sed ${x}" - rm "${x}".bak - done - - # This one is here because it also - # patches "${WORKDIR}/include" - cd "${WORKDIR}" - epatch "${FILESDIR}/${PN}-includes.patch" - epatch "${FILESDIR}/${PN}-8.0-gcc45.patch" - - # Don't install the hesiod man page or header - rm "${WORKDIR}"/include/hesiod.h || die - sed -i.bak -e 's:hesiod.h::' "${WORKDIR}"/include/Makefile || die - sed -i.bak -e 's:hesiod.c::' -e 's:hesiod.3::' \ - "${WORKDIR}"/lib/libc/net/Makefile.inc || die - - # Fix the Makefiles of these few libraries that will overwrite our LDADD. - cd "${S}" - for dir in libradius libtacplus libcam libdevstat libfetch libgeom libmemstat libopie \ - libsmb; do sed -i.bak -e 's:LDADD=:LDADD+=:g' "${dir}/Makefile" || \ - die "Problem fixing \"${dir}/Makefile" - done - if use build; then - cd "${WORKDIR}" - # This patch has to be applied on ${WORKDIR}/sys, so we do it here since it - # shouldn't be a symlink to /usr/src/sys (which should be already patched) - epatch "${FILESDIR}"/${PN}-7.1-types.h-fix.patch - # Preinstall includes so we don't use the system's ones. - mkdir "${WORKDIR}/include_proper" || die "Couldn't create ${WORKDIR}/include_proper" - install_includes "/include_proper" - return 0 - fi - - if [ "${CTARGET}" = "${CHOST}" ]; then - ln -s "/usr/src/sys-${RV}" "${WORKDIR}/sys" || die "Couldn't make sys symlink!" - else - sed -i.bak -e "s:/usr/include:/usr/${CTARGET}/usr/include:g" \ - "${S}/libc/rpc/Makefile.inc" \ - "${S}/libc/yp/Makefile.inc" - fi - - if install --version 2> /dev/null | grep -q GNU; then - sed -i.bak -e 's:${INSTALL} -C:${INSTALL}:' "${WORKDIR}/include/Makefile" - fi - - # Preinstall includes so we don't use the system's ones. - mkdir "${WORKDIR}/include_proper" || die "Couldn't create ${WORKDIR}/include_proper" - install_includes "/include_proper" - - # Let arch-specific includes to be found - local machine - machine=$(tc-arch-kernel ${CTARGET}) - ln -s "${WORKDIR}/sys/${machine}/include" "${WORKDIR}/include/machine" || \ - die "Couldn't make ${machine}/include symlink." - - cd "${S}" - use bootstrap && dummy_mk libstand - # Call LD with LDFLAGS, rename them to RAW_LDFLAGS - sed -e 's/LDFLAGS/RAW_LDFLAGS/g' \ - -i "${S}/csu/i386-elf/Makefile" \ - -i "${S}/csu/ia64/Makefile" || die - # Try to fix sed calls for GNU sed. Do it only with GNU userland and force - # BSD's sed on BSD. - if use userland_GNU; then - find . -name Makefile -exec sed -ibak 's/sed -i /sed -i/' {} \; - fi -} - -src_compile() { - # Does not work with GNU sed - # Force BSD's sed on BSD. - if use userland_BSD ; then - export ESED=/usr/bin/sed - unalias sed - fi - - cd "${WORKDIR}/include" - $(freebsd_get_bmake) CC="$(tc-getCC)" || die "make include failed" - - use crosscompile_opts_headers-only && return 0 - - # Bug #270098 - append-flags $(test-flags -fno-strict-aliasing) - - strip-flags - if [ "${CTARGET}" != "${CHOST}" ]; then - export YACC='yacc -by' - CHOST=${CTARGET} tc-export CC LD CXX RANLIB - mymakeopts="${mymakeopts} NO_MANCOMPRESS= NO_INFOCOMPRESS= NLS=" - - local machine - machine=$(tc-arch-kernel ${CTARGET}) - - local csudir - if [ -d "${S}/csu/${machine}-elf" ]; then - csudir="${S}/csu/${machine}-elf" - else - csudir="${S}/csu/${machine}" - fi - export RAW_LDFLAGS=$(raw-ldflags) - cd "${csudir}" - $(freebsd_get_bmake) ${mymakeopts} || die "make csu failed" - - append-flags "-isystem /usr/${CTARGET}/usr/include" - append-flags "-isystem ${WORKDIR}/lib/libutil" - append-flags "-isystem ${WORKDIR}/lib/msun/${machine/i386/i387}" - append-flags "-B ${csudir}" - append-ldflags "-B ${csudir}" - - # First compile libssp_nonshared.a and add it's path to LDFLAGS. - cd "${WORKDIR}/gnu/lib/libssp/libssp_nonshared/" || die "missing libssp." - $(freebsd_get_bmake) ${mymakeopts} || die "make libssp failed" - append-ldflags "-L${WORKDIR}/gnu/lib/libssp/libssp_nonshared/" - - export RAW_LDFLAGS=$(raw-ldflags) - cd "${S}/libc" - $(freebsd_get_bmake) ${mymakeopts} || die "make libc failed" - cd "${S}/msun" - append-ldflags "-L${WORKDIR}/lib/libc" - export RAW_LDFLAGS=$(raw-ldflags) - LDADD="-lssp_nonshared" $(freebsd_get_bmake) ${mymakeopts} || die "make libc failed" - cd "${WORKDIR}/gnu/lib/libssp/" || die "missing libssp." - $(freebsd_get_bmake) ${mymakeopts} || die "make libssp failed" - cd "${WORKDIR}/lib/libthr/" || die "missing libthr" - $(freebsd_get_bmake) ${mymakeopts} || die "make libthr failed" - else - # Forces to use the local copy of headers as they might be outdated in - # the system - append-flags "-isystem '${WORKDIR}/include_proper'" - - # First compile libssp_nonshared.a and add it's path to LDFLAGS. - einfo "Compiling libssp in \"${WORKDIR}/gnu/lib/libssp/\"." - cd "${WORKDIR}/gnu/lib/libssp/" || die "missing libssp." - NOFLAGSTRIP=yes freebsd_src_compile - # Hack libssp_nonshared.a into libc & others since we don't have - # the linker script in place yet. - append-ldflags "-L${WORKDIR}/gnu/lib/libssp/libssp_nonshared/" - einfo "Compiling libc." - cd "${S}" - export RAW_LDFLAGS=$(raw-ldflags) - NOFLAGSTRIP=yes LDADD="-lssp_nonshared" freebsd_src_compile - cd "${WORKDIR}/gnu/lib/libregex" || die - NOFLAGSTRIP=yes LDADD="-lssp_nonshared" freebsd_src_compile - fi -} - -src_install() { - [ "${CTARGET}" = "${CHOST}" ] \ - && INCLUDEDIR="/usr/include" \ - || INCLUDEDIR="/usr/${CTARGET}/usr/include" - dodir ${INCLUDEDIR} - einfo "Installing for ${CTARGET} in ${CHOST}.." - install_includes ${INCLUDEDIR} - - # Install math.h when crosscompiling, at this point - if [ "${CHOST}" != "${CTARGET}" ]; then - insinto "/usr/${CTARGET}/usr/include" - doins "${S}/msun/src/math.h" - fi - - use crosscompile_opts_headers-only && return 0 - local mylibdir=$(get_libdir) - - if [ "${CTARGET}" != "${CHOST}" ]; then - local csudir - if [ -d "${S}/csu/$(tc-arch-kernel ${CTARGET})-elf" ]; then - csudir="${S}/csu/$(tc-arch-kernel ${CTARGET})-elf" - else - csudir="${S}/csu/$(tc-arch-kernel ${CTARGET})" - fi - cd "${csudir}" - $(freebsd_get_bmake) ${mymakeopts} DESTDIR="${D}" install \ - FILESDIR="/usr/${CTARGET}/usr/lib" LIBDIR="/usr/${CTARGET}/usr/lib" || die "Install csu failed" - - cd "${S}/libc" - $(freebsd_get_bmake) ${mymakeopts} DESTDIR="${D}" install NO_MAN= \ - SHLIBDIR="/usr/${CTARGET}/lib" LIBDIR="/usr/${CTARGET}/usr/lib" || die "Install libc failed" - - cd "${S}/msun" - $(freebsd_get_bmake) ${mymakeopts} DESTDIR="${D}" install NO_MAN= \ - INCLUDEDIR="/usr/${CTARGET}/usr/include" \ - SHLIBDIR="/usr/${CTARGET}/lib" LIBDIR="/usr/${CTARGET}/usr/lib" || die "Install msun failed" - - cd "${WORKDIR}/gnu/lib/libssp/" - $(freebsd_get_bmake) ${mymakeopts} DESTDIR="${D}" install NO_MAN= \ - INCLUDEDIR="/usr/${CTARGET}/usr/include" \ - SHLIBDIR="/usr/${CTARGET}/lib" LIBDIR="/usr/${CTARGET}/usr/lib" || die "Install ssp failed" - - cd "${WORKDIR}/lib/libthr/" - $(freebsd_get_bmake) ${mymakeopts} DESTDIR="${D}" install NO_MAN= \ - INCLUDEDIR="/usr/${CTARGET}/usr/include" \ - SHLIBDIR="/usr/${CTARGET}/lib" LIBDIR="/usr/${CTARGET}/usr/lib" || die "Install libthr failed" - - dosym "usr/include" "/usr/${CTARGET}/sys-include" - else - # Set SHLIBDIR and LIBDIR for multilib - cd "${WORKDIR}/gnu/lib/libssp" - SHLIBDIR="/${mylibdir}" LIBDIR="/usr/${mylibdir}" mkinstall || die "Install ssp failed." - cd "${S}" - SHLIBDIR="/${mylibdir}" LIBDIR="/usr/${mylibdir}" mkinstall || die "Install failed" - cd "${WORKDIR}/gnu/lib/libregex" - SHLIBDIR="/${mylibdir}" LIBDIR="/usr/${mylibdir}" mkinstall || die "Install libregex failed" - fi - - # Don't install the rest of the configuration files if crosscompiling - if [ "${CTARGET}" != "${CHOST}" ] ; then - # This is to get it stripped with the correct tools, otherwise it gets - # stripped with the host strip. - export CHOST=${CTARGET} - return 0 - fi - - # Symlink libbsdxml to libexpat as we use expat in favor of the renaming done - # on FreeBSD. - dosym libexpat.so /usr/${mylibdir}/libbsdxml.so - dosym libexpat.a /usr/${mylibdir}/libbsdxml.a - - # install libstand files - dodir /usr/include/libstand - insinto /usr/include/libstand - doins "${S}"/libstand/*.h - - cd "${WORKDIR}/etc/" - insinto /etc - doins auth.conf nls.alias mac.conf netconfig - - # Install ttys file - local MACHINE="$(tc-arch-kernel)" - doins "etc.${MACHINE}"/* - - # Generate ldscripts, otherwise bad thigs are supposed to happen - gen_usr_ldscript libalias_cuseeme.so libalias_dummy.so libalias_ftp.so \ - libalias_irc.so libalias_nbt.so libalias_pptp.so libalias_skinny.so \ - libalias_smedia.so libssp.so - # These show on QA warnings too, however they're pretty much bsd only, - # aka, no autotools for them. - # libbsdxml.so libcam.so libcrypt.so libdevstat.so libgeom.so \ - # libipsec.so libipx.so libkiconv.so libkvm.so libmd.so libsbuf.so libufs.so \ - # libutil.so - - # Generate libc.so ldscript for inclusion of libssp_nonshared.a when linking - # this is done to avoid having to touch gcc spec file as it is currently - # done on FreeBSD upstream, mostly because their binutils aren't able to - # cope with linker scripts yet. - # Taken from toolchain-funcs.eclass: - local output_format - output_format=$($(tc-getCC) ${CFLAGS} ${LDFLAGS} -Wl,--verbose 2>&1 | sed -n 's/^OUTPUT_FORMAT("\([^"]*\)",.*/\1/p') - [[ -n ${output_format} ]] && output_format="OUTPUT_FORMAT ( ${output_format} )" - # Clear the symlink. - rm -f "${D}/usr/${mylibdir}/libc.so" - cat > "${D}/usr/${mylibdir}/libc.so" <<-END_LDSCRIPT -/* GNU ld script - SSP (-fstack-protector) requires __stack_chk_fail_local to be local. - GCC invokes this symbol in a non-PIC way, which results in TEXTRELs if - this symbol was provided by a shared libc. So we link in - libssp_nonshared.a from here. - */ -${output_format} -GROUP ( /${mylibdir}/libc.so.7 /usr/${mylibdir}/libssp_nonshared.a ) -END_LDSCRIPT - - dodir /etc/sandbox.d - cat - > "${D}"/etc/sandbox.d/00freebsd <<EOF -# /dev/crypto is used mostly by OpenSSL on *BSD platforms -# leave it available as packages might use OpenSSL commands -# during compile or install phase. -SANDBOX_PREDICT="/dev/crypto" -EOF - - # Install a libusb.pc for better compat with Linux's libusb - if use usb ; then - dodir /usr/$(get_libdir)/pkgconfig - sed -e "s:@LIBDIR@:/usr/$(get_libdir):" "${FILESDIR}/libusb.pc.in" > "${D}/usr/$(get_libdir)/pkgconfig/libusb.pc" || die - fi -} - -install_includes() -{ - local INCLUDEDIR="$1" - - # The idea is to be called from either install or unpack. - # During unpack it's required to install them as portage's user. - if [[ "${EBUILD_PHASE}" == "install" ]]; then - local DESTDIR="${D}" - BINOWN="root" - BINGRP="wheel" - else - local DESTDIR="${WORKDIR}" - [[ -z "${USER}" ]] && USER="portage" - BINOWN="${USER}" - [[ -z "${GROUPS}" ]] && GROUPS="portage" - BINGRP="${GROUPS}" - fi - - # This is for ssp/ssp.h. - einfo "Building ssp.h" - cd "${WORKDIR}/gnu/lib/libssp/" || die "missing libssp" - $(freebsd_get_bmake) ssp.h || die "problem building ssp.h" - - # Must exist before we use it. - [[ -d "${DESTDIR}${INCLUDEDIR}" ]] || die "dodir or mkdir ${INCLUDEDIR} before using install_includes." - cd "${WORKDIR}/include" - - local MACHINE="$(tc-arch-kernel)" - - einfo "Installing includes into ${INCLUDEDIR} as ${BINOWN}:${BINGRP}..." - $(freebsd_get_bmake) installincludes \ - MACHINE=${MACHINE} DESTDIR="${DESTDIR}" \ - INCLUDEDIR="${INCLUDEDIR}" BINOWN="${BINOWN}" \ - BINGRP="${BINGRP}" || die "install_includes() failed" - einfo "includes installed ok." - EXTRA_INCLUDES="gnu/lib/libssp lib/librtld_db gnu/lib/libregex" - for i in $EXTRA_INCLUDES; do - einfo "Installing $i includes into ${INCLUDEDIR} as ${BINOWN}:${BINGRP}..." - cd "${WORKDIR}/$i" || die - $(freebsd_get_bmake) installincludes DESTDIR="${DESTDIR}" \ - MACHINE=${MACHINE} INCLUDEDIR="${INCLUDEDIR}" BINOWN="${BINOWN}" \ - BINGRP="${BINGRP}" || die "problem installing ssp includes." - einfo "$i includes installed ok." - done -} diff --git a/sys-freebsd/freebsd-lib/freebsd-lib-9.0_rc2.ebuild b/sys-freebsd/freebsd-lib/freebsd-lib-9.0_rc2.ebuild deleted file mode 100644 index e2060857ea57..000000000000 --- a/sys-freebsd/freebsd-lib/freebsd-lib-9.0_rc2.ebuild +++ /dev/null @@ -1,450 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-lib/freebsd-lib-9.0_rc2.ebuild,v 1.1 2011/12/07 17:06:59 aballier Exp $ - -EAPI=2 - -inherit bsdmk freebsd flag-o-matic multilib toolchain-funcs - -DESCRIPTION="FreeBSD's base system libraries" -SLOT="0" -KEYWORDS="~sparc-fbsd ~x86-fbsd" - -# Crypto is needed to have an internal OpenSSL header -# sys is needed for libalias, probably we can just extract that instead of -# extracting the whole tarball -SRC_URI="mirror://gentoo/${LIB}.tar.bz2 - mirror://gentoo/${CONTRIB}.tar.bz2 - mirror://gentoo/${CRYPTO}.tar.bz2 - mirror://gentoo/${LIBEXEC}.tar.bz2 - mirror://gentoo/${ETC}.tar.bz2 - mirror://gentoo/${INCLUDE}.tar.bz2 - mirror://gentoo/${USBIN}.tar.bz2 - mirror://gentoo/${GNU}.tar.bz2 - build? ( - mirror://gentoo/${SYS}.tar.bz2 )" - -if [ "${CATEGORY#*cross-}" = "${CATEGORY}" ]; then - RDEPEND="ssl? ( dev-libs/openssl ) - hesiod? ( net-dns/hesiod ) - kerberos? ( virtual/krb5 ) - usb? ( !dev-libs/libusb ) - zfs? ( =sys-freebsd/freebsd-cddl-${RV}* ) - >=dev-libs/expat-2.0.1 - !dev-libs/libedit - !sys-freebsd/freebsd-headers" - DEPEND="${RDEPEND} - >=sys-devel/flex-2.5.31-r2 - =sys-freebsd/freebsd-sources-${RV}* - !bootstrap? ( app-arch/bzip2 )" -else - SRC_URI="${SRC_URI} - mirror://gentoo/${SYS}.tar.bz2" -fi - -DEPEND="${DEPEND} - =sys-freebsd/freebsd-mk-defs-${RV}*" - -S="${WORKDIR}/lib" - -export CTARGET=${CTARGET:-${CHOST}} -if [ "${CTARGET}" = "${CHOST}" -a "${CATEGORY#*cross-}" != "${CATEGORY}" ]; then - export CTARGET=${CATEGORY/cross-} -fi - -IUSE="atm bluetooth ssl hesiod ipv6 kerberos usb netware - build bootstrap crosscompile_opts_headers-only zfs - userland_GNU userland_BSD" - -pkg_setup() { - [ -c /dev/zero ] || \ - die "You forgot to mount /dev; the compiled libc would break." - - if ! use ssl && use kerberos; then - eerror "If you want kerberos support you need to enable ssl support, too." - fi - - use atm || mymakeopts="${mymakeopts} WITHOUT_ATM= " - use bluetooth || mymakeopts="${mymakeopts} WITHOUT_BLUETOOTH= " - use hesiod || mymakeopts="${mymakeopts} WITHOUT_HESIOD= " - use ipv6 || mymakeopts="${mymakeopts} WITHOUT_INET6_SUPPORT= " - use kerberos || mymakeopts="${mymakeopts} WITHOUT_KERBEROS_SUPPORT= " - use netware || mymakeopts="${mymakeopts} WITHOUT_IPX= WITHOUT_IPX_SUPPORT= WITHOUT_NCP= " - use ssl || mymakeopts="${mymakeopts} WITHOUT_OPENSSL= " - use usb || mymakeopts="${mymakeopts} WITHOUT_USB= " - use zfs || mymakeopts="${mymakeopts} WITHOUT_CDDL= " - - mymakeopts="${mymakeopts} WITHOUT_BIND= WITHOUT_BIND_LIBS= WITHOUT_SENDMAIL= WITHOUT_CLANG= " - - if [ "${CTARGET}" != "${CHOST}" ]; then - mymakeopts="${mymakeopts} MACHINE=$(tc-arch-kernel ${CTARGET})" - mymakeopts="${mymakeopts} MACHINE_ARCH=$(tc-arch-kernel ${CTARGET})" - fi -} - -PATCHES=( - "${FILESDIR}/${PN}-6.0-gccfloat.patch" - "${FILESDIR}/${PN}-6.0-flex-2.5.31.patch" - "${FILESDIR}/${PN}-6.1-csu.patch" - "${FILESDIR}/${PN}-8.0-rpcsec_gss.patch" - "${FILESDIR}/${PN}-9.0-liblink.patch" - "${FILESDIR}/${PN}-9.0-mancol.patch" - "${FILESDIR}/${PN}-bsdxml2expat.patch" ) - -# Here we disable and remove source which we don't need or want -# In order: -# - ncurses stuff -# - libexpat creates a bsdxml library which is the same as expat -# - archiving libraries (have their own ebuild) -# - sendmail libraries (they are installed by sendmail) -# - SNMP library and dependency (have their own ebuilds) -# -# The rest are libraries we already have somewhere else because -# they are contribution. -# Note: libtelnet is an internal lib used by telnet and telnetd programs -# as it's not used in freebsd-lib package itself, it's pointless building -# it here. -REMOVE_SUBDIRS="ncurses \ - libexpat \ - libz libbz2 libarchive liblzma \ - libsm libsmdb libsmutil \ - libbegemot libbsnmp \ - libpam libpcap bind libwrap libmagic \ - libcom_err libtelnet - libelf" - -src_prepare() { - sed -i.bak -e 's:-o/dev/stdout:-t:' "${S}/libc/net/Makefile.inc" - sed -i.bak -e 's:histedit.h::' "${WORKDIR}/include/Makefile" - - # Upstream Display Managers default to using VT7 - # We should make FreeBSD allow this by default - local x= - for x in "${WORKDIR}"/etc/etc.*/ttys ; do - sed -i.bak \ - -e '/ttyv5[[:space:]]/ a\ -# Display Managers default to VT7.\ -# If you use the xdm init script, keep ttyv6 commented out\ -# unless you force a different VT for the DM being used.' \ - -e '/^ttyv[678][[:space:]]/ s/^/# /' "${x}" \ - || die "Failed to sed ${x}" - rm "${x}".bak - done - - # This one is here because it also - # patches "${WORKDIR}/include" - cd "${WORKDIR}" - epatch "${FILESDIR}/${PN}-includes.patch" - epatch "${FILESDIR}/${PN}-8.0-gcc45.patch" - - # Don't install the hesiod man page or header - rm "${WORKDIR}"/include/hesiod.h || die - sed -i.bak -e 's:hesiod.h::' "${WORKDIR}"/include/Makefile || die - sed -i.bak -e 's:hesiod.c::' -e 's:hesiod.3::' \ - "${WORKDIR}"/lib/libc/net/Makefile.inc || die - - # Fix the Makefiles of these few libraries that will overwrite our LDADD. - cd "${S}" - for dir in libradius libtacplus libcam libdevstat libfetch libgeom libmemstat libopie \ - libsmb; do sed -i.bak -e 's:LDADD=:LDADD+=:g' "${dir}/Makefile" || \ - die "Problem fixing \"${dir}/Makefile" - done - if use build; then - cd "${WORKDIR}" - # This patch has to be applied on ${WORKDIR}/sys, so we do it here since it - # shouldn't be a symlink to /usr/src/sys (which should be already patched) - epatch "${FILESDIR}"/${PN}-7.1-types.h-fix.patch - # Preinstall includes so we don't use the system's ones. - mkdir "${WORKDIR}/include_proper" || die "Couldn't create ${WORKDIR}/include_proper" - install_includes "/include_proper" - return 0 - fi - - if [ "${CTARGET}" = "${CHOST}" ]; then - ln -s "/usr/src/sys-${RV}" "${WORKDIR}/sys" || die "Couldn't make sys symlink!" - else - sed -i.bak -e "s:/usr/include:/usr/${CTARGET}/usr/include:g" \ - "${S}/libc/rpc/Makefile.inc" \ - "${S}/libc/yp/Makefile.inc" - fi - - if install --version 2> /dev/null | grep -q GNU; then - sed -i.bak -e 's:${INSTALL} -C:${INSTALL}:' "${WORKDIR}/include/Makefile" - fi - - # Preinstall includes so we don't use the system's ones. - mkdir "${WORKDIR}/include_proper" || die "Couldn't create ${WORKDIR}/include_proper" - install_includes "/include_proper" - - # Let arch-specific includes to be found - local machine - machine=$(tc-arch-kernel ${CTARGET}) - ln -s "${WORKDIR}/sys/${machine}/include" "${WORKDIR}/include/machine" || \ - die "Couldn't make ${machine}/include symlink." - - cd "${S}" - use bootstrap && dummy_mk libstand - # Call LD with LDFLAGS, rename them to RAW_LDFLAGS - sed -e 's/LDFLAGS/RAW_LDFLAGS/g' \ - -i "${S}/csu/i386-elf/Makefile" \ - -i "${S}/csu/ia64/Makefile" || die - # Try to fix sed calls for GNU sed. Do it only with GNU userland and force - # BSD's sed on BSD. - if use userland_GNU; then - find . -name Makefile -exec sed -ibak 's/sed -i /sed -i/' {} \; - fi -} - -src_compile() { - # Does not work with GNU sed - # Force BSD's sed on BSD. - if use userland_BSD ; then - export ESED=/usr/bin/sed - unalias sed - fi - - cd "${WORKDIR}/include" - $(freebsd_get_bmake) CC="$(tc-getCC)" || die "make include failed" - - use crosscompile_opts_headers-only && return 0 - - # Bug #270098 - append-flags $(test-flags -fno-strict-aliasing) - - strip-flags - if [ "${CTARGET}" != "${CHOST}" ]; then - export YACC='yacc -by' - CHOST=${CTARGET} tc-export CC LD CXX RANLIB - mymakeopts="${mymakeopts} NO_MANCOMPRESS= NO_INFOCOMPRESS= NLS=" - - local machine - machine=$(tc-arch-kernel ${CTARGET}) - - local csudir - if [ -d "${S}/csu/${machine}-elf" ]; then - csudir="${S}/csu/${machine}-elf" - else - csudir="${S}/csu/${machine}" - fi - export RAW_LDFLAGS=$(raw-ldflags) - cd "${csudir}" - $(freebsd_get_bmake) ${mymakeopts} || die "make csu failed" - - append-flags "-isystem /usr/${CTARGET}/usr/include" - append-flags "-isystem ${WORKDIR}/lib/libutil" - append-flags "-isystem ${WORKDIR}/lib/msun/${machine/i386/i387}" - append-flags "-B ${csudir}" - append-ldflags "-B ${csudir}" - - # First compile libssp_nonshared.a and add it's path to LDFLAGS. - cd "${WORKDIR}/gnu/lib/libssp/libssp_nonshared/" || die "missing libssp." - $(freebsd_get_bmake) ${mymakeopts} || die "make libssp failed" - append-ldflags "-L${WORKDIR}/gnu/lib/libssp/libssp_nonshared/" - - export RAW_LDFLAGS=$(raw-ldflags) - cd "${S}/libc" - $(freebsd_get_bmake) ${mymakeopts} || die "make libc failed" - cd "${S}/msun" - append-ldflags "-L${WORKDIR}/lib/libc" - export RAW_LDFLAGS=$(raw-ldflags) - LDADD="-lssp_nonshared" $(freebsd_get_bmake) ${mymakeopts} || die "make libc failed" - cd "${WORKDIR}/gnu/lib/libssp/" || die "missing libssp." - $(freebsd_get_bmake) ${mymakeopts} || die "make libssp failed" - cd "${WORKDIR}/lib/libthr/" || die "missing libthr" - $(freebsd_get_bmake) ${mymakeopts} || die "make libthr failed" - else - # Forces to use the local copy of headers as they might be outdated in - # the system - append-flags "-isystem '${WORKDIR}/include_proper'" - - # First compile libssp_nonshared.a and add it's path to LDFLAGS. - einfo "Compiling libssp in \"${WORKDIR}/gnu/lib/libssp/\"." - cd "${WORKDIR}/gnu/lib/libssp/" || die "missing libssp." - NOFLAGSTRIP=yes freebsd_src_compile - # Hack libssp_nonshared.a into libc & others since we don't have - # the linker script in place yet. - append-ldflags "-L${WORKDIR}/gnu/lib/libssp/libssp_nonshared/" - einfo "Compiling libc." - cd "${S}" - export RAW_LDFLAGS=$(raw-ldflags) - NOFLAGSTRIP=yes LDADD="-lssp_nonshared" freebsd_src_compile - cd "${WORKDIR}/gnu/lib/libregex" || die - NOFLAGSTRIP=yes LDADD="-lssp_nonshared" freebsd_src_compile - fi -} - -src_install() { - [ "${CTARGET}" = "${CHOST}" ] \ - && INCLUDEDIR="/usr/include" \ - || INCLUDEDIR="/usr/${CTARGET}/usr/include" - dodir ${INCLUDEDIR} - einfo "Installing for ${CTARGET} in ${CHOST}.." - install_includes ${INCLUDEDIR} - - # Install math.h when crosscompiling, at this point - if [ "${CHOST}" != "${CTARGET}" ]; then - insinto "/usr/${CTARGET}/usr/include" - doins "${S}/msun/src/math.h" - fi - - use crosscompile_opts_headers-only && return 0 - local mylibdir=$(get_libdir) - - if [ "${CTARGET}" != "${CHOST}" ]; then - local csudir - if [ -d "${S}/csu/$(tc-arch-kernel ${CTARGET})-elf" ]; then - csudir="${S}/csu/$(tc-arch-kernel ${CTARGET})-elf" - else - csudir="${S}/csu/$(tc-arch-kernel ${CTARGET})" - fi - cd "${csudir}" - $(freebsd_get_bmake) ${mymakeopts} DESTDIR="${D}" install \ - FILESDIR="/usr/${CTARGET}/usr/lib" LIBDIR="/usr/${CTARGET}/usr/lib" || die "Install csu failed" - - cd "${S}/libc" - $(freebsd_get_bmake) ${mymakeopts} DESTDIR="${D}" install NO_MAN= \ - SHLIBDIR="/usr/${CTARGET}/lib" LIBDIR="/usr/${CTARGET}/usr/lib" || die "Install libc failed" - - cd "${S}/msun" - $(freebsd_get_bmake) ${mymakeopts} DESTDIR="${D}" install NO_MAN= \ - INCLUDEDIR="/usr/${CTARGET}/usr/include" \ - SHLIBDIR="/usr/${CTARGET}/lib" LIBDIR="/usr/${CTARGET}/usr/lib" || die "Install msun failed" - - cd "${WORKDIR}/gnu/lib/libssp/" - $(freebsd_get_bmake) ${mymakeopts} DESTDIR="${D}" install NO_MAN= \ - INCLUDEDIR="/usr/${CTARGET}/usr/include" \ - SHLIBDIR="/usr/${CTARGET}/lib" LIBDIR="/usr/${CTARGET}/usr/lib" || die "Install ssp failed" - - cd "${WORKDIR}/lib/libthr/" - $(freebsd_get_bmake) ${mymakeopts} DESTDIR="${D}" install NO_MAN= \ - INCLUDEDIR="/usr/${CTARGET}/usr/include" \ - SHLIBDIR="/usr/${CTARGET}/lib" LIBDIR="/usr/${CTARGET}/usr/lib" || die "Install libthr failed" - - dosym "usr/include" "/usr/${CTARGET}/sys-include" - else - # Set SHLIBDIR and LIBDIR for multilib - cd "${WORKDIR}/gnu/lib/libssp" - SHLIBDIR="/${mylibdir}" LIBDIR="/usr/${mylibdir}" mkinstall || die "Install ssp failed." - cd "${S}" - SHLIBDIR="/${mylibdir}" LIBDIR="/usr/${mylibdir}" mkinstall || die "Install failed" - cd "${WORKDIR}/gnu/lib/libregex" - SHLIBDIR="/${mylibdir}" LIBDIR="/usr/${mylibdir}" mkinstall || die "Install libregex failed" - fi - - # Don't install the rest of the configuration files if crosscompiling - if [ "${CTARGET}" != "${CHOST}" ] ; then - # This is to get it stripped with the correct tools, otherwise it gets - # stripped with the host strip. - export CHOST=${CTARGET} - return 0 - fi - - # Symlink libbsdxml to libexpat as we use expat in favor of the renaming done - # on FreeBSD. - dosym libexpat.so /usr/${mylibdir}/libbsdxml.so - dosym libexpat.a /usr/${mylibdir}/libbsdxml.a - - # install libstand files - dodir /usr/include/libstand - insinto /usr/include/libstand - doins "${S}"/libstand/*.h - - cd "${WORKDIR}/etc/" - insinto /etc - doins auth.conf nls.alias mac.conf netconfig - - # Install ttys file - local MACHINE="$(tc-arch-kernel)" - doins "etc.${MACHINE}"/* - - # Generate ldscripts, otherwise bad thigs are supposed to happen - gen_usr_ldscript libalias_cuseeme.so libalias_dummy.so libalias_ftp.so \ - libalias_irc.so libalias_nbt.so libalias_pptp.so libalias_skinny.so \ - libalias_smedia.so libssp.so - # These show on QA warnings too, however they're pretty much bsd only, - # aka, no autotools for them. - # libbsdxml.so libcam.so libcrypt.so libdevstat.so libgeom.so \ - # libipsec.so libipx.so libkiconv.so libkvm.so libmd.so libsbuf.so libufs.so \ - # libutil.so - - # Generate libc.so ldscript for inclusion of libssp_nonshared.a when linking - # this is done to avoid having to touch gcc spec file as it is currently - # done on FreeBSD upstream, mostly because their binutils aren't able to - # cope with linker scripts yet. - # Taken from toolchain-funcs.eclass: - local output_format - output_format=$($(tc-getCC) ${CFLAGS} ${LDFLAGS} -Wl,--verbose 2>&1 | sed -n 's/^OUTPUT_FORMAT("\([^"]*\)",.*/\1/p') - [[ -n ${output_format} ]] && output_format="OUTPUT_FORMAT ( ${output_format} )" - # Clear the symlink. - rm -f "${D}/usr/${mylibdir}/libc.so" - cat > "${D}/usr/${mylibdir}/libc.so" <<-END_LDSCRIPT -/* GNU ld script - SSP (-fstack-protector) requires __stack_chk_fail_local to be local. - GCC invokes this symbol in a non-PIC way, which results in TEXTRELs if - this symbol was provided by a shared libc. So we link in - libssp_nonshared.a from here. - */ -${output_format} -GROUP ( /${mylibdir}/libc.so.7 /usr/${mylibdir}/libssp_nonshared.a ) -END_LDSCRIPT - - dodir /etc/sandbox.d - cat - > "${D}"/etc/sandbox.d/00freebsd <<EOF -# /dev/crypto is used mostly by OpenSSL on *BSD platforms -# leave it available as packages might use OpenSSL commands -# during compile or install phase. -SANDBOX_PREDICT="/dev/crypto" -EOF - - # Install a libusb.pc for better compat with Linux's libusb - if use usb ; then - dodir /usr/$(get_libdir)/pkgconfig - sed -e "s:@LIBDIR@:/usr/$(get_libdir):" "${FILESDIR}/libusb.pc.in" > "${D}/usr/$(get_libdir)/pkgconfig/libusb.pc" || die - fi -} - -install_includes() -{ - local INCLUDEDIR="$1" - - # The idea is to be called from either install or unpack. - # During unpack it's required to install them as portage's user. - if [[ "${EBUILD_PHASE}" == "install" ]]; then - local DESTDIR="${D}" - BINOWN="root" - BINGRP="wheel" - else - local DESTDIR="${WORKDIR}" - [[ -z "${USER}" ]] && USER="portage" - BINOWN="${USER}" - [[ -z "${GROUPS}" ]] && GROUPS="portage" - BINGRP="${GROUPS}" - fi - - # This is for ssp/ssp.h. - einfo "Building ssp.h" - cd "${WORKDIR}/gnu/lib/libssp/" || die "missing libssp" - $(freebsd_get_bmake) ssp.h || die "problem building ssp.h" - - # Must exist before we use it. - [[ -d "${DESTDIR}${INCLUDEDIR}" ]] || die "dodir or mkdir ${INCLUDEDIR} before using install_includes." - cd "${WORKDIR}/include" - - local MACHINE="$(tc-arch-kernel)" - - einfo "Installing includes into ${INCLUDEDIR} as ${BINOWN}:${BINGRP}..." - $(freebsd_get_bmake) installincludes \ - MACHINE=${MACHINE} DESTDIR="${DESTDIR}" \ - INCLUDEDIR="${INCLUDEDIR}" BINOWN="${BINOWN}" \ - BINGRP="${BINGRP}" || die "install_includes() failed" - einfo "includes installed ok." - EXTRA_INCLUDES="gnu/lib/libssp lib/librtld_db gnu/lib/libregex" - for i in $EXTRA_INCLUDES; do - einfo "Installing $i includes into ${INCLUDEDIR} as ${BINOWN}:${BINGRP}..." - cd "${WORKDIR}/$i" || die - $(freebsd_get_bmake) installincludes DESTDIR="${DESTDIR}" \ - MACHINE=${MACHINE} INCLUDEDIR="${INCLUDEDIR}" BINOWN="${BINOWN}" \ - BINGRP="${BINGRP}" || die "problem installing ssp includes." - einfo "$i includes installed ok." - done -} diff --git a/sys-freebsd/freebsd-lib/freebsd-lib-9.0_rc3.ebuild b/sys-freebsd/freebsd-lib/freebsd-lib-9.0_rc3.ebuild deleted file mode 100644 index c5585f8119f6..000000000000 --- a/sys-freebsd/freebsd-lib/freebsd-lib-9.0_rc3.ebuild +++ /dev/null @@ -1,450 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-lib/freebsd-lib-9.0_rc3.ebuild,v 1.1 2011/12/09 13:20:21 aballier Exp $ - -EAPI=2 - -inherit bsdmk freebsd flag-o-matic multilib toolchain-funcs - -DESCRIPTION="FreeBSD's base system libraries" -SLOT="0" -KEYWORDS="~sparc-fbsd ~x86-fbsd" - -# Crypto is needed to have an internal OpenSSL header -# sys is needed for libalias, probably we can just extract that instead of -# extracting the whole tarball -SRC_URI="mirror://gentoo/${LIB}.tar.bz2 - mirror://gentoo/${CONTRIB}.tar.bz2 - mirror://gentoo/${CRYPTO}.tar.bz2 - mirror://gentoo/${LIBEXEC}.tar.bz2 - mirror://gentoo/${ETC}.tar.bz2 - mirror://gentoo/${INCLUDE}.tar.bz2 - mirror://gentoo/${USBIN}.tar.bz2 - mirror://gentoo/${GNU}.tar.bz2 - build? ( - mirror://gentoo/${SYS}.tar.bz2 )" - -if [ "${CATEGORY#*cross-}" = "${CATEGORY}" ]; then - RDEPEND="ssl? ( dev-libs/openssl ) - hesiod? ( net-dns/hesiod ) - kerberos? ( virtual/krb5 ) - usb? ( !dev-libs/libusb ) - zfs? ( =sys-freebsd/freebsd-cddl-${RV}* ) - >=dev-libs/expat-2.0.1 - !dev-libs/libedit - !sys-freebsd/freebsd-headers" - DEPEND="${RDEPEND} - >=sys-devel/flex-2.5.31-r2 - =sys-freebsd/freebsd-sources-${RV}* - !bootstrap? ( app-arch/bzip2 )" -else - SRC_URI="${SRC_URI} - mirror://gentoo/${SYS}.tar.bz2" -fi - -DEPEND="${DEPEND} - =sys-freebsd/freebsd-mk-defs-${RV}*" - -S="${WORKDIR}/lib" - -export CTARGET=${CTARGET:-${CHOST}} -if [ "${CTARGET}" = "${CHOST}" -a "${CATEGORY#*cross-}" != "${CATEGORY}" ]; then - export CTARGET=${CATEGORY/cross-} -fi - -IUSE="atm bluetooth ssl hesiod ipv6 kerberos usb netware - build bootstrap crosscompile_opts_headers-only zfs - userland_GNU userland_BSD" - -pkg_setup() { - [ -c /dev/zero ] || \ - die "You forgot to mount /dev; the compiled libc would break." - - if ! use ssl && use kerberos; then - eerror "If you want kerberos support you need to enable ssl support, too." - fi - - use atm || mymakeopts="${mymakeopts} WITHOUT_ATM= " - use bluetooth || mymakeopts="${mymakeopts} WITHOUT_BLUETOOTH= " - use hesiod || mymakeopts="${mymakeopts} WITHOUT_HESIOD= " - use ipv6 || mymakeopts="${mymakeopts} WITHOUT_INET6_SUPPORT= " - use kerberos || mymakeopts="${mymakeopts} WITHOUT_KERBEROS_SUPPORT= " - use netware || mymakeopts="${mymakeopts} WITHOUT_IPX= WITHOUT_IPX_SUPPORT= WITHOUT_NCP= " - use ssl || mymakeopts="${mymakeopts} WITHOUT_OPENSSL= " - use usb || mymakeopts="${mymakeopts} WITHOUT_USB= " - use zfs || mymakeopts="${mymakeopts} WITHOUT_CDDL= " - - mymakeopts="${mymakeopts} WITHOUT_BIND= WITHOUT_BIND_LIBS= WITHOUT_SENDMAIL= WITHOUT_CLANG= " - - if [ "${CTARGET}" != "${CHOST}" ]; then - mymakeopts="${mymakeopts} MACHINE=$(tc-arch-kernel ${CTARGET})" - mymakeopts="${mymakeopts} MACHINE_ARCH=$(tc-arch-kernel ${CTARGET})" - fi -} - -PATCHES=( - "${FILESDIR}/${PN}-6.0-gccfloat.patch" - "${FILESDIR}/${PN}-6.0-flex-2.5.31.patch" - "${FILESDIR}/${PN}-6.1-csu.patch" - "${FILESDIR}/${PN}-8.0-rpcsec_gss.patch" - "${FILESDIR}/${PN}-9.0-liblink.patch" - "${FILESDIR}/${PN}-9.0-mancol.patch" - "${FILESDIR}/${PN}-bsdxml2expat.patch" ) - -# Here we disable and remove source which we don't need or want -# In order: -# - ncurses stuff -# - libexpat creates a bsdxml library which is the same as expat -# - archiving libraries (have their own ebuild) -# - sendmail libraries (they are installed by sendmail) -# - SNMP library and dependency (have their own ebuilds) -# -# The rest are libraries we already have somewhere else because -# they are contribution. -# Note: libtelnet is an internal lib used by telnet and telnetd programs -# as it's not used in freebsd-lib package itself, it's pointless building -# it here. -REMOVE_SUBDIRS="ncurses \ - libexpat \ - libz libbz2 libarchive liblzma \ - libsm libsmdb libsmutil \ - libbegemot libbsnmp \ - libpam libpcap bind libwrap libmagic \ - libcom_err libtelnet - libelf" - -src_prepare() { - sed -i.bak -e 's:-o/dev/stdout:-t:' "${S}/libc/net/Makefile.inc" - sed -i.bak -e 's:histedit.h::' "${WORKDIR}/include/Makefile" - - # Upstream Display Managers default to using VT7 - # We should make FreeBSD allow this by default - local x= - for x in "${WORKDIR}"/etc/etc.*/ttys ; do - sed -i.bak \ - -e '/ttyv5[[:space:]]/ a\ -# Display Managers default to VT7.\ -# If you use the xdm init script, keep ttyv6 commented out\ -# unless you force a different VT for the DM being used.' \ - -e '/^ttyv[678][[:space:]]/ s/^/# /' "${x}" \ - || die "Failed to sed ${x}" - rm "${x}".bak - done - - # This one is here because it also - # patches "${WORKDIR}/include" - cd "${WORKDIR}" - epatch "${FILESDIR}/${PN}-includes.patch" - epatch "${FILESDIR}/${PN}-8.0-gcc45.patch" - - # Don't install the hesiod man page or header - rm "${WORKDIR}"/include/hesiod.h || die - sed -i.bak -e 's:hesiod.h::' "${WORKDIR}"/include/Makefile || die - sed -i.bak -e 's:hesiod.c::' -e 's:hesiod.3::' \ - "${WORKDIR}"/lib/libc/net/Makefile.inc || die - - # Fix the Makefiles of these few libraries that will overwrite our LDADD. - cd "${S}" - for dir in libradius libtacplus libcam libdevstat libfetch libgeom libmemstat libopie \ - libsmb; do sed -i.bak -e 's:LDADD=:LDADD+=:g' "${dir}/Makefile" || \ - die "Problem fixing \"${dir}/Makefile" - done - if use build; then - cd "${WORKDIR}" - # This patch has to be applied on ${WORKDIR}/sys, so we do it here since it - # shouldn't be a symlink to /usr/src/sys (which should be already patched) - epatch "${FILESDIR}"/${PN}-7.1-types.h-fix.patch - # Preinstall includes so we don't use the system's ones. - mkdir "${WORKDIR}/include_proper" || die "Couldn't create ${WORKDIR}/include_proper" - install_includes "/include_proper" - return 0 - fi - - if [ "${CTARGET}" = "${CHOST}" ]; then - ln -s "/usr/src/sys-${RV}" "${WORKDIR}/sys" || die "Couldn't make sys symlink!" - else - sed -i.bak -e "s:/usr/include:/usr/${CTARGET}/usr/include:g" \ - "${S}/libc/rpc/Makefile.inc" \ - "${S}/libc/yp/Makefile.inc" - fi - - if install --version 2> /dev/null | grep -q GNU; then - sed -i.bak -e 's:${INSTALL} -C:${INSTALL}:' "${WORKDIR}/include/Makefile" - fi - - # Preinstall includes so we don't use the system's ones. - mkdir "${WORKDIR}/include_proper" || die "Couldn't create ${WORKDIR}/include_proper" - install_includes "/include_proper" - - # Let arch-specific includes to be found - local machine - machine=$(tc-arch-kernel ${CTARGET}) - ln -s "${WORKDIR}/sys/${machine}/include" "${WORKDIR}/include/machine" || \ - die "Couldn't make ${machine}/include symlink." - - cd "${S}" - use bootstrap && dummy_mk libstand - # Call LD with LDFLAGS, rename them to RAW_LDFLAGS - sed -e 's/LDFLAGS/RAW_LDFLAGS/g' \ - -i "${S}/csu/i386-elf/Makefile" \ - -i "${S}/csu/ia64/Makefile" || die - # Try to fix sed calls for GNU sed. Do it only with GNU userland and force - # BSD's sed on BSD. - if use userland_GNU; then - find . -name Makefile -exec sed -ibak 's/sed -i /sed -i/' {} \; - fi -} - -src_compile() { - # Does not work with GNU sed - # Force BSD's sed on BSD. - if use userland_BSD ; then - export ESED=/usr/bin/sed - unalias sed - fi - - cd "${WORKDIR}/include" - $(freebsd_get_bmake) CC="$(tc-getCC)" || die "make include failed" - - use crosscompile_opts_headers-only && return 0 - - # Bug #270098 - append-flags $(test-flags -fno-strict-aliasing) - - strip-flags - if [ "${CTARGET}" != "${CHOST}" ]; then - export YACC='yacc -by' - CHOST=${CTARGET} tc-export CC LD CXX RANLIB - mymakeopts="${mymakeopts} NO_MANCOMPRESS= NO_INFOCOMPRESS= NLS=" - - local machine - machine=$(tc-arch-kernel ${CTARGET}) - - local csudir - if [ -d "${S}/csu/${machine}-elf" ]; then - csudir="${S}/csu/${machine}-elf" - else - csudir="${S}/csu/${machine}" - fi - export RAW_LDFLAGS=$(raw-ldflags) - cd "${csudir}" - $(freebsd_get_bmake) ${mymakeopts} || die "make csu failed" - - append-flags "-isystem /usr/${CTARGET}/usr/include" - append-flags "-isystem ${WORKDIR}/lib/libutil" - append-flags "-isystem ${WORKDIR}/lib/msun/${machine/i386/i387}" - append-flags "-B ${csudir}" - append-ldflags "-B ${csudir}" - - # First compile libssp_nonshared.a and add it's path to LDFLAGS. - cd "${WORKDIR}/gnu/lib/libssp/libssp_nonshared/" || die "missing libssp." - $(freebsd_get_bmake) ${mymakeopts} || die "make libssp failed" - append-ldflags "-L${WORKDIR}/gnu/lib/libssp/libssp_nonshared/" - - export RAW_LDFLAGS=$(raw-ldflags) - cd "${S}/libc" - $(freebsd_get_bmake) ${mymakeopts} || die "make libc failed" - cd "${S}/msun" - append-ldflags "-L${WORKDIR}/lib/libc" - export RAW_LDFLAGS=$(raw-ldflags) - LDADD="-lssp_nonshared" $(freebsd_get_bmake) ${mymakeopts} || die "make libc failed" - cd "${WORKDIR}/gnu/lib/libssp/" || die "missing libssp." - $(freebsd_get_bmake) ${mymakeopts} || die "make libssp failed" - cd "${WORKDIR}/lib/libthr/" || die "missing libthr" - $(freebsd_get_bmake) ${mymakeopts} || die "make libthr failed" - else - # Forces to use the local copy of headers as they might be outdated in - # the system - append-flags "-isystem '${WORKDIR}/include_proper'" - - # First compile libssp_nonshared.a and add it's path to LDFLAGS. - einfo "Compiling libssp in \"${WORKDIR}/gnu/lib/libssp/\"." - cd "${WORKDIR}/gnu/lib/libssp/" || die "missing libssp." - NOFLAGSTRIP=yes freebsd_src_compile - # Hack libssp_nonshared.a into libc & others since we don't have - # the linker script in place yet. - append-ldflags "-L${WORKDIR}/gnu/lib/libssp/libssp_nonshared/" - einfo "Compiling libc." - cd "${S}" - export RAW_LDFLAGS=$(raw-ldflags) - NOFLAGSTRIP=yes LDADD="-lssp_nonshared" freebsd_src_compile - cd "${WORKDIR}/gnu/lib/libregex" || die - NOFLAGSTRIP=yes LDADD="-lssp_nonshared" freebsd_src_compile - fi -} - -src_install() { - [ "${CTARGET}" = "${CHOST}" ] \ - && INCLUDEDIR="/usr/include" \ - || INCLUDEDIR="/usr/${CTARGET}/usr/include" - dodir ${INCLUDEDIR} - einfo "Installing for ${CTARGET} in ${CHOST}.." - install_includes ${INCLUDEDIR} - - # Install math.h when crosscompiling, at this point - if [ "${CHOST}" != "${CTARGET}" ]; then - insinto "/usr/${CTARGET}/usr/include" - doins "${S}/msun/src/math.h" - fi - - use crosscompile_opts_headers-only && return 0 - local mylibdir=$(get_libdir) - - if [ "${CTARGET}" != "${CHOST}" ]; then - local csudir - if [ -d "${S}/csu/$(tc-arch-kernel ${CTARGET})-elf" ]; then - csudir="${S}/csu/$(tc-arch-kernel ${CTARGET})-elf" - else - csudir="${S}/csu/$(tc-arch-kernel ${CTARGET})" - fi - cd "${csudir}" - $(freebsd_get_bmake) ${mymakeopts} DESTDIR="${D}" install \ - FILESDIR="/usr/${CTARGET}/usr/lib" LIBDIR="/usr/${CTARGET}/usr/lib" || die "Install csu failed" - - cd "${S}/libc" - $(freebsd_get_bmake) ${mymakeopts} DESTDIR="${D}" install NO_MAN= \ - SHLIBDIR="/usr/${CTARGET}/lib" LIBDIR="/usr/${CTARGET}/usr/lib" || die "Install libc failed" - - cd "${S}/msun" - $(freebsd_get_bmake) ${mymakeopts} DESTDIR="${D}" install NO_MAN= \ - INCLUDEDIR="/usr/${CTARGET}/usr/include" \ - SHLIBDIR="/usr/${CTARGET}/lib" LIBDIR="/usr/${CTARGET}/usr/lib" || die "Install msun failed" - - cd "${WORKDIR}/gnu/lib/libssp/" - $(freebsd_get_bmake) ${mymakeopts} DESTDIR="${D}" install NO_MAN= \ - INCLUDEDIR="/usr/${CTARGET}/usr/include" \ - SHLIBDIR="/usr/${CTARGET}/lib" LIBDIR="/usr/${CTARGET}/usr/lib" || die "Install ssp failed" - - cd "${WORKDIR}/lib/libthr/" - $(freebsd_get_bmake) ${mymakeopts} DESTDIR="${D}" install NO_MAN= \ - INCLUDEDIR="/usr/${CTARGET}/usr/include" \ - SHLIBDIR="/usr/${CTARGET}/lib" LIBDIR="/usr/${CTARGET}/usr/lib" || die "Install libthr failed" - - dosym "usr/include" "/usr/${CTARGET}/sys-include" - else - # Set SHLIBDIR and LIBDIR for multilib - cd "${WORKDIR}/gnu/lib/libssp" - SHLIBDIR="/${mylibdir}" LIBDIR="/usr/${mylibdir}" mkinstall || die "Install ssp failed." - cd "${S}" - SHLIBDIR="/${mylibdir}" LIBDIR="/usr/${mylibdir}" mkinstall || die "Install failed" - cd "${WORKDIR}/gnu/lib/libregex" - SHLIBDIR="/${mylibdir}" LIBDIR="/usr/${mylibdir}" mkinstall || die "Install libregex failed" - fi - - # Don't install the rest of the configuration files if crosscompiling - if [ "${CTARGET}" != "${CHOST}" ] ; then - # This is to get it stripped with the correct tools, otherwise it gets - # stripped with the host strip. - export CHOST=${CTARGET} - return 0 - fi - - # Symlink libbsdxml to libexpat as we use expat in favor of the renaming done - # on FreeBSD. - dosym libexpat.so /usr/${mylibdir}/libbsdxml.so - dosym libexpat.a /usr/${mylibdir}/libbsdxml.a - - # install libstand files - dodir /usr/include/libstand - insinto /usr/include/libstand - doins "${S}"/libstand/*.h - - cd "${WORKDIR}/etc/" - insinto /etc - doins auth.conf nls.alias mac.conf netconfig - - # Install ttys file - local MACHINE="$(tc-arch-kernel)" - doins "etc.${MACHINE}"/* - - # Generate ldscripts, otherwise bad thigs are supposed to happen - gen_usr_ldscript libalias_cuseeme.so libalias_dummy.so libalias_ftp.so \ - libalias_irc.so libalias_nbt.so libalias_pptp.so libalias_skinny.so \ - libalias_smedia.so libssp.so - # These show on QA warnings too, however they're pretty much bsd only, - # aka, no autotools for them. - # libbsdxml.so libcam.so libcrypt.so libdevstat.so libgeom.so \ - # libipsec.so libipx.so libkiconv.so libkvm.so libmd.so libsbuf.so libufs.so \ - # libutil.so - - # Generate libc.so ldscript for inclusion of libssp_nonshared.a when linking - # this is done to avoid having to touch gcc spec file as it is currently - # done on FreeBSD upstream, mostly because their binutils aren't able to - # cope with linker scripts yet. - # Taken from toolchain-funcs.eclass: - local output_format - output_format=$($(tc-getCC) ${CFLAGS} ${LDFLAGS} -Wl,--verbose 2>&1 | sed -n 's/^OUTPUT_FORMAT("\([^"]*\)",.*/\1/p') - [[ -n ${output_format} ]] && output_format="OUTPUT_FORMAT ( ${output_format} )" - # Clear the symlink. - rm -f "${D}/usr/${mylibdir}/libc.so" - cat > "${D}/usr/${mylibdir}/libc.so" <<-END_LDSCRIPT -/* GNU ld script - SSP (-fstack-protector) requires __stack_chk_fail_local to be local. - GCC invokes this symbol in a non-PIC way, which results in TEXTRELs if - this symbol was provided by a shared libc. So we link in - libssp_nonshared.a from here. - */ -${output_format} -GROUP ( /${mylibdir}/libc.so.7 /usr/${mylibdir}/libssp_nonshared.a ) -END_LDSCRIPT - - dodir /etc/sandbox.d - cat - > "${D}"/etc/sandbox.d/00freebsd <<EOF -# /dev/crypto is used mostly by OpenSSL on *BSD platforms -# leave it available as packages might use OpenSSL commands -# during compile or install phase. -SANDBOX_PREDICT="/dev/crypto" -EOF - - # Install a libusb.pc for better compat with Linux's libusb - if use usb ; then - dodir /usr/$(get_libdir)/pkgconfig - sed -e "s:@LIBDIR@:/usr/$(get_libdir):" "${FILESDIR}/libusb.pc.in" > "${D}/usr/$(get_libdir)/pkgconfig/libusb.pc" || die - fi -} - -install_includes() -{ - local INCLUDEDIR="$1" - - # The idea is to be called from either install or unpack. - # During unpack it's required to install them as portage's user. - if [[ "${EBUILD_PHASE}" == "install" ]]; then - local DESTDIR="${D}" - BINOWN="root" - BINGRP="wheel" - else - local DESTDIR="${WORKDIR}" - [[ -z "${USER}" ]] && USER="portage" - BINOWN="${USER}" - [[ -z "${GROUPS}" ]] && GROUPS="portage" - BINGRP="${GROUPS}" - fi - - # This is for ssp/ssp.h. - einfo "Building ssp.h" - cd "${WORKDIR}/gnu/lib/libssp/" || die "missing libssp" - $(freebsd_get_bmake) ssp.h || die "problem building ssp.h" - - # Must exist before we use it. - [[ -d "${DESTDIR}${INCLUDEDIR}" ]] || die "dodir or mkdir ${INCLUDEDIR} before using install_includes." - cd "${WORKDIR}/include" - - local MACHINE="$(tc-arch-kernel)" - - einfo "Installing includes into ${INCLUDEDIR} as ${BINOWN}:${BINGRP}..." - $(freebsd_get_bmake) installincludes \ - MACHINE=${MACHINE} DESTDIR="${DESTDIR}" \ - INCLUDEDIR="${INCLUDEDIR}" BINOWN="${BINOWN}" \ - BINGRP="${BINGRP}" || die "install_includes() failed" - einfo "includes installed ok." - EXTRA_INCLUDES="gnu/lib/libssp lib/librtld_db gnu/lib/libregex" - for i in $EXTRA_INCLUDES; do - einfo "Installing $i includes into ${INCLUDEDIR} as ${BINOWN}:${BINGRP}..." - cd "${WORKDIR}/$i" || die - $(freebsd_get_bmake) installincludes DESTDIR="${DESTDIR}" \ - MACHINE=${MACHINE} INCLUDEDIR="${INCLUDEDIR}" BINOWN="${BINOWN}" \ - BINGRP="${BINGRP}" || die "problem installing ssp includes." - einfo "$i includes installed ok." - done -} diff --git a/sys-freebsd/freebsd-libexec/ChangeLog b/sys-freebsd/freebsd-libexec/ChangeLog index b1636319edbc..67e3f60d7538 100644 --- a/sys-freebsd/freebsd-libexec/ChangeLog +++ b/sys-freebsd/freebsd-libexec/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-freebsd/freebsd-libexec # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-libexec/ChangeLog,v 1.46 2012/03/08 11:02:04 naota Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-libexec/ChangeLog,v 1.47 2012/03/30 15:46:10 aballier Exp $ + + 30 Mar 2012; Alexis Ballier <aballier@gentoo.org> + -freebsd-libexec-9.0_rc1.ebuild, -freebsd-libexec-9.0_rc2.ebuild, + -freebsd-libexec-9.0_rc3.ebuild: + remove old *freebsd-libexec-8.2-r1 (08 Mar 2012) diff --git a/sys-freebsd/freebsd-libexec/freebsd-libexec-9.0_rc1.ebuild b/sys-freebsd/freebsd-libexec/freebsd-libexec-9.0_rc1.ebuild deleted file mode 100644 index f946604ca105..000000000000 --- a/sys-freebsd/freebsd-libexec/freebsd-libexec-9.0_rc1.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-libexec/freebsd-libexec-9.0_rc1.ebuild,v 1.1 2011/11/07 12:25:32 aballier Exp $ - -EAPI=2 - -inherit bsdmk freebsd pam - -DESCRIPTION="FreeBSD libexec things" -SLOT="0" -KEYWORDS="~sparc-fbsd ~x86-fbsd" - -SRC_URI="mirror://gentoo/${LIBEXEC}.tar.bz2 - mirror://gentoo/${UBIN}.tar.bz2 - mirror://gentoo/${BIN}.tar.bz2 - mirror://gentoo/${CONTRIB}.tar.bz2 - mirror://gentoo/${LIB}.tar.bz2 - mirror://gentoo/${ETC}.tar.bz2 - mirror://gentoo/${USBIN}.tar.bz2" - -RDEPEND="=sys-freebsd/freebsd-lib-${RV}* - pam? ( virtual/pam )" -DEPEND="${RDEPEND} - =sys-freebsd/freebsd-mk-defs-${RV}* - =sys-freebsd/freebsd-sources-${RV}*" -RDEPEND="${RDEPEND} - xinetd? ( sys-apps/xinetd )" - -S="${WORKDIR}/libexec" - -# Remove sendmail, tcp_wrapper and other useless stuff -REMOVE_SUBDIRS="smrsh mail.local tcpd telnetd rshd rlogind lukemftpd ftpd" - -IUSE="pam ssl kerberos ipv6 nis xinetd" - -pkg_setup() { - use ipv6 || mymakeopts="${mymakeopts} WITHOUT_INET6= WITHOUT_INET6_SUPPORT= " - use kerberos || mymakeopts="${mymakeopts} WITHOUT_KERBEROS_SUPPORT= " - use nis || mymakeopts="${mymakeopts} WITHOUT_NIS= " - use pam || mymakeopts="${mymakeopts} WITHOUT_PAM_SUPPORT= " - use ssl || mymakeopts="${mymakeopts} WITHOUT_OPENSSL= " - - mymakeopts="${mymakeopts} WITHOUT_SENDMAIL= WITHOUT_PF= WITHOUT_RCMDS= " -} - -src_prepare() { - ln -s /usr/include "${WORKDIR}/include" -} - -src_install() { - freebsd_src_install - - insinto /etc - doins "${WORKDIR}/etc/gettytab" - newinitd "${FILESDIR}/bootpd.initd" bootpd - newconfd "${FILESDIR}/bootpd.confd" bootpd - - if use xinetd; then - for rpcd in rstatd rusersd walld rquotad sprayd; do - insinto /etc/xinetd.d - newins "${FILESDIR}/${rpcd}.xinetd" ${rpcd} - done - fi -} diff --git a/sys-freebsd/freebsd-libexec/freebsd-libexec-9.0_rc2.ebuild b/sys-freebsd/freebsd-libexec/freebsd-libexec-9.0_rc2.ebuild deleted file mode 100644 index b234636394d1..000000000000 --- a/sys-freebsd/freebsd-libexec/freebsd-libexec-9.0_rc2.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-libexec/freebsd-libexec-9.0_rc2.ebuild,v 1.1 2011/12/07 17:06:30 aballier Exp $ - -EAPI=2 - -inherit bsdmk freebsd pam - -DESCRIPTION="FreeBSD libexec things" -SLOT="0" -KEYWORDS="~sparc-fbsd ~x86-fbsd" - -SRC_URI="mirror://gentoo/${LIBEXEC}.tar.bz2 - mirror://gentoo/${UBIN}.tar.bz2 - mirror://gentoo/${BIN}.tar.bz2 - mirror://gentoo/${CONTRIB}.tar.bz2 - mirror://gentoo/${LIB}.tar.bz2 - mirror://gentoo/${ETC}.tar.bz2 - mirror://gentoo/${USBIN}.tar.bz2" - -RDEPEND="=sys-freebsd/freebsd-lib-${RV}* - pam? ( virtual/pam )" -DEPEND="${RDEPEND} - =sys-freebsd/freebsd-mk-defs-${RV}* - =sys-freebsd/freebsd-sources-${RV}*" -RDEPEND="${RDEPEND} - xinetd? ( sys-apps/xinetd )" - -S="${WORKDIR}/libexec" - -# Remove sendmail, tcp_wrapper and other useless stuff -REMOVE_SUBDIRS="smrsh mail.local tcpd telnetd rshd rlogind lukemftpd ftpd" - -IUSE="pam ssl kerberos ipv6 nis xinetd" - -pkg_setup() { - use ipv6 || mymakeopts="${mymakeopts} WITHOUT_INET6= WITHOUT_INET6_SUPPORT= " - use kerberos || mymakeopts="${mymakeopts} WITHOUT_KERBEROS_SUPPORT= " - use nis || mymakeopts="${mymakeopts} WITHOUT_NIS= " - use pam || mymakeopts="${mymakeopts} WITHOUT_PAM_SUPPORT= " - use ssl || mymakeopts="${mymakeopts} WITHOUT_OPENSSL= " - - mymakeopts="${mymakeopts} WITHOUT_SENDMAIL= WITHOUT_PF= WITHOUT_RCMDS= " -} - -src_prepare() { - ln -s /usr/include "${WORKDIR}/include" -} - -src_install() { - freebsd_src_install - - insinto /etc - doins "${WORKDIR}/etc/gettytab" - newinitd "${FILESDIR}/bootpd.initd" bootpd - newconfd "${FILESDIR}/bootpd.confd" bootpd - - if use xinetd; then - for rpcd in rstatd rusersd walld rquotad sprayd; do - insinto /etc/xinetd.d - newins "${FILESDIR}/${rpcd}.xinetd" ${rpcd} - done - fi -} diff --git a/sys-freebsd/freebsd-libexec/freebsd-libexec-9.0_rc3.ebuild b/sys-freebsd/freebsd-libexec/freebsd-libexec-9.0_rc3.ebuild deleted file mode 100644 index ec94e2a574c9..000000000000 --- a/sys-freebsd/freebsd-libexec/freebsd-libexec-9.0_rc3.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-libexec/freebsd-libexec-9.0_rc3.ebuild,v 1.1 2011/12/09 13:19:52 aballier Exp $ - -EAPI=2 - -inherit bsdmk freebsd pam - -DESCRIPTION="FreeBSD libexec things" -SLOT="0" -KEYWORDS="~sparc-fbsd ~x86-fbsd" - -SRC_URI="mirror://gentoo/${LIBEXEC}.tar.bz2 - mirror://gentoo/${UBIN}.tar.bz2 - mirror://gentoo/${BIN}.tar.bz2 - mirror://gentoo/${CONTRIB}.tar.bz2 - mirror://gentoo/${LIB}.tar.bz2 - mirror://gentoo/${ETC}.tar.bz2 - mirror://gentoo/${USBIN}.tar.bz2" - -RDEPEND="=sys-freebsd/freebsd-lib-${RV}* - pam? ( virtual/pam )" -DEPEND="${RDEPEND} - =sys-freebsd/freebsd-mk-defs-${RV}* - =sys-freebsd/freebsd-sources-${RV}*" -RDEPEND="${RDEPEND} - xinetd? ( sys-apps/xinetd )" - -S="${WORKDIR}/libexec" - -# Remove sendmail, tcp_wrapper and other useless stuff -REMOVE_SUBDIRS="smrsh mail.local tcpd telnetd rshd rlogind lukemftpd ftpd" - -IUSE="pam ssl kerberos ipv6 nis xinetd" - -pkg_setup() { - use ipv6 || mymakeopts="${mymakeopts} WITHOUT_INET6= WITHOUT_INET6_SUPPORT= " - use kerberos || mymakeopts="${mymakeopts} WITHOUT_KERBEROS_SUPPORT= " - use nis || mymakeopts="${mymakeopts} WITHOUT_NIS= " - use pam || mymakeopts="${mymakeopts} WITHOUT_PAM_SUPPORT= " - use ssl || mymakeopts="${mymakeopts} WITHOUT_OPENSSL= " - - mymakeopts="${mymakeopts} WITHOUT_SENDMAIL= WITHOUT_PF= WITHOUT_RCMDS= " -} - -src_prepare() { - ln -s /usr/include "${WORKDIR}/include" -} - -src_install() { - freebsd_src_install - - insinto /etc - doins "${WORKDIR}/etc/gettytab" - newinitd "${FILESDIR}/bootpd.initd" bootpd - newconfd "${FILESDIR}/bootpd.confd" bootpd - - if use xinetd; then - for rpcd in rstatd rusersd walld rquotad sprayd; do - insinto /etc/xinetd.d - newins "${FILESDIR}/${rpcd}.xinetd" ${rpcd} - done - fi -} diff --git a/sys-freebsd/freebsd-mk-defs/ChangeLog b/sys-freebsd/freebsd-mk-defs/ChangeLog index 1d16c6deb779..7bc90efa56ad 100644 --- a/sys-freebsd/freebsd-mk-defs/ChangeLog +++ b/sys-freebsd/freebsd-mk-defs/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-freebsd/freebsd-mk-defs # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-mk-defs/ChangeLog,v 1.43 2012/01/16 16:37:09 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-mk-defs/ChangeLog,v 1.44 2012/03/30 15:46:39 aballier Exp $ + + 30 Mar 2012; Alexis Ballier <aballier@gentoo.org> + -freebsd-mk-defs-9.0_rc1.ebuild, -freebsd-mk-defs-9.0_rc2.ebuild, + -freebsd-mk-defs-9.0_rc3.ebuild: + remove old *freebsd-mk-defs-9.0 (16 Jan 2012) diff --git a/sys-freebsd/freebsd-mk-defs/freebsd-mk-defs-9.0_rc1.ebuild b/sys-freebsd/freebsd-mk-defs/freebsd-mk-defs-9.0_rc1.ebuild deleted file mode 100644 index 8e128b099ce1..000000000000 --- a/sys-freebsd/freebsd-mk-defs/freebsd-mk-defs-9.0_rc1.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-mk-defs/freebsd-mk-defs-9.0_rc1.ebuild,v 1.2 2011/11/07 13:54:04 aballier Exp $ - -EAPI=3 - -inherit bsdmk freebsd - -DESCRIPTION="Makefiles definitions used for building and installing libraries and system files" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~sparc-fbsd ~x86-fbsd" - -IUSE="userland_GNU" - -SRC_URI="mirror://gentoo/${SHARE}.tar.bz2" - -RDEPEND="" -DEPEND="" - -RESTRICT="strip" - -S="${WORKDIR}/share/mk" - -src_prepare() { - epatch "${FILESDIR}/${PN}-9.0-gentoo.patch" - use userland_GNU && epatch "${FILESDIR}/${PN}-9.0-gnu.patch" -} - -src_compile() { :; } - -src_install() { - if [[ ${CHOST} != *-freebsd* ]]; then - insinto /usr/share/mk/freebsd - else - insinto /usr/share/mk - fi - doins *.mk *.awk -} diff --git a/sys-freebsd/freebsd-mk-defs/freebsd-mk-defs-9.0_rc2.ebuild b/sys-freebsd/freebsd-mk-defs/freebsd-mk-defs-9.0_rc2.ebuild deleted file mode 100644 index 57d49dcf8ae1..000000000000 --- a/sys-freebsd/freebsd-mk-defs/freebsd-mk-defs-9.0_rc2.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-mk-defs/freebsd-mk-defs-9.0_rc2.ebuild,v 1.1 2011/12/07 17:07:28 aballier Exp $ - -EAPI=3 - -inherit bsdmk freebsd - -DESCRIPTION="Makefiles definitions used for building and installing libraries and system files" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~sparc-fbsd ~x86-fbsd" - -IUSE="userland_GNU" - -SRC_URI="mirror://gentoo/${SHARE}.tar.bz2" - -RDEPEND="" -DEPEND="" - -RESTRICT="strip" - -S="${WORKDIR}/share/mk" - -src_prepare() { - epatch "${FILESDIR}/${PN}-9.0-gentoo.patch" - use userland_GNU && epatch "${FILESDIR}/${PN}-9.0-gnu.patch" -} - -src_compile() { :; } - -src_install() { - if [[ ${CHOST} != *-freebsd* ]]; then - insinto /usr/share/mk/freebsd - else - insinto /usr/share/mk - fi - doins *.mk *.awk -} diff --git a/sys-freebsd/freebsd-mk-defs/freebsd-mk-defs-9.0_rc3.ebuild b/sys-freebsd/freebsd-mk-defs/freebsd-mk-defs-9.0_rc3.ebuild deleted file mode 100644 index 0e7bcebfedb3..000000000000 --- a/sys-freebsd/freebsd-mk-defs/freebsd-mk-defs-9.0_rc3.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-mk-defs/freebsd-mk-defs-9.0_rc3.ebuild,v 1.1 2011/12/09 13:20:50 aballier Exp $ - -EAPI=3 - -inherit bsdmk freebsd - -DESCRIPTION="Makefiles definitions used for building and installing libraries and system files" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~sparc-fbsd ~x86-fbsd" - -IUSE="userland_GNU" - -SRC_URI="mirror://gentoo/${SHARE}.tar.bz2" - -RDEPEND="" -DEPEND="" - -RESTRICT="strip" - -S="${WORKDIR}/share/mk" - -src_prepare() { - epatch "${FILESDIR}/${PN}-9.0-gentoo.patch" - use userland_GNU && epatch "${FILESDIR}/${PN}-9.0-gnu.patch" -} - -src_compile() { :; } - -src_install() { - if [[ ${CHOST} != *-freebsd* ]]; then - insinto /usr/share/mk/freebsd - else - insinto /usr/share/mk - fi - doins *.mk *.awk -} diff --git a/sys-freebsd/freebsd-pam-modules/ChangeLog b/sys-freebsd/freebsd-pam-modules/ChangeLog index 2d0e9783c452..f4ad96022266 100644 --- a/sys-freebsd/freebsd-pam-modules/ChangeLog +++ b/sys-freebsd/freebsd-pam-modules/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-freebsd/freebsd-pam-modules # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-pam-modules/ChangeLog,v 1.31 2012/01/16 16:37:09 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-pam-modules/ChangeLog,v 1.32 2012/03/30 15:47:06 aballier Exp $ + + 30 Mar 2012; Alexis Ballier <aballier@gentoo.org> + -freebsd-pam-modules-9.0_rc1.ebuild, -freebsd-pam-modules-9.0_rc2.ebuild, + -freebsd-pam-modules-9.0_rc3.ebuild: + remove old *freebsd-pam-modules-9.0 (16 Jan 2012) diff --git a/sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-9.0_rc1.ebuild b/sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-9.0_rc1.ebuild deleted file mode 100644 index d5c731a51306..000000000000 --- a/sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-9.0_rc1.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-9.0_rc1.ebuild,v 1.1 2011/11/07 12:28:01 aballier Exp $ - -inherit bsdmk freebsd multilib pam - -DESCRIPTION="FreeBSD's PAM authentication modules" -SLOT="0" -KEYWORDS="~x86-fbsd ~sparc-fbsd" - -IUSE="kerberos nis" - -SRC_URI="mirror://gentoo/${LIB}.tar.bz2" - -RDEPEND=">=sys-auth/openpam-20050201-r1 - kerberos? ( dev-libs/openssl - virtual/krb5 )" -DEPEND="${RDEPEND} - =sys-freebsd/freebsd-mk-defs-${RV}* - =sys-freebsd/freebsd-sources-${RV}*" - -S=${WORKDIR}/lib/libpam/modules - -pkg_setup() { - # Avoid installing pam_ssh as that has its own ebuild. - mymakeopts="${mymakeopts} NO_OPENSSH= " - use kerberos || mymakeopts="${mymakeopts} NO_KERBEROS= " - use nis || mymakeopts="${mymakeopts} NO_NIS= " -} - -src_unpack() { - unpack ${A} - - cd "${WORKDIR}"/lib - - for module in pam_deny pam_passwdqc pam_permit; do - sed -i -e "s:${module}::" "${S}"/modules.inc - done - - # Avoid using static versions; use gentoo /lib/security dir - epatch "${FILESDIR}"/${PN}-9.0-gentoo.patch -} - -src_install() { - mkinstall "LIBDIR=/$(get_libdir)/security" || die "install failed" - - dodoc "${FILESDIR}/README.pamd" -} diff --git a/sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-9.0_rc2.ebuild b/sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-9.0_rc2.ebuild deleted file mode 100644 index 2d2115be3503..000000000000 --- a/sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-9.0_rc2.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-9.0_rc2.ebuild,v 1.1 2011/12/07 17:07:54 aballier Exp $ - -inherit bsdmk freebsd multilib pam - -DESCRIPTION="FreeBSD's PAM authentication modules" -SLOT="0" -KEYWORDS="~x86-fbsd ~sparc-fbsd" - -IUSE="kerberos nis" - -SRC_URI="mirror://gentoo/${LIB}.tar.bz2" - -RDEPEND=">=sys-auth/openpam-20050201-r1 - kerberos? ( dev-libs/openssl - virtual/krb5 )" -DEPEND="${RDEPEND} - =sys-freebsd/freebsd-mk-defs-${RV}* - =sys-freebsd/freebsd-sources-${RV}*" - -S=${WORKDIR}/lib/libpam/modules - -pkg_setup() { - # Avoid installing pam_ssh as that has its own ebuild. - mymakeopts="${mymakeopts} NO_OPENSSH= " - use kerberos || mymakeopts="${mymakeopts} NO_KERBEROS= " - use nis || mymakeopts="${mymakeopts} NO_NIS= " -} - -src_unpack() { - unpack ${A} - - cd "${WORKDIR}"/lib - - for module in pam_deny pam_passwdqc pam_permit; do - sed -i -e "s:${module}::" "${S}"/modules.inc - done - - # Avoid using static versions; use gentoo /lib/security dir - epatch "${FILESDIR}"/${PN}-9.0-gentoo.patch -} - -src_install() { - mkinstall "LIBDIR=/$(get_libdir)/security" || die "install failed" - - dodoc "${FILESDIR}/README.pamd" -} diff --git a/sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-9.0_rc3.ebuild b/sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-9.0_rc3.ebuild deleted file mode 100644 index a8b4ab75b15d..000000000000 --- a/sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-9.0_rc3.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-9.0_rc3.ebuild,v 1.1 2011/12/09 13:21:16 aballier Exp $ - -inherit bsdmk freebsd multilib pam - -DESCRIPTION="FreeBSD's PAM authentication modules" -SLOT="0" -KEYWORDS="~x86-fbsd ~sparc-fbsd" - -IUSE="kerberos nis" - -SRC_URI="mirror://gentoo/${LIB}.tar.bz2" - -RDEPEND=">=sys-auth/openpam-20050201-r1 - kerberos? ( dev-libs/openssl - virtual/krb5 )" -DEPEND="${RDEPEND} - =sys-freebsd/freebsd-mk-defs-${RV}* - =sys-freebsd/freebsd-sources-${RV}*" - -S=${WORKDIR}/lib/libpam/modules - -pkg_setup() { - # Avoid installing pam_ssh as that has its own ebuild. - mymakeopts="${mymakeopts} NO_OPENSSH= " - use kerberos || mymakeopts="${mymakeopts} NO_KERBEROS= " - use nis || mymakeopts="${mymakeopts} NO_NIS= " -} - -src_unpack() { - unpack ${A} - - cd "${WORKDIR}"/lib - - for module in pam_deny pam_passwdqc pam_permit; do - sed -i -e "s:${module}::" "${S}"/modules.inc - done - - # Avoid using static versions; use gentoo /lib/security dir - epatch "${FILESDIR}"/${PN}-9.0-gentoo.patch -} - -src_install() { - mkinstall "LIBDIR=/$(get_libdir)/security" || die "install failed" - - dodoc "${FILESDIR}/README.pamd" -} diff --git a/sys-freebsd/freebsd-pf/ChangeLog b/sys-freebsd/freebsd-pf/ChangeLog index 9c42864cf7c7..26d2f9a87e54 100644 --- a/sys-freebsd/freebsd-pf/ChangeLog +++ b/sys-freebsd/freebsd-pf/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-freebsd/freebsd-pf # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-pf/ChangeLog,v 1.33 2012/01/16 16:37:08 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-pf/ChangeLog,v 1.34 2012/03/30 15:47:33 aballier Exp $ + + 30 Mar 2012; Alexis Ballier <aballier@gentoo.org> -freebsd-pf-9.0_rc1.ebuild, + -freebsd-pf-9.0_rc2.ebuild, -freebsd-pf-9.0_rc3.ebuild: + remove old *freebsd-pf-9.0 (16 Jan 2012) diff --git a/sys-freebsd/freebsd-pf/freebsd-pf-9.0_rc1.ebuild b/sys-freebsd/freebsd-pf/freebsd-pf-9.0_rc1.ebuild deleted file mode 100644 index 23da16d80cc0..000000000000 --- a/sys-freebsd/freebsd-pf/freebsd-pf-9.0_rc1.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-pf/freebsd-pf-9.0_rc1.ebuild,v 1.1 2011/11/07 12:29:29 aballier Exp $ - -inherit bsdmk freebsd - -DESCRIPTION="FreeBSD's base system libraries" -SLOT="0" -KEYWORDS="~x86-fbsd" - -IUSE="" - -# Crypto is needed to have an internal OpenSSL header -SRC_URI="mirror://gentoo/${USBIN}.tar.bz2 - mirror://gentoo/${SBIN}.tar.bz2 - mirror://gentoo/${CONTRIB}.tar.bz2 - mirror://gentoo/${ETC}.tar.bz2" - -RDEPEND="net-libs/libpcap" -DEPEND="${RDEPEND} - dev-libs/libevent - sys-freebsd/freebsd-mk-defs - =sys-freebsd/freebsd-sources-${RV}*" - -S="${WORKDIR}" - -SUBDIRS="usr.sbin/authpf sbin/pfctl sbin/pflogd usr.sbin/ftp-proxy/ftp-proxy" - -pkg_setup() { - enewgroup authpf 63 - mymakeopts="${mymakeopts} NO_MANCOMPRESS= NO_INFOCOMPRESS= " -} - -src_unpack() { - freebsd_src_unpack - # pcap-int.h redefines snprintf as pcap_snprintf - epatch "${FILESDIR}/${PN}-9.0-pcap_pollution.patch" - # Use system's libevent - epatch "${FILESDIR}/${PN}-9.0-libevent.patch" - epatch "${FILESDIR}/${PN}-9.0-pflogd.patch" - epatch "${FILESDIR}/${PN}-9.0-bpf.patch" - epatch "${FILESDIR}/${PN}-9.0-getline.patch" - # Link in kernel sources - ln -s "/usr/src/sys-${RV}" "${WORKDIR}/sys" -} - -src_compile() { - for dir in ${SUBDIRS}; do - einfo "Starting make in ${dir}" - cd "${S}/${dir}" - mkmake || die "Make ${dir} failed" - done -} - -src_install() { - for dir in ${SUBDIRS}; do - einfo "Starting install in ${dir}" - cd "${S}/${dir}" - mkinstall || die "Install ${dir} failed" - done - - cd "${WORKDIR}"/etc - insinto /etc - doins pf.os - newdoc pf.conf pf.conf.example - # pf.initd provided by openrc, but no pf.confd - newconfd "${FILESDIR}/pf.confd" pf -} diff --git a/sys-freebsd/freebsd-pf/freebsd-pf-9.0_rc2.ebuild b/sys-freebsd/freebsd-pf/freebsd-pf-9.0_rc2.ebuild deleted file mode 100644 index be7d6f11c161..000000000000 --- a/sys-freebsd/freebsd-pf/freebsd-pf-9.0_rc2.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-pf/freebsd-pf-9.0_rc2.ebuild,v 1.1 2011/12/07 17:08:21 aballier Exp $ - -inherit bsdmk freebsd - -DESCRIPTION="FreeBSD's base system libraries" -SLOT="0" -KEYWORDS="~x86-fbsd" - -IUSE="" - -# Crypto is needed to have an internal OpenSSL header -SRC_URI="mirror://gentoo/${USBIN}.tar.bz2 - mirror://gentoo/${SBIN}.tar.bz2 - mirror://gentoo/${CONTRIB}.tar.bz2 - mirror://gentoo/${ETC}.tar.bz2" - -RDEPEND="net-libs/libpcap" -DEPEND="${RDEPEND} - dev-libs/libevent - sys-freebsd/freebsd-mk-defs - =sys-freebsd/freebsd-sources-${RV}*" - -S="${WORKDIR}" - -SUBDIRS="usr.sbin/authpf sbin/pfctl sbin/pflogd usr.sbin/ftp-proxy/ftp-proxy" - -pkg_setup() { - enewgroup authpf 63 - mymakeopts="${mymakeopts} NO_MANCOMPRESS= NO_INFOCOMPRESS= " -} - -src_unpack() { - freebsd_src_unpack - # pcap-int.h redefines snprintf as pcap_snprintf - epatch "${FILESDIR}/${PN}-9.0-pcap_pollution.patch" - # Use system's libevent - epatch "${FILESDIR}/${PN}-9.0-libevent.patch" - epatch "${FILESDIR}/${PN}-9.0-pflogd.patch" - epatch "${FILESDIR}/${PN}-9.0-bpf.patch" - epatch "${FILESDIR}/${PN}-9.0-getline.patch" - # Link in kernel sources - ln -s "/usr/src/sys-${RV}" "${WORKDIR}/sys" -} - -src_compile() { - for dir in ${SUBDIRS}; do - einfo "Starting make in ${dir}" - cd "${S}/${dir}" - mkmake || die "Make ${dir} failed" - done -} - -src_install() { - for dir in ${SUBDIRS}; do - einfo "Starting install in ${dir}" - cd "${S}/${dir}" - mkinstall || die "Install ${dir} failed" - done - - cd "${WORKDIR}"/etc - insinto /etc - doins pf.os - newdoc pf.conf pf.conf.example - # pf.initd provided by openrc, but no pf.confd - newconfd "${FILESDIR}/pf.confd" pf -} diff --git a/sys-freebsd/freebsd-pf/freebsd-pf-9.0_rc3.ebuild b/sys-freebsd/freebsd-pf/freebsd-pf-9.0_rc3.ebuild deleted file mode 100644 index 356bf3494ce6..000000000000 --- a/sys-freebsd/freebsd-pf/freebsd-pf-9.0_rc3.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-pf/freebsd-pf-9.0_rc3.ebuild,v 1.1 2011/12/09 13:21:43 aballier Exp $ - -inherit bsdmk freebsd - -DESCRIPTION="FreeBSD's base system libraries" -SLOT="0" -KEYWORDS="~x86-fbsd" - -IUSE="" - -# Crypto is needed to have an internal OpenSSL header -SRC_URI="mirror://gentoo/${USBIN}.tar.bz2 - mirror://gentoo/${SBIN}.tar.bz2 - mirror://gentoo/${CONTRIB}.tar.bz2 - mirror://gentoo/${ETC}.tar.bz2" - -RDEPEND="net-libs/libpcap" -DEPEND="${RDEPEND} - dev-libs/libevent - sys-freebsd/freebsd-mk-defs - =sys-freebsd/freebsd-sources-${RV}*" - -S="${WORKDIR}" - -SUBDIRS="usr.sbin/authpf sbin/pfctl sbin/pflogd usr.sbin/ftp-proxy/ftp-proxy" - -pkg_setup() { - enewgroup authpf 63 - mymakeopts="${mymakeopts} NO_MANCOMPRESS= NO_INFOCOMPRESS= " -} - -src_unpack() { - freebsd_src_unpack - # pcap-int.h redefines snprintf as pcap_snprintf - epatch "${FILESDIR}/${PN}-9.0-pcap_pollution.patch" - # Use system's libevent - epatch "${FILESDIR}/${PN}-9.0-libevent.patch" - epatch "${FILESDIR}/${PN}-9.0-pflogd.patch" - epatch "${FILESDIR}/${PN}-9.0-bpf.patch" - epatch "${FILESDIR}/${PN}-9.0-getline.patch" - # Link in kernel sources - ln -s "/usr/src/sys-${RV}" "${WORKDIR}/sys" -} - -src_compile() { - for dir in ${SUBDIRS}; do - einfo "Starting make in ${dir}" - cd "${S}/${dir}" - mkmake || die "Make ${dir} failed" - done -} - -src_install() { - for dir in ${SUBDIRS}; do - einfo "Starting install in ${dir}" - cd "${S}/${dir}" - mkinstall || die "Install ${dir} failed" - done - - cd "${WORKDIR}"/etc - insinto /etc - doins pf.os - newdoc pf.conf pf.conf.example - # pf.initd provided by openrc, but no pf.confd - newconfd "${FILESDIR}/pf.confd" pf -} diff --git a/sys-freebsd/freebsd-rescue/ChangeLog b/sys-freebsd/freebsd-rescue/ChangeLog index 7b70bb0c2728..496164ab3312 100644 --- a/sys-freebsd/freebsd-rescue/ChangeLog +++ b/sys-freebsd/freebsd-rescue/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-freebsd/freebsd-rescue # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-rescue/ChangeLog,v 1.27 2012/01/16 16:37:08 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-rescue/ChangeLog,v 1.28 2012/03/30 15:47:59 aballier Exp $ + + 30 Mar 2012; Alexis Ballier <aballier@gentoo.org> + -freebsd-rescue-9.0_rc1.ebuild, -freebsd-rescue-9.0_rc2.ebuild, + -freebsd-rescue-9.0_rc3.ebuild: + remove old *freebsd-rescue-9.0 (16 Jan 2012) diff --git a/sys-freebsd/freebsd-rescue/freebsd-rescue-9.0_rc1.ebuild b/sys-freebsd/freebsd-rescue/freebsd-rescue-9.0_rc1.ebuild deleted file mode 100644 index 58e5d89513e0..000000000000 --- a/sys-freebsd/freebsd-rescue/freebsd-rescue-9.0_rc1.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# 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" -} diff --git a/sys-freebsd/freebsd-rescue/freebsd-rescue-9.0_rc2.ebuild b/sys-freebsd/freebsd-rescue/freebsd-rescue-9.0_rc2.ebuild deleted file mode 100644 index 750e61a988b8..000000000000 --- a/sys-freebsd/freebsd-rescue/freebsd-rescue-9.0_rc2.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# 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_rc2.ebuild,v 1.1 2011/12/07 17:08:47 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] - dev-libs/openssl[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" -} diff --git a/sys-freebsd/freebsd-rescue/freebsd-rescue-9.0_rc3.ebuild b/sys-freebsd/freebsd-rescue/freebsd-rescue-9.0_rc3.ebuild deleted file mode 100644 index 66b3e6a7616c..000000000000 --- a/sys-freebsd/freebsd-rescue/freebsd-rescue-9.0_rc3.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# 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_rc3.ebuild,v 1.1 2011/12/09 13:22:10 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] - dev-libs/openssl[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" -} diff --git a/sys-freebsd/freebsd-sbin/ChangeLog b/sys-freebsd/freebsd-sbin/ChangeLog index 9b6fef99fffb..4879dba49dc7 100644 --- a/sys-freebsd/freebsd-sbin/ChangeLog +++ b/sys-freebsd/freebsd-sbin/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-freebsd/freebsd-sbin # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-sbin/ChangeLog,v 1.62 2012/01/16 16:37:08 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-sbin/ChangeLog,v 1.63 2012/03/30 15:48:28 aballier Exp $ + + 30 Mar 2012; Alexis Ballier <aballier@gentoo.org> + -freebsd-sbin-9.0_rc1.ebuild, -freebsd-sbin-9.0_rc2.ebuild, + -freebsd-sbin-9.0_rc3.ebuild: + remove old *freebsd-sbin-9.0 (16 Jan 2012) diff --git a/sys-freebsd/freebsd-sbin/freebsd-sbin-9.0_rc1.ebuild b/sys-freebsd/freebsd-sbin/freebsd-sbin-9.0_rc1.ebuild deleted file mode 100644 index d2146e2336e9..000000000000 --- a/sys-freebsd/freebsd-sbin/freebsd-sbin-9.0_rc1.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-sbin/freebsd-sbin-9.0_rc1.ebuild,v 1.1 2011/11/07 12:34:54 aballier Exp $ - -EAPI=2 - -inherit bsdmk freebsd - -DESCRIPTION="FreeBSD sbin utils" -KEYWORDS="~sparc-fbsd ~x86-fbsd" -SLOT="0" - -SRC_URI="mirror://gentoo/${SBIN}.tar.bz2 - mirror://gentoo/${CONTRIB}.tar.bz2 - mirror://gentoo/${LIB}.tar.bz2 - mirror://gentoo/${LIBEXEC}.tar.bz2 - mirror://gentoo/${USBIN}.tar.bz2 - mirror://gentoo/${ETC}.tar.bz2 - build? ( mirror://gentoo/${SYS}.tar.bz2 )" - -RDEPEND="=sys-freebsd/freebsd-lib-${RV}*[ipv6?,atm?,netware?] - =sys-freebsd/freebsd-libexec-${RV}* - >=dev-libs/expat-2.0.1 - ssl? ( dev-libs/openssl ) - sys-libs/readline - sys-process/vixie-cron - atm? ( net-analyzer/bsnmp )" -DEPEND="${RDEPEND} - !build? ( =sys-freebsd/freebsd-sources-${RV}* ) - =sys-freebsd/freebsd-mk-defs-${RV}*" - -S="${WORKDIR}/sbin" - -IUSE="atm ipfilter +pf ipv6 build ssl +cxx netware" - -pkg_setup() { - use atm || mymakeopts="${mymakeopts} WITHOUT_ATM= " - use cxx || mymakeopts="${mymakeopts} WITHOUT_CXX=" - use ipfilter || mymakeopts="${mymakeopts} WITHOUT_IPFILTER= " - use ipv6 || mymakeopts="${mymakeopts} WITHOUT_INET6= WITHOUT_INET6_SUPPORT=" - use netware || mymakeopts="${mymakeopts} WITHOUT_IPX= WITHOUT_IPX_SUPPORT= WITHOUT_NCP= " - use pf || mymakeopts="${mymakeopts} WITHOUT_PF= " - use ssl || mymakeopts="${mymakeopts} WITHOUT_OPENSSL=" -} - -REMOVE_SUBDIRS="dhclient pfctl pflogd rcorder" - -PATCHES=( "${FILESDIR}/${PN}-setXid.patch" - "${FILESDIR}/${PN}-7.1-zlib.patch" - "${FILESDIR}/${PN}-6.2-ldconfig.patch" - "${FILESDIR}/${PN}-6.1-pr102701.patch" - "${FILESDIR}/${PN}-bsdxml2expat.patch" ) - -src_prepare() { - use build || ln -s "/usr/src/sys-${RV}" "${WORKDIR}/sys" -} - -src_install() { - freebsd_src_install - keepdir /var/log - # Needed by ldconfig: - keepdir /var/run - - # Maybe ship our own sysctl.conf so things like radvd work out of the box. - # New wireless config method requires regdomain.xml in /etc - cd "${WORKDIR}/etc/" - insinto /etc - doins minfree sysctl.conf regdomain.xml || die - - # initd script for idmapd - newinitd "${FILESDIR}/idmapd.initd" idmapd - - # Install a crontab for adjkerntz - insinto /etc/cron.d - newins "${FILESDIR}/adjkerntz-crontab" adjkerntz - - # Install the periodic stuff (needs probably to be ported in a more - # gentooish way) - cd "${WORKDIR}/etc/periodic" - - doperiodic security \ - security/*.ipfwlimit \ - security/*.ipfwdenied || die - - use ipfilter && { doperiodic security \ - security/*.ipfdenied || die ; } - - use pf && { doperiodic security \ - security/*.pfdenied || die ; } -} diff --git a/sys-freebsd/freebsd-sbin/freebsd-sbin-9.0_rc2.ebuild b/sys-freebsd/freebsd-sbin/freebsd-sbin-9.0_rc2.ebuild deleted file mode 100644 index 2030f64dcae4..000000000000 --- a/sys-freebsd/freebsd-sbin/freebsd-sbin-9.0_rc2.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-sbin/freebsd-sbin-9.0_rc2.ebuild,v 1.1 2011/12/07 17:09:16 aballier Exp $ - -EAPI=2 - -inherit bsdmk freebsd - -DESCRIPTION="FreeBSD sbin utils" -KEYWORDS="~sparc-fbsd ~x86-fbsd" -SLOT="0" - -SRC_URI="mirror://gentoo/${SBIN}.tar.bz2 - mirror://gentoo/${CONTRIB}.tar.bz2 - mirror://gentoo/${LIB}.tar.bz2 - mirror://gentoo/${LIBEXEC}.tar.bz2 - mirror://gentoo/${USBIN}.tar.bz2 - mirror://gentoo/${ETC}.tar.bz2 - build? ( mirror://gentoo/${SYS}.tar.bz2 )" - -RDEPEND="=sys-freebsd/freebsd-lib-${RV}*[ipv6?,atm?,netware?] - =sys-freebsd/freebsd-libexec-${RV}* - >=dev-libs/expat-2.0.1 - ssl? ( dev-libs/openssl ) - sys-libs/readline - sys-process/vixie-cron - atm? ( net-analyzer/bsnmp )" -DEPEND="${RDEPEND} - !build? ( =sys-freebsd/freebsd-sources-${RV}* ) - =sys-freebsd/freebsd-mk-defs-${RV}*" - -S="${WORKDIR}/sbin" - -IUSE="atm ipfilter +pf ipv6 build ssl +cxx netware" - -pkg_setup() { - use atm || mymakeopts="${mymakeopts} WITHOUT_ATM= " - use cxx || mymakeopts="${mymakeopts} WITHOUT_CXX=" - use ipfilter || mymakeopts="${mymakeopts} WITHOUT_IPFILTER= " - use ipv6 || mymakeopts="${mymakeopts} WITHOUT_INET6= WITHOUT_INET6_SUPPORT=" - use netware || mymakeopts="${mymakeopts} WITHOUT_IPX= WITHOUT_IPX_SUPPORT= WITHOUT_NCP= " - use pf || mymakeopts="${mymakeopts} WITHOUT_PF= " - use ssl || mymakeopts="${mymakeopts} WITHOUT_OPENSSL=" -} - -REMOVE_SUBDIRS="dhclient pfctl pflogd rcorder" - -PATCHES=( "${FILESDIR}/${PN}-setXid.patch" - "${FILESDIR}/${PN}-7.1-zlib.patch" - "${FILESDIR}/${PN}-6.2-ldconfig.patch" - "${FILESDIR}/${PN}-6.1-pr102701.patch" - "${FILESDIR}/${PN}-bsdxml2expat.patch" ) - -src_prepare() { - use build || ln -s "/usr/src/sys-${RV}" "${WORKDIR}/sys" -} - -src_install() { - freebsd_src_install - keepdir /var/log - # Needed by ldconfig: - keepdir /var/run - - # Maybe ship our own sysctl.conf so things like radvd work out of the box. - # New wireless config method requires regdomain.xml in /etc - cd "${WORKDIR}/etc/" - insinto /etc - doins minfree sysctl.conf regdomain.xml || die - - # initd script for idmapd - newinitd "${FILESDIR}/idmapd.initd" idmapd - - # Install a crontab for adjkerntz - insinto /etc/cron.d - newins "${FILESDIR}/adjkerntz-crontab" adjkerntz - - # Install the periodic stuff (needs probably to be ported in a more - # gentooish way) - cd "${WORKDIR}/etc/periodic" - - doperiodic security \ - security/*.ipfwlimit \ - security/*.ipfwdenied || die - - use ipfilter && { doperiodic security \ - security/*.ipfdenied || die ; } - - use pf && { doperiodic security \ - security/*.pfdenied || die ; } -} diff --git a/sys-freebsd/freebsd-sbin/freebsd-sbin-9.0_rc3.ebuild b/sys-freebsd/freebsd-sbin/freebsd-sbin-9.0_rc3.ebuild deleted file mode 100644 index bd94d1104046..000000000000 --- a/sys-freebsd/freebsd-sbin/freebsd-sbin-9.0_rc3.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-sbin/freebsd-sbin-9.0_rc3.ebuild,v 1.1 2011/12/09 13:22:37 aballier Exp $ - -EAPI=2 - -inherit bsdmk freebsd - -DESCRIPTION="FreeBSD sbin utils" -KEYWORDS="~sparc-fbsd ~x86-fbsd" -SLOT="0" - -SRC_URI="mirror://gentoo/${SBIN}.tar.bz2 - mirror://gentoo/${CONTRIB}.tar.bz2 - mirror://gentoo/${LIB}.tar.bz2 - mirror://gentoo/${LIBEXEC}.tar.bz2 - mirror://gentoo/${USBIN}.tar.bz2 - mirror://gentoo/${ETC}.tar.bz2 - build? ( mirror://gentoo/${SYS}.tar.bz2 )" - -RDEPEND="=sys-freebsd/freebsd-lib-${RV}*[ipv6?,atm?,netware?] - =sys-freebsd/freebsd-libexec-${RV}* - >=dev-libs/expat-2.0.1 - ssl? ( dev-libs/openssl ) - sys-libs/readline - sys-process/vixie-cron - atm? ( net-analyzer/bsnmp )" -DEPEND="${RDEPEND} - !build? ( =sys-freebsd/freebsd-sources-${RV}* ) - =sys-freebsd/freebsd-mk-defs-${RV}*" - -S="${WORKDIR}/sbin" - -IUSE="atm ipfilter +pf ipv6 build ssl +cxx netware" - -pkg_setup() { - use atm || mymakeopts="${mymakeopts} WITHOUT_ATM= " - use cxx || mymakeopts="${mymakeopts} WITHOUT_CXX=" - use ipfilter || mymakeopts="${mymakeopts} WITHOUT_IPFILTER= " - use ipv6 || mymakeopts="${mymakeopts} WITHOUT_INET6= WITHOUT_INET6_SUPPORT=" - use netware || mymakeopts="${mymakeopts} WITHOUT_IPX= WITHOUT_IPX_SUPPORT= WITHOUT_NCP= " - use pf || mymakeopts="${mymakeopts} WITHOUT_PF= " - use ssl || mymakeopts="${mymakeopts} WITHOUT_OPENSSL=" -} - -REMOVE_SUBDIRS="dhclient pfctl pflogd rcorder" - -PATCHES=( "${FILESDIR}/${PN}-setXid.patch" - "${FILESDIR}/${PN}-7.1-zlib.patch" - "${FILESDIR}/${PN}-6.2-ldconfig.patch" - "${FILESDIR}/${PN}-6.1-pr102701.patch" - "${FILESDIR}/${PN}-bsdxml2expat.patch" ) - -src_prepare() { - use build || ln -s "/usr/src/sys-${RV}" "${WORKDIR}/sys" -} - -src_install() { - freebsd_src_install - keepdir /var/log - # Needed by ldconfig: - keepdir /var/run - - # Maybe ship our own sysctl.conf so things like radvd work out of the box. - # New wireless config method requires regdomain.xml in /etc - cd "${WORKDIR}/etc/" - insinto /etc - doins minfree sysctl.conf regdomain.xml || die - - # initd script for idmapd - newinitd "${FILESDIR}/idmapd.initd" idmapd - - # Install a crontab for adjkerntz - insinto /etc/cron.d - newins "${FILESDIR}/adjkerntz-crontab" adjkerntz - - # Install the periodic stuff (needs probably to be ported in a more - # gentooish way) - cd "${WORKDIR}/etc/periodic" - - doperiodic security \ - security/*.ipfwlimit \ - security/*.ipfwdenied || die - - use ipfilter && { doperiodic security \ - security/*.ipfdenied || die ; } - - use pf && { doperiodic security \ - security/*.pfdenied || die ; } -} diff --git a/sys-freebsd/freebsd-share/ChangeLog b/sys-freebsd/freebsd-share/ChangeLog index 7988a2f77f86..2a92588e42fd 100644 --- a/sys-freebsd/freebsd-share/ChangeLog +++ b/sys-freebsd/freebsd-share/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-freebsd/freebsd-share # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-share/ChangeLog,v 1.41 2012/01/16 16:37:08 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-share/ChangeLog,v 1.42 2012/03/30 15:48:55 aballier Exp $ + + 30 Mar 2012; Alexis Ballier <aballier@gentoo.org> + -freebsd-share-9.0_rc1.ebuild, -freebsd-share-9.0_rc2.ebuild, + -freebsd-share-9.0_rc3.ebuild: + remove old *freebsd-share-9.0 (16 Jan 2012) diff --git a/sys-freebsd/freebsd-share/freebsd-share-9.0_rc1.ebuild b/sys-freebsd/freebsd-share/freebsd-share-9.0_rc1.ebuild deleted file mode 100644 index 06252dbaff5a..000000000000 --- a/sys-freebsd/freebsd-share/freebsd-share-9.0_rc1.ebuild +++ /dev/null @@ -1,85 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-share/freebsd-share-9.0_rc1.ebuild,v 1.1 2011/11/07 12:36:14 aballier Exp $ - -inherit bsdmk freebsd - -DESCRIPTION="FreeBSD shared tools/files" -SLOT="0" -KEYWORDS="~sparc-fbsd ~x86-fbsd" - -IUSE="doc isdn" - -SRC_URI="mirror://gentoo/${SHARE}.tar.bz2 - mirror://gentoo/${CONTRIB}.tar.bz2 - mirror://gentoo/${GNU}.tar.bz2 - mirror://gentoo/${UBIN}.tar.bz2 - mirror://gentoo/${USBIN}.tar.bz2 - mirror://gentoo/${SBIN}.tar.bz2 - mirror://gentoo/${BIN}.tar.bz2 - mirror://gentoo/${LIB}.tar.bz2 - mirror://gentoo/${ETC}.tar.bz2" - -DEPEND="=sys-freebsd/freebsd-mk-defs-${RV}* - =sys-freebsd/freebsd-sources-${RV}*" -RDEPEND="sys-apps/miscfiles" - -RESTRICT="strip" - -S="${WORKDIR}/share" - -pkg_setup() { - use isdn || mymakeopts="${mymakeopts} NO_I4B= " - use doc || mymakeopts="${mymakeopts} NO_SHAREDOCS= " - - mymakeopts="${mymakeopts} NO_SENDMAIL= NO_MANCOMPRESS= NO_INFOCOMPRESS= " -} - -REMOVE_SUBDIRS="mk termcap zoneinfo tabset" - -PATCHES=( "${FILESDIR}/${PN}-5.3-doc-locations.patch" - "${FILESDIR}/${PN}-5.4-gentoo-skel.patch" - "${FILESDIR}/${PN}-8.0-gnu-miscfiles.patch" ) - -src_unpack() { - freebsd_src_unpack - - # Remove make.conf manpage as it describes bsdmk's make.conf. - sed -i -e 's:make.conf.5::' "${S}/man/man5/Makefile" - # Remove mailer.conf manpage - sed -i -e 's:mailer.conf.5::' "${S}/man/man5/Makefile" - # Remove pbm and moduli(ssh) manpages - sed -i -e 's:pbm.5::' -e 's:moduli.5::' "${S}/man/man5/Makefile" - # Remove builtins manpage - sed -i -e '/builtins\.1/d' "${S}/man/man1/Makefile" - # Remove rc manpages - sed -i -e '/rc.8/d' "${S}/man/man8/Makefile" - - # Don't install the arch-specific directories in subdirectories - sed -i -e '/MANSUBDIR/d' "${S}"/man/man4/man4.{i386,sparc64}/Makefile - - # Remove them so that they can't be included by error - rm -rf "${S}"/mk/*.mk - - # Make proper symlinks by defining the full target. - local sdir - for sdir in colldef mklocale monetdef msgdef numericdef timedef - do - sed -e 's:\${enc2}$:\${enc2}/\${FILESNAME}:g' -i \ - "${S}/${sdir}/Makefile" || \ - die "Error fixing ${sdir}/Makefile" - done - ln -s "/usr/src/sys-${RV}" "${WORKDIR}/sys" || die "failed to set sys symlink" -} - -src_compile() { - export ESED="/usr/bin/sed" - - # This is a groff problem and not a -shared problem. - export GROFF_TMAC_PATH="/usr/share/tmac/:/usr/share/groff/1.19.1/tmac/" - mkmake || die "emake failed" -} - -src_install() { - mkmake -j1 DESTDIR="${D}" DOCDIR=/usr/share/doc/${PF} install || die "Install failed" -} diff --git a/sys-freebsd/freebsd-share/freebsd-share-9.0_rc2.ebuild b/sys-freebsd/freebsd-share/freebsd-share-9.0_rc2.ebuild deleted file mode 100644 index 548ccdc834e0..000000000000 --- a/sys-freebsd/freebsd-share/freebsd-share-9.0_rc2.ebuild +++ /dev/null @@ -1,85 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-share/freebsd-share-9.0_rc2.ebuild,v 1.1 2011/12/07 17:09:42 aballier Exp $ - -inherit bsdmk freebsd - -DESCRIPTION="FreeBSD shared tools/files" -SLOT="0" -KEYWORDS="~sparc-fbsd ~x86-fbsd" - -IUSE="doc isdn" - -SRC_URI="mirror://gentoo/${SHARE}.tar.bz2 - mirror://gentoo/${CONTRIB}.tar.bz2 - mirror://gentoo/${GNU}.tar.bz2 - mirror://gentoo/${UBIN}.tar.bz2 - mirror://gentoo/${USBIN}.tar.bz2 - mirror://gentoo/${SBIN}.tar.bz2 - mirror://gentoo/${BIN}.tar.bz2 - mirror://gentoo/${LIB}.tar.bz2 - mirror://gentoo/${ETC}.tar.bz2" - -DEPEND="=sys-freebsd/freebsd-mk-defs-${RV}* - =sys-freebsd/freebsd-sources-${RV}*" -RDEPEND="sys-apps/miscfiles" - -RESTRICT="strip" - -S="${WORKDIR}/share" - -pkg_setup() { - use isdn || mymakeopts="${mymakeopts} NO_I4B= " - use doc || mymakeopts="${mymakeopts} NO_SHAREDOCS= " - - mymakeopts="${mymakeopts} NO_SENDMAIL= NO_MANCOMPRESS= NO_INFOCOMPRESS= " -} - -REMOVE_SUBDIRS="mk termcap zoneinfo tabset" - -PATCHES=( "${FILESDIR}/${PN}-5.3-doc-locations.patch" - "${FILESDIR}/${PN}-5.4-gentoo-skel.patch" - "${FILESDIR}/${PN}-8.0-gnu-miscfiles.patch" ) - -src_unpack() { - freebsd_src_unpack - - # Remove make.conf manpage as it describes bsdmk's make.conf. - sed -i -e 's:make.conf.5::' "${S}/man/man5/Makefile" - # Remove mailer.conf manpage - sed -i -e 's:mailer.conf.5::' "${S}/man/man5/Makefile" - # Remove pbm and moduli(ssh) manpages - sed -i -e 's:pbm.5::' -e 's:moduli.5::' "${S}/man/man5/Makefile" - # Remove builtins manpage - sed -i -e '/builtins\.1/d' "${S}/man/man1/Makefile" - # Remove rc manpages - sed -i -e '/rc.8/d' "${S}/man/man8/Makefile" - - # Don't install the arch-specific directories in subdirectories - sed -i -e '/MANSUBDIR/d' "${S}"/man/man4/man4.{i386,sparc64}/Makefile - - # Remove them so that they can't be included by error - rm -rf "${S}"/mk/*.mk - - # Make proper symlinks by defining the full target. - local sdir - for sdir in colldef mklocale monetdef msgdef numericdef timedef - do - sed -e 's:\${enc2}$:\${enc2}/\${FILESNAME}:g' -i \ - "${S}/${sdir}/Makefile" || \ - die "Error fixing ${sdir}/Makefile" - done - ln -s "/usr/src/sys-${RV}" "${WORKDIR}/sys" || die "failed to set sys symlink" -} - -src_compile() { - export ESED="/usr/bin/sed" - - # This is a groff problem and not a -shared problem. - export GROFF_TMAC_PATH="/usr/share/tmac/:/usr/share/groff/1.19.1/tmac/" - mkmake || die "emake failed" -} - -src_install() { - mkmake -j1 DESTDIR="${D}" DOCDIR=/usr/share/doc/${PF} install || die "Install failed" -} diff --git a/sys-freebsd/freebsd-share/freebsd-share-9.0_rc3.ebuild b/sys-freebsd/freebsd-share/freebsd-share-9.0_rc3.ebuild deleted file mode 100644 index b26533c29cc6..000000000000 --- a/sys-freebsd/freebsd-share/freebsd-share-9.0_rc3.ebuild +++ /dev/null @@ -1,85 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-share/freebsd-share-9.0_rc3.ebuild,v 1.1 2011/12/09 13:23:04 aballier Exp $ - -inherit bsdmk freebsd - -DESCRIPTION="FreeBSD shared tools/files" -SLOT="0" -KEYWORDS="~sparc-fbsd ~x86-fbsd" - -IUSE="doc isdn" - -SRC_URI="mirror://gentoo/${SHARE}.tar.bz2 - mirror://gentoo/${CONTRIB}.tar.bz2 - mirror://gentoo/${GNU}.tar.bz2 - mirror://gentoo/${UBIN}.tar.bz2 - mirror://gentoo/${USBIN}.tar.bz2 - mirror://gentoo/${SBIN}.tar.bz2 - mirror://gentoo/${BIN}.tar.bz2 - mirror://gentoo/${LIB}.tar.bz2 - mirror://gentoo/${ETC}.tar.bz2" - -DEPEND="=sys-freebsd/freebsd-mk-defs-${RV}* - =sys-freebsd/freebsd-sources-${RV}*" -RDEPEND="sys-apps/miscfiles" - -RESTRICT="strip" - -S="${WORKDIR}/share" - -pkg_setup() { - use isdn || mymakeopts="${mymakeopts} NO_I4B= " - use doc || mymakeopts="${mymakeopts} NO_SHAREDOCS= " - - mymakeopts="${mymakeopts} NO_SENDMAIL= NO_MANCOMPRESS= NO_INFOCOMPRESS= " -} - -REMOVE_SUBDIRS="mk termcap zoneinfo tabset" - -PATCHES=( "${FILESDIR}/${PN}-5.3-doc-locations.patch" - "${FILESDIR}/${PN}-5.4-gentoo-skel.patch" - "${FILESDIR}/${PN}-8.0-gnu-miscfiles.patch" ) - -src_unpack() { - freebsd_src_unpack - - # Remove make.conf manpage as it describes bsdmk's make.conf. - sed -i -e 's:make.conf.5::' "${S}/man/man5/Makefile" - # Remove mailer.conf manpage - sed -i -e 's:mailer.conf.5::' "${S}/man/man5/Makefile" - # Remove pbm and moduli(ssh) manpages - sed -i -e 's:pbm.5::' -e 's:moduli.5::' "${S}/man/man5/Makefile" - # Remove builtins manpage - sed -i -e '/builtins\.1/d' "${S}/man/man1/Makefile" - # Remove rc manpages - sed -i -e '/rc.8/d' "${S}/man/man8/Makefile" - - # Don't install the arch-specific directories in subdirectories - sed -i -e '/MANSUBDIR/d' "${S}"/man/man4/man4.{i386,sparc64}/Makefile - - # Remove them so that they can't be included by error - rm -rf "${S}"/mk/*.mk - - # Make proper symlinks by defining the full target. - local sdir - for sdir in colldef mklocale monetdef msgdef numericdef timedef - do - sed -e 's:\${enc2}$:\${enc2}/\${FILESNAME}:g' -i \ - "${S}/${sdir}/Makefile" || \ - die "Error fixing ${sdir}/Makefile" - done - ln -s "/usr/src/sys-${RV}" "${WORKDIR}/sys" || die "failed to set sys symlink" -} - -src_compile() { - export ESED="/usr/bin/sed" - - # This is a groff problem and not a -shared problem. - export GROFF_TMAC_PATH="/usr/share/tmac/:/usr/share/groff/1.19.1/tmac/" - mkmake || die "emake failed" -} - -src_install() { - mkmake -j1 DESTDIR="${D}" DOCDIR=/usr/share/doc/${PF} install || die "Install failed" -} diff --git a/sys-freebsd/freebsd-sources/ChangeLog b/sys-freebsd/freebsd-sources/ChangeLog index 8f5ea9f9e28f..3119f83ad09f 100644 --- a/sys-freebsd/freebsd-sources/ChangeLog +++ b/sys-freebsd/freebsd-sources/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-freebsd/freebsd-sources # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-sources/ChangeLog,v 1.62 2012/01/16 16:37:08 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-sources/ChangeLog,v 1.63 2012/03/30 15:49:23 aballier Exp $ + + 30 Mar 2012; Alexis Ballier <aballier@gentoo.org> + -freebsd-sources-9.0_rc1.ebuild, -freebsd-sources-9.0_rc2.ebuild, + -freebsd-sources-9.0_rc3.ebuild: + remove old *freebsd-sources-9.0 (16 Jan 2012) diff --git a/sys-freebsd/freebsd-sources/freebsd-sources-9.0_rc1.ebuild b/sys-freebsd/freebsd-sources/freebsd-sources-9.0_rc1.ebuild deleted file mode 100644 index 81494d4bd81d..000000000000 --- a/sys-freebsd/freebsd-sources/freebsd-sources-9.0_rc1.ebuild +++ /dev/null @@ -1,103 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-sources/freebsd-sources-9.0_rc1.ebuild,v 1.1 2011/11/07 12:38:02 aballier Exp $ - -inherit bsdmk freebsd flag-o-matic - -DESCRIPTION="FreeBSD kernel sources" -SLOT="${PVR}" -KEYWORDS="~sparc-fbsd ~x86-fbsd" - -IUSE="symlink" - -SRC_URI="mirror://gentoo/${SYS}.tar.bz2" - -RDEPEND=">=sys-freebsd/freebsd-mk-defs-8.0" -DEPEND="" - -RESTRICT="strip binchecks" - -S="${WORKDIR}/sys" - -MY_PVR="${PVR}" - -[[ ${MY_PVR} == "${RV}" ]] && MY_PVR="${MY_PVR}-r0" - -src_unpack() { - unpack ${A} - cd "${S}" - - # This replaces the gentoover patch, it doesn't need reapply every time. - sed -i -e 's:^REVISION=.*:REVISION="'${PVR}'":' \ - -e 's:^BRANCH=.*:BRANCH="Gentoo":' \ - -e 's:^VERSION=.*:VERSION="${TYPE} ${BRANCH} ${REVISION}":' \ - "${S}/conf/newvers.sh" - - # __FreeBSD_cc_version comes from FreeBSD's gcc. - # on 8.2-RELEASE it's 800001. - sed -e "s:-D_KERNEL:-D_KERNEL -D__FreeBSD_cc_version=800001:g" \ - -i "${S}/conf/kern.pre.mk" \ - -i "${S}/conf/kmod.mk" || die "Couldn't set __FreeBSD_cc_version" - - # Remove -Werror - sed -e "s:-Werror:-Wno-error:g" \ - -i "${S}/conf/kern.pre.mk" \ - -i "${S}/conf/kmod.mk" || die - - epatch "${FILESDIR}/${PN}-9.0-gentoo.patch" - epatch "${FILESDIR}/${PN}-6.0-flex-2.5.31.patch" - sed -e 's/elf64-sparc/elf64-sparc-freebsd/g' -i "${S}/conf/ldscript.sparc64" || die - epatch "${FILESDIR}/${PN}-6.1-ntfs.patch" - epatch "${FILESDIR}/${PN}-7.1-types.h-fix.patch" - epatch "${FILESDIR}/${PN}-8.0-subnet-route-pr40133.patch" - epatch "${FILESDIR}/${PN}-7.1-includes.patch" - - # By adding -DGENTOO_LIVECD to CFLAGS activate this stub - # vop_whiteout to tmpfs, so it can be used as an overlay - # unionfs filesystem over the cd9660 readonly filesystem. - epatch "${FILESDIR}/${PN}-7.0-tmpfs_whiteout_stub.patch" - - # See http://sourceware.org/bugzilla/show_bug.cgi?id=5391 - # ld doesn't provide symbols constructed as the __start_set_(s) ones - # are on FreeBSD modules. - # This patch adds code to generate a list of these and adds them - # as undefined references to ld's commandline to get them. - # Without this kernel modules will not load. - #epatch "${FILESDIR}/${PN}-7.1-binutils_link.patch" -} - -src_compile() { - einfo "Nothing to compile.." -} - -src_install() { - insinto "/usr/src/sys-${MY_PVR}" - doins -r "${S}/"* -} - -pkg_postinst() { - if [[ ! -L "${ROOT}/usr/src/sys" ]]; then - einfo "/usr/src/sys symlink doesn't exist; creating symlink to sys-${MY_PVR}..." - ln -sf "sys-${MY_PVR}" "${ROOT}/usr/src/sys" || \ - eerror "Couldn't create ${ROOT}/usr/src/sys symlink." - # just in case... - [[ -L ""${ROOT}/usr/src/sys-${RV}"" ]] && rm "${ROOT}/usr/src/sys-${RV}" - ln -sf "sys-${MY_PVR}" "${ROOT}/usr/src/sys-${RV}" || \ - eerror "Couldn't create ${ROOT}/usr/src/sys-${RV} symlink." - elif use symlink; then - einfo "Updating /usr/src/sys symlink to sys-${MY_PVR}..." - rm "${ROOT}/usr/src/sys" "${ROOT}/usr/src/sys-${RV}" || \ - eerror "Couldn't remove previous symlinks, please fix manually." - ln -sf "sys-${MY_PVR}" "${ROOT}/usr/src/sys" || \ - eerror "Couldn't create ${ROOT}/usr/src/sys symlink." - ln -sf "sys-${MY_PVR}" "${ROOT}/usr/src/sys-${RV}" || \ - eerror "Couldn't create ${ROOT}/usr/src/sys-${RV} symlink." - fi - - if use sparc-fbsd ; then - ewarn "WARNING: kldload currently causes kernel panics" - ewarn "on sparc64. This is probably a gcc-4.1 issue, but" - ewarn "we need gcc-4.1 to compile the kernel correctly :/" - ewarn "Please compile all modules you need into the kernel" - fi -} diff --git a/sys-freebsd/freebsd-sources/freebsd-sources-9.0_rc2.ebuild b/sys-freebsd/freebsd-sources/freebsd-sources-9.0_rc2.ebuild deleted file mode 100644 index 16bc71f3f80f..000000000000 --- a/sys-freebsd/freebsd-sources/freebsd-sources-9.0_rc2.ebuild +++ /dev/null @@ -1,103 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-sources/freebsd-sources-9.0_rc2.ebuild,v 1.1 2011/12/07 17:10:09 aballier Exp $ - -inherit bsdmk freebsd flag-o-matic - -DESCRIPTION="FreeBSD kernel sources" -SLOT="${PVR}" -KEYWORDS="~sparc-fbsd ~x86-fbsd" - -IUSE="symlink" - -SRC_URI="mirror://gentoo/${SYS}.tar.bz2" - -RDEPEND=">=sys-freebsd/freebsd-mk-defs-8.0" -DEPEND="" - -RESTRICT="strip binchecks" - -S="${WORKDIR}/sys" - -MY_PVR="${PVR}" - -[[ ${MY_PVR} == "${RV}" ]] && MY_PVR="${MY_PVR}-r0" - -src_unpack() { - unpack ${A} - cd "${S}" - - # This replaces the gentoover patch, it doesn't need reapply every time. - sed -i -e 's:^REVISION=.*:REVISION="'${PVR}'":' \ - -e 's:^BRANCH=.*:BRANCH="Gentoo":' \ - -e 's:^VERSION=.*:VERSION="${TYPE} ${BRANCH} ${REVISION}":' \ - "${S}/conf/newvers.sh" - - # __FreeBSD_cc_version comes from FreeBSD's gcc. - # on 8.2-RELEASE it's 800001. - sed -e "s:-D_KERNEL:-D_KERNEL -D__FreeBSD_cc_version=800001:g" \ - -i "${S}/conf/kern.pre.mk" \ - -i "${S}/conf/kmod.mk" || die "Couldn't set __FreeBSD_cc_version" - - # Remove -Werror - sed -e "s:-Werror:-Wno-error:g" \ - -i "${S}/conf/kern.pre.mk" \ - -i "${S}/conf/kmod.mk" || die - - epatch "${FILESDIR}/${PN}-9.0-gentoo.patch" - epatch "${FILESDIR}/${PN}-6.0-flex-2.5.31.patch" - sed -e 's/elf64-sparc/elf64-sparc-freebsd/g' -i "${S}/conf/ldscript.sparc64" || die - epatch "${FILESDIR}/${PN}-6.1-ntfs.patch" - epatch "${FILESDIR}/${PN}-7.1-types.h-fix.patch" - epatch "${FILESDIR}/${PN}-8.0-subnet-route-pr40133.patch" - epatch "${FILESDIR}/${PN}-7.1-includes.patch" - - # By adding -DGENTOO_LIVECD to CFLAGS activate this stub - # vop_whiteout to tmpfs, so it can be used as an overlay - # unionfs filesystem over the cd9660 readonly filesystem. - epatch "${FILESDIR}/${PN}-7.0-tmpfs_whiteout_stub.patch" - - # See http://sourceware.org/bugzilla/show_bug.cgi?id=5391 - # ld doesn't provide symbols constructed as the __start_set_(s) ones - # are on FreeBSD modules. - # This patch adds code to generate a list of these and adds them - # as undefined references to ld's commandline to get them. - # Without this kernel modules will not load. - #epatch "${FILESDIR}/${PN}-7.1-binutils_link.patch" -} - -src_compile() { - einfo "Nothing to compile.." -} - -src_install() { - insinto "/usr/src/sys-${MY_PVR}" - doins -r "${S}/"* -} - -pkg_postinst() { - if [[ ! -L "${ROOT}/usr/src/sys" ]]; then - einfo "/usr/src/sys symlink doesn't exist; creating symlink to sys-${MY_PVR}..." - ln -sf "sys-${MY_PVR}" "${ROOT}/usr/src/sys" || \ - eerror "Couldn't create ${ROOT}/usr/src/sys symlink." - # just in case... - [[ -L ""${ROOT}/usr/src/sys-${RV}"" ]] && rm "${ROOT}/usr/src/sys-${RV}" - ln -sf "sys-${MY_PVR}" "${ROOT}/usr/src/sys-${RV}" || \ - eerror "Couldn't create ${ROOT}/usr/src/sys-${RV} symlink." - elif use symlink; then - einfo "Updating /usr/src/sys symlink to sys-${MY_PVR}..." - rm "${ROOT}/usr/src/sys" "${ROOT}/usr/src/sys-${RV}" || \ - eerror "Couldn't remove previous symlinks, please fix manually." - ln -sf "sys-${MY_PVR}" "${ROOT}/usr/src/sys" || \ - eerror "Couldn't create ${ROOT}/usr/src/sys symlink." - ln -sf "sys-${MY_PVR}" "${ROOT}/usr/src/sys-${RV}" || \ - eerror "Couldn't create ${ROOT}/usr/src/sys-${RV} symlink." - fi - - if use sparc-fbsd ; then - ewarn "WARNING: kldload currently causes kernel panics" - ewarn "on sparc64. This is probably a gcc-4.1 issue, but" - ewarn "we need gcc-4.1 to compile the kernel correctly :/" - ewarn "Please compile all modules you need into the kernel" - fi -} diff --git a/sys-freebsd/freebsd-sources/freebsd-sources-9.0_rc3.ebuild b/sys-freebsd/freebsd-sources/freebsd-sources-9.0_rc3.ebuild deleted file mode 100644 index 3a2206ce4502..000000000000 --- a/sys-freebsd/freebsd-sources/freebsd-sources-9.0_rc3.ebuild +++ /dev/null @@ -1,103 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-sources/freebsd-sources-9.0_rc3.ebuild,v 1.1 2011/12/09 13:23:31 aballier Exp $ - -inherit bsdmk freebsd flag-o-matic - -DESCRIPTION="FreeBSD kernel sources" -SLOT="${PVR}" -KEYWORDS="~sparc-fbsd ~x86-fbsd" - -IUSE="symlink" - -SRC_URI="mirror://gentoo/${SYS}.tar.bz2" - -RDEPEND=">=sys-freebsd/freebsd-mk-defs-8.0" -DEPEND="" - -RESTRICT="strip binchecks" - -S="${WORKDIR}/sys" - -MY_PVR="${PVR}" - -[[ ${MY_PVR} == "${RV}" ]] && MY_PVR="${MY_PVR}-r0" - -src_unpack() { - unpack ${A} - cd "${S}" - - # This replaces the gentoover patch, it doesn't need reapply every time. - sed -i -e 's:^REVISION=.*:REVISION="'${PVR}'":' \ - -e 's:^BRANCH=.*:BRANCH="Gentoo":' \ - -e 's:^VERSION=.*:VERSION="${TYPE} ${BRANCH} ${REVISION}":' \ - "${S}/conf/newvers.sh" - - # __FreeBSD_cc_version comes from FreeBSD's gcc. - # on 8.2-RELEASE it's 800001. - sed -e "s:-D_KERNEL:-D_KERNEL -D__FreeBSD_cc_version=800001:g" \ - -i "${S}/conf/kern.pre.mk" \ - -i "${S}/conf/kmod.mk" || die "Couldn't set __FreeBSD_cc_version" - - # Remove -Werror - sed -e "s:-Werror:-Wno-error:g" \ - -i "${S}/conf/kern.pre.mk" \ - -i "${S}/conf/kmod.mk" || die - - epatch "${FILESDIR}/${PN}-9.0-gentoo.patch" - epatch "${FILESDIR}/${PN}-6.0-flex-2.5.31.patch" - sed -e 's/elf64-sparc/elf64-sparc-freebsd/g' -i "${S}/conf/ldscript.sparc64" || die - epatch "${FILESDIR}/${PN}-6.1-ntfs.patch" - epatch "${FILESDIR}/${PN}-7.1-types.h-fix.patch" - epatch "${FILESDIR}/${PN}-8.0-subnet-route-pr40133.patch" - epatch "${FILESDIR}/${PN}-7.1-includes.patch" - - # By adding -DGENTOO_LIVECD to CFLAGS activate this stub - # vop_whiteout to tmpfs, so it can be used as an overlay - # unionfs filesystem over the cd9660 readonly filesystem. - epatch "${FILESDIR}/${PN}-7.0-tmpfs_whiteout_stub.patch" - - # See http://sourceware.org/bugzilla/show_bug.cgi?id=5391 - # ld doesn't provide symbols constructed as the __start_set_(s) ones - # are on FreeBSD modules. - # This patch adds code to generate a list of these and adds them - # as undefined references to ld's commandline to get them. - # Without this kernel modules will not load. - #epatch "${FILESDIR}/${PN}-7.1-binutils_link.patch" -} - -src_compile() { - einfo "Nothing to compile.." -} - -src_install() { - insinto "/usr/src/sys-${MY_PVR}" - doins -r "${S}/"* -} - -pkg_postinst() { - if [[ ! -L "${ROOT}/usr/src/sys" ]]; then - einfo "/usr/src/sys symlink doesn't exist; creating symlink to sys-${MY_PVR}..." - ln -sf "sys-${MY_PVR}" "${ROOT}/usr/src/sys" || \ - eerror "Couldn't create ${ROOT}/usr/src/sys symlink." - # just in case... - [[ -L ""${ROOT}/usr/src/sys-${RV}"" ]] && rm "${ROOT}/usr/src/sys-${RV}" - ln -sf "sys-${MY_PVR}" "${ROOT}/usr/src/sys-${RV}" || \ - eerror "Couldn't create ${ROOT}/usr/src/sys-${RV} symlink." - elif use symlink; then - einfo "Updating /usr/src/sys symlink to sys-${MY_PVR}..." - rm "${ROOT}/usr/src/sys" "${ROOT}/usr/src/sys-${RV}" || \ - eerror "Couldn't remove previous symlinks, please fix manually." - ln -sf "sys-${MY_PVR}" "${ROOT}/usr/src/sys" || \ - eerror "Couldn't create ${ROOT}/usr/src/sys symlink." - ln -sf "sys-${MY_PVR}" "${ROOT}/usr/src/sys-${RV}" || \ - eerror "Couldn't create ${ROOT}/usr/src/sys-${RV} symlink." - fi - - if use sparc-fbsd ; then - ewarn "WARNING: kldload currently causes kernel panics" - ewarn "on sparc64. This is probably a gcc-4.1 issue, but" - ewarn "we need gcc-4.1 to compile the kernel correctly :/" - ewarn "Please compile all modules you need into the kernel" - fi -} diff --git a/sys-freebsd/freebsd-ubin/ChangeLog b/sys-freebsd/freebsd-ubin/ChangeLog index 7b58ad4b0567..3587d7eff7fd 100644 --- a/sys-freebsd/freebsd-ubin/ChangeLog +++ b/sys-freebsd/freebsd-ubin/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-freebsd/freebsd-ubin # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-ubin/ChangeLog,v 1.75 2012/01/16 16:37:09 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-ubin/ChangeLog,v 1.76 2012/03/30 15:49:52 aballier Exp $ + + 30 Mar 2012; Alexis Ballier <aballier@gentoo.org> + -freebsd-ubin-9.0_rc1.ebuild, -freebsd-ubin-9.0_rc2.ebuild, + -freebsd-ubin-9.0_rc3.ebuild: + remove old *freebsd-ubin-9.0 (16 Jan 2012) diff --git a/sys-freebsd/freebsd-ubin/freebsd-ubin-9.0_rc1.ebuild b/sys-freebsd/freebsd-ubin/freebsd-ubin-9.0_rc1.ebuild deleted file mode 100644 index d995573685db..000000000000 --- a/sys-freebsd/freebsd-ubin/freebsd-ubin-9.0_rc1.ebuild +++ /dev/null @@ -1,154 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-ubin/freebsd-ubin-9.0_rc1.ebuild,v 1.2 2011/11/07 13:51:24 aballier Exp $ - -EAPI=2 - -inherit bsdmk freebsd flag-o-matic pam - -DESCRIPTION="FreeBSD's base system source for /usr/bin" -SLOT="0" -KEYWORDS="~sparc-fbsd ~x86-fbsd" -IUSE="ar atm audit bluetooth ipv6 kerberos netware nis ssl usb build zfs" -LICENSE="BSD zfs? ( CDDL )" - -SRC_URI="mirror://gentoo/${UBIN}.tar.bz2 - mirror://gentoo/${CONTRIB}.tar.bz2 - mirror://gentoo/${LIB}.tar.bz2 - mirror://gentoo/${ETC}.tar.bz2 - mirror://gentoo/${BIN}.tar.bz2 - mirror://gentoo/${INCLUDE}.tar.bz2 - zfs? ( mirror://gentoo/${CDDL}.tar.bz2 ) - build? ( mirror://gentoo/${SYS}.tar.bz2 )" - -RDEPEND="=sys-freebsd/freebsd-lib-${RV}*[usb?,bluetooth?] - ssl? ( dev-libs/openssl ) - kerberos? ( virtual/krb5 ) - ar? ( app-arch/libarchive ) - virtual/pam - sys-libs/zlib - >=sys-libs/ncurses-5.9 - !sys-process/fuser-bsd - !dev-util/csup" - -DEPEND="${RDEPEND} - sys-devel/flex - !build? ( =sys-freebsd/freebsd-sources-${RV}* ) - =sys-freebsd/freebsd-mk-defs-${RV}*" - -RDEPEND="${RDEPEND} - >=sys-auth/pambase-20080219.1 - sys-process/cronbase" - -S="${WORKDIR}/usr.bin" - -PATCHES=( "${FILESDIR}/${PN}-6.0-bsdcmp.patch" - "${FILESDIR}/${PN}-9.0-fixmakefiles.patch" - "${FILESDIR}/${PN}-setXid.patch" - "${FILESDIR}/${PN}-lint-stdarg.patch" - "${FILESDIR}/${PN}-6.0-kdump-ioctl.patch" - "${FILESDIR}/${PN}-8.0-xinstall.patch" - "${FILESDIR}/${PN}-8.0-bsdar.patch" ) - -# Here we remove some sources we don't need because they are already -# provided by portage's packages or similar. In order: -# - Archiving tools, provided by their own ebuilds -# - ncurses stuff -# - less stuff -# - bind utils -# - rsh stuff -# - binutils gprof -# and the rest are misc utils we already provide somewhere else. -REMOVE_SUBDIRS="bzip2 bzip2recover tar cpio - gzip gprof - lzmainfo xz xzdec - unzip - tput tset tabs - less lessecho lesskey - dig hesinfo nslookup nsupdate host - rsh rlogin rusers rwho ruptime - compile_et lex vi smbutil file vacation nc ftp telnet - c99 c89 - whois tftp man" - -pkg_setup() { - use atm || mymakeopts="${mymakeopts} WITHOUT_ATM= " - use audit || mymakeopts="${mymakeopts} WITHOUT_AUDIT= " - use bluetooth || mymakeopts="${mymakeopts} WITHOUT_BLUETOOTH= " - use ipv6 || mymakeopts="${mymakeopts} WITHOUT_INET6= WITHOUT_INET6_SUPPORT= " - use kerberos || mymakeopts="${mymakeopts} WITHOUT_KERBEROS_SUPPORT= " - use netware || mymakeopts="${mymakeopts} WITHOUT_IPX= WITHOUT_IPX_SUPPORT= WITHOUT_NCP= " - use nis || mymakeopts="${mymakeopts} WITHOUT_NIS= " - use ssl || mymakeopts="${mymakeopts} WITHOUT_OPENSSL= " - use usb || mymakeopts="${mymakeopts} WITHOUT_USB= " - use zfs || mymakeopts="${mymakeopts} WITHOUT_CDDL= " - mymakeopts="${mymakeopts} WITHOUT_CLANG= " -} - -pkg_preinst() { - # bison installs a /usr/bin/yacc symlink ... - # we need to remove it to avoid triggering - # collision-protect errors - if [[ -L ${ROOT}/usr/bin/yacc ]] ; then - rm -f "${ROOT}"/usr/bin/yacc - fi -} - -src_prepare() { - use build || ln -s "/usr/src/sys-${RV}" "${WORKDIR}/sys" - - # Rename manpage for renamed cmp - mv "${S}"/cmp/cmp.1 "${S}"/cmp/bsdcmp.1 || die - # Rename manpage for renamed ar - mv "${S}"/ar/ar.1 "${S}"/ar/freebsd-ar.1 || die - # Fix whereis(1) manpath search. - sed -i -e 's:"manpath -q":"manpath":' "${S}/whereis/pathnames.h" - - # Build a dynamic make - sed -i -e '/^NO_SHARED/ s/^/#/' "${S}"/make/Makefile || die - - # Disable it here otherwise our patch wont apply - use ar || dummy_mk ar -} - -src_install() { - freebsd_src_install - - # baselayout requires these in /bin - dodir /bin - for bin in sed printf fuser; do - mv "${D}/usr/bin/${bin}" "${D}/bin/" || die "mv ${bin} failed" - dosym /bin/${bin} /usr/bin/${bin} || die "dosym ${bin} failed" - done - - for pamdfile in login passwd su; do - newpamd "${FILESDIR}/${pamdfile}.1.pamd" ${pamdfile} || die - done - - cd "${WORKDIR}/etc" - insinto /etc - doins remote phones opieaccess fbtab || die - - exeinto /etc/cron.daily - newexe "${FILESDIR}/locate-updatedb-cron" locate.updatedb || die - - # tip requires /var/spool/lock/, bug #200700 - keepdir /var/spool/lock -} - -pkg_postinst() { - # We need to ensure that login.conf.db is up-to-date. - if [[ -e "${ROOT}"etc/login.conf ]] ; then - einfo "Updating ${ROOT}etc/login.conf.db" - "${ROOT}"usr/bin/cap_mkdb -f "${ROOT}"etc/login.conf "${ROOT}"etc/login.conf - elog "Remember to run cap_mkdb /etc/login.conf after making changes to it" - fi -} - -pkg_postrm() { - # and if we uninstall yacc but keep bison, - # lets restore the /usr/bin/yacc symlink - if [[ ! -e ${ROOT}/usr/bin/yacc ]] && [[ -e ${ROOT}/usr/bin/yacc.bison ]] ; then - ln -s yacc.bison "${ROOT}"/usr/bin/yacc - fi -} diff --git a/sys-freebsd/freebsd-ubin/freebsd-ubin-9.0_rc2.ebuild b/sys-freebsd/freebsd-ubin/freebsd-ubin-9.0_rc2.ebuild deleted file mode 100644 index 59dde23a11f9..000000000000 --- a/sys-freebsd/freebsd-ubin/freebsd-ubin-9.0_rc2.ebuild +++ /dev/null @@ -1,154 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-ubin/freebsd-ubin-9.0_rc2.ebuild,v 1.1 2011/12/07 17:10:37 aballier Exp $ - -EAPI=2 - -inherit bsdmk freebsd flag-o-matic pam - -DESCRIPTION="FreeBSD's base system source for /usr/bin" -SLOT="0" -KEYWORDS="~sparc-fbsd ~x86-fbsd" -IUSE="ar atm audit bluetooth ipv6 kerberos netware nis ssl usb build zfs" -LICENSE="BSD zfs? ( CDDL )" - -SRC_URI="mirror://gentoo/${UBIN}.tar.bz2 - mirror://gentoo/${CONTRIB}.tar.bz2 - mirror://gentoo/${LIB}.tar.bz2 - mirror://gentoo/${ETC}.tar.bz2 - mirror://gentoo/${BIN}.tar.bz2 - mirror://gentoo/${INCLUDE}.tar.bz2 - zfs? ( mirror://gentoo/${CDDL}.tar.bz2 ) - build? ( mirror://gentoo/${SYS}.tar.bz2 )" - -RDEPEND="=sys-freebsd/freebsd-lib-${RV}*[usb?,bluetooth?] - ssl? ( dev-libs/openssl ) - kerberos? ( virtual/krb5 ) - ar? ( app-arch/libarchive ) - virtual/pam - sys-libs/zlib - >=sys-libs/ncurses-5.9 - !sys-process/fuser-bsd - !dev-util/csup" - -DEPEND="${RDEPEND} - sys-devel/flex - !build? ( =sys-freebsd/freebsd-sources-${RV}* ) - =sys-freebsd/freebsd-mk-defs-${RV}*" - -RDEPEND="${RDEPEND} - >=sys-auth/pambase-20080219.1 - sys-process/cronbase" - -S="${WORKDIR}/usr.bin" - -PATCHES=( "${FILESDIR}/${PN}-6.0-bsdcmp.patch" - "${FILESDIR}/${PN}-9.0-fixmakefiles.patch" - "${FILESDIR}/${PN}-setXid.patch" - "${FILESDIR}/${PN}-lint-stdarg.patch" - "${FILESDIR}/${PN}-6.0-kdump-ioctl.patch" - "${FILESDIR}/${PN}-8.0-xinstall.patch" - "${FILESDIR}/${PN}-8.0-bsdar.patch" ) - -# Here we remove some sources we don't need because they are already -# provided by portage's packages or similar. In order: -# - Archiving tools, provided by their own ebuilds -# - ncurses stuff -# - less stuff -# - bind utils -# - rsh stuff -# - binutils gprof -# and the rest are misc utils we already provide somewhere else. -REMOVE_SUBDIRS="bzip2 bzip2recover tar cpio - gzip gprof - lzmainfo xz xzdec - unzip - tput tset tabs - less lessecho lesskey - dig hesinfo nslookup nsupdate host - rsh rlogin rusers rwho ruptime - compile_et lex vi smbutil file vacation nc ftp telnet - c99 c89 - whois tftp man" - -pkg_setup() { - use atm || mymakeopts="${mymakeopts} WITHOUT_ATM= " - use audit || mymakeopts="${mymakeopts} WITHOUT_AUDIT= " - use bluetooth || mymakeopts="${mymakeopts} WITHOUT_BLUETOOTH= " - use ipv6 || mymakeopts="${mymakeopts} WITHOUT_INET6= WITHOUT_INET6_SUPPORT= " - use kerberos || mymakeopts="${mymakeopts} WITHOUT_KERBEROS_SUPPORT= " - use netware || mymakeopts="${mymakeopts} WITHOUT_IPX= WITHOUT_IPX_SUPPORT= WITHOUT_NCP= " - use nis || mymakeopts="${mymakeopts} WITHOUT_NIS= " - use ssl || mymakeopts="${mymakeopts} WITHOUT_OPENSSL= " - use usb || mymakeopts="${mymakeopts} WITHOUT_USB= " - use zfs || mymakeopts="${mymakeopts} WITHOUT_CDDL= " - mymakeopts="${mymakeopts} WITHOUT_CLANG= " -} - -pkg_preinst() { - # bison installs a /usr/bin/yacc symlink ... - # we need to remove it to avoid triggering - # collision-protect errors - if [[ -L ${ROOT}/usr/bin/yacc ]] ; then - rm -f "${ROOT}"/usr/bin/yacc - fi -} - -src_prepare() { - use build || ln -s "/usr/src/sys-${RV}" "${WORKDIR}/sys" - - # Rename manpage for renamed cmp - mv "${S}"/cmp/cmp.1 "${S}"/cmp/bsdcmp.1 || die - # Rename manpage for renamed ar - mv "${S}"/ar/ar.1 "${S}"/ar/freebsd-ar.1 || die - # Fix whereis(1) manpath search. - sed -i -e 's:"manpath -q":"manpath":' "${S}/whereis/pathnames.h" - - # Build a dynamic make - sed -i -e '/^NO_SHARED/ s/^/#/' "${S}"/make/Makefile || die - - # Disable it here otherwise our patch wont apply - use ar || dummy_mk ar -} - -src_install() { - freebsd_src_install - - # baselayout requires these in /bin - dodir /bin - for bin in sed printf fuser; do - mv "${D}/usr/bin/${bin}" "${D}/bin/" || die "mv ${bin} failed" - dosym /bin/${bin} /usr/bin/${bin} || die "dosym ${bin} failed" - done - - for pamdfile in login passwd su; do - newpamd "${FILESDIR}/${pamdfile}.1.pamd" ${pamdfile} || die - done - - cd "${WORKDIR}/etc" - insinto /etc - doins remote phones opieaccess fbtab || die - - exeinto /etc/cron.daily - newexe "${FILESDIR}/locate-updatedb-cron" locate.updatedb || die - - # tip requires /var/spool/lock/, bug #200700 - keepdir /var/spool/lock -} - -pkg_postinst() { - # We need to ensure that login.conf.db is up-to-date. - if [[ -e "${ROOT}"etc/login.conf ]] ; then - einfo "Updating ${ROOT}etc/login.conf.db" - "${ROOT}"usr/bin/cap_mkdb -f "${ROOT}"etc/login.conf "${ROOT}"etc/login.conf - elog "Remember to run cap_mkdb /etc/login.conf after making changes to it" - fi -} - -pkg_postrm() { - # and if we uninstall yacc but keep bison, - # lets restore the /usr/bin/yacc symlink - if [[ ! -e ${ROOT}/usr/bin/yacc ]] && [[ -e ${ROOT}/usr/bin/yacc.bison ]] ; then - ln -s yacc.bison "${ROOT}"/usr/bin/yacc - fi -} diff --git a/sys-freebsd/freebsd-ubin/freebsd-ubin-9.0_rc3.ebuild b/sys-freebsd/freebsd-ubin/freebsd-ubin-9.0_rc3.ebuild deleted file mode 100644 index cb883c3045ee..000000000000 --- a/sys-freebsd/freebsd-ubin/freebsd-ubin-9.0_rc3.ebuild +++ /dev/null @@ -1,154 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-ubin/freebsd-ubin-9.0_rc3.ebuild,v 1.1 2011/12/09 13:23:58 aballier Exp $ - -EAPI=2 - -inherit bsdmk freebsd flag-o-matic pam - -DESCRIPTION="FreeBSD's base system source for /usr/bin" -SLOT="0" -KEYWORDS="~sparc-fbsd ~x86-fbsd" -IUSE="ar atm audit bluetooth ipv6 kerberos netware nis ssl usb build zfs" -LICENSE="BSD zfs? ( CDDL )" - -SRC_URI="mirror://gentoo/${UBIN}.tar.bz2 - mirror://gentoo/${CONTRIB}.tar.bz2 - mirror://gentoo/${LIB}.tar.bz2 - mirror://gentoo/${ETC}.tar.bz2 - mirror://gentoo/${BIN}.tar.bz2 - mirror://gentoo/${INCLUDE}.tar.bz2 - zfs? ( mirror://gentoo/${CDDL}.tar.bz2 ) - build? ( mirror://gentoo/${SYS}.tar.bz2 )" - -RDEPEND="=sys-freebsd/freebsd-lib-${RV}*[usb?,bluetooth?] - ssl? ( dev-libs/openssl ) - kerberos? ( virtual/krb5 ) - ar? ( app-arch/libarchive ) - virtual/pam - sys-libs/zlib - >=sys-libs/ncurses-5.9 - !sys-process/fuser-bsd - !dev-util/csup" - -DEPEND="${RDEPEND} - sys-devel/flex - !build? ( =sys-freebsd/freebsd-sources-${RV}* ) - =sys-freebsd/freebsd-mk-defs-${RV}*" - -RDEPEND="${RDEPEND} - >=sys-auth/pambase-20080219.1 - sys-process/cronbase" - -S="${WORKDIR}/usr.bin" - -PATCHES=( "${FILESDIR}/${PN}-6.0-bsdcmp.patch" - "${FILESDIR}/${PN}-9.0-fixmakefiles.patch" - "${FILESDIR}/${PN}-setXid.patch" - "${FILESDIR}/${PN}-lint-stdarg.patch" - "${FILESDIR}/${PN}-6.0-kdump-ioctl.patch" - "${FILESDIR}/${PN}-8.0-xinstall.patch" - "${FILESDIR}/${PN}-8.0-bsdar.patch" ) - -# Here we remove some sources we don't need because they are already -# provided by portage's packages or similar. In order: -# - Archiving tools, provided by their own ebuilds -# - ncurses stuff -# - less stuff -# - bind utils -# - rsh stuff -# - binutils gprof -# and the rest are misc utils we already provide somewhere else. -REMOVE_SUBDIRS="bzip2 bzip2recover tar cpio - gzip gprof - lzmainfo xz xzdec - unzip - tput tset tabs - less lessecho lesskey - dig hesinfo nslookup nsupdate host - rsh rlogin rusers rwho ruptime - compile_et lex vi smbutil file vacation nc ftp telnet - c99 c89 - whois tftp man" - -pkg_setup() { - use atm || mymakeopts="${mymakeopts} WITHOUT_ATM= " - use audit || mymakeopts="${mymakeopts} WITHOUT_AUDIT= " - use bluetooth || mymakeopts="${mymakeopts} WITHOUT_BLUETOOTH= " - use ipv6 || mymakeopts="${mymakeopts} WITHOUT_INET6= WITHOUT_INET6_SUPPORT= " - use kerberos || mymakeopts="${mymakeopts} WITHOUT_KERBEROS_SUPPORT= " - use netware || mymakeopts="${mymakeopts} WITHOUT_IPX= WITHOUT_IPX_SUPPORT= WITHOUT_NCP= " - use nis || mymakeopts="${mymakeopts} WITHOUT_NIS= " - use ssl || mymakeopts="${mymakeopts} WITHOUT_OPENSSL= " - use usb || mymakeopts="${mymakeopts} WITHOUT_USB= " - use zfs || mymakeopts="${mymakeopts} WITHOUT_CDDL= " - mymakeopts="${mymakeopts} WITHOUT_CLANG= " -} - -pkg_preinst() { - # bison installs a /usr/bin/yacc symlink ... - # we need to remove it to avoid triggering - # collision-protect errors - if [[ -L ${ROOT}/usr/bin/yacc ]] ; then - rm -f "${ROOT}"/usr/bin/yacc - fi -} - -src_prepare() { - use build || ln -s "/usr/src/sys-${RV}" "${WORKDIR}/sys" - - # Rename manpage for renamed cmp - mv "${S}"/cmp/cmp.1 "${S}"/cmp/bsdcmp.1 || die - # Rename manpage for renamed ar - mv "${S}"/ar/ar.1 "${S}"/ar/freebsd-ar.1 || die - # Fix whereis(1) manpath search. - sed -i -e 's:"manpath -q":"manpath":' "${S}/whereis/pathnames.h" - - # Build a dynamic make - sed -i -e '/^NO_SHARED/ s/^/#/' "${S}"/make/Makefile || die - - # Disable it here otherwise our patch wont apply - use ar || dummy_mk ar -} - -src_install() { - freebsd_src_install - - # baselayout requires these in /bin - dodir /bin - for bin in sed printf fuser; do - mv "${D}/usr/bin/${bin}" "${D}/bin/" || die "mv ${bin} failed" - dosym /bin/${bin} /usr/bin/${bin} || die "dosym ${bin} failed" - done - - for pamdfile in login passwd su; do - newpamd "${FILESDIR}/${pamdfile}.1.pamd" ${pamdfile} || die - done - - cd "${WORKDIR}/etc" - insinto /etc - doins remote phones opieaccess fbtab || die - - exeinto /etc/cron.daily - newexe "${FILESDIR}/locate-updatedb-cron" locate.updatedb || die - - # tip requires /var/spool/lock/, bug #200700 - keepdir /var/spool/lock -} - -pkg_postinst() { - # We need to ensure that login.conf.db is up-to-date. - if [[ -e "${ROOT}"etc/login.conf ]] ; then - einfo "Updating ${ROOT}etc/login.conf.db" - "${ROOT}"usr/bin/cap_mkdb -f "${ROOT}"etc/login.conf "${ROOT}"etc/login.conf - elog "Remember to run cap_mkdb /etc/login.conf after making changes to it" - fi -} - -pkg_postrm() { - # and if we uninstall yacc but keep bison, - # lets restore the /usr/bin/yacc symlink - if [[ ! -e ${ROOT}/usr/bin/yacc ]] && [[ -e ${ROOT}/usr/bin/yacc.bison ]] ; then - ln -s yacc.bison "${ROOT}"/usr/bin/yacc - fi -} diff --git a/sys-freebsd/freebsd-usbin/ChangeLog b/sys-freebsd/freebsd-usbin/ChangeLog index bcbeec4a40d7..474ef7d931cb 100644 --- a/sys-freebsd/freebsd-usbin/ChangeLog +++ b/sys-freebsd/freebsd-usbin/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-freebsd/freebsd-usbin # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-usbin/ChangeLog,v 1.74 2012/01/16 16:37:08 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-usbin/ChangeLog,v 1.75 2012/03/30 15:50:21 aballier Exp $ + + 30 Mar 2012; Alexis Ballier <aballier@gentoo.org> + -freebsd-usbin-9.0_rc1.ebuild, -freebsd-usbin-9.0_rc2.ebuild, + -freebsd-usbin-9.0_rc3.ebuild: + remove old *freebsd-usbin-9.0 (16 Jan 2012) diff --git a/sys-freebsd/freebsd-usbin/freebsd-usbin-9.0_rc1.ebuild b/sys-freebsd/freebsd-usbin/freebsd-usbin-9.0_rc1.ebuild deleted file mode 100644 index 9beab6685ee9..000000000000 --- a/sys-freebsd/freebsd-usbin/freebsd-usbin-9.0_rc1.ebuild +++ /dev/null @@ -1,173 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-usbin/freebsd-usbin-9.0_rc1.ebuild,v 1.1 2011/11/07 12:42:54 aballier Exp $ - -EAPI=2 - -inherit bsdmk freebsd flag-o-matic eutils - -DESCRIPTION="FreeBSD /usr/sbin tools" -SLOT="0" -KEYWORDS="~sparc-fbsd ~x86-fbsd" - -SRC_URI="mirror://gentoo/${P}.tar.bz2 - mirror://gentoo/${CONTRIB}.tar.bz2 - mirror://gentoo/${UBIN}.tar.bz2 - mirror://gentoo/${LIB}.tar.bz2 - mirror://gentoo/${SBIN}.tar.bz2 - mirror://gentoo/${ETC}.tar.bz2 - mirror://gentoo/${GNU}.tar.bz2 - nis? ( mirror://gentoo/${LIBEXEC}.tar.bz2 ) - build? ( mirror://gentoo/${SYS}.tar.bz2 - mirror://gentoo/${INCLUDE}.tar.bz2 )" - -RDEPEND="=sys-freebsd/freebsd-lib-${RV}*[usb?,bluetooth?,netware?] - =sys-freebsd/freebsd-libexec-${RV}* - =sys-freebsd/freebsd-contrib-${RV}* - acpi? ( sys-power/iasl ) - build? ( sys-apps/baselayout ) - ssl? ( dev-libs/openssl ) - sys-apps/tcp-wrappers - dev-util/dialog - dev-libs/libelf - net-libs/libpcap" -DEPEND="${RDEPEND} - =sys-freebsd/freebsd-mk-defs-${RV}* - =sys-freebsd/freebsd-ubin-${RV}* - !build? ( =sys-freebsd/freebsd-sources-${RV}* ) - sys-apps/texinfo - sys-devel/flex" - -S="${WORKDIR}/usr.sbin" - -IUSE="acpi atm audit bluetooth floppy ipv6 isdn minimal netware nis pam ssl usb build" - -pkg_setup() { - # Release crunch is something like minimal. It seems to remove everything - # which is not needed to work. - use minimal && mymakeopts="${mymakeopts} RELEASE_CRUNCH= " - - use acpi || mymakeopts="${mymakeopts} WITHOUT_ACPI= " - use atm || mymakeopts="${mymakeopts} WITHOUT_ATM= " - use audit || mymakeopts="${mymakeopts} WITHOUT_AUDIT= " - use bluetooth || mymakeopts="${mymakeopts} WITHOUT_BLUETOOTH= " - use ipv6 || mymakeopts="${mymakeopts} WITHOUT_INET6= WITHOUT_INET6_SUPPORT= " - use isdn || mymakeopts="${mymakeopts} WITHOUT_I4B= " - use netware || mymakeopts="${mymakeopts} WITHOUT_IPX= WITHOUT_IPX_SUPPORT= WITHOUT_NCP= " - use nis || mymakeopts="${mymakeopts} WITHOUT_NIS= " - use pam || mymakeopts="${mymakeopts} WITHOUT_PAM_SUPPORT= " - use ssl || mymakeopts="${mymakeopts} WITHOUT_OPENSSL= " - use usb || mymakeopts="${mymakeopts} WITHOUT_USB= " - use floppy || mymakeopts="${mymakeopts} WITHOUT_FLOPPY= " - - mymakeopts="${mymakeopts} WITHOUT_BIND_NAMED= WITHOUT_BIND_DNSSEC= WITHOUT_PF= WITHOUT_LPR= WITHOUT_SENDMAIL= WITHOUT_AUTHPF= WITHOUT_MAILWRAPPER= " - - append-flags $(test-flags -fno-strict-aliasing) -} - -PATCHES=( - "${FILESDIR}/${PN}-adduser.patch" - "${FILESDIR}/${PN}-9.0-newsyslog.patch" - "${FILESDIR}/${PN}-9.0-libarchive.patch" - ) - -REMOVE_SUBDIRS=" - named named-checkzone named-checkconf rndc rndc-confgen - dnssec-keygen dnssec-signzone - tcpdchk tcpdmatch - sendmail praliases editmap mailstats makemap - sysinstall cron mailwrapper ntp bsnmpd - tcpdump ndp inetd - wpa/wpa_supplicant wpa/hostapd wpa/hostapd_cli wpa/wpa_cli wpa/wpa_passphrase - zic amd - pkg_install freebsd-update" - -src_prepare() { - if ! use build; then - ln -s "/usr/src/sys-${RV}" "${WORKDIR}/sys" - ln -s "/usr/include" "${WORKDIR}/include" - else - dummy_mk mount_smbfs - fi - # Don't install mtree format manpage - # it's installed by libarchive. - sed -e "s: mtree.5::g" -i "${S}"/mtree/Makefile -} - -src_install() { - # By creating these directories we avoid having to do a - # more complex hack - dodir /usr/share/doc - dodir /sbin - dodir /usr/libexec - dodir /usr/bin - - # FILESDIR is used by some makefiles which will install files - # in the wrong place, just put it in the doc directory. - mkinstall DOCDIR=/usr/share/doc/${PF} || die "Install failed" - - # Most of these now come from openrc. - for util in nfs rpc.statd rpc.lockd; do - newinitd "${FILESDIR}/"${util}.initd ${util} || die - if [[ -e "${FILESDIR}"/${util}.confd ]]; then \ - newconfd "${FILESDIR}"/${util}.confd ${util} || die - fi - done - - for class in daily monthly weekly; do - cat - > "${T}/periodic.${class}" <<EOS -#!/bin/sh -/usr/sbin/periodic ${class} -EOS - exeinto /etc/cron.${class} - newexe "${T}/periodic.${class}" periodic - done - - # Install the pw.conf file to let pw use Gentoo's skel location - insinto /etc - doins "${FILESDIR}/pw.conf" || die - - cd "${WORKDIR}/etc" - doins apmd.conf syslog.conf newsyslog.conf nscd.conf || die - - insinto /etc/ppp - doins ppp/ppp.conf || die - - if use isdn; then - insinto /etc/isdn - doins isdn/* || die - rm -f "${D}"/etc/isdn/Makefile - fi - - if use bluetooth; then - insinto /etc/bluetooth - doins bluetooth/* || die - rm -f "${D}"/etc/bluetooth/Makefile - fi - - # Install the periodic stuff (needs probably to be ported in a more - # gentooish way) - cd "${WORKDIR}/etc/periodic" - - doperiodic daily daily/*.accounting - doperiodic monthly monthly/*.accounting -} - -pkg_postinst() { - # We need to run pwd_mkdb if key files are not present - # If they are, then there is no need to run pwd_mkdb - if [[ ! -e "${ROOT}etc/passwd" || ! -e "${ROOT}etc/pwd.db" || ! -e "${ROOT}etc/spwd.db" ]] ; then - if [[ -e "${ROOT}etc/master.passwd" ]] ; then - einfo "Generating passwd files from ${ROOT}etc/master.passwd" - "${ROOT}"usr/sbin/pwd_mkdb -p -d "${ROOT}etc" "${ROOT}etc/master.passwd" - else - eerror "${ROOT}etc/master.passwd does not exist!" - eerror "You will no be able to log into your system!" - fi - fi - - for logfile in messages security auth.log maillog lpd-errs xferlog cron \ - debug.log slip.log ppp.log; do - [[ -f "${ROOT}/var/log/${logfile}" ]] || touch "${ROOT}/var/log/${logfile}" - done -} diff --git a/sys-freebsd/freebsd-usbin/freebsd-usbin-9.0_rc2.ebuild b/sys-freebsd/freebsd-usbin/freebsd-usbin-9.0_rc2.ebuild deleted file mode 100644 index f76c9e3be663..000000000000 --- a/sys-freebsd/freebsd-usbin/freebsd-usbin-9.0_rc2.ebuild +++ /dev/null @@ -1,173 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-usbin/freebsd-usbin-9.0_rc2.ebuild,v 1.1 2011/12/07 17:11:06 aballier Exp $ - -EAPI=2 - -inherit bsdmk freebsd flag-o-matic eutils - -DESCRIPTION="FreeBSD /usr/sbin tools" -SLOT="0" -KEYWORDS="~sparc-fbsd ~x86-fbsd" - -SRC_URI="mirror://gentoo/${P}.tar.bz2 - mirror://gentoo/${CONTRIB}.tar.bz2 - mirror://gentoo/${UBIN}.tar.bz2 - mirror://gentoo/${LIB}.tar.bz2 - mirror://gentoo/${SBIN}.tar.bz2 - mirror://gentoo/${ETC}.tar.bz2 - mirror://gentoo/${GNU}.tar.bz2 - nis? ( mirror://gentoo/${LIBEXEC}.tar.bz2 ) - build? ( mirror://gentoo/${SYS}.tar.bz2 - mirror://gentoo/${INCLUDE}.tar.bz2 )" - -RDEPEND="=sys-freebsd/freebsd-lib-${RV}*[usb?,bluetooth?,netware?] - =sys-freebsd/freebsd-libexec-${RV}* - =sys-freebsd/freebsd-contrib-${RV}* - acpi? ( sys-power/iasl ) - build? ( sys-apps/baselayout ) - ssl? ( dev-libs/openssl ) - sys-apps/tcp-wrappers - dev-util/dialog - dev-libs/libelf - net-libs/libpcap" -DEPEND="${RDEPEND} - =sys-freebsd/freebsd-mk-defs-${RV}* - =sys-freebsd/freebsd-ubin-${RV}* - !build? ( =sys-freebsd/freebsd-sources-${RV}* ) - sys-apps/texinfo - sys-devel/flex" - -S="${WORKDIR}/usr.sbin" - -IUSE="acpi atm audit bluetooth floppy ipv6 isdn minimal netware nis pam ssl usb build" - -pkg_setup() { - # Release crunch is something like minimal. It seems to remove everything - # which is not needed to work. - use minimal && mymakeopts="${mymakeopts} RELEASE_CRUNCH= " - - use acpi || mymakeopts="${mymakeopts} WITHOUT_ACPI= " - use atm || mymakeopts="${mymakeopts} WITHOUT_ATM= " - use audit || mymakeopts="${mymakeopts} WITHOUT_AUDIT= " - use bluetooth || mymakeopts="${mymakeopts} WITHOUT_BLUETOOTH= " - use ipv6 || mymakeopts="${mymakeopts} WITHOUT_INET6= WITHOUT_INET6_SUPPORT= " - use isdn || mymakeopts="${mymakeopts} WITHOUT_I4B= " - use netware || mymakeopts="${mymakeopts} WITHOUT_IPX= WITHOUT_IPX_SUPPORT= WITHOUT_NCP= " - use nis || mymakeopts="${mymakeopts} WITHOUT_NIS= " - use pam || mymakeopts="${mymakeopts} WITHOUT_PAM_SUPPORT= " - use ssl || mymakeopts="${mymakeopts} WITHOUT_OPENSSL= " - use usb || mymakeopts="${mymakeopts} WITHOUT_USB= " - use floppy || mymakeopts="${mymakeopts} WITHOUT_FLOPPY= " - - mymakeopts="${mymakeopts} WITHOUT_BIND_NAMED= WITHOUT_BIND_DNSSEC= WITHOUT_PF= WITHOUT_LPR= WITHOUT_SENDMAIL= WITHOUT_AUTHPF= WITHOUT_MAILWRAPPER= " - - append-flags $(test-flags -fno-strict-aliasing) -} - -PATCHES=( - "${FILESDIR}/${PN}-adduser.patch" - "${FILESDIR}/${PN}-9.0-newsyslog.patch" - "${FILESDIR}/${PN}-9.0-libarchive.patch" - ) - -REMOVE_SUBDIRS=" - named named-checkzone named-checkconf rndc rndc-confgen - dnssec-keygen dnssec-signzone - tcpdchk tcpdmatch - sendmail praliases editmap mailstats makemap - sysinstall cron mailwrapper ntp bsnmpd - tcpdump ndp inetd - wpa/wpa_supplicant wpa/hostapd wpa/hostapd_cli wpa/wpa_cli wpa/wpa_passphrase - zic amd - pkg_install freebsd-update" - -src_prepare() { - if ! use build; then - ln -s "/usr/src/sys-${RV}" "${WORKDIR}/sys" - ln -s "/usr/include" "${WORKDIR}/include" - else - dummy_mk mount_smbfs - fi - # Don't install mtree format manpage - # it's installed by libarchive. - sed -e "s: mtree.5::g" -i "${S}"/mtree/Makefile -} - -src_install() { - # By creating these directories we avoid having to do a - # more complex hack - dodir /usr/share/doc - dodir /sbin - dodir /usr/libexec - dodir /usr/bin - - # FILESDIR is used by some makefiles which will install files - # in the wrong place, just put it in the doc directory. - mkinstall DOCDIR=/usr/share/doc/${PF} || die "Install failed" - - # Most of these now come from openrc. - for util in nfs rpc.statd rpc.lockd; do - newinitd "${FILESDIR}/"${util}.initd ${util} || die - if [[ -e "${FILESDIR}"/${util}.confd ]]; then \ - newconfd "${FILESDIR}"/${util}.confd ${util} || die - fi - done - - for class in daily monthly weekly; do - cat - > "${T}/periodic.${class}" <<EOS -#!/bin/sh -/usr/sbin/periodic ${class} -EOS - exeinto /etc/cron.${class} - newexe "${T}/periodic.${class}" periodic - done - - # Install the pw.conf file to let pw use Gentoo's skel location - insinto /etc - doins "${FILESDIR}/pw.conf" || die - - cd "${WORKDIR}/etc" - doins apmd.conf syslog.conf newsyslog.conf nscd.conf || die - - insinto /etc/ppp - doins ppp/ppp.conf || die - - if use isdn; then - insinto /etc/isdn - doins isdn/* || die - rm -f "${D}"/etc/isdn/Makefile - fi - - if use bluetooth; then - insinto /etc/bluetooth - doins bluetooth/* || die - rm -f "${D}"/etc/bluetooth/Makefile - fi - - # Install the periodic stuff (needs probably to be ported in a more - # gentooish way) - cd "${WORKDIR}/etc/periodic" - - doperiodic daily daily/*.accounting - doperiodic monthly monthly/*.accounting -} - -pkg_postinst() { - # We need to run pwd_mkdb if key files are not present - # If they are, then there is no need to run pwd_mkdb - if [[ ! -e "${ROOT}etc/passwd" || ! -e "${ROOT}etc/pwd.db" || ! -e "${ROOT}etc/spwd.db" ]] ; then - if [[ -e "${ROOT}etc/master.passwd" ]] ; then - einfo "Generating passwd files from ${ROOT}etc/master.passwd" - "${ROOT}"usr/sbin/pwd_mkdb -p -d "${ROOT}etc" "${ROOT}etc/master.passwd" - else - eerror "${ROOT}etc/master.passwd does not exist!" - eerror "You will no be able to log into your system!" - fi - fi - - for logfile in messages security auth.log maillog lpd-errs xferlog cron \ - debug.log slip.log ppp.log; do - [[ -f "${ROOT}/var/log/${logfile}" ]] || touch "${ROOT}/var/log/${logfile}" - done -} diff --git a/sys-freebsd/freebsd-usbin/freebsd-usbin-9.0_rc3.ebuild b/sys-freebsd/freebsd-usbin/freebsd-usbin-9.0_rc3.ebuild deleted file mode 100644 index 5f74b9fce1b8..000000000000 --- a/sys-freebsd/freebsd-usbin/freebsd-usbin-9.0_rc3.ebuild +++ /dev/null @@ -1,173 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-usbin/freebsd-usbin-9.0_rc3.ebuild,v 1.1 2011/12/09 13:24:25 aballier Exp $ - -EAPI=2 - -inherit bsdmk freebsd flag-o-matic eutils - -DESCRIPTION="FreeBSD /usr/sbin tools" -SLOT="0" -KEYWORDS="~sparc-fbsd ~x86-fbsd" - -SRC_URI="mirror://gentoo/${P}.tar.bz2 - mirror://gentoo/${CONTRIB}.tar.bz2 - mirror://gentoo/${UBIN}.tar.bz2 - mirror://gentoo/${LIB}.tar.bz2 - mirror://gentoo/${SBIN}.tar.bz2 - mirror://gentoo/${ETC}.tar.bz2 - mirror://gentoo/${GNU}.tar.bz2 - nis? ( mirror://gentoo/${LIBEXEC}.tar.bz2 ) - build? ( mirror://gentoo/${SYS}.tar.bz2 - mirror://gentoo/${INCLUDE}.tar.bz2 )" - -RDEPEND="=sys-freebsd/freebsd-lib-${RV}*[usb?,bluetooth?,netware?] - =sys-freebsd/freebsd-libexec-${RV}* - =sys-freebsd/freebsd-contrib-${RV}* - acpi? ( sys-power/iasl ) - build? ( sys-apps/baselayout ) - ssl? ( dev-libs/openssl ) - sys-apps/tcp-wrappers - dev-util/dialog - dev-libs/libelf - net-libs/libpcap" -DEPEND="${RDEPEND} - =sys-freebsd/freebsd-mk-defs-${RV}* - =sys-freebsd/freebsd-ubin-${RV}* - !build? ( =sys-freebsd/freebsd-sources-${RV}* ) - sys-apps/texinfo - sys-devel/flex" - -S="${WORKDIR}/usr.sbin" - -IUSE="acpi atm audit bluetooth floppy ipv6 isdn minimal netware nis pam ssl usb build" - -pkg_setup() { - # Release crunch is something like minimal. It seems to remove everything - # which is not needed to work. - use minimal && mymakeopts="${mymakeopts} RELEASE_CRUNCH= " - - use acpi || mymakeopts="${mymakeopts} WITHOUT_ACPI= " - use atm || mymakeopts="${mymakeopts} WITHOUT_ATM= " - use audit || mymakeopts="${mymakeopts} WITHOUT_AUDIT= " - use bluetooth || mymakeopts="${mymakeopts} WITHOUT_BLUETOOTH= " - use ipv6 || mymakeopts="${mymakeopts} WITHOUT_INET6= WITHOUT_INET6_SUPPORT= " - use isdn || mymakeopts="${mymakeopts} WITHOUT_I4B= " - use netware || mymakeopts="${mymakeopts} WITHOUT_IPX= WITHOUT_IPX_SUPPORT= WITHOUT_NCP= " - use nis || mymakeopts="${mymakeopts} WITHOUT_NIS= " - use pam || mymakeopts="${mymakeopts} WITHOUT_PAM_SUPPORT= " - use ssl || mymakeopts="${mymakeopts} WITHOUT_OPENSSL= " - use usb || mymakeopts="${mymakeopts} WITHOUT_USB= " - use floppy || mymakeopts="${mymakeopts} WITHOUT_FLOPPY= " - - mymakeopts="${mymakeopts} WITHOUT_BIND_NAMED= WITHOUT_BIND_DNSSEC= WITHOUT_PF= WITHOUT_LPR= WITHOUT_SENDMAIL= WITHOUT_AUTHPF= WITHOUT_MAILWRAPPER= " - - append-flags $(test-flags -fno-strict-aliasing) -} - -PATCHES=( - "${FILESDIR}/${PN}-adduser.patch" - "${FILESDIR}/${PN}-9.0-newsyslog.patch" - "${FILESDIR}/${PN}-9.0-libarchive.patch" - ) - -REMOVE_SUBDIRS=" - named named-checkzone named-checkconf rndc rndc-confgen - dnssec-keygen dnssec-signzone - tcpdchk tcpdmatch - sendmail praliases editmap mailstats makemap - sysinstall cron mailwrapper ntp bsnmpd - tcpdump ndp inetd - wpa/wpa_supplicant wpa/hostapd wpa/hostapd_cli wpa/wpa_cli wpa/wpa_passphrase - zic amd - pkg_install freebsd-update" - -src_prepare() { - if ! use build; then - ln -s "/usr/src/sys-${RV}" "${WORKDIR}/sys" - ln -s "/usr/include" "${WORKDIR}/include" - else - dummy_mk mount_smbfs - fi - # Don't install mtree format manpage - # it's installed by libarchive. - sed -e "s: mtree.5::g" -i "${S}"/mtree/Makefile -} - -src_install() { - # By creating these directories we avoid having to do a - # more complex hack - dodir /usr/share/doc - dodir /sbin - dodir /usr/libexec - dodir /usr/bin - - # FILESDIR is used by some makefiles which will install files - # in the wrong place, just put it in the doc directory. - mkinstall DOCDIR=/usr/share/doc/${PF} || die "Install failed" - - # Most of these now come from openrc. - for util in nfs rpc.statd rpc.lockd; do - newinitd "${FILESDIR}/"${util}.initd ${util} || die - if [[ -e "${FILESDIR}"/${util}.confd ]]; then \ - newconfd "${FILESDIR}"/${util}.confd ${util} || die - fi - done - - for class in daily monthly weekly; do - cat - > "${T}/periodic.${class}" <<EOS -#!/bin/sh -/usr/sbin/periodic ${class} -EOS - exeinto /etc/cron.${class} - newexe "${T}/periodic.${class}" periodic - done - - # Install the pw.conf file to let pw use Gentoo's skel location - insinto /etc - doins "${FILESDIR}/pw.conf" || die - - cd "${WORKDIR}/etc" - doins apmd.conf syslog.conf newsyslog.conf nscd.conf || die - - insinto /etc/ppp - doins ppp/ppp.conf || die - - if use isdn; then - insinto /etc/isdn - doins isdn/* || die - rm -f "${D}"/etc/isdn/Makefile - fi - - if use bluetooth; then - insinto /etc/bluetooth - doins bluetooth/* || die - rm -f "${D}"/etc/bluetooth/Makefile - fi - - # Install the periodic stuff (needs probably to be ported in a more - # gentooish way) - cd "${WORKDIR}/etc/periodic" - - doperiodic daily daily/*.accounting - doperiodic monthly monthly/*.accounting -} - -pkg_postinst() { - # We need to run pwd_mkdb if key files are not present - # If they are, then there is no need to run pwd_mkdb - if [[ ! -e "${ROOT}etc/passwd" || ! -e "${ROOT}etc/pwd.db" || ! -e "${ROOT}etc/spwd.db" ]] ; then - if [[ -e "${ROOT}etc/master.passwd" ]] ; then - einfo "Generating passwd files from ${ROOT}etc/master.passwd" - "${ROOT}"usr/sbin/pwd_mkdb -p -d "${ROOT}etc" "${ROOT}etc/master.passwd" - else - eerror "${ROOT}etc/master.passwd does not exist!" - eerror "You will no be able to log into your system!" - fi - fi - - for logfile in messages security auth.log maillog lpd-errs xferlog cron \ - debug.log slip.log ppp.log; do - [[ -f "${ROOT}/var/log/${logfile}" ]] || touch "${ROOT}/var/log/${logfile}" - done -} |