diff options
43 files changed, 1408 insertions, 15 deletions
diff --git a/sys-freebsd/boot0/ChangeLog b/sys-freebsd/boot0/ChangeLog index ec104811ff46..32cf31df244b 100644 --- a/sys-freebsd/boot0/ChangeLog +++ b/sys-freebsd/boot0/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-freebsd/boot0 # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/boot0/ChangeLog,v 1.8 2006/07/27 01:12:43 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/boot0/ChangeLog,v 1.9 2006/09/21 20:51:03 flameeyes Exp $ + +*boot0-6.2_beta1 (21 Sep 2006) + + 21 Sep 2006; Diego Pettenò <flameeyes@gentoo.org> + +boot0-6.2_beta1.ebuild: + Add 6.2_beta1 ebuilds. 27 Jul 2006; Diego Pettenò <flameeyes@gentoo.org> -boot0-6.0.ebuild: Remove 6.0 version. diff --git a/sys-freebsd/boot0/boot0-6.2_beta1.ebuild b/sys-freebsd/boot0/boot0-6.2_beta1.ebuild new file mode 100644 index 000000000000..2af4523f33b5 --- /dev/null +++ b/sys-freebsd/boot0/boot0-6.2_beta1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/boot0/boot0-6.2_beta1.ebuild,v 1.1 2006/09/21 20:51:03 flameeyes Exp $ + +inherit bsdmk freebsd + +DESCRIPTION="FreeBSD's bootloader" +SLOT="0" +KEYWORDS="~x86-fbsd" + +IUSE="" + +SRC_URI="mirror://gentoo/${SYS}.tar.bz2" + +RDEPEND="" +DEPEND="=sys-freebsd/freebsd-mk-defs-${RV}* + =sys-freebsd/freebsd-lib-${RV}*" + +S="${WORKDIR}/sys/boot" + +PATCHES="${FILESDIR}/boot0-6.0-gentoo.patch" + +src_unpack() { + freebsd_src_unpack + + grep -Zlr -- -ffreestanding "${S}" | xargs -0 sed -i -e \ + "s:-ffreestanding:-ffreestanding $(test-flags -fno-stack-protector -fno-stack-protector-all):g" +} + +src_install() { + dodir /boot/defaults + + mkinstall FILESDIR=/boot || die "mkinstall failed" +} diff --git a/sys-freebsd/boot0/files/digest-boot0-6.2_beta1 b/sys-freebsd/boot0/files/digest-boot0-6.2_beta1 new file mode 100644 index 000000000000..ee1ad8096f1a --- /dev/null +++ b/sys-freebsd/boot0/files/digest-boot0-6.2_beta1 @@ -0,0 +1,3 @@ +MD5 dd2820ec2777e9543b58cb3513a49348 freebsd-sys-6.2_beta1.tar.bz2 18325628 +RMD160 f939584c8fd6502c0540cafda5fd463f412e6f2e freebsd-sys-6.2_beta1.tar.bz2 18325628 +SHA256 1b9ab2deae07146d9891993209efef24473f7f9967ff838d89653a8f9a9c9ccc freebsd-sys-6.2_beta1.tar.bz2 18325628 diff --git a/sys-freebsd/freebsd-baselayout/ChangeLog b/sys-freebsd/freebsd-baselayout/ChangeLog index 22fd91b067ac..37f5d72d367a 100644 --- a/sys-freebsd/freebsd-baselayout/ChangeLog +++ b/sys-freebsd/freebsd-baselayout/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sys-freebsd/freebsd-baselayout # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-baselayout/ChangeLog,v 1.15 2006/07/27 01:39:48 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-baselayout/ChangeLog,v 1.16 2006/09/21 20:51:48 flameeyes Exp $ + + 21 Sep 2006; Diego Pettenò <flameeyes@gentoo.org> ChangeLog: + Add 6.2_beta1 ebuilds. 27 Jul 2006; Diego Pettenò <flameeyes@gentoo.org> -files/bug130389.patch, -freebsd-baselayout-20060420-r2.ebuild: diff --git a/sys-freebsd/freebsd-bin/ChangeLog b/sys-freebsd/freebsd-bin/ChangeLog index 7689b9f6cc82..7c223f5ce1e0 100644 --- a/sys-freebsd/freebsd-bin/ChangeLog +++ b/sys-freebsd/freebsd-bin/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-freebsd/freebsd-bin # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-bin/ChangeLog,v 1.12 2006/07/27 01:21:34 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-bin/ChangeLog,v 1.13 2006/09/21 20:52:26 flameeyes Exp $ + +*freebsd-bin-6.2_beta1 (21 Sep 2006) + + 21 Sep 2006; Diego Pettenò <flameeyes@gentoo.org> + +freebsd-bin-6.2_beta1.ebuild: + Add 6.2_beta1 ebuilds. 27 Jul 2006; Diego Pettenò <flameeyes@gentoo.org> -freebsd-bin-6.0-r1.ebuild: diff --git a/sys-freebsd/freebsd-bin/files/digest-freebsd-bin-6.2_beta1 b/sys-freebsd/freebsd-bin/files/digest-freebsd-bin-6.2_beta1 new file mode 100644 index 000000000000..95506bbbffd7 --- /dev/null +++ b/sys-freebsd/freebsd-bin/files/digest-freebsd-bin-6.2_beta1 @@ -0,0 +1,9 @@ +MD5 f621992402fa985961506ae501ac0f63 freebsd-bin-6.2_beta1.tar.bz2 406525 +RMD160 9a42157a45e6636a03dad79ccb0c22da49c08f1c freebsd-bin-6.2_beta1.tar.bz2 406525 +SHA256 cda7b97ffe4e0a2cc3730d3efe0473a7246064ffde6d16968ccaaf8675d79af3 freebsd-bin-6.2_beta1.tar.bz2 406525 +MD5 6c354bc2ff61f044f3ffeba6715a816d freebsd-lib-6.2_beta1.tar.bz2 2661080 +RMD160 904eae7bf7fb7ac8575eee10dea3de44944dcecc freebsd-lib-6.2_beta1.tar.bz2 2661080 +SHA256 5f6235820f8dcbeeeae90ff05917ab61b203730b07015b920732a49204df356e freebsd-lib-6.2_beta1.tar.bz2 2661080 +MD5 989abe45b242a95251f99425f6db2ee0 freebsd-sbin-6.2_beta1.tar.bz2 1159964 +RMD160 d77802a9086d084cc7da35e17e09179dc6024676 freebsd-sbin-6.2_beta1.tar.bz2 1159964 +SHA256 6f759fc8b5e451c8e5f51bcc175d4a910314f9096359f03b9fef3c24fc5e66d7 freebsd-sbin-6.2_beta1.tar.bz2 1159964 diff --git a/sys-freebsd/freebsd-bin/freebsd-bin-6.2_beta1.ebuild b/sys-freebsd/freebsd-bin/freebsd-bin-6.2_beta1.ebuild new file mode 100644 index 000000000000..1149d1844b74 --- /dev/null +++ b/sys-freebsd/freebsd-bin/freebsd-bin-6.2_beta1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-bin/freebsd-bin-6.2_beta1.ebuild,v 1.1 2006/09/21 20:52:26 flameeyes Exp $ + +inherit bsdmk freebsd + +DESCRIPTION="FreeBSD /bin tools" +SLOT="0" +KEYWORDS="~x86-fbsd" + +IUSE="rcp nls" + +SRC_URI="mirror://gentoo/${BIN}.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-admin/realpath" +DEPEND="${RDEPEND} + =sys-freebsd/freebsd-mk-defs-${RV}* + >=sys-devel/flex-2.5.31-r2" + +S=${WORKDIR}/bin + +PATCHES="${FILESDIR}/${PN}-6.0-flex-2.5.31.patch" + +pkg_setup() { + use rcp || mymakeopts="${mymakeopts} NO_RCMDS= " + use nls || mymakeopts="${mymakeopts} NO_NLS= " + + mymakeopts="${mymakeopts} NO_TCSH= NO_SENDMAIL= NO_OPENSSL= NO_CRYPT= " +} + +# csh and tcsh are provided by tcsh package, rmail is sendmail stuff. +REMOVE_SUBDIRS="csh rmail ed" diff --git a/sys-freebsd/freebsd-contrib/ChangeLog b/sys-freebsd/freebsd-contrib/ChangeLog index ec1d09f8b378..8de913c3a101 100644 --- a/sys-freebsd/freebsd-contrib/ChangeLog +++ b/sys-freebsd/freebsd-contrib/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-freebsd/freebsd-contrib # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-contrib/ChangeLog,v 1.9 2006/09/09 16:25:52 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-contrib/ChangeLog,v 1.10 2006/09/21 20:53:16 flameeyes Exp $ + +*freebsd-contrib-6.2_beta1 (21 Sep 2006) + + 21 Sep 2006; Diego Pettenò <flameeyes@gentoo.org> + +freebsd-contrib-6.2_beta1.ebuild: + Add 6.2_beta1 ebuilds. 09 Sep 2006; Diego Pettenò <flameeyes@gentoo.org> freebsd-contrib-6.1.ebuild: diff --git a/sys-freebsd/freebsd-contrib/files/digest-freebsd-contrib-6.2_beta1 b/sys-freebsd/freebsd-contrib/files/digest-freebsd-contrib-6.2_beta1 new file mode 100644 index 000000000000..81701fa308c6 --- /dev/null +++ b/sys-freebsd/freebsd-contrib/files/digest-freebsd-contrib-6.2_beta1 @@ -0,0 +1,9 @@ +MD5 90475e859a392eb47b8ca1b8ce1f55fc freebsd-contrib-6.2_beta1.tar.bz2 36459773 +RMD160 c7e56dab7c678c780f1154f14aef6d9647845456 freebsd-contrib-6.2_beta1.tar.bz2 36459773 +SHA256 c0a88479b5472c9085aa04d7b39735b8001e559fb7645c07821f4466344c865d freebsd-contrib-6.2_beta1.tar.bz2 36459773 +MD5 4873a3aede8a8c121cab7b37c28487b5 freebsd-gcc-3.4.2.tar.bz2 8447406 +RMD160 bb9d525baee03e8d0b3897baf0c3b7b36d7941f2 freebsd-gcc-3.4.2.tar.bz2 8447406 +SHA256 9946c986c73ddad8085a94771cac59755fd1c53e3d7cd2841817bdfd5cccd31f freebsd-gcc-3.4.2.tar.bz2 8447406 +MD5 c14053fa5034ff62122d2664a3830c4a freebsd-gnu-6.2_beta1.tar.bz2 869424 +RMD160 27caa8de95bb6ab6881444d1db79ee9ee5d1737c freebsd-gnu-6.2_beta1.tar.bz2 869424 +SHA256 6bfdd92dc30d817560f158df056faa54d4f4bcd04b68cb95263583d1c8b24854 freebsd-gnu-6.2_beta1.tar.bz2 869424 diff --git a/sys-freebsd/freebsd-contrib/freebsd-contrib-6.2_beta1.ebuild b/sys-freebsd/freebsd-contrib/freebsd-contrib-6.2_beta1.ebuild new file mode 100644 index 000000000000..28d4d534c7f3 --- /dev/null +++ b/sys-freebsd/freebsd-contrib/freebsd-contrib-6.2_beta1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-contrib/freebsd-contrib-6.2_beta1.ebuild,v 1.1 2006/09/21 20:53:16 flameeyes Exp $ + +inherit bsdmk freebsd flag-o-matic + +GCC="freebsd-gcc-3.4.2" + +DESCRIPTION="Contributed sources for FreeBSD." +SLOT="0" +KEYWORDS="~x86-fbsd" +LICENSE="BSD GPL-2 as-is" + +IUSE="ssl kerberos" + +SRC_URI="mirror://gentoo/${GNU}.tar.bz2 + mirror://gentoo/${GCC}.tar.bz2 + mirror://gentoo/${P}.tar.bz2" + +RDEPEND="kerberos? ( virtual/krb5 ) + ssl? ( dev-libs/openssl )" +DEPEND="${RDEPEND} + =sys-freebsd/freebsd-sources-${RV}* + =sys-freebsd/freebsd-mk-defs-${RV}*" + +S="${WORKDIR}/gnu" + +pkg_setup() { + if use kerberos && ! use ssl; then + error "You can't install with kerberos support and no ssl support" + fi + + use ssl || mymakeopts="${mymakeopts} NO_OPENSSL= NO_CRYPT= " + use kerberos || mymakeopts="${mymakeopts} NO_KERBEROS= " +} + +REMOVE_SUBDIRS="lib/libg2c lib/libgcc lib/libgcc_r lib/libgcov lib/libiberty + lib/libobjc lib/libreadline lib/libregex lib/libstdc++ lib/libsupc++ usr.bin/bc + usr.bin/binutils usr.bin/cc usr.bin/cpio usr.bin/cvs usr.bin/dc usr.bin/dialog + usr.bin/diff usr.bin/diff3 usr.bin/gdb usr.bin/gperf usr.bin/grep usr.bin/groff + usr.bin/gzip usr.bin/man usr.bin/rcs usr.bin/sdiff usr.bin/send-pr + usr.bin/tar usr.bin/texinfo" + +PATCHES="${FILESDIR}/${PN}-5.3-lib_csu-makefile.patch" + +src_install() { + freebsd_src_install + + # Move these to /bin for boot access + dodir /bin + mv "${D}/usr/bin/sort" "${D}/bin/" || die "mv failed" +} diff --git a/sys-freebsd/freebsd-lib/ChangeLog b/sys-freebsd/freebsd-lib/ChangeLog index d09c44e65e52..4aa0e3950184 100644 --- a/sys-freebsd/freebsd-lib/ChangeLog +++ b/sys-freebsd/freebsd-lib/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-freebsd/freebsd-lib # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-lib/ChangeLog,v 1.26 2006/09/03 11:25:22 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-lib/ChangeLog,v 1.27 2006/09/21 20:54:12 flameeyes Exp $ + +*freebsd-lib-6.2_beta1 (21 Sep 2006) + + 21 Sep 2006; Diego Pettenò <flameeyes@gentoo.org> + +freebsd-lib-6.2_beta1.ebuild: + Add 6.2_beta1 ebuilds. 03 Sep 2006; Diego Pettenò <flameeyes@gentoo.org> freebsd-lib-6.1.ebuild: Update to new use-expand variable, thanks to Danny Van Dyk. diff --git a/sys-freebsd/freebsd-lib/files/digest-freebsd-lib-6.2_beta1 b/sys-freebsd/freebsd-lib/files/digest-freebsd-lib-6.2_beta1 new file mode 100644 index 000000000000..fed78bd22df9 --- /dev/null +++ b/sys-freebsd/freebsd-lib/files/digest-freebsd-lib-6.2_beta1 @@ -0,0 +1,24 @@ +MD5 90475e859a392eb47b8ca1b8ce1f55fc freebsd-contrib-6.2_beta1.tar.bz2 36459773 +RMD160 c7e56dab7c678c780f1154f14aef6d9647845456 freebsd-contrib-6.2_beta1.tar.bz2 36459773 +SHA256 c0a88479b5472c9085aa04d7b39735b8001e559fb7645c07821f4466344c865d freebsd-contrib-6.2_beta1.tar.bz2 36459773 +MD5 cf8ef0a09829446e06683eee91054463 freebsd-crypto-6.2_beta1.tar.bz2 3982627 +RMD160 46ad3a3104dad41244dec552713b7f0412eaa492 freebsd-crypto-6.2_beta1.tar.bz2 3982627 +SHA256 5908f71ad58e0782904d5bcfb20db4d83f83235a0f396fe1a53e08ff0b41d33d freebsd-crypto-6.2_beta1.tar.bz2 3982627 +MD5 f361863ced3de8f2a903ca7c2062ee31 freebsd-etc-6.2_beta1.tar.bz2 188028 +RMD160 ff3e8a99269fabaf772c8ad95035ebaa8e0031e8 freebsd-etc-6.2_beta1.tar.bz2 188028 +SHA256 cf4c6ccbd0b186f485234ef2f94ed6150527fc16fe543ebf217e17631588a208 freebsd-etc-6.2_beta1.tar.bz2 188028 +MD5 04593f691ad3774fb9442e959275a197 freebsd-include-6.2_beta1.tar.bz2 131610 +RMD160 788485e0c3fd494609d53638a130f2c4d0572799 freebsd-include-6.2_beta1.tar.bz2 131610 +SHA256 9aaa221169fde51d0ee23fcbb1dfdf838b6971b0ce4109d757fbd3f93dae88c2 freebsd-include-6.2_beta1.tar.bz2 131610 +MD5 6c354bc2ff61f044f3ffeba6715a816d freebsd-lib-6.2_beta1.tar.bz2 2661080 +RMD160 904eae7bf7fb7ac8575eee10dea3de44944dcecc freebsd-lib-6.2_beta1.tar.bz2 2661080 +SHA256 5f6235820f8dcbeeeae90ff05917ab61b203730b07015b920732a49204df356e freebsd-lib-6.2_beta1.tar.bz2 2661080 +MD5 4c3e49de4b68d824b6578cfc9da911da freebsd-libexec-6.2_beta1.tar.bz2 277148 +RMD160 54a1e429b264d9efc1fee0718b3bea4254bae05e freebsd-libexec-6.2_beta1.tar.bz2 277148 +SHA256 123c6c2bd0fc228d8c51ccb91ec38fd0b30b946dd3bf15867bf8fd24be6e87fc freebsd-libexec-6.2_beta1.tar.bz2 277148 +MD5 dd2820ec2777e9543b58cb3513a49348 freebsd-sys-6.2_beta1.tar.bz2 18325628 +RMD160 f939584c8fd6502c0540cafda5fd463f412e6f2e freebsd-sys-6.2_beta1.tar.bz2 18325628 +SHA256 1b9ab2deae07146d9891993209efef24473f7f9967ff838d89653a8f9a9c9ccc freebsd-sys-6.2_beta1.tar.bz2 18325628 +MD5 6ea2f48cb527eb88ef0cfc4efe6689e6 freebsd-usbin-6.2_beta1.tar.bz2 2694381 +RMD160 360aa0fb7010a337e655ca003599f18b37232f76 freebsd-usbin-6.2_beta1.tar.bz2 2694381 +SHA256 315e58a3d65dc4078845747e97f5e31b3245e3a8795d74a715d81afbadaf08fc freebsd-usbin-6.2_beta1.tar.bz2 2694381 diff --git a/sys-freebsd/freebsd-lib/freebsd-lib-6.2_beta1.ebuild b/sys-freebsd/freebsd-lib/freebsd-lib-6.2_beta1.ebuild new file mode 100644 index 000000000000..84fd35a37943 --- /dev/null +++ b/sys-freebsd/freebsd-lib/freebsd-lib-6.2_beta1.ebuild @@ -0,0 +1,231 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-lib/freebsd-lib-6.2_beta1.ebuild,v 1.1 2006/09/21 20:54:12 flameeyes Exp $ + +inherit bsdmk freebsd flag-o-matic toolchain-funcs + +DESCRIPTION="FreeBSD's base system libraries" +SLOT="6.0" +KEYWORDS="~x86-fbsd" + +IUSE="atm bluetooth ssl ipv6 kerberos nis gpib" + +# 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 + nis? ( mirror://gentoo/${USBIN}.tar.bz2 ) + !kernel_FreeBSD? ( + mirror://gentoo/${SYS}.tar.bz2 )" + +if [[ ${CATEGORY/cross-} == ${CATEGORY} ]]; then + RDEPEND="ssl? ( dev-libs/openssl ) + kerberos? ( virtual/krb5 ) + !sys-freebsd/freebsd-headers" + DEPEND="${RDEPEND} + >=sys-devel/flex-2.5.31-r2 + =sys-freebsd/freebsd-sources-${RV}*" + + PROVIDE="virtual/libc + virtual/os-headers" +fi + +DEPEND="${DEPEND} + =sys-freebsd/freebsd-mk-defs-${RV}*" + +S="${WORKDIR}/lib" + +export CTARGET=${CTARGET:-${CHOST}} +if [[ ${CTARGET} == ${CHOST} && ${CATEGORY/cross-} != ${CATEGORY} ]]; then + export CTARGET=${CATEGORY/cross-} +fi + +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} NO_ATM= " + use bluetooth || mymakeopts="${mymakeopts} NO_BLUETOOTH= " + use ssl || mymakeopts="${mymakeopts} NO_OPENSSL= NO_CRYPT= " + use ipv6 || mymakeopts="${mymakeopts} NO_INET6= " + use kerberos || mymakeopts="${mymakeopts} NO_KERBEROS= " + use nis || mymakeopts="${mymakeopts} NO_NIS= " + use gpib || mymakeopts="${mymakeopts} NO_GPIB= " + + mymakeopts="${mymakeopts} NO_OPENSSH= NO_BIND= NO_SENDMAIL= " + + replace-flags "-O?" -"O1" + + if [[ ${CTARGET} != ${CHOST} ]]; then + mymakeopts="${mymakeopts} MACHINE=$(tc-arch-kernel ${CTARGET})" + mymakeopts="${mymakeopts} MACHINE_ARCH=$(tc-arch-kernel ${CTARGET})" + fi +} + +PATCHES="${FILESDIR}/${PN}-bsdxml.patch + ${FILESDIR}/${PN}-fixmp.patch + ${FILESDIR}/${PN}-6.0-pmc.patch + ${FILESDIR}/${PN}-6.0-gccfloat.patch + ${FILESDIR}/${PN}-6.0-flex-2.5.31.patch + ${FILESDIR}/${PN}-6.0-binutils-asm.patch + ${FILESDIR}/${PN}-6.0-ssp.patch + ${FILESDIR}/${P}-csu-amd64.patch" + +# Here we disable and remove source which we don't need or want +# In order: +# - ncurses stuff +# - 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="libncurses libform libmenu libpanel \ + libz libbz2 libarchive \ + libsm libsmdb libsmutil \ + libbegemot libbsnmp \ + libsmb libpam libpcap bind libwrap libmagic \ + libcom_err libtelnet" + +src_unpack() { + freebsd_src_unpack + + if [[ ${CTARGET} == ${CHOST} ]]; then + ln -s "/usr/src/sys-${RV}" "${WORKDIR}/sys" + else + sed -i -e 's:/usr/include:/usr/'${CTARGET}'/usr/include:g' \ + "${S}/libc/"{yp,rpc}"/Makefile.inc" + fi + + [[ -n $(install --version 2> /dev/null | grep GNU) ]] && \ + sed -i -e 's:${INSTALL} -C:${INSTALL}:' "${WORKDIR}/include/Makefile" + + sed -i -e 's:-o/dev/stdout:-t:' ${S}/libc/net/Makefile.inc +} + +src_compile() { + cd "${WORKDIR}/include" + $(freebsd_get_bmake) CC=$(tc-getCC) || die "make include failed" + + use crosscompile_opts_headers-only && return 0 + + # Don't use ssp until properly fixed + append-flags $(test-flags -fno-stack-protector -fno-stack-protector-all) + + strip-flags + if [[ ${CTARGET} != ${CHOST} ]]; then + export YACC='yacc -by' + CHOST=${CTARGET} tc-export CC LD CXX + + 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 + cd "${csudir}" + $(freebsd_get_bmake) ${mymakeopts} || die "make csu failed" + + append-flags "-isystem /usr/${CTARGET}/usr/include" + append-flags "-B ${csudir}" + append-ldflags "-B ${csudir}" + cd "${S}/libc" + $(freebsd_get_bmake) ${mymakeopts} || die "make libc failed" + + append-flags "-isystem ${WORKDIR}/lib/msun/${machine/i386/i387}" + cd "${S}/msun" + $(freebsd_get_bmake) ${mymakeopts} || die "make libc failed" + else + # Forces to use the local copy of headers as they might be outdated in + # the system + append-flags "-isystem '${WORKDIR}/sys' -isystem '${WORKDIR}/include'" + + cd "${S}" + NOFLAGSTRIP=yes freebsd_src_compile + fi +} + +src_install() { + cd "${WORKDIR}/include" + + [[ ${CTARGET} == ${CHOST} ]] \ + && INCLUDEDIR="/usr/include" \ + || INCLUDEDIR="/usr/${CTARGET}/usr/include" + + einfo "Installing for ${CTARGET} in ${CHOST}.." + + dodir "${INCLUDEDIR}" + $(freebsd_get_bmake) installincludes \ + MACHINE=$(tc-arch-kernel) \ + DESTDIR="${D}" INCLUDEDIR="${INCLUDEDIR}" || die "Install failed" + + # 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 + + 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" || 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 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 failed" + + dosym "usr/include" "/usr/${CTARGET}/sys-include" + else + cd "${S}" + mkinstall || die "Install failed" + fi + + # Don't install the rest of the configuration files if crosscompiling + [[ ${CTARGET} != ${CHOST} ]] && return 0 + + # Compatibility symlinks to run FreeBSD 5.x binaries (ABI is mostly + # identical, remove when problems will actually happen) + dosym /lib/libc.so.6 /usr/lib/libc.so.5 + dosym /lib/libm.so.4 /usr/lib/libm.so.3 + + # 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 + doins "etc.$(tc-arch-kernel)"/* +} + diff --git a/sys-freebsd/freebsd-libexec/ChangeLog b/sys-freebsd/freebsd-libexec/ChangeLog index e566a344e581..007500125e59 100644 --- a/sys-freebsd/freebsd-libexec/ChangeLog +++ b/sys-freebsd/freebsd-libexec/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-freebsd/freebsd-libexec # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-libexec/ChangeLog,v 1.10 2006/07/27 01:24:19 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-libexec/ChangeLog,v 1.11 2006/09/21 20:55:07 flameeyes Exp $ + +*freebsd-libexec-6.2_beta1 (21 Sep 2006) + + 21 Sep 2006; Diego Pettenò <flameeyes@gentoo.org> + +freebsd-libexec-6.2_beta1.ebuild: + Add 6.2_beta1 ebuilds. 27 Jul 2006; Diego Pettenò <flameeyes@gentoo.org> -freebsd-libexec-6.0.ebuild: diff --git a/sys-freebsd/freebsd-libexec/files/digest-freebsd-libexec-6.2_beta1 b/sys-freebsd/freebsd-libexec/files/digest-freebsd-libexec-6.2_beta1 new file mode 100644 index 000000000000..b70be29623b8 --- /dev/null +++ b/sys-freebsd/freebsd-libexec/files/digest-freebsd-libexec-6.2_beta1 @@ -0,0 +1,21 @@ +MD5 f621992402fa985961506ae501ac0f63 freebsd-bin-6.2_beta1.tar.bz2 406525 +RMD160 9a42157a45e6636a03dad79ccb0c22da49c08f1c freebsd-bin-6.2_beta1.tar.bz2 406525 +SHA256 cda7b97ffe4e0a2cc3730d3efe0473a7246064ffde6d16968ccaaf8675d79af3 freebsd-bin-6.2_beta1.tar.bz2 406525 +MD5 90475e859a392eb47b8ca1b8ce1f55fc freebsd-contrib-6.2_beta1.tar.bz2 36459773 +RMD160 c7e56dab7c678c780f1154f14aef6d9647845456 freebsd-contrib-6.2_beta1.tar.bz2 36459773 +SHA256 c0a88479b5472c9085aa04d7b39735b8001e559fb7645c07821f4466344c865d freebsd-contrib-6.2_beta1.tar.bz2 36459773 +MD5 f361863ced3de8f2a903ca7c2062ee31 freebsd-etc-6.2_beta1.tar.bz2 188028 +RMD160 ff3e8a99269fabaf772c8ad95035ebaa8e0031e8 freebsd-etc-6.2_beta1.tar.bz2 188028 +SHA256 cf4c6ccbd0b186f485234ef2f94ed6150527fc16fe543ebf217e17631588a208 freebsd-etc-6.2_beta1.tar.bz2 188028 +MD5 6c354bc2ff61f044f3ffeba6715a816d freebsd-lib-6.2_beta1.tar.bz2 2661080 +RMD160 904eae7bf7fb7ac8575eee10dea3de44944dcecc freebsd-lib-6.2_beta1.tar.bz2 2661080 +SHA256 5f6235820f8dcbeeeae90ff05917ab61b203730b07015b920732a49204df356e freebsd-lib-6.2_beta1.tar.bz2 2661080 +MD5 4c3e49de4b68d824b6578cfc9da911da freebsd-libexec-6.2_beta1.tar.bz2 277148 +RMD160 54a1e429b264d9efc1fee0718b3bea4254bae05e freebsd-libexec-6.2_beta1.tar.bz2 277148 +SHA256 123c6c2bd0fc228d8c51ccb91ec38fd0b30b946dd3bf15867bf8fd24be6e87fc freebsd-libexec-6.2_beta1.tar.bz2 277148 +MD5 2b0e0b53d75d2a3baf750c9e22a4a8a5 freebsd-ubin-6.2_beta1.tar.bz2 1771844 +RMD160 0bedcb1038ac157a2c3eee59db38f75d310bbfa1 freebsd-ubin-6.2_beta1.tar.bz2 1771844 +SHA256 b82e2b310001ccb335f26c19bf74431691ace27320fe4d1a49d0b4c86ba419cd freebsd-ubin-6.2_beta1.tar.bz2 1771844 +MD5 6ea2f48cb527eb88ef0cfc4efe6689e6 freebsd-usbin-6.2_beta1.tar.bz2 2694381 +RMD160 360aa0fb7010a337e655ca003599f18b37232f76 freebsd-usbin-6.2_beta1.tar.bz2 2694381 +SHA256 315e58a3d65dc4078845747e97f5e31b3245e3a8795d74a715d81afbadaf08fc freebsd-usbin-6.2_beta1.tar.bz2 2694381 diff --git a/sys-freebsd/freebsd-libexec/freebsd-libexec-6.2_beta1.ebuild b/sys-freebsd/freebsd-libexec/freebsd-libexec-6.2_beta1.ebuild new file mode 100644 index 000000000000..b9ccb7380cf4 --- /dev/null +++ b/sys-freebsd/freebsd-libexec/freebsd-libexec-6.2_beta1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-libexec/freebsd-libexec-6.2_beta1.ebuild,v 1.1 2006/09/21 20:55:07 flameeyes Exp $ + +inherit bsdmk freebsd pam + +DESCRIPTION="FreeBSD libexec things" +SLOT="0" +KEYWORDS="~x86-fbsd" + +IUSE="pam ssl kerberos ipv6 nis" + +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}*" + +S="${WORKDIR}/libexec" + +pkg_setup() { + use pam || mymakeopts="${mymakeopts} NO_PAM= " + use ssl || mymakeopts="${mymakeopts} NO_OPENSSL= NO_CRYPT= " + use kerberos || mymakeopts="${mymakeopts} NO_KERBEROS= " + use ipv6 || mymakeopts="${mymakeopts} NO_INET6= " + use nis || mymakeopts="${mymakeopts} NO_NIS= " + + mymakeopts="${mymakeopts} NO_SENDMAIL= NO_PF= " +} + +src_compile() { + NOSSP_FLAGS="$(test-flags -fno-stack-protector -fno-stack-protector-all)" + export NOSSP_FLAGS + freebsd_src_compile +} + +PATCHES="${FILESDIR}/${PN}-setXid.patch + ${FILESDIR}/${PN}-5.3_rc1-ypxfr-makefile.patch + ${FILESDIR}/${PN}-nossp.patch + ${FILESDIR}/${PN}-${RV}-libfallback.patch" + +# Remove sendmail, tcp_wrapper and other useless stuff +REMOVE_SUBDIRS="smrsh mail.local tcpd telnetd rshd rlogind lukemftpd ftpd" + +src_install() { + freebsd_src_install + + insinto /etc + cd "${WORKDIR}/etc" + doins gettytab +} diff --git a/sys-freebsd/freebsd-mk-defs/ChangeLog b/sys-freebsd/freebsd-mk-defs/ChangeLog index 9bb4c8000f22..0a823635eed3 100644 --- a/sys-freebsd/freebsd-mk-defs/ChangeLog +++ b/sys-freebsd/freebsd-mk-defs/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-freebsd/freebsd-mk-defs # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-mk-defs/ChangeLog,v 1.15 2006/07/27 01:25:07 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-mk-defs/ChangeLog,v 1.16 2006/09/21 20:55:51 flameeyes Exp $ + +*freebsd-mk-defs-6.2_beta1 (21 Sep 2006) + + 21 Sep 2006; Diego Pettenò <flameeyes@gentoo.org> + +freebsd-mk-defs-6.2_beta1.ebuild: + Add 6.2_beta1 ebuilds. 27 Jul 2006; Diego Pettenò <flameeyes@gentoo.org> -freebsd-mk-defs-6.0-r2.ebuild: diff --git a/sys-freebsd/freebsd-mk-defs/files/digest-freebsd-mk-defs-6.2_beta1 b/sys-freebsd/freebsd-mk-defs/files/digest-freebsd-mk-defs-6.2_beta1 new file mode 100644 index 000000000000..15c27147f41a --- /dev/null +++ b/sys-freebsd/freebsd-mk-defs/files/digest-freebsd-mk-defs-6.2_beta1 @@ -0,0 +1,3 @@ +MD5 da3e4d7824c4e7155af2fcc330124386 freebsd-share-6.2_beta1.tar.bz2 3761603 +RMD160 ce7b09a161790f4a506314523a0d082870721ac7 freebsd-share-6.2_beta1.tar.bz2 3761603 +SHA256 ff623dbef2fa72202fe1ff1f323272d34a342cb25753b5cef7cbed759753a4ba freebsd-share-6.2_beta1.tar.bz2 3761603 diff --git a/sys-freebsd/freebsd-mk-defs/freebsd-mk-defs-6.2_beta1.ebuild b/sys-freebsd/freebsd-mk-defs/freebsd-mk-defs-6.2_beta1.ebuild new file mode 100644 index 000000000000..b8fe23c15452 --- /dev/null +++ b/sys-freebsd/freebsd-mk-defs/freebsd-mk-defs-6.2_beta1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2006 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-6.2_beta1.ebuild,v 1.1 2006/09/21 20:55:51 flameeyes Exp $ + +inherit bsdmk freebsd + +DESCRIPTION="Makefiles definitions used for building and installing libraries and system files" +SLOT="0" +KEYWORDS="~amd64 ~x86-fbsd" + +IUSE="" + +SRC_URI="mirror://gentoo/${SHARE}.tar.bz2" + +RDEPEND="" +DEPEND="" + +RESTRICT="nostrip" + +S="${WORKDIR}/share/mk" + +src_unpack() { + unpack ${A} + cd ${WORKDIR}/share + epatch "${FILESDIR}/${PN}-6.1-gentoo.patch" + + [[ ${CHOST} != *-*bsd* || ${CHOST} == *-gnu ]] && \ + epatch "${FILESDIR}/${PN}-6.0-gnu.patch" +} + +src_compile() { + einfo "Nothing to compile" +} + +src_install() { + if [[ ${CHOST} != *-freebsd* ]]; then + insinto /usr/share/mk/freebsd + else + insinto /usr/share/mk + fi + doins *.mk +} diff --git a/sys-freebsd/freebsd-pam-modules/ChangeLog b/sys-freebsd/freebsd-pam-modules/ChangeLog index 6b09decb7bc3..95590e0765e5 100644 --- a/sys-freebsd/freebsd-pam-modules/ChangeLog +++ b/sys-freebsd/freebsd-pam-modules/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-freebsd/freebsd-pam-modules # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-pam-modules/ChangeLog,v 1.8 2006/07/27 01:25:51 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-pam-modules/ChangeLog,v 1.9 2006/09/21 20:56:29 flameeyes Exp $ + +*freebsd-pam-modules-6.2_beta1 (21 Sep 2006) + + 21 Sep 2006; Diego Pettenò <flameeyes@gentoo.org> + +freebsd-pam-modules-6.2_beta1.ebuild: + Add 6.2_beta1 ebuilds. 27 Jul 2006; Diego Pettenò <flameeyes@gentoo.org> -freebsd-pam-modules-6.0.ebuild: diff --git a/sys-freebsd/freebsd-pam-modules/files/digest-freebsd-pam-modules-6.2_beta1 b/sys-freebsd/freebsd-pam-modules/files/digest-freebsd-pam-modules-6.2_beta1 new file mode 100644 index 000000000000..74f28031a9ca --- /dev/null +++ b/sys-freebsd/freebsd-pam-modules/files/digest-freebsd-pam-modules-6.2_beta1 @@ -0,0 +1,3 @@ +MD5 6c354bc2ff61f044f3ffeba6715a816d freebsd-lib-6.2_beta1.tar.bz2 2661080 +RMD160 904eae7bf7fb7ac8575eee10dea3de44944dcecc freebsd-lib-6.2_beta1.tar.bz2 2661080 +SHA256 5f6235820f8dcbeeeae90ff05917ab61b203730b07015b920732a49204df356e freebsd-lib-6.2_beta1.tar.bz2 2661080 diff --git a/sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-6.2_beta1.ebuild b/sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-6.2_beta1.ebuild new file mode 100644 index 000000000000..a0882d3df79f --- /dev/null +++ b/sys-freebsd/freebsd-pam-modules/freebsd-pam-modules-6.2_beta1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2006 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-6.2_beta1.ebuild,v 1.1 2006/09/21 20:56:29 flameeyes Exp $ + +inherit bsdmk freebsd multilib pam + +DESCRIPTION="FreeBSD's PAM authentication modules" +SLOT="0" +KEYWORDS="~x86-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}-6.0-gentoo.patch +} + +src_install() { + mkinstall "LIBDIR=/$(get_libdir)/security" || die "install failed" + + dodoc "${FILESDIR}/5.4/README.pamd" + dopamd "${FILESDIR}/5.4/pam.d/"* +} diff --git a/sys-freebsd/freebsd-pf/ChangeLog b/sys-freebsd/freebsd-pf/ChangeLog index 222e8c2c6b47..2a0f3f5f2ede 100644 --- a/sys-freebsd/freebsd-pf/ChangeLog +++ b/sys-freebsd/freebsd-pf/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-freebsd/freebsd-pf # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-pf/ChangeLog,v 1.10 2006/07/27 01:26:38 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-pf/ChangeLog,v 1.11 2006/09/21 20:57:28 flameeyes Exp $ + +*freebsd-pf-6.2_beta1 (21 Sep 2006) + + 21 Sep 2006; Diego Pettenò <flameeyes@gentoo.org> + +freebsd-pf-6.2_beta1.ebuild: + Add 6.2_beta1 ebuilds. 27 Jul 2006; Diego Pettenò <flameeyes@gentoo.org> -freebsd-pf-6.0-r1.ebuild: diff --git a/sys-freebsd/freebsd-pf/files/digest-freebsd-pf-6.2_beta1 b/sys-freebsd/freebsd-pf/files/digest-freebsd-pf-6.2_beta1 new file mode 100644 index 000000000000..a8641ede3107 --- /dev/null +++ b/sys-freebsd/freebsd-pf/files/digest-freebsd-pf-6.2_beta1 @@ -0,0 +1,12 @@ +MD5 90475e859a392eb47b8ca1b8ce1f55fc freebsd-contrib-6.2_beta1.tar.bz2 36459773 +RMD160 c7e56dab7c678c780f1154f14aef6d9647845456 freebsd-contrib-6.2_beta1.tar.bz2 36459773 +SHA256 c0a88479b5472c9085aa04d7b39735b8001e559fb7645c07821f4466344c865d freebsd-contrib-6.2_beta1.tar.bz2 36459773 +MD5 f361863ced3de8f2a903ca7c2062ee31 freebsd-etc-6.2_beta1.tar.bz2 188028 +RMD160 ff3e8a99269fabaf772c8ad95035ebaa8e0031e8 freebsd-etc-6.2_beta1.tar.bz2 188028 +SHA256 cf4c6ccbd0b186f485234ef2f94ed6150527fc16fe543ebf217e17631588a208 freebsd-etc-6.2_beta1.tar.bz2 188028 +MD5 989abe45b242a95251f99425f6db2ee0 freebsd-sbin-6.2_beta1.tar.bz2 1159964 +RMD160 d77802a9086d084cc7da35e17e09179dc6024676 freebsd-sbin-6.2_beta1.tar.bz2 1159964 +SHA256 6f759fc8b5e451c8e5f51bcc175d4a910314f9096359f03b9fef3c24fc5e66d7 freebsd-sbin-6.2_beta1.tar.bz2 1159964 +MD5 6ea2f48cb527eb88ef0cfc4efe6689e6 freebsd-usbin-6.2_beta1.tar.bz2 2694381 +RMD160 360aa0fb7010a337e655ca003599f18b37232f76 freebsd-usbin-6.2_beta1.tar.bz2 2694381 +SHA256 315e58a3d65dc4078845747e97f5e31b3245e3a8795d74a715d81afbadaf08fc freebsd-usbin-6.2_beta1.tar.bz2 2694381 diff --git a/sys-freebsd/freebsd-pf/freebsd-pf-6.2_beta1.ebuild b/sys-freebsd/freebsd-pf/freebsd-pf-6.2_beta1.ebuild new file mode 100644 index 000000000000..ed239d7f7902 --- /dev/null +++ b/sys-freebsd/freebsd-pf/freebsd-pf-6.2_beta1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-pf/freebsd-pf-6.2_beta1.ebuild,v 1.1 2006/09/21 20:57:28 flameeyes 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} + sys-freebsd/freebsd-mk-defs + =sys-freebsd/freebsd-sources-${RV}*" + +S="${WORKDIR}" + +SUBDIRS="usr.sbin/authpf sbin/pfctl sbin/pflogd" + +PATCHES="${FILESDIR}/${PN}-6.0-pcap.patch" + +src_unpack() { + freebsd_src_unpack + + 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 + + newinitd "${FILESDIR}/pf.initd" pf + newconfd "${FILESDIR}/pf.confd" pf +} diff --git a/sys-freebsd/freebsd-rescue/ChangeLog b/sys-freebsd/freebsd-rescue/ChangeLog index f9e250b7368a..c20f956395c0 100644 --- a/sys-freebsd/freebsd-rescue/ChangeLog +++ b/sys-freebsd/freebsd-rescue/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-freebsd/freebsd-rescue # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-rescue/ChangeLog,v 1.7 2006/07/27 01:27:32 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-rescue/ChangeLog,v 1.8 2006/09/21 20:58:20 flameeyes Exp $ + +*freebsd-rescue-6.2_beta1 (21 Sep 2006) + + 21 Sep 2006; Diego Pettenò <flameeyes@gentoo.org> + +freebsd-rescue-6.2_beta1.ebuild: + Add 6.2_beta1 ebuilds. 27 Jul 2006; Diego Pettenò <flameeyes@gentoo.org> -freebsd-rescue-6.0.ebuild: diff --git a/sys-freebsd/freebsd-rescue/files/digest-freebsd-rescue-6.2_beta1 b/sys-freebsd/freebsd-rescue/files/digest-freebsd-rescue-6.2_beta1 new file mode 100644 index 000000000000..508aa2b4f7a5 --- /dev/null +++ b/sys-freebsd/freebsd-rescue/files/digest-freebsd-rescue-6.2_beta1 @@ -0,0 +1,30 @@ +MD5 f621992402fa985961506ae501ac0f63 freebsd-bin-6.2_beta1.tar.bz2 406525 +RMD160 9a42157a45e6636a03dad79ccb0c22da49c08f1c freebsd-bin-6.2_beta1.tar.bz2 406525 +SHA256 cda7b97ffe4e0a2cc3730d3efe0473a7246064ffde6d16968ccaaf8675d79af3 freebsd-bin-6.2_beta1.tar.bz2 406525 +MD5 90475e859a392eb47b8ca1b8ce1f55fc freebsd-contrib-6.2_beta1.tar.bz2 36459773 +RMD160 c7e56dab7c678c780f1154f14aef6d9647845456 freebsd-contrib-6.2_beta1.tar.bz2 36459773 +SHA256 c0a88479b5472c9085aa04d7b39735b8001e559fb7645c07821f4466344c865d freebsd-contrib-6.2_beta1.tar.bz2 36459773 +MD5 c14053fa5034ff62122d2664a3830c4a freebsd-gnu-6.2_beta1.tar.bz2 869424 +RMD160 27caa8de95bb6ab6881444d1db79ee9ee5d1737c freebsd-gnu-6.2_beta1.tar.bz2 869424 +SHA256 6bfdd92dc30d817560f158df056faa54d4f4bcd04b68cb95263583d1c8b24854 freebsd-gnu-6.2_beta1.tar.bz2 869424 +MD5 6c354bc2ff61f044f3ffeba6715a816d freebsd-lib-6.2_beta1.tar.bz2 2661080 +RMD160 904eae7bf7fb7ac8575eee10dea3de44944dcecc freebsd-lib-6.2_beta1.tar.bz2 2661080 +SHA256 5f6235820f8dcbeeeae90ff05917ab61b203730b07015b920732a49204df356e freebsd-lib-6.2_beta1.tar.bz2 2661080 +MD5 4c3e49de4b68d824b6578cfc9da911da freebsd-libexec-6.2_beta1.tar.bz2 277148 +RMD160 54a1e429b264d9efc1fee0718b3bea4254bae05e freebsd-libexec-6.2_beta1.tar.bz2 277148 +SHA256 123c6c2bd0fc228d8c51ccb91ec38fd0b30b946dd3bf15867bf8fd24be6e87fc freebsd-libexec-6.2_beta1.tar.bz2 277148 +MD5 1a3fd688471c223d5b3fa37c976ac328 freebsd-rescue-6.2_beta1.tar.bz2 4938 +RMD160 71afea65f0f4134c4fcb87a9d3db22833f26dfde freebsd-rescue-6.2_beta1.tar.bz2 4938 +SHA256 b2a21b12316ed35d1a432a98c3af86f6f91bea933af4183f689bfd8ae9aea5c9 freebsd-rescue-6.2_beta1.tar.bz2 4938 +MD5 989abe45b242a95251f99425f6db2ee0 freebsd-sbin-6.2_beta1.tar.bz2 1159964 +RMD160 d77802a9086d084cc7da35e17e09179dc6024676 freebsd-sbin-6.2_beta1.tar.bz2 1159964 +SHA256 6f759fc8b5e451c8e5f51bcc175d4a910314f9096359f03b9fef3c24fc5e66d7 freebsd-sbin-6.2_beta1.tar.bz2 1159964 +MD5 dd2820ec2777e9543b58cb3513a49348 freebsd-sys-6.2_beta1.tar.bz2 18325628 +RMD160 f939584c8fd6502c0540cafda5fd463f412e6f2e freebsd-sys-6.2_beta1.tar.bz2 18325628 +SHA256 1b9ab2deae07146d9891993209efef24473f7f9967ff838d89653a8f9a9c9ccc freebsd-sys-6.2_beta1.tar.bz2 18325628 +MD5 2b0e0b53d75d2a3baf750c9e22a4a8a5 freebsd-ubin-6.2_beta1.tar.bz2 1771844 +RMD160 0bedcb1038ac157a2c3eee59db38f75d310bbfa1 freebsd-ubin-6.2_beta1.tar.bz2 1771844 +SHA256 b82e2b310001ccb335f26c19bf74431691ace27320fe4d1a49d0b4c86ba419cd freebsd-ubin-6.2_beta1.tar.bz2 1771844 +MD5 6ea2f48cb527eb88ef0cfc4efe6689e6 freebsd-usbin-6.2_beta1.tar.bz2 2694381 +RMD160 360aa0fb7010a337e655ca003599f18b37232f76 freebsd-usbin-6.2_beta1.tar.bz2 2694381 +SHA256 315e58a3d65dc4078845747e97f5e31b3245e3a8795d74a715d81afbadaf08fc freebsd-usbin-6.2_beta1.tar.bz2 2694381 diff --git a/sys-freebsd/freebsd-rescue/freebsd-rescue-6.2_beta1.ebuild b/sys-freebsd/freebsd-rescue/freebsd-rescue-6.2_beta1.ebuild new file mode 100644 index 000000000000..f49fedba17a8 --- /dev/null +++ b/sys-freebsd/freebsd-rescue/freebsd-rescue-6.2_beta1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-rescue/freebsd-rescue-6.2_beta1.ebuild,v 1.1 2006/09/21 20:58:20 flameeyes Exp $ + +inherit bsdmk freebsd + +DESCRIPTION="FreeBSD's rescue binaries" +SLOT="0" +KEYWORDS="~x86-fbsd" + +IUSE="atm nis" + +SRC_URI="mirror://gentoo/${UBIN}.tar.bz2 + mirror://gentoo/${CONTRIB}.tar.bz2 + mirror://gentoo/${LIB}.tar.bz2 + mirror://gentoo/${BIN}.tar.bz2 + mirror://gentoo/${SBIN}.tar.bz2 + mirror://gentoo/${USBIN}.tar.bz2 + mirror://gentoo/${GNU}.tar.bz2 + mirror://gentoo/${SYS}.tar.bz2 + mirror://gentoo/${LIBEXEC}.tar.bz2 + mirror://gentoo/${RESCUE}.tar.bz2" + +RDEPEND="" +DEPEND="sys-devel/flex + =sys-freebsd/freebsd-sources-${RV}* + =sys-freebsd/freebsd-mk-defs-${RV}*" + +S="${WORKDIR}/rescue" + +pkg_setup() { + use atm || mymakeopts="${mymakeopts} NO_ATM= " + use nis || mymakeopts="${mymakeopts} NO_NIS= " + + for flag in atm nis; do + if use ${flag} && ! built_with_use sys-libs/freebsd-lib ${flag}; then + die "You can't add ${flag} support here without adding it to sys-libs/freebsd-lib" + fi + done + +# append-flags -fno-stack-protector -fno-stack-protector-all +} + +src_unpack() { + freebsd_src_unpack + + # As they are patches from ${WORKDIR} apply them by hand + cd ${WORKDIR} + epatch ${FILESDIR}/${PN}-5.4-gentoo.patch + epatch ${FILESDIR}/${PN}-5.4-sbin-gentoo.patch +} diff --git a/sys-freebsd/freebsd-sbin/ChangeLog b/sys-freebsd/freebsd-sbin/ChangeLog index e7dfc6b84c90..d4c217fb0f60 100644 --- a/sys-freebsd/freebsd-sbin/ChangeLog +++ b/sys-freebsd/freebsd-sbin/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-freebsd/freebsd-sbin # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-sbin/ChangeLog,v 1.15 2006/09/11 22:08:20 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-sbin/ChangeLog,v 1.16 2006/09/21 20:59:16 flameeyes Exp $ + +*freebsd-sbin-6.2_beta1 (21 Sep 2006) + + 21 Sep 2006; Diego Pettenò <flameeyes@gentoo.org> + +freebsd-sbin-6.2_beta1.ebuild: + Add 6.2_beta1 ebuilds. 11 Sep 2006; Diego Pettenò <flameeyes@gentoo.org> +files/freebsd-sbin-6.1-pr102701.patch, freebsd-sbin-6.1.ebuild: diff --git a/sys-freebsd/freebsd-sbin/files/digest-freebsd-sbin-6.2_beta1 b/sys-freebsd/freebsd-sbin/files/digest-freebsd-sbin-6.2_beta1 new file mode 100644 index 000000000000..a141b0d6e3dc --- /dev/null +++ b/sys-freebsd/freebsd-sbin/files/digest-freebsd-sbin-6.2_beta1 @@ -0,0 +1,18 @@ +MD5 90475e859a392eb47b8ca1b8ce1f55fc freebsd-contrib-6.2_beta1.tar.bz2 36459773 +RMD160 c7e56dab7c678c780f1154f14aef6d9647845456 freebsd-contrib-6.2_beta1.tar.bz2 36459773 +SHA256 c0a88479b5472c9085aa04d7b39735b8001e559fb7645c07821f4466344c865d freebsd-contrib-6.2_beta1.tar.bz2 36459773 +MD5 f361863ced3de8f2a903ca7c2062ee31 freebsd-etc-6.2_beta1.tar.bz2 188028 +RMD160 ff3e8a99269fabaf772c8ad95035ebaa8e0031e8 freebsd-etc-6.2_beta1.tar.bz2 188028 +SHA256 cf4c6ccbd0b186f485234ef2f94ed6150527fc16fe543ebf217e17631588a208 freebsd-etc-6.2_beta1.tar.bz2 188028 +MD5 6c354bc2ff61f044f3ffeba6715a816d freebsd-lib-6.2_beta1.tar.bz2 2661080 +RMD160 904eae7bf7fb7ac8575eee10dea3de44944dcecc freebsd-lib-6.2_beta1.tar.bz2 2661080 +SHA256 5f6235820f8dcbeeeae90ff05917ab61b203730b07015b920732a49204df356e freebsd-lib-6.2_beta1.tar.bz2 2661080 +MD5 4c3e49de4b68d824b6578cfc9da911da freebsd-libexec-6.2_beta1.tar.bz2 277148 +RMD160 54a1e429b264d9efc1fee0718b3bea4254bae05e freebsd-libexec-6.2_beta1.tar.bz2 277148 +SHA256 123c6c2bd0fc228d8c51ccb91ec38fd0b30b946dd3bf15867bf8fd24be6e87fc freebsd-libexec-6.2_beta1.tar.bz2 277148 +MD5 989abe45b242a95251f99425f6db2ee0 freebsd-sbin-6.2_beta1.tar.bz2 1159964 +RMD160 d77802a9086d084cc7da35e17e09179dc6024676 freebsd-sbin-6.2_beta1.tar.bz2 1159964 +SHA256 6f759fc8b5e451c8e5f51bcc175d4a910314f9096359f03b9fef3c24fc5e66d7 freebsd-sbin-6.2_beta1.tar.bz2 1159964 +MD5 6ea2f48cb527eb88ef0cfc4efe6689e6 freebsd-usbin-6.2_beta1.tar.bz2 2694381 +RMD160 360aa0fb7010a337e655ca003599f18b37232f76 freebsd-usbin-6.2_beta1.tar.bz2 2694381 +SHA256 315e58a3d65dc4078845747e97f5e31b3245e3a8795d74a715d81afbadaf08fc freebsd-usbin-6.2_beta1.tar.bz2 2694381 diff --git a/sys-freebsd/freebsd-sbin/freebsd-sbin-6.2_beta1.ebuild b/sys-freebsd/freebsd-sbin/freebsd-sbin-6.2_beta1.ebuild new file mode 100644 index 000000000000..32e16a00ff76 --- /dev/null +++ b/sys-freebsd/freebsd-sbin/freebsd-sbin-6.2_beta1.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-sbin/freebsd-sbin-6.2_beta1.ebuild,v 1.1 2006/09/21 20:59:16 flameeyes Exp $ + +inherit flag-o-matic bsdmk freebsd + +DESCRIPTION="FreeBSD sbin utils" +KEYWORDS="~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" + +RDEPEND="=sys-freebsd/freebsd-lib-${RV}* + =sys-freebsd/freebsd-libexec-${RV}* + ssl? ( dev-libs/openssl ) + sys-libs/readline + sys-process/vixie-cron" +DEPEND="${RDEPEND} + =sys-freebsd/freebsd-sources-${RV}* + =sys-freebsd/freebsd-mk-defs-${RV}*" + +PROVIDE="virtual/dev-manager" + +S="${WORKDIR}/sbin" + +IUSE="atm ipfilter ipv6 vinum suid ssl" + +pkg_setup() { + use atm || mymakeopts="${mymakeopts} NO_ATM= " + use ipfilter || mymakeopts="${mymakeopts} NO_IPFILTER= " + use ipv6 || mymakeopts="${mymakeopts} NO_INET6= " + use vinum || mymakeopts="${mymakeopts} NO_VINUM= " + use suid || mymakeopts="${mymakeopts} NO_SUID= " + + # O3 breaks this, apparently + replace-flags -O3 -O2 +} + +REMOVE_SUBDIRS="dhclient pfctl pflogd" + +PATCHES="${FILESDIR}/${PN}-setXid.patch + ${FILESDIR}/${PN}-zlib.patch + ${FILESDIR}/${P}-pr102701.patch" + +src_unpack() { + freebsd_src_unpack + ln -s "/usr/src/sys-${RV}" "${WORKDIR}/sys" + + cd "${WORKDIR}" + epatch "${FILESDIR}/${PN}-6.1-devd-conf.patch" +} + +src_install() { + freebsd_src_install + keepdir /var/log + + # Allow users to use ping and other commands + dodir /bin + mv "${D}/sbin/ping" "${D}/bin/" || die "mv failed" + + newinitd "${FILESDIR}/ipfw.initd" ipfw + newinitd "${FILESDIR}/sysctl.initd" sysctl + + cd "${WORKDIR}/etc/" + insinto /etc + doins devd.conf pccard_ether defaults/pccard.conf minfree rc.firewall \ + sysctl.conf + + # 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/*.ip6fwlimit \ + security/*.ip6fwdenied \ + security/*.ipfwdenied + + use ipfilter && doperiodic security \ + security/*.ipf6denied \ + security/*.ipfdenied +} diff --git a/sys-freebsd/freebsd-share/ChangeLog b/sys-freebsd/freebsd-share/ChangeLog index 628301ab29a9..9c6fa5ef3773 100644 --- a/sys-freebsd/freebsd-share/ChangeLog +++ b/sys-freebsd/freebsd-share/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-freebsd/freebsd-share # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-share/ChangeLog,v 1.12 2006/07/27 01:29:13 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-share/ChangeLog,v 1.13 2006/09/21 21:00:09 flameeyes Exp $ + +*freebsd-share-6.2_beta1 (21 Sep 2006) + + 21 Sep 2006; Diego Pettenò <flameeyes@gentoo.org> + +freebsd-share-6.2_beta1.ebuild: + Add 6.2_beta1 ebuilds. 27 Jul 2006; Diego Pettenò <flameeyes@gentoo.org> -freebsd-share-6.0-r1.ebuild: diff --git a/sys-freebsd/freebsd-share/files/digest-freebsd-share-6.2_beta1 b/sys-freebsd/freebsd-share/files/digest-freebsd-share-6.2_beta1 new file mode 100644 index 000000000000..e41cee96b021 --- /dev/null +++ b/sys-freebsd/freebsd-share/files/digest-freebsd-share-6.2_beta1 @@ -0,0 +1,27 @@ +MD5 f621992402fa985961506ae501ac0f63 freebsd-bin-6.2_beta1.tar.bz2 406525 +RMD160 9a42157a45e6636a03dad79ccb0c22da49c08f1c freebsd-bin-6.2_beta1.tar.bz2 406525 +SHA256 cda7b97ffe4e0a2cc3730d3efe0473a7246064ffde6d16968ccaaf8675d79af3 freebsd-bin-6.2_beta1.tar.bz2 406525 +MD5 90475e859a392eb47b8ca1b8ce1f55fc freebsd-contrib-6.2_beta1.tar.bz2 36459773 +RMD160 c7e56dab7c678c780f1154f14aef6d9647845456 freebsd-contrib-6.2_beta1.tar.bz2 36459773 +SHA256 c0a88479b5472c9085aa04d7b39735b8001e559fb7645c07821f4466344c865d freebsd-contrib-6.2_beta1.tar.bz2 36459773 +MD5 f361863ced3de8f2a903ca7c2062ee31 freebsd-etc-6.2_beta1.tar.bz2 188028 +RMD160 ff3e8a99269fabaf772c8ad95035ebaa8e0031e8 freebsd-etc-6.2_beta1.tar.bz2 188028 +SHA256 cf4c6ccbd0b186f485234ef2f94ed6150527fc16fe543ebf217e17631588a208 freebsd-etc-6.2_beta1.tar.bz2 188028 +MD5 c14053fa5034ff62122d2664a3830c4a freebsd-gnu-6.2_beta1.tar.bz2 869424 +RMD160 27caa8de95bb6ab6881444d1db79ee9ee5d1737c freebsd-gnu-6.2_beta1.tar.bz2 869424 +SHA256 6bfdd92dc30d817560f158df056faa54d4f4bcd04b68cb95263583d1c8b24854 freebsd-gnu-6.2_beta1.tar.bz2 869424 +MD5 6c354bc2ff61f044f3ffeba6715a816d freebsd-lib-6.2_beta1.tar.bz2 2661080 +RMD160 904eae7bf7fb7ac8575eee10dea3de44944dcecc freebsd-lib-6.2_beta1.tar.bz2 2661080 +SHA256 5f6235820f8dcbeeeae90ff05917ab61b203730b07015b920732a49204df356e freebsd-lib-6.2_beta1.tar.bz2 2661080 +MD5 989abe45b242a95251f99425f6db2ee0 freebsd-sbin-6.2_beta1.tar.bz2 1159964 +RMD160 d77802a9086d084cc7da35e17e09179dc6024676 freebsd-sbin-6.2_beta1.tar.bz2 1159964 +SHA256 6f759fc8b5e451c8e5f51bcc175d4a910314f9096359f03b9fef3c24fc5e66d7 freebsd-sbin-6.2_beta1.tar.bz2 1159964 +MD5 da3e4d7824c4e7155af2fcc330124386 freebsd-share-6.2_beta1.tar.bz2 3761603 +RMD160 ce7b09a161790f4a506314523a0d082870721ac7 freebsd-share-6.2_beta1.tar.bz2 3761603 +SHA256 ff623dbef2fa72202fe1ff1f323272d34a342cb25753b5cef7cbed759753a4ba freebsd-share-6.2_beta1.tar.bz2 3761603 +MD5 2b0e0b53d75d2a3baf750c9e22a4a8a5 freebsd-ubin-6.2_beta1.tar.bz2 1771844 +RMD160 0bedcb1038ac157a2c3eee59db38f75d310bbfa1 freebsd-ubin-6.2_beta1.tar.bz2 1771844 +SHA256 b82e2b310001ccb335f26c19bf74431691ace27320fe4d1a49d0b4c86ba419cd freebsd-ubin-6.2_beta1.tar.bz2 1771844 +MD5 6ea2f48cb527eb88ef0cfc4efe6689e6 freebsd-usbin-6.2_beta1.tar.bz2 2694381 +RMD160 360aa0fb7010a337e655ca003599f18b37232f76 freebsd-usbin-6.2_beta1.tar.bz2 2694381 +SHA256 315e58a3d65dc4078845747e97f5e31b3245e3a8795d74a715d81afbadaf08fc freebsd-usbin-6.2_beta1.tar.bz2 2694381 diff --git a/sys-freebsd/freebsd-share/freebsd-share-6.2_beta1.ebuild b/sys-freebsd/freebsd-share/freebsd-share-6.2_beta1.ebuild new file mode 100644 index 000000000000..383e88bddd40 --- /dev/null +++ b/sys-freebsd/freebsd-share/freebsd-share-6.2_beta1.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-share/freebsd-share-6.2_beta1.ebuild,v 1.1 2006/09/21 21:00:09 flameeyes Exp $ + +inherit bsdmk freebsd + +DESCRIPTION="FreeBSD shared tools/files" +SLOT="0" +KEYWORDS="~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}*" +RDEPEND="" + +RESTRICT="nostrip" + +S="${WORKDIR}/share" + +pkg_setup() { + use isdn || mymakeopts="${mymakeopts} NO_I4B= " + use doc || mymakeopts="${mymakeopts} NO_SHAREDOCS= " + + mymakeopts="${mymakeopts} NO_SENDMAIL= " +} + +REMOVE_SUBDIRS="mk termcap zoneinfo tabset" + +PATCHES="${FILESDIR}/${PN}-5.3-doc-locations.patch + ${FILESDIR}/${PN}-5.4-gentoo-skel.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" + # Don't install the arch-specific directories in subdirectories + sed -i -e '/MANSUBDIR/d' "${S}"/man/man4/man4.{alpha,i386,sparc64}/Makefile + + cd "${S}/mklocale" + # See http://opal.com/freebsd/unicode.html + epatch "${FILESDIR}/${P}-utf8.patch" + + # Remove them so that they can't be included by error + rm -rf "${S}"/mk/*.mk + + # Change the order, colldef has to go after mklocale or it creates symlinks + # with the names of directories + sed -i -e 's:colldef::' -e 's:mklocale:mklocale colldef:' "${S}/Makefile" +} + +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 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 988ce1c181b9..35fa4549f300 100644 --- a/sys-freebsd/freebsd-sources/ChangeLog +++ b/sys-freebsd/freebsd-sources/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-freebsd/freebsd-sources # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-sources/ChangeLog,v 1.19 2006/09/04 18:49:15 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-sources/ChangeLog,v 1.20 2006/09/21 21:00:55 flameeyes Exp $ + +*freebsd-sources-6.2_beta1 (21 Sep 2006) + + 21 Sep 2006; Diego Pettenò <flameeyes@gentoo.org> + +freebsd-sources-6.2_beta1.ebuild: + Add 6.2_beta1 ebuilds. *freebsd-sources-6.1-r4 (04 Sep 2006) diff --git a/sys-freebsd/freebsd-sources/files/digest-freebsd-sources-6.2_beta1 b/sys-freebsd/freebsd-sources/files/digest-freebsd-sources-6.2_beta1 new file mode 100644 index 000000000000..ee1ad8096f1a --- /dev/null +++ b/sys-freebsd/freebsd-sources/files/digest-freebsd-sources-6.2_beta1 @@ -0,0 +1,3 @@ +MD5 dd2820ec2777e9543b58cb3513a49348 freebsd-sys-6.2_beta1.tar.bz2 18325628 +RMD160 f939584c8fd6502c0540cafda5fd463f412e6f2e freebsd-sys-6.2_beta1.tar.bz2 18325628 +SHA256 1b9ab2deae07146d9891993209efef24473f7f9967ff838d89653a8f9a9c9ccc freebsd-sys-6.2_beta1.tar.bz2 18325628 diff --git a/sys-freebsd/freebsd-sources/freebsd-sources-6.2_beta1.ebuild b/sys-freebsd/freebsd-sources/freebsd-sources-6.2_beta1.ebuild new file mode 100644 index 000000000000..a09427f355d7 --- /dev/null +++ b/sys-freebsd/freebsd-sources/freebsd-sources-6.2_beta1.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-sources/freebsd-sources-6.2_beta1.ebuild,v 1.1 2006/09/21 21:00:55 flameeyes Exp $ + +inherit bsdmk freebsd flag-o-matic + +DESCRIPTION="FreeBSD kernel sources" +SLOT="${PVR}" +KEYWORDS="~x86-fbsd" + +IUSE="symlink" + +SRC_URI="mirror://gentoo/${SYS}.tar.bz2" + +RDEPEND=">=sys-freebsd/freebsd-mk-defs-6.0-r1" +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" + + epatch "${FILESDIR}/${PN}-gentoo.patch" + epatch "${FILESDIR}/${PN}-6.0-flex-2.5.31.patch" + epatch "${FILESDIR}/${PN}-6.0-asm.patch" + epatch "${FILESDIR}/${PN}-6.0-werror.patch" + epatch "${FILESDIR}/${PN}-6.1-gcc41.patch" + epatch "${FILESDIR}/${PN}-6.1-intrcnt.patch" + + # Disable SSP for the kernel + grep -Zlr -- -ffreestanding "${S}" | xargs -0 sed -i -e \ + "s:-ffreestanding:-ffreestanding $(test-flags -fno-stack-protector -fno-stack-protector-all):g" +} + +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 +} diff --git a/sys-freebsd/freebsd-ubin/ChangeLog b/sys-freebsd/freebsd-ubin/ChangeLog index adbb08264d78..c91090d5a725 100644 --- a/sys-freebsd/freebsd-ubin/ChangeLog +++ b/sys-freebsd/freebsd-ubin/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-freebsd/freebsd-ubin # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-ubin/ChangeLog,v 1.22 2006/09/19 14:58:30 the_paya Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-ubin/ChangeLog,v 1.23 2006/09/21 21:01:47 flameeyes Exp $ + +*freebsd-ubin-6.2_beta1 (21 Sep 2006) + + 21 Sep 2006; Diego Pettenò <flameeyes@gentoo.org> + +freebsd-ubin-6.2_beta1.ebuild: + Add 6.2_beta1 ebuilds. 19 Sep 2006; Javier Villavicencio <the_paya@gentoo.org> freebsd-ubin-6.1.ebuild: diff --git a/sys-freebsd/freebsd-ubin/files/digest-freebsd-ubin-6.2_beta1 b/sys-freebsd/freebsd-ubin/files/digest-freebsd-ubin-6.2_beta1 new file mode 100644 index 000000000000..ba2ba1dfda5a --- /dev/null +++ b/sys-freebsd/freebsd-ubin/files/digest-freebsd-ubin-6.2_beta1 @@ -0,0 +1,18 @@ +MD5 f621992402fa985961506ae501ac0f63 freebsd-bin-6.2_beta1.tar.bz2 406525 +RMD160 9a42157a45e6636a03dad79ccb0c22da49c08f1c freebsd-bin-6.2_beta1.tar.bz2 406525 +SHA256 cda7b97ffe4e0a2cc3730d3efe0473a7246064ffde6d16968ccaaf8675d79af3 freebsd-bin-6.2_beta1.tar.bz2 406525 +MD5 90475e859a392eb47b8ca1b8ce1f55fc freebsd-contrib-6.2_beta1.tar.bz2 36459773 +RMD160 c7e56dab7c678c780f1154f14aef6d9647845456 freebsd-contrib-6.2_beta1.tar.bz2 36459773 +SHA256 c0a88479b5472c9085aa04d7b39735b8001e559fb7645c07821f4466344c865d freebsd-contrib-6.2_beta1.tar.bz2 36459773 +MD5 f361863ced3de8f2a903ca7c2062ee31 freebsd-etc-6.2_beta1.tar.bz2 188028 +RMD160 ff3e8a99269fabaf772c8ad95035ebaa8e0031e8 freebsd-etc-6.2_beta1.tar.bz2 188028 +SHA256 cf4c6ccbd0b186f485234ef2f94ed6150527fc16fe543ebf217e17631588a208 freebsd-etc-6.2_beta1.tar.bz2 188028 +MD5 04593f691ad3774fb9442e959275a197 freebsd-include-6.2_beta1.tar.bz2 131610 +RMD160 788485e0c3fd494609d53638a130f2c4d0572799 freebsd-include-6.2_beta1.tar.bz2 131610 +SHA256 9aaa221169fde51d0ee23fcbb1dfdf838b6971b0ce4109d757fbd3f93dae88c2 freebsd-include-6.2_beta1.tar.bz2 131610 +MD5 6c354bc2ff61f044f3ffeba6715a816d freebsd-lib-6.2_beta1.tar.bz2 2661080 +RMD160 904eae7bf7fb7ac8575eee10dea3de44944dcecc freebsd-lib-6.2_beta1.tar.bz2 2661080 +SHA256 5f6235820f8dcbeeeae90ff05917ab61b203730b07015b920732a49204df356e freebsd-lib-6.2_beta1.tar.bz2 2661080 +MD5 2b0e0b53d75d2a3baf750c9e22a4a8a5 freebsd-ubin-6.2_beta1.tar.bz2 1771844 +RMD160 0bedcb1038ac157a2c3eee59db38f75d310bbfa1 freebsd-ubin-6.2_beta1.tar.bz2 1771844 +SHA256 b82e2b310001ccb335f26c19bf74431691ace27320fe4d1a49d0b4c86ba419cd freebsd-ubin-6.2_beta1.tar.bz2 1771844 diff --git a/sys-freebsd/freebsd-ubin/freebsd-ubin-6.2_beta1.ebuild b/sys-freebsd/freebsd-ubin/freebsd-ubin-6.2_beta1.ebuild new file mode 100644 index 000000000000..6f1dd8717970 --- /dev/null +++ b/sys-freebsd/freebsd-ubin/freebsd-ubin-6.2_beta1.ebuild @@ -0,0 +1,102 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-ubin/freebsd-ubin-6.2_beta1.ebuild,v 1.1 2006/09/21 21:01:47 flameeyes Exp $ + +inherit bsdmk freebsd flag-o-matic pam + +DESCRIPTION="FreeBSD's base system source for /usr/bin" +SLOT="0" +KEYWORDS="~x86-fbsd" + +IUSE="atm bluetooth ssl usb nls ipv6 kerberos nis" + +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" + +RDEPEND="sys-freebsd/freebsd-lib + ssl? ( dev-libs/openssl ) + kerberos? ( virtual/krb5 ) + sys-libs/zlib + virtual/pam" + +DEPEND="${RDEPEND} + sys-devel/flex + =sys-freebsd/freebsd-sources-${RV}* + =sys-freebsd/freebsd-mk-defs-${RV}*" + +RDEPEND="${RDEPEND} + sys-process/cronbase" + +S="${WORKDIR}/usr.bin" + +pkg_setup() { + use nls || mymakeopts="${mymakeopts} NO_NLS= " + use atm || mymakeopts="${mymakeopts} NO_ATM= " + use bluetooth || mymakeopts="${mymakeopts} NO_BLUETOOTH= " + use ssl || mymakeopts="${mymakeopts} NO_OPENSSL= NO_CRYPT= " + use usb || mymakeopts="${mymakeopts} NO_USB= " + use ipv6 || mymakeopts="${mymakeopts} NO_INET6= " + use kerberos || mymakeopts="${mymakeopts} NO_KERBEROS= " + use nis || mymakeopts="${mymakeopts} NO_NIS= " + + mymakeopts="${mymakeopts} NO_SENDMAIL= " +} + +# List of patches to apply +PATCHES="${FILESDIR}/${PN}-6.0-bsdcmp.patch + ${FILESDIR}/${PN}-6.0-fixmakefiles.patch + ${FILESDIR}/${PN}-setXid.patch + ${FILESDIR}/${PN}-lint-stdarg.patch + ${FILESDIR}/${PN}-6.0-kdump-ioctl.patch + ${FILESDIR}/${P}-gcc41.patch + ${FILESDIR}/${P}-rpcgen-gcc41.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 +# and the rest are misc utils we already provide somewhere else. +REMOVE_SUBDIRS="bzip2 bzip2recover tar + tput tset + less lessecho lesskey + dig nslookup nsupdate host + rsh rlogin rusers rwho ruptime + compile_et lex vi smbutil file vacation nc ftp telnet + c99 c89" + +src_unpack() { + freebsd_src_unpack + + ln -s "/usr/src/sys-${RV}" "${WORKDIR}/sys" + + # Rename manpage for renamed cmp + mv ${S}/cmp/cmp.1 ${S}/cmp/bsdcmp.1 +} + +src_install() { + freebsd_src_install + + dodir /bin + for bin in awk sed mkfifo uname true false touch tty; 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}.pamd" ${pamdfile} + done + + cd "${WORKDIR}/etc" + insinto /etc + doins remote phones opieaccess fbtab + + exeinto /etc/cron.daily + newexe "${FILESDIR}/locate-updatedb-cron" locate.updatedb +} diff --git a/sys-freebsd/freebsd-usbin/ChangeLog b/sys-freebsd/freebsd-usbin/ChangeLog index 297f6475d45f..a43b7440e90a 100644 --- a/sys-freebsd/freebsd-usbin/ChangeLog +++ b/sys-freebsd/freebsd-usbin/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-freebsd/freebsd-usbin # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-usbin/ChangeLog,v 1.15 2006/09/14 17:03:27 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-usbin/ChangeLog,v 1.16 2006/09/21 21:02:40 flameeyes Exp $ + +*freebsd-usbin-6.2_beta1 (21 Sep 2006) + + 21 Sep 2006; Diego Pettenò <flameeyes@gentoo.org> + +freebsd-usbin-6.2_beta1.ebuild: + Add 6.2_beta1 ebuilds. 14 Sep 2006; Diego Pettenò <flameeyes@gentoo.org> +files/syscons.confd, +files/syscons.initd, freebsd-usbin-6.1-r1.ebuild: diff --git a/sys-freebsd/freebsd-usbin/files/digest-freebsd-usbin-6.2_beta1 b/sys-freebsd/freebsd-usbin/files/digest-freebsd-usbin-6.2_beta1 new file mode 100644 index 000000000000..477f10b0f5b9 --- /dev/null +++ b/sys-freebsd/freebsd-usbin/files/digest-freebsd-usbin-6.2_beta1 @@ -0,0 +1,21 @@ +MD5 90475e859a392eb47b8ca1b8ce1f55fc freebsd-contrib-6.2_beta1.tar.bz2 36459773 +RMD160 c7e56dab7c678c780f1154f14aef6d9647845456 freebsd-contrib-6.2_beta1.tar.bz2 36459773 +SHA256 c0a88479b5472c9085aa04d7b39735b8001e559fb7645c07821f4466344c865d freebsd-contrib-6.2_beta1.tar.bz2 36459773 +MD5 f361863ced3de8f2a903ca7c2062ee31 freebsd-etc-6.2_beta1.tar.bz2 188028 +RMD160 ff3e8a99269fabaf772c8ad95035ebaa8e0031e8 freebsd-etc-6.2_beta1.tar.bz2 188028 +SHA256 cf4c6ccbd0b186f485234ef2f94ed6150527fc16fe543ebf217e17631588a208 freebsd-etc-6.2_beta1.tar.bz2 188028 +MD5 6c354bc2ff61f044f3ffeba6715a816d freebsd-lib-6.2_beta1.tar.bz2 2661080 +RMD160 904eae7bf7fb7ac8575eee10dea3de44944dcecc freebsd-lib-6.2_beta1.tar.bz2 2661080 +SHA256 5f6235820f8dcbeeeae90ff05917ab61b203730b07015b920732a49204df356e freebsd-lib-6.2_beta1.tar.bz2 2661080 +MD5 4c3e49de4b68d824b6578cfc9da911da freebsd-libexec-6.2_beta1.tar.bz2 277148 +RMD160 54a1e429b264d9efc1fee0718b3bea4254bae05e freebsd-libexec-6.2_beta1.tar.bz2 277148 +SHA256 123c6c2bd0fc228d8c51ccb91ec38fd0b30b946dd3bf15867bf8fd24be6e87fc freebsd-libexec-6.2_beta1.tar.bz2 277148 +MD5 989abe45b242a95251f99425f6db2ee0 freebsd-sbin-6.2_beta1.tar.bz2 1159964 +RMD160 d77802a9086d084cc7da35e17e09179dc6024676 freebsd-sbin-6.2_beta1.tar.bz2 1159964 +SHA256 6f759fc8b5e451c8e5f51bcc175d4a910314f9096359f03b9fef3c24fc5e66d7 freebsd-sbin-6.2_beta1.tar.bz2 1159964 +MD5 2b0e0b53d75d2a3baf750c9e22a4a8a5 freebsd-ubin-6.2_beta1.tar.bz2 1771844 +RMD160 0bedcb1038ac157a2c3eee59db38f75d310bbfa1 freebsd-ubin-6.2_beta1.tar.bz2 1771844 +SHA256 b82e2b310001ccb335f26c19bf74431691ace27320fe4d1a49d0b4c86ba419cd freebsd-ubin-6.2_beta1.tar.bz2 1771844 +MD5 6ea2f48cb527eb88ef0cfc4efe6689e6 freebsd-usbin-6.2_beta1.tar.bz2 2694381 +RMD160 360aa0fb7010a337e655ca003599f18b37232f76 freebsd-usbin-6.2_beta1.tar.bz2 2694381 +SHA256 315e58a3d65dc4078845747e97f5e31b3245e3a8795d74a715d81afbadaf08fc freebsd-usbin-6.2_beta1.tar.bz2 2694381 diff --git a/sys-freebsd/freebsd-usbin/freebsd-usbin-6.2_beta1.ebuild b/sys-freebsd/freebsd-usbin/freebsd-usbin-6.2_beta1.ebuild new file mode 100644 index 000000000000..e375484803a3 --- /dev/null +++ b/sys-freebsd/freebsd-usbin/freebsd-usbin-6.2_beta1.ebuild @@ -0,0 +1,152 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-usbin/freebsd-usbin-6.2_beta1.ebuild,v 1.1 2006/09/21 21:02:40 flameeyes Exp $ + +inherit bsdmk freebsd flag-o-matic eutils + +DESCRIPTION="FreeBSD /usr/sbin tools" +SLOT="0" +KEYWORDS="~x86-fbsd" + +IUSE="atm bluetooth tcpd ssl usb ipv6 acpi ipfilter isdn pam ssl radius + netgraph minimal ipsec nis pam suid nat radius" + +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 + nis? ( mirror://gentoo/${LIBEXEC}.tar.bz2 )" + +RDEPEND="=sys-freebsd/freebsd-lib-${RV}* + =sys-freebsd/freebsd-libexec-${RV}* + ssl? ( dev-libs/openssl ) + tcpd? ( sys-apps/tcp-wrappers ) + net-libs/libpcap" +DEPEND="${RDEPEND} + =sys-freebsd/freebsd-mk-defs-${RV}* + =sys-freebsd/freebsd-sources-${RV}* + sys-apps/texinfo + sys-devel/flex" + +PROVIDE="virtual/logger" + +S="${WORKDIR}/usr.sbin" + +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 atm || mymakeopts="${mymakeopts} NO_ATM= " + use bluetooth || mymakeopts="${mymakeopts} NO_BLUETOOTH= " + use ipv6 || mymakeopts="${mymakeopts} NO_INET6= " + use ipfilter || mymakeopts="${mymakeopts} NO_IPFILTER= " + use ssl || mymakeopts="${mymakeopts} NO_OPENSSL= NO_CRYPT= " + use usb || mymakeopts="${mymakeopts} NO_USB= " + use acpi || mymakeopts="${mymakeopts} NO_ACPI= " + use isdn || mymakeopts="${mymakeopts} NO_I4B= " + use pam || mymakeopts="${mymakeopts} NO_PAM= " + use radius || mymakeopts="${mymakeopts} NO_RADIUS= " + use suid || mymakeopts="${mymakeopts} NO_SUID= " + use ipsec || mymakeopts="${mymakeopts} NO_IPSEC= " + use nis || mymakeopts="${mymakeopts} NO_NIS= " + use nat || mymakeopts="${mymakeopts} NO_NAT= " + use pam || mymakeopts="${mymakeopts} NO_PAM= " + use suid || mymakeopts="${mymakeopts} NO_SUID= PPP_NOSUID= " + use radius || mymakeopts="${mymakeopts} NO_RADIUS= " + use tcpd || mymakeopts="${mymakeopts} NO_WRAP= " + + mymakeopts="${mymakeopts} NO_MAILWRAPPER= NO_BIND= NO_SENDMAIL= NO_PF= NO_AUTHPF= NO_LPR=" + + # kldxref does not build with -O2 + replace-flags "-O?" "-O1" +} + +PATCHES="${FILESDIR}/${PN}-6.0-fixmakefiles.patch + ${FILESDIR}/${PN}-6.1-nowrap.patch + ${FILESDIR}/${P}-gcc41.patch + ${FILESDIR}/SA-06-15-ypserv.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 mount_smbfs + tcpdump ndp traceroute pkg_install inetd + wpa/wpa_supplicant wpa/hostapd wpa/hostapd_cli wpa/wpa_cli + zic amd" + +src_unpack() { + freebsd_src_unpack + + ln -s "/usr/src/sys-${RV}" "${WORKDIR}/sys" + ln -s "/usr/include" "${WORKDIR}/include" +} + +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" + + for util in nfs nfsmount rpcbind syslogd moused powerd syscons; do + newinitd ${FILESDIR}/${util}.initd ${util} + [[ -e ${FILESDIR}/${util}.confd ]] && \ + newconfd ${FILESDIR}/${util}.confd ${util} + 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" + + cd "${WORKDIR}/etc" + doins amd.map apmd.conf syslog.conf newsyslog.conf usbd.conf + + insinto /etc/ppp + doins ppp/ppp.conf + + if use isdn; then + insinto /etc/isdn + doins isdn/* + rm -f ${D}/etc/isdn/Makefile + fi + + if use bluetooth; then + insinto /etc/bluetooth + doins bluetooth/* + 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() { + 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 +} + |