diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-04-01 16:43:51 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-04-01 16:43:51 +0000 |
commit | 53057ae543f4a9f49ec43d68009a78138df7617d (patch) | |
tree | 070ce22c71a660a73732a2425799ca1efddf5aa6 /sys-freebsd/freebsd-contrib | |
parent | Add sys-freebsd to the category list. (diff) | |
download | gentoo-2-53057ae543f4a9f49ec43d68009a78138df7617d.tar.gz gentoo-2-53057ae543f4a9f49ec43d68009a78138df7617d.tar.bz2 gentoo-2-53057ae543f4a9f49ec43d68009a78138df7617d.zip |
Import sys-freebsd into main portage.
(Portage version: 2.1_pre7-r3)
Diffstat (limited to 'sys-freebsd/freebsd-contrib')
7 files changed, 215 insertions, 0 deletions
diff --git a/sys-freebsd/freebsd-contrib/ChangeLog b/sys-freebsd/freebsd-contrib/ChangeLog new file mode 100644 index 000000000000..237821a16aeb --- /dev/null +++ b/sys-freebsd/freebsd-contrib/ChangeLog @@ -0,0 +1,37 @@ +# ChangeLog for sys-apps/freebsd-contrib +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-contrib/ChangeLog,v 1.1 2006/04/01 16:43:50 flameeyes Exp $ + +*freebsd-contrib-6.0 (01 Apr 2006) + + 01 Apr 2006; Diego Pettenò <flameeyes@gentoo.org> + +files/freebsd-contrib-5.3-lib_csu-makefile.patch, + +files/freebsd-contrib-crt_gcc4.patch, +metadata.xml, + +freebsd-contrib-6.0.ebuild: + Import into portage. + + 20 Feb 2006; Diego Pettenò <flameeyes@gentoo.org> ChangeLog: + Fix deprecated stuff to use NO_* syntax. + +*freebsd-contrib-5.4 (25 Aug 2005) + + 25 Aug 2005; Diego Pettenò <flameeyes@gentoo.org> + +files/freebsd-contrib-5.3-lib_csu-makefile.patch, + +files/freebsd-contrib-crt_gcc4.patch, +freebsd-contrib-5.4.ebuild: + Moved to sys-freebsd. + + 18 Aug 2005; Diego Pettenò <flameeyes@gentoo.org> + freebsd-contrib-5.4.ebuild: + Updated to reflect bsdmk/freebsd eclasses changes. + + 29 Jul 2005; Diego Pettenò <flameeyes@gentoo.org> + freebsd-contrib-5.4.ebuild: + Adapt to recent bsdmk changes. + +*freebsd-contrib-5.3.20050301 (31 Mar 2005) + + 31 Mar 2005; Otavio R. Piske <angusyoung@gentoo.org> + freebsd-contrib-5.3.20050301.ebuild: + New ebuild based on updated sources and with suport for new use flags. + Thanks to Diego Petteno for the use flag patch. + diff --git a/sys-freebsd/freebsd-contrib/Manifest b/sys-freebsd/freebsd-contrib/Manifest new file mode 100644 index 000000000000..cd2417cb34e7 --- /dev/null +++ b/sys-freebsd/freebsd-contrib/Manifest @@ -0,0 +1,21 @@ +MD5 7cb7c0ef9eb7d16f525b71508d6a89cf ChangeLog 985 +RMD160 271f42c7e34bc356bd5e79b28413e69286d40b2a ChangeLog 985 +SHA256 c4f2ff8533132bba0678e6aaed52531349e18c201ecb60ea3c0ccc9c2040a7ce ChangeLog 985 +MD5 c61b87aaa5b9b047ea712234acbdd961 files/digest-freebsd-contrib-5.4 213 +RMD160 dff8b0489a8140bbe05dafcb180f1ead2c036bd0 files/digest-freebsd-contrib-5.4 213 +SHA256 7ef698523174457571f20e2b1d1d0754049346a4d6e726df5a01db12557acda4 files/digest-freebsd-contrib-5.4 213 +MD5 60f5670617e4ddbd6d9727af35f4319e files/digest-freebsd-contrib-6.0 213 +RMD160 78000cf42adb75175bc9b1cc330f6e8032dd1f79 files/digest-freebsd-contrib-6.0 213 +SHA256 ae4e54c2a8ed87d59e6482e534d0b41e1236e9dede9bac19966af8965c8f17cd files/digest-freebsd-contrib-6.0 213 +MD5 19ed07f6a51e25c4021e799825aa6273 files/freebsd-contrib-5.3-lib_csu-makefile.patch 327 +RMD160 d2817b79e134cdd24f6163f0a72c5284cee1bdba files/freebsd-contrib-5.3-lib_csu-makefile.patch 327 +SHA256 ee3ec95497ceea4e88101f10f89b7e161eed1684a624ea9eae257a20408080da files/freebsd-contrib-5.3-lib_csu-makefile.patch 327 +MD5 4f9ab6cf00fd355a9182ee4ccb5d2a7d files/freebsd-contrib-crt_gcc4.patch 3268 +RMD160 9c5891fbaf629a32cb6ceffaefc8b0ba59a28637 files/freebsd-contrib-crt_gcc4.patch 3268 +SHA256 b53422d5b853277d83472ccb4d9262fcc7987f50db27d741dfd769d06472be7c files/freebsd-contrib-crt_gcc4.patch 3268 +MD5 9c222918c5d060400deadda97fff10cd freebsd-contrib-5.4.ebuild 1459 +RMD160 aa3830465bf822b9838087ff3423da70cbffb9ba freebsd-contrib-5.4.ebuild 1459 +SHA256 5c0e4874105e8c4f1647b08e9cc084d218d39feb1c78beb05d3c700de3e010cd freebsd-contrib-5.4.ebuild 1459 +MD5 c8bdf24368e6a99992c8c7450734b0bc freebsd-contrib-6.0.ebuild 1358 +RMD160 774149be636868863ee82d5a0d1b30dbc605f08d freebsd-contrib-6.0.ebuild 1358 +SHA256 b4fc889d908c8b628c06ff0b973c4f272a078620cdeb2449d81b67f3f7be36fc freebsd-contrib-6.0.ebuild 1358 diff --git a/sys-freebsd/freebsd-contrib/files/digest-freebsd-contrib-6.0 b/sys-freebsd/freebsd-contrib/files/digest-freebsd-contrib-6.0 new file mode 100644 index 000000000000..2ebbf764ba56 --- /dev/null +++ b/sys-freebsd/freebsd-contrib/files/digest-freebsd-contrib-6.0 @@ -0,0 +1,3 @@ +MD5 b5b626909c9707d0bab0c54b50e132b9 freebsd-contrib-6.0.tar.bz2 34972594 +MD5 4873a3aede8a8c121cab7b37c28487b5 freebsd-gcc-3.4.2.tar.bz2 8447406 +MD5 59f100898221e4024b80178ffec25192 freebsd-gnu-6.0.tar.bz2 866160 diff --git a/sys-freebsd/freebsd-contrib/files/freebsd-contrib-5.3-lib_csu-makefile.patch b/sys-freebsd/freebsd-contrib/files/freebsd-contrib-5.3-lib_csu-makefile.patch new file mode 100644 index 000000000000..e00b2917c192 --- /dev/null +++ b/sys-freebsd/freebsd-contrib/files/freebsd-contrib-5.3-lib_csu-makefile.patch @@ -0,0 +1,10 @@ +--- lib/csu/Makefile.orig Thu Nov 11 22:49:34 2004 ++++ lib/csu/Makefile Thu Nov 11 22:50:02 2004 +@@ -64,6 +64,7 @@ + + realinstall: + .for file in ${OBJS} ${SOBJS} ${TGTOBJS} ++ ${INSTALL} -d ${DESTDIR}${LIBDIR} + ${INSTALL} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ + ${file} ${DESTDIR}${LIBDIR}/${file:S/.So$/S.o/} + .endfor diff --git a/sys-freebsd/freebsd-contrib/files/freebsd-contrib-crt_gcc4.patch b/sys-freebsd/freebsd-contrib/files/freebsd-contrib-crt_gcc4.patch new file mode 100644 index 000000000000..6516237159e6 --- /dev/null +++ b/sys-freebsd/freebsd-contrib/files/freebsd-contrib-crt_gcc4.patch @@ -0,0 +1,93 @@ +diff -ur gcc.orig/contrib/gcc/crtstuff.c gcc/contrib/gcc/crtstuff.c +--- gcc.orig/contrib/gcc/crtstuff.c 2005-04-27 23:18:59 +0000 ++++ gcc/contrib/gcc/crtstuff.c 2005-04-27 23:20:45 +0000 +@@ -1,7 +1,7 @@ + /* Specialized bits of code needed to support construction and + destruction of file-scope objects in C++ code. + Copyright (C) 1991, 1994, 1995, 1996, 1997, 1998, +- 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. ++ 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. + Contributed by Ron Guilmette (rfg@monkeys.com). + + This file is part of GCC. +@@ -55,6 +55,8 @@ + compiled for the target, and hence definitions concerning only the host + do not apply. */ + ++#define IN_LIBGCC2 ++ + /* We include auto-host.h here to get HAVE_GAS_HIDDEN. This is + supposedly valid even though this is a "target" file. */ + #include "auto-host.h" +@@ -92,7 +94,7 @@ + #if defined(EH_FRAME_SECTION_NAME) && !defined(USE_PT_GNU_EH_FRAME) + # define USE_EH_FRAME_REGISTRY + #endif +-#if defined(EH_FRAME_SECTION_NAME) && defined(HAVE_LD_RO_RW_SECTION_MIXING) ++#if defined(EH_FRAME_SECTION_NAME) && EH_TABLES_CAN_BE_READ_ONLY + # define EH_FRAME_SECTION_CONST const + #else + # define EH_FRAME_SECTION_CONST +@@ -109,7 +111,7 @@ + but not its definition. + + Making TARGET_WEAK_ATTRIBUTE conditional seems like a good solution until +- one thinks about scaling to larger problems -- ie, the condition under ++ one thinks about scaling to larger problems -- i.e., the condition under + which TARGET_WEAK_ATTRIBUTE is active will eventually get far too + complicated. + +@@ -312,8 +314,13 @@ + #endif /* CRT_GET_RFIB_DATA */ + #endif /* USE_EH_FRAME_REGISTRY */ + #ifdef JCR_SECTION_NAME +- if (__JCR_LIST__[0] && _Jv_RegisterClasses) +- _Jv_RegisterClasses (__JCR_LIST__); ++ if (__JCR_LIST__[0]) ++ { ++ void (*register_classes) (void *) = _Jv_RegisterClasses; ++ __asm ("" : "+r" (register_classes)); ++ if (register_classes) ++ register_classes (__JCR_LIST__); ++ } + #endif /* JCR_SECTION_NAME */ + } + +@@ -395,8 +402,13 @@ + __register_frame_info (__EH_FRAME_BEGIN__, &object); + #endif + #ifdef JCR_SECTION_NAME +- if (__JCR_LIST__[0] && _Jv_RegisterClasses) +- _Jv_RegisterClasses (__JCR_LIST__); ++ if (__JCR_LIST__[0]) ++ { ++ void (*register_classes) (void *) = _Jv_RegisterClasses; ++ __asm ("" : "+r" (register_classes)); ++ if (register_classes) ++ register_classes (__JCR_LIST__); ++ } + #endif + } + #endif /* USE_EH_FRAME_REGISTRY || JCR_SECTION_NAME */ +@@ -445,9 +457,18 @@ + #ifdef EH_FRAME_SECTION_NAME + /* Terminate the frame unwind info section with a 4byte 0 as a sentinel; + this would be the 'length' field in a real FDE. */ +-STATIC EH_FRAME_SECTION_CONST int __FRAME_END__[] +- __attribute__ ((unused, mode(SI), section(EH_FRAME_SECTION_NAME), +- aligned(4))) ++# if __INT_MAX__ == 2147483647 ++typedef int int32; ++# elif __LONG_MAX__ == 2147483647 ++typedef long int32; ++# elif __SHRT_MAX__ == 2147483647 ++typedef short int32; ++# else ++# error "Missing a 4 byte integer" ++# endif ++STATIC EH_FRAME_SECTION_CONST int32 __FRAME_END__[] ++ __attribute__ ((unused, section(EH_FRAME_SECTION_NAME), ++ aligned(sizeof(int32)))) + = { 0 }; + #endif /* EH_FRAME_SECTION_NAME */ + diff --git a/sys-freebsd/freebsd-contrib/freebsd-contrib-6.0.ebuild b/sys-freebsd/freebsd-contrib/freebsd-contrib-6.0.ebuild new file mode 100644 index 000000000000..c8ae9cd9b420 --- /dev/null +++ b/sys-freebsd/freebsd-contrib/freebsd-contrib-6.0.ebuild @@ -0,0 +1,46 @@ +# 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.0.ebuild,v 1.1 2006/04/01 16:43:50 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-headers-${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" + diff --git a/sys-freebsd/freebsd-contrib/metadata.xml b/sys-freebsd/freebsd-contrib/metadata.xml new file mode 100644 index 000000000000..ecedda4aa2cc --- /dev/null +++ b/sys-freebsd/freebsd-contrib/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>bsd</herd> +</pkgmetadata> |