summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-03-30 12:42:09 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-03-30 12:42:09 +0000
commite25434ec79b0cdd66e20805c66511badde385711 (patch)
treec68ddf9a33571daf77c5eab9ebdaa432a878fd4d /profiles
parentCheck also for configure in the previous directory when using aux directory f... (diff)
downloadgentoo-2-e25434ec79b0cdd66e20805c66511badde385711.tar.gz
gentoo-2-e25434ec79b0cdd66e20805c66511badde385711.tar.bz2
gentoo-2-e25434ec79b0cdd66e20805c66511badde385711.zip
Add default-bsd/fbsd/6.0/x86 profile (and parents) from gentoo-alt SVN.
Diffstat (limited to 'profiles')
-rw-r--r--profiles/arch.list1
-rw-r--r--profiles/default-bsd/fbsd/6.0/make.defaults12
-rw-r--r--profiles/default-bsd/fbsd/6.0/package.mask8
-rw-r--r--profiles/default-bsd/fbsd/6.0/packages25
-rw-r--r--profiles/default-bsd/fbsd/6.0/packages.build11
-rw-r--r--profiles/default-bsd/fbsd/6.0/parent1
-rw-r--r--profiles/default-bsd/fbsd/6.0/profile.bashrc4
-rw-r--r--profiles/default-bsd/fbsd/6.0/x86/make.defaults11
-rw-r--r--profiles/default-bsd/fbsd/6.0/x86/parent1
-rw-r--r--profiles/default-bsd/fbsd/6.0/x86/use.mask15
-rw-r--r--profiles/default-bsd/fbsd/make.defaults14
-rw-r--r--profiles/default-bsd/fbsd/package.mask37
-rw-r--r--profiles/default-bsd/fbsd/packages17
-rw-r--r--profiles/default-bsd/fbsd/parent1
-rw-r--r--profiles/default-bsd/fbsd/virtuals16
-rw-r--r--profiles/default-bsd/package.mask55
-rw-r--r--profiles/default-bsd/packages19
-rw-r--r--profiles/default-bsd/parent1
-rw-r--r--profiles/default-bsd/profile.bashrc8
-rw-r--r--profiles/default-bsd/use.mask36
-rw-r--r--profiles/default-bsd/virtuals17
-rw-r--r--profiles/profiles.desc2
22 files changed, 312 insertions, 0 deletions
diff --git a/profiles/arch.list b/profiles/arch.list
index 86fcfdf0d0c5..cf249be1ce88 100644
--- a/profiles/arch.list
+++ b/profiles/arch.list
@@ -12,3 +12,4 @@ s390
sh
sparc
x86
+x86-fbsd
diff --git a/profiles/default-bsd/fbsd/6.0/make.defaults b/profiles/default-bsd/fbsd/6.0/make.defaults
new file mode 100644
index 000000000000..3d4fb79e3039
--- /dev/null
+++ b/profiles/default-bsd/fbsd/6.0/make.defaults
@@ -0,0 +1,12 @@
+# Copyright 2004-2005 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License, v2
+# $Header: /var/cvsroot/gentoo-x86/profiles/default-bsd/fbsd/6.0/make.defaults,v 1.1 2006/03/30 12:42:09 flameeyes Exp $
+
+# Note: CHOST must be *-gentoo-freebsd6.0, so that Gentoo can be recognized in
+# ./configure files.
+# Note: ARCH must be *-fbsd
+
+USE="readline usb"
+
+FETCHCOMMAND='/usr/bin/fetch -o "${DISTDIR}/${FILE}" "${URI}"'
+RESUMECOMMAND='/usr/bin/fetch -r -o "${DISTDIR}/${FILE}" "${URI}"'
diff --git a/profiles/default-bsd/fbsd/6.0/package.mask b/profiles/default-bsd/fbsd/6.0/package.mask
new file mode 100644
index 000000000000..f78e19de22eb
--- /dev/null
+++ b/profiles/default-bsd/fbsd/6.0/package.mask
@@ -0,0 +1,8 @@
+# Copyright 2004-2005 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License, v2
+# $Header: /var/cvsroot/gentoo-x86/profiles/default-bsd/fbsd/6.0/package.mask,v 1.1 2006/03/30 12:42:09 flameeyes Exp $
+
+# Diego Pettenò <flameeyes@gentoo.org>
+# Mask pam modules from old and new FreeBSD versions
+<sys-freebsd/freebsd-pam-modules-6.0
+>sys-freebsd/freebsd-pam-modules-6.0.99
diff --git a/profiles/default-bsd/fbsd/6.0/packages b/profiles/default-bsd/fbsd/6.0/packages
new file mode 100644
index 000000000000..323a690e3912
--- /dev/null
+++ b/profiles/default-bsd/fbsd/6.0/packages
@@ -0,0 +1,25 @@
+# Copyright 2004-2005 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License, v2
+# $Header: /var/cvsroot/gentoo-x86/profiles/default-bsd/fbsd/6.0/packages,v 1.1 2006/03/30 12:42:09 flameeyes Exp $
+
+# General guideline for package versioning:
+# * FreeBSD packages are =package-6.0*
+# * For stuff in contrib/, take the version that FreeBSD contains, and add a ~.
+# * For packages not provided by FreeBSD, be lenient. Look at what x86 do, etc.
+
+###
+# FreeBSD System
+###
+*=sys-freebsd/freebsd-mk-defs-6.0*
+*=sys-freebsd/freebsd-headers-6.0*
+*=sys-freebsd/freebsd-lib-6.0*
+*=sys-freebsd/freebsd-libexec-6.0*
+*=sys-freebsd/freebsd-bin-6.0*
+*=sys-freebsd/freebsd-sbin-6.0*
+*=sys-freebsd/freebsd-ubin-6.0*
+*=sys-freebsd/freebsd-usbin-6.0*
+*sys-freebsd/freebsd-baselayout
+*=sys-freebsd/freebsd-share-6.0*
+*=sys-freebsd/freebsd-contrib-6.0*
+*=sys-freebsd/boot0-6.0*
+
diff --git a/profiles/default-bsd/fbsd/6.0/packages.build b/profiles/default-bsd/fbsd/6.0/packages.build
new file mode 100644
index 000000000000..34a0b82443a3
--- /dev/null
+++ b/profiles/default-bsd/fbsd/6.0/packages.build
@@ -0,0 +1,11 @@
+# Copyright 2004-2005 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License, v2
+# $Header: /var/cvsroot/gentoo-x86/profiles/default-bsd/fbsd/6.0/packages.build,v 1.1 2006/03/30 12:42:09 flameeyes Exp $
+
+# Packages needed to build a stage out of this profile
+# This is not used by catalyst as it does not work with FreeBSD, yet.
+# Just add them ot the complete system.
+
+net-misc/dhcp
+net-misc/openssh
+
diff --git a/profiles/default-bsd/fbsd/6.0/parent b/profiles/default-bsd/fbsd/6.0/parent
new file mode 100644
index 000000000000..f3229c5b9876
--- /dev/null
+++ b/profiles/default-bsd/fbsd/6.0/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/default-bsd/fbsd/6.0/profile.bashrc b/profiles/default-bsd/fbsd/6.0/profile.bashrc
new file mode 100644
index 000000000000..4c9d5b96abc1
--- /dev/null
+++ b/profiles/default-bsd/fbsd/6.0/profile.bashrc
@@ -0,0 +1,4 @@
+alias make=gmake
+alias patch=gpatch
+alias sed=gsed
+alias awk=gawk
diff --git a/profiles/default-bsd/fbsd/6.0/x86/make.defaults b/profiles/default-bsd/fbsd/6.0/x86/make.defaults
new file mode 100644
index 000000000000..6ebe95ccb218
--- /dev/null
+++ b/profiles/default-bsd/fbsd/6.0/x86/make.defaults
@@ -0,0 +1,11 @@
+# Copyright 2004-2005 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License, v2
+# $Header: /var/cvsroot/gentoo-x86/profiles/default-bsd/fbsd/6.0/x86/make.defaults,v 1.1 2006/03/30 12:42:09 flameeyes Exp $
+# System-wide defaults for the G/FBSD 6.0 Portage system
+
+ARCH="x86-fbsd"
+CHOST="i586-gentoo-freebsd6.0"
+CFLAGS="-march=i586 -O2 -pipe"
+CXXFLAGS="${CFLAGS}"
+
+ACCEPT_KEYWORDS="x86-fbsd ~x86-fbsd"
diff --git a/profiles/default-bsd/fbsd/6.0/x86/parent b/profiles/default-bsd/fbsd/6.0/x86/parent
new file mode 100644
index 000000000000..f3229c5b9876
--- /dev/null
+++ b/profiles/default-bsd/fbsd/6.0/x86/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/default-bsd/fbsd/6.0/x86/use.mask b/profiles/default-bsd/fbsd/6.0/x86/use.mask
new file mode 100644
index 000000000000..b113b8f53a81
--- /dev/null
+++ b/profiles/default-bsd/fbsd/6.0/x86/use.mask
@@ -0,0 +1,15 @@
+# Copyright 2004-2005 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License, v2
+# $Header: /var/cvsroot/gentoo-x86/profiles/default-bsd/fbsd/6.0/x86/use.mask,v 1.1 2006/03/30 12:42:09 flameeyes Exp $
+
+-3dnow
+-3dnowext
+-mmx
+-sse
+-sse2
+-win32codecs
+
+# nvidia drivers works on x86
+-xvmc
+-nvidia
+
diff --git a/profiles/default-bsd/fbsd/make.defaults b/profiles/default-bsd/fbsd/make.defaults
new file mode 100644
index 000000000000..96f921c00e49
--- /dev/null
+++ b/profiles/default-bsd/fbsd/make.defaults
@@ -0,0 +1,14 @@
+# Copyright 2004-2005 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License, v2
+# $Header: /var/cvsroot/gentoo-x86/profiles/default-bsd/fbsd/make.defaults,v 1.1 2006/03/30 12:42:09 flameeyes Exp $
+
+FEATURES="-sandbox"
+
+USERLAND="BSD"
+KERNEL="FreeBSD"
+ELIBC="FreeBSD"
+
+MAKE="gmake"
+
+USE="pam oss tcpd"
+
diff --git a/profiles/default-bsd/fbsd/package.mask b/profiles/default-bsd/fbsd/package.mask
new file mode 100644
index 000000000000..4d0da913ce1c
--- /dev/null
+++ b/profiles/default-bsd/fbsd/package.mask
@@ -0,0 +1,37 @@
+# Copyright 2004-2005 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License, v2
+# $Header: /var/cvsroot/gentoo-x86/profiles/default-bsd/fbsd/package.mask,v 1.1 2006/03/30 12:42:09 flameeyes Exp $
+
+# As soon as the ~x86-fbsd keyword is spread enough, drop the extra masking
+# used to limit usage of unsupported packages.
+
+# Diego Pettenò <flameeyes@gentoo.org> (27 May 2005)
+# SGI's FAM is dead upstream, and requires mayor changes.
+# Gamin before 0.1.0 is not supported as missed the FreeBSD patches.
+# At the moment we rely on Gentopia's patched Gamin.
+app-admin/fam
+<app-admin/gamin-0.1.0
+
+# Diego Pettenò <flameeyes@gentoo.org> (23 May 2005)
+# Strace doesn't support FreeBSD 5. When a better port will be
+# available, this can be unmasked.
+dev-util/strace
+
+# Diego Pettenò <flameeyes@gentoo.org> (28 April 2005)
+# Those versions uses the pam_stack module instead of include format.
+<=app-admin/sudo-1.6.7_p5-r2
+<net-mail/mailbase-1
+<=net-misc/openssh-4.0_p1
+
+# Diego Pettenò <flameeyes@gentoo.org> (26 Aug 2005)
+# mpg123 has too many patches and handling it is difficult, let's default
+# to mpg321 that works out of the box.
+media-sound/mpg123
+
+# Diego Pettenò <flameeyes@gentoo.org> (9 Sep 2005)
+# New internal API and KQueue was not updated, masked until a patch is
+# done to resolve the problem.
+>=app-admin/gamin-0.1.6
+
+# Don't go with newer versions
+>=sys-apps/baselayout-1.12.0_pre16
diff --git a/profiles/default-bsd/fbsd/packages b/profiles/default-bsd/fbsd/packages
new file mode 100644
index 000000000000..2d0817e6343d
--- /dev/null
+++ b/profiles/default-bsd/fbsd/packages
@@ -0,0 +1,17 @@
+# Copyright 2004-2005 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License, v2
+# $Header: /var/cvsroot/gentoo-x86/profiles/default-bsd/fbsd/packages,v 1.1 2006/03/30 12:42:09 flameeyes Exp $
+
+# This files contains a small list of packages that define a
+# minimal FreeBSD system. DO NOT change this without contacting
+# Stephen Bennet <spb@gentoo.org> or Diego Pettenò <flameeyes@gentoo.org>
+#
+*sys-freebsd/freebsd-mk-defs
+*sys-freebsd/freebsd-sources
+*sys-freebsd/freebsd-headers
+
+*sys-devel/gettext
+*dev-libs/libiconv
+
+*app-arch/bsdtar
+
diff --git a/profiles/default-bsd/fbsd/parent b/profiles/default-bsd/fbsd/parent
new file mode 100644
index 000000000000..f3229c5b9876
--- /dev/null
+++ b/profiles/default-bsd/fbsd/parent
@@ -0,0 +1 @@
+..
diff --git a/profiles/default-bsd/fbsd/virtuals b/profiles/default-bsd/fbsd/virtuals
new file mode 100644
index 000000000000..edac57434b7c
--- /dev/null
+++ b/profiles/default-bsd/fbsd/virtuals
@@ -0,0 +1,16 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License, v2
+# $Header: /var/cvsroot/gentoo-x86/profiles/default-bsd/fbsd/virtuals,v 1.1 2006/03/30 12:42:09 flameeyes Exp $
+
+# This file defines the virtuals that Gentoo/FreeBSD needs to modify respect
+# the base profile
+
+# KEEP THIS FILE SORTED ALPHABETICALLY OR RISK WRATH
+
+virtual/baselayout sys-freebsd/freebsd-baselayout
+virtual/bootloader sys-freebsd/boot0
+virtual/inetd sys-freebsd/freebsd-usbin
+virtual/libc sys-freebsd/freebsd-lib
+virtual/logger sys-freebsd/freebsd-usbin
+virtual/os-headers sys-freebsd/freebsd-headers
+virtual/pam sys-libs/openpam
diff --git a/profiles/default-bsd/package.mask b/profiles/default-bsd/package.mask
new file mode 100644
index 000000000000..1078c8cbc5e4
--- /dev/null
+++ b/profiles/default-bsd/package.mask
@@ -0,0 +1,55 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/profiles/default-bsd/package.mask,v 1.1 2006/03/30 12:42:09 flameeyes Exp $
+
+# Mask out the GNU versions of various packages.
+# We want BSD versions wherever possible
+# Also mask packages that are depending on Linux kernel
+sys-apps/apmd
+sys-apps/debianutils
+sys-apps/eject
+sys-apps/net-tools
+sys-apps/pam-login
+net-misc/iputils
+sys-apps/shadow
+sys-apps/utempter
+sys-apps/util-linux
+sys-apps/which
+sys-libs/glibc
+sys-libs/libcap
+sys-libs/pam
+sys-power/acpid
+sys-process/procps
+sys-apps/iproute2
+sys-fs/udev
+sys-fs/sysfsutils
+sys-apps/hal
+sys-apps/attr
+sys-apps/acl
+net-misc/dhcpcd
+net-misc/udhcp
+net-misc/pump
+
+# Diego Pettenò <flameeyes@gentoo.org> (18 Aug 2005)
+# Previous versions of these tools installs non g-prefixed, so causes
+# collision protection to come up.
+<sys-apps/coreutils-5.2.1-r6
+<net-misc/whois-4.7.2
+
+# Diego Pettenò <flameeyes@gentoo.org> (5 June 2005)
+# metamail isn't maintained anymore upstream, Debian patches doesn't
+# work on FreeBSD, and neither on Debian or on FreeBSD the package
+# has a maintainer to coordinate with. Isn't an hard-dep for anything.
+net-mail/metamail
+
+# Diego Pettenò <flameeyes@gentoo.org> (28 April 2005)
+# Those versions uses the pam_stack module instead of include format.
+<=app-admin/sudo-1.6.7_p5-r2
+<net-mail/mailbase-1
+<=net-misc/openssh-4.0_p1
+
+# Diego Pettenò <flameeyes@gentoo.org> (20 Aug 2005)
+# We obviously can't have linux-sources (mask this to allow the
+# virtual to be masked)
+sys-kernel/gentoo-sources
+
diff --git a/profiles/default-bsd/packages b/profiles/default-bsd/packages
new file mode 100644
index 000000000000..b4a2d049187d
--- /dev/null
+++ b/profiles/default-bsd/packages
@@ -0,0 +1,19 @@
+# Copyright 2004-2005 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License, v2
+# $Header: /var/cvsroot/gentoo-x86/profiles/default-bsd/packages,v 1.1 2006/03/30 12:42:09 flameeyes Exp $
+
+-*virtual/modutils
+-*sys-fs/e2fsprogs
+-*sys-libs/cracklib
+-*sys-process/procps
+-*sys-process/psmisc
+-*sys-apps/shadow
+-*sys-apps/which
+-*sys-apps/net-tools
+-*sys-apps/kbd
+-*sys-apps/findutils
+-*sys-apps/debianutils
+-*sys-apps/coreutils
+-*net-misc/iputils
+-*app-arch/tar
+
diff --git a/profiles/default-bsd/parent b/profiles/default-bsd/parent
new file mode 100644
index 000000000000..eb001c6e8ab8
--- /dev/null
+++ b/profiles/default-bsd/parent
@@ -0,0 +1 @@
+../base
diff --git a/profiles/default-bsd/profile.bashrc b/profiles/default-bsd/profile.bashrc
new file mode 100644
index 000000000000..19145fa7d9f4
--- /dev/null
+++ b/profiles/default-bsd/profile.bashrc
@@ -0,0 +1,8 @@
+if [[ ${EBUILD_PHASE} == compile ]] ; then
+ if grep -q "Assume that mode_t is passed compatibly" ${S} -r --include openat.c; then
+ eerror "The source code contains a faulty openal.c unit from gnulib."
+ eerror "Please report this on Gentoo Bugzilla in Gentoo BSD product."
+ eerror "http://bugs.gentoo.org/enter_bug.cgi?product=Gentoo%20BSD"
+ die "Broken openal.c gnulib unit."
+ fi
+fi
diff --git a/profiles/default-bsd/use.mask b/profiles/default-bsd/use.mask
new file mode 100644
index 000000000000..a727f5a62ef4
--- /dev/null
+++ b/profiles/default-bsd/use.mask
@@ -0,0 +1,36 @@
+# Copyright 2004 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License, v2
+# $Header: /var/cvsroot/gentoo-x86/profiles/default-bsd/use.mask,v 1.1 2006/03/30 12:42:09 flameeyes Exp $
+
+# Linux-dependant flags
+selinux
+uclibc
+nptl
+alsa
+v4l
+v4l2
+fbcon
+directfb
+ev6
+hal
+gpm
+icc
+icc-pgo
+ifc
+lirc
+multilib
+svga
+sysfs
+lm_sensors
+nodroproot
+caps
+vidix
+
+# This usually refers just to linux-dvb
+dvb
+
+# Hardened doesn't work on Gentoo/*BSD for now
+hardened
+
+# termcap-compat doesn't work on BSD
+termcap-compat
diff --git a/profiles/default-bsd/virtuals b/profiles/default-bsd/virtuals
new file mode 100644
index 000000000000..d0c0f250d10e
--- /dev/null
+++ b/profiles/default-bsd/virtuals
@@ -0,0 +1,17 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License, v2
+# $Header: /var/cvsroot/gentoo-x86/profiles/default-bsd/virtuals,v 1.1 2006/03/30 12:42:09 flameeyes Exp $
+
+# This file defines the virtuals that all Gentoo/*BSD need to modify respect
+# the base profile
+
+# KEEP THIS FILE SORTED ALPHABETICALLY OR RISK WRATH
+
+virtual/dhcpc net-misc/dhcp
+virtual/eject sys-block/unieject
+virtual/ghostscript app-text/ghostscript-gnu
+virtual/jdk dev-java/kaffe-sdk
+virtual/jre dev-java/kaffe-sdk
+virtual/linux-sources sys-kernel/gentoo-sources
+virtual/mpg123 media-sound/mpg321
+virtual/utempter sys-libs/libutempter
diff --git a/profiles/profiles.desc b/profiles/profiles.desc
index 624f4c407838..ac1d3344cba7 100644
--- a/profiles/profiles.desc
+++ b/profiles/profiles.desc
@@ -73,3 +73,5 @@ x86 default-linux/x86/2006.0 stable
x86 default-linux/x86/dev/2006.1/desktop dev
#x86 default-linux/x86/dev/2006.1/server dev
+# Gentoo/FreeBSD Profiles
+x86-fbsd default-bsd/fbsd/6.0/x86 dev