summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-freebsd/freebsd-lib')
-rw-r--r--sys-freebsd/freebsd-lib/ChangeLog12
-rw-r--r--sys-freebsd/freebsd-lib/Manifest47
-rw-r--r--sys-freebsd/freebsd-lib/files/freebsd-lib-10.0-atfcxx.patch49
-rw-r--r--sys-freebsd/freebsd-lib/files/freebsd-lib-10.0-liblink.patch98
-rw-r--r--sys-freebsd/freebsd-lib/files/freebsd-lib-10.0-libproc-libcxx.patch16
-rw-r--r--sys-freebsd/freebsd-lib/files/freebsd-lib-10.0-libusb.patch19
-rw-r--r--sys-freebsd/freebsd-lib/files/freebsd-lib-10.1-cve-2014-8611.patch22
-rw-r--r--sys-freebsd/freebsd-lib/freebsd-lib-10.1.ebuild632
8 files changed, 879 insertions, 16 deletions
diff --git a/sys-freebsd/freebsd-lib/ChangeLog b/sys-freebsd/freebsd-lib/ChangeLog
index 4e8c78c9e0c0..09b0a03cbfd9 100644
--- a/sys-freebsd/freebsd-lib/ChangeLog
+++ b/sys-freebsd/freebsd-lib/ChangeLog
@@ -1,6 +1,16 @@
# ChangeLog for sys-freebsd/freebsd-lib
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-lib/ChangeLog,v 1.207 2015/02/18 17:09:17 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-lib/ChangeLog,v 1.208 2015/03/08 14:01:56 mgorny Exp $
+
+*freebsd-lib-10.1 (08 Mar 2015)
+
+ 08 Mar 2015; Michał Górny <mgorny@gentoo.org>
+ +files/freebsd-lib-10.0-atfcxx.patch, +files/freebsd-lib-10.0-liblink.patch,
+ +files/freebsd-lib-10.0-libproc-libcxx.patch,
+ +files/freebsd-lib-10.0-libusb.patch,
+ +files/freebsd-lib-10.1-cve-2014-8611.patch, +freebsd-lib-10.1.ebuild:
+ Add FreeBSD 10.1 ebuilds, https://github.com/gentoo/gentoo-portage-rsync-
+ mirror/pull/46 by nigoro.
18 Feb 2015; Michał Górny <mgorny@gentoo.org>
+files/freebsd-lib-add-nossp-cflags.patch, freebsd-lib-9.1-r11.ebuild,
diff --git a/sys-freebsd/freebsd-lib/Manifest b/sys-freebsd/freebsd-lib/Manifest
index 3cdbf348485c..5dd233036a59 100644
--- a/sys-freebsd/freebsd-lib/Manifest
+++ b/sys-freebsd/freebsd-lib/Manifest
@@ -1,6 +1,11 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
+AUX freebsd-lib-10.0-atfcxx.patch 1545 SHA256 eef9680da13fb24adc01fab170d83787e8b9926ec2bbb89cd7933b3dd8b35306 SHA512 37d8fc83b97addef48807196738be511fdc74b002dce321c2eaf38db5b618ff4a2f8e8447677c60b96b8add8f1dc586a66a30992289fa95e20e2005589e83953 WHIRLPOOL 78096c4064b98cbb05617355c8c65c306f9d6ceb2a2c8f772cf39f20c81395da9a2d1e128f5b1382bdd65d7e6d7df2d08606933ac5fa8a9aa3d55ec8b76363e2
+AUX freebsd-lib-10.0-liblink.patch 2448 SHA256 cbdcca5cc893b0d0b1ff98d1c1046519cebe9877b4cddd180340cfafbbbd2726 SHA512 c77049fa170d08d6ce035a8b9ae799f6d8e0b899371c1644a7493543fc07511515f68d54c82c618064954e48023c09bfcff452bd93e69ac07b7f8c6fc0e5089d WHIRLPOOL 12a22aeb74491960bf12da6d0db67504f1f804e732d332fd607cf58a78f0fc291af7d6a3d9f65744fedc36daa9326b463b2ebbe545d88deccc29135b6be60dbf
+AUX freebsd-lib-10.0-libproc-libcxx.patch 393 SHA256 da065c458716e8a56a3c3aab87c9e5135287d6c8fa46eb26092c197e167b7acd SHA512 086d71467dcaccefdb2d9d31deab1905407aadca625853ff222610ea713e80dd8dd61caae3765107045b376f4162f73d12407d1d27aad29603b45b108c09cd8f WHIRLPOOL 3bed09ac5887736dcb15583b4d6cde50419d156bc12f1e1a55668ed85bfb0f502c79c760e8cde3db7172b72775786bb8968df811980ad046c677ff0aff176b33
+AUX freebsd-lib-10.0-libusb.patch 764 SHA256 5e7bede29a900eda7ee3935203574bd6547b75864087ded60473f19dfcfa40eb SHA512 5b56af4f0ad5706001ed89075ff37b88412a1de7dd18742fdbfdd674581f20f39068fb6002c43e7ee22ae3051c11428f1c2e6cdab319da2ede065cffd330ceb9 WHIRLPOOL 2fdbe9ca0fc40b6626e40413d2364cb5de00611d674cdd6128d6e70e91fcfe0dffb60eb6c3e868907ee613f32258e519ea50e0722b180ab8021d766ebeef8370
+AUX freebsd-lib-10.1-cve-2014-8611.patch 605 SHA256 f8e3556e82a9d256bd42be796dd1a8672b84259087369087ecf8fb2ddcdbdbd7 SHA512 9462e5e4a8a04999b0d434e47bd6891e638281d13f2aba1ff7e2fd6f2b3a698f1339aac2b257404eb52498b14bcdb7b512b82ea203b176a0cb42891da292e691 WHIRLPOOL 942287e5fe27452d1c5c046d00d1e33cf57052ad3429a81ef5da2b4eb93d96aad734d31f0e1c196278a9ab232ec6efc4217c2ff28b271ed63878c6677f4753dc
AUX freebsd-lib-6.0-flex-2.5.31.patch 421 SHA256 1d46cf13e1059ae3731ba5555764e020fcf4de7db5abf039fac83423e05d53c4 SHA512 c16a99b85e7908e77915796245741cbfcfb30ab1f4f0a8d565c28256b25d1532209ed27328d8b1571f61677251830f1fb6bbec17a8104686f56afd87f3226dec WHIRLPOOL 177f7ee5764f79fcdab768b13016e809f677cfd57a06ebb5e1bbafc6520f309b328908716ee02a8155f35566faefa95b67b064dafa8de9a7d2a19bde92b386b0
AUX freebsd-lib-6.0-gccfloat.patch 542 SHA256 d549125f174c86c2d5e7e1f1c99cf1303b84e91ce8ee51db8c962be48b7a7951 SHA512 810745085c601757397b6d0338dba1631e4f623c3bae8a588e9f0b5c7cd9a9416d832093f97925fcef27ffcf20929bef8a5bcbeecf7a583c0a7eb6ce71f39495 WHIRLPOOL dee1bcf99935ae9ead0d5f498049a46ee89416f06eb7361901c69f40d0151ae1d3647a7dbb1c58b1aca7f541169b20d622019bc20b12953ba0c06fba56fd375e
AUX freebsd-lib-6.0-pmc.patch 338 SHA256 36ca464f0aa1ed8784c8f1edc4a3580704c9a7813963684305250d806000075f SHA512 33187ec853ddf0c39680af60b669e60d3e213eba20a2e1ba995c991f04c053c5adcc5169b92c5d1d4cfbc7e03b72af2df4a5349361b41c56ca4a9b91e81bb327 WHIRLPOOL 1744ed829c1775c01b5d1b827b5677b6b5d731cff376da4d8e7ab8facbb0c465131a34157d77186bfcf1a1097f515e3909d1e753aa2b8e72efaf7feae319361f
@@ -30,69 +35,81 @@ AUX freebsd-sources-9.0-sysctluint.patch 403 SHA256 884fbc5d6d3766ea3d4609946f56
AUX libmap.conf 201 SHA256 36a1bd56965f171cbb058f6e1762801e3b92c083fe36f6fe046bd669beed9742 SHA512 abc358dff495fe96b9ed549bacb5278577ca4da46b89b87e9211a2f6acdd455111df02ba11b797287f839af6cc22f8810e8ac1dc52154acc8b22364e667b3c49 WHIRLPOOL 0827a0ea9b8a2faed019d13356a793b2b572e54d6f8ebf32a9f12214759153433e21f7d8fdedf43e038ac1925432c1f4843441db47d29895eda51781f1fedb5e
AUX libusb-1.0.pc.in 207 SHA256 edf35e887cbfed2df288825434c467e0a946eeb21e0d631f55940bb177c2ba15 SHA512 93289cecfc298a31fd4fd0848bf25a63048a7549bd81792d7bd158731246221c24ec9f469a918430da56873a0936fb2b372cedaaa32a38ccd5323de0f9a89b93 WHIRLPOOL 7c81b0df4548a9391b4e1420186f1e970aa9e2e73a89e817adbff9de52b8797cbd8a4d8b3ca01f782f86e4b1e48fad72a08b5bff49d5ee6ffaa5135c015ca5ae
AUX libusb.pc.in 208 SHA256 9bfe398a335f8b9b1c3dd167ab0c9206fe3bdd4e1da318ece977e20f3c2d7c56 SHA512 e9c6d5f04057cf8c13f69a3d8e07bdd517fdb01d572a69a1beb397766311b3c53894b108caaaea740bfc27b227a9620621dac5846bff1a367fbf9954f38bb40c WHIRLPOOL e80e76a8a564655d924a7148a841c7c7cf0be0ea3bdbd76e95e5004124543826e5d925dfe791f4b040e042a10923865bb517499d9f5be39611fedbcceebe32d8
+DIST freebsd-cddl-10.1.tar.xz 1203704 SHA256 8dab2c642c942fab76db0a5e6223fb1bee172d60f26190a81eb752b12ee9e3bf SHA512 1351e7b0b449917dca7267df2a549e1807f9acf76c0023ca917e9757e5bb1ec2dca867dd0bb1abd6a3b02b26a16ffde28768dc074beb1f43df5453c0611d5ffc WHIRLPOOL 1fb03e4d1b891e0f15ca08a49e0f346b1d609a59ecb1ddabb993ad6ee73017f2f2f0b3e41d56f79e0915d678d59eda5b8886ad9c3da1b2bb0d34165a21f4a387
DIST freebsd-cddl-9.1.tar.bz2 899348 SHA256 bcc79fb002052128e9e91b16beb3083ee152be0936494715c6c159bfc8d2ca3a SHA512 ae0a969e710785bbcf36a2ec22cc5b1dcdb25398be951e047a1237d0c977e38fc9e05504db51f8bf9ed83bc1f68b04fc88ce18fc48a93f785b8a3f8ef481bacd WHIRLPOOL 2c4a5baf162dbb698af45b9262f104e27c05e6a2630c3e7b1765e76c8987a330c315f741df69c8771d2509708d2934db2a07f2e0218aa59d0100dfc3f952bf72
DIST freebsd-cddl-9.2.tar.bz2 1492039 SHA256 9f50dc6052a31f858e292190ec6c3b9f0c5bc142cad7fc5972a9d2734967e8f8 SHA512 c3c3bcfa8cf60ad0a953545b2640832c9c5dea7ed56924089720eafb0c114cf6dabd4e727b61b0ed7e6252da9a982e1b739c8ebba73a62d635e903a8eaf18a72 WHIRLPOOL ac26b6958e65c1724d3cdfca9163673e74e74180f30807358f592ab48af645641abd07cb33f88d31fc1cf4059ae11abce2a3a7666b0ff48e0e82f1131f4afded
DIST freebsd-cddl-9.2_rc1.tar.bz2 1491489 SHA256 805929f7a594a8cb3b3c4da86d2fcbe9a2bdc7d5267ce47d40bd2143f917a1d8 SHA512 1c8ac01e02cc8a2a8d5a5ebdc44517ecb96ff61e9655f340cfe4a9bfc86e86913745bd97492f414a1c83b7d9d95446cb211c31fc420aa683722cbe8b7f3b827a WHIRLPOOL 4697a76772f45cbd882382ef54eb284bbf0ae4dcdec4a69b3ac54028537d5b7e49a9c17603a71579b7eb39f1c0def35bec0613e0fbc5b609df5d93657a7798fe
DIST freebsd-cddl-9.2_rc2.tar.bz2 1491780 SHA256 cab147787fbd740c8b542de9fc0e789ec1d7f38a64f5a8a1f1d25e49edc13a8a SHA512 0ad6b72a7788b869d493d68e11e158b368c78b76a1da001005f6981dd6dbd3b2df1131d0d951248f4db6f7bce4793d27b91c45f045853a8008e197f8a4406342 WHIRLPOOL f3a86b9de86fd519eb8be9d5785174c3d400dc1e988654c1a06b9972f6012ceb99813a270718692214910d764fbac9e3166b1f1180744af72de9eb67d59f5b50
DIST freebsd-cddl-9.2_rc3.tar.bz2 1491398 SHA256 08b5b7f933a6bf3dc7600b3e56719f6512b8485286569a517519ff67919ea8a8 SHA512 ab090eecf3816be18b8cb398c9f305a1c93104e3b6210401c78585a2e7740f433574837642e839b5a3940fcee0062eef5180e641338cc569e697146c722b239f WHIRLPOOL 62ea29c8b07792217df59a1967533876bccc67f95cbf4de0a90780bcaa809293709bb17b3a3110c531308fec1628e56d19e9386b38f2ed75918a67fa7f0bdd38
+DIST freebsd-contrib-10.1.tar.xz 55446392 SHA256 c518005bc333788dfde2c9d67fd7069c7d49e48f8de7c3f44ad9178902705d79 SHA512 b9f36a478f66bae1626c63f5731228e565be7a41576f0ede9d7660cb69d584a3bb5cf37ff7f8dcafbfd737bf4cedf27cff7e97c8e26b4d77db78a9433db8d1cd WHIRLPOOL 359bda77e92699c4adb6641d699b45812933b8f97090e547a1d201cbb358e611961c5dc33b66eb2ff6516c4207a835923b5c3bebd80710ba1966361a54e42f1f
DIST freebsd-contrib-8.2.tar.bz2 40931651 SHA256 8b9cb688e81c2980b3fc66411d00ab277a24dadd50d5bdd5e0e6c63ac687b9b6 SHA512 4f7bf825b579fbb88f2aac531d07e531474179c63fa0b66c4e80821290a8c94bf611bb4dcaef51b762aacd25b11dfae798a4ec3bad3b9e3f6b3490ebfaa72476 WHIRLPOOL edd3d9e26e8d22d9028082e107ec1a44402e206dab8722f34b445676959305996c3f699152af42ace249b7f58498492787823b172fb6bcb273119c6bb50a35f0
DIST freebsd-contrib-9.1.tar.bz2 54751432 SHA256 e7ffa056d4050ce03ee8e23e276e2a9a494326a98d60c43bee2afcc59576deb8 SHA512 71be13049258c6e6b5e4f63cc16da5d349a89d68f04d87446e4ad33ae8bf2a93ea67d9c256b7bec60b61e65db0487268070cfb77a484c3ac0f8ba368b48c2438 WHIRLPOOL a2a84423175499208d34809e802284d6ba649f317c3a9ad8b7312fa19efe142ebadab0048bac0db8e988e59f9a7468ac7c5d0d25e78b82bdb269a20d18153cee
DIST freebsd-contrib-9.2.tar.bz2 56728584 SHA256 22e8d211c4de223aee7f79146eb552cf9c6b0a87967ec4b5304a9c6ea16e3741 SHA512 badfd51435f1a838fbe0f936331393344e748c35d13f8c6fd67779e47986713ee431829e28deafb0c253f7ce4ece40fd6606ba362ff97a49d17626e766173a5f WHIRLPOOL d054fc61454968fca917c39c95885a0a451cf170fb20a18a62437c940c517b96590fd2dcaa1b36e9a4437027ee851788ffdca97a82351c3af8dca207fd93ef06
DIST freebsd-contrib-9.2_rc1.tar.bz2 56727056 SHA256 5026afa26e434e934cc9934c74628fa79e8b75b7bee1e214e34f9aae8d1b592d SHA512 8a9a4a522bfd3ce573fbe81f758c6e581f3e2d14d6eb58f7d4f821c850882793b334b59591baf94fa4668acb835895c7de2d4380d74851adb1760eb4e20dc124 WHIRLPOOL da92a22ea65fd3985529b5355be8d11622538b73ec2fb57d005d83b95b59e20e7f763d632ada0edc0be73d33c0dec668f31ae4bb90b421ca7d324a2274d01696
DIST freebsd-contrib-9.2_rc2.tar.bz2 56727687 SHA256 abb0dc4f5c4876dafbb663c68c7a470170cff905ffafa970c77567e76384f9bc SHA512 f7254e84331a345d4f409f40cab9e71a4dc9b575fa7122677028071e3683d1b9afd66ab4a064de939534bf1665a878e522da8b9d9f3f0b7444c87051842617f3 WHIRLPOOL d1df1aa1929d03837d3b120207526b2c5e8b0a1d368a170624d8b4388e4ee13f2ed5c31a1e703be2fc8110fdd0731d1b6d9a1cde126c67600c3d3b7017d27614
DIST freebsd-contrib-9.2_rc3.tar.bz2 56726218 SHA256 7628e29ea70555d8e6d1d4ed12ccd4076434f770f2cbf6d4b8bb475882116ca7 SHA512 0363d3881b7ee886493d8da49e573ec02d8b9cb380c2d4811a747506c88b6bc72d97c1132fac71e42e65fe64dde41e2575a1456e4815d70934c80ff0fc2e538b WHIRLPOOL 3fcc04d2e7a9686a30cd0123aea06cd10e23677a990492635af1c9582d4f4497c385456170d7024d063c29be5d825f3e9114cacd9a994b04097a1025f530f33f
+DIST freebsd-crypto-10.1.tar.xz 6603836 SHA256 d4ebd4087dfadf2e6637d6dee601bca43b08dbbcc6d817a2b76ed1d48875ce11 SHA512 f55b1f6923f0bdad5122e8f322a032842884f4139e51947b5322ca7947ba026819684ccc81cba5c90d3ce3ee5038b8f8eb3a29e5507578623045878a4c9c132b WHIRLPOOL a99efa64130b408d4456f080d4e9c781a6f445b4eeb4ca53979ffb32e6c50229b5ee4e4d04938ae5bdfbb132b8659232f419af24be09d90d232f8f4cf7334a29
DIST freebsd-crypto-8.2.tar.bz2 5561428 SHA256 89ddda3dfad2d46abacc27c296d7d58c18463e0fe1ce2fac2c7a8fcafe181890 SHA512 3c8ed329f6ed67d6db622e2713e9a7b65f54f4d99191e00b133c0afb3dec94c5426542719002e9bd2d83a9a1856a5cb29f2117f1db250f3794e1b2234a1e8e08 WHIRLPOOL 4df14a825a888f925e66599b1a0d6a35981e4eea357da03fccfe50426def5da97ead21ffc782b4e3e45aec047549f11b6d5385cfafcc271d0d6293cdce8a9ad3
DIST freebsd-crypto-9.1.tar.bz2 5682828 SHA256 5165156c52f21318634611e8a3965134f3b34c83f9aba23db5a93b37627c5c74 SHA512 40c7a8150fb3ddd93488502a976ce03e992e6f4fb28aa3e5e102d4915f8ff49fe9085995ccfecacefc3b665e23c85cc3a0cdeec20a32c79e04458f7cc88630d9 WHIRLPOOL 72db3b27a6bf3abec47525fa31dd3bd459d4da36b787dbf57ed11b4e676c0c200ec5a549d7e27cb0c66e1feead8fa8257c712fdd5b5568eba2b8ae8323228043
DIST freebsd-crypto-9.2.tar.bz2 5733123 SHA256 be03dad14c9254a6fc67df40a28165deec21224b764ed11cb978c23679a4d048 SHA512 0c008fee10208aac3d88e67b21d0f28303f86f324f14bf539b0ec0035681b0a281e55de6b5b20092a4e4d09c3bb7c6db459b3f0b6c86c7952012103ea7fb029c WHIRLPOOL e00a1cd727db806d40d6d38025940222189a6306a590ca8025ccafeea2ce6f99d706b343111141e4d9f7c31a6fb6dada884e836d27424e00144a674ea9b7e93e
DIST freebsd-crypto-9.2_rc1.tar.bz2 5732093 SHA256 5282a6e19275cb40947f6db016ad5ed5657c45bce71928eed8124bb36dc8e949 SHA512 7f67bbaa94269a84505c8ae914d0092e4dbb5321ba6760e3cea616e55206de30b2a9ebdc5e59d1d23f57209296fb1104742f10ccab6378e1f1636300418f20e9 WHIRLPOOL 76214dba64141ffb5249c780aa8964ffe22482e980737af6316c4aea50389fa40b5f9c9ee9124cd18cc277a41a1e60b358494b99b084e23a05add01a34f29e81
DIST freebsd-crypto-9.2_rc2.tar.bz2 5730385 SHA256 c2e2352be29232fbe6a085206d59de24189368c1d436fed0380535fd88f9b3d0 SHA512 07037c7e854cafa1710d8069da0a11ae7e37809991cb11498ab0eb3a99dd8864d32a6f70bfcdbbfcb2400ada921e8f2b2c4ff7c0ead9e86835944dfc55ce6160 WHIRLPOOL 5980f7a838c639ca73d16688761f4c6b3c8dc4cb2e8603b717d5282b0e7e6eaca446cf1516577ace624c257888f3bae4f7227c9828e8bfca0ecbdc8cbea97989
DIST freebsd-crypto-9.2_rc3.tar.bz2 5732260 SHA256 c1a67debde8a81d8fafe5b7da7002ab64b8fdbbb252909f6820631a061907871 SHA512 f4126cde95d6691e8f6877dc60945c26bf7b006dea617ac220e2b04a222a632a47315ea7db5fbaf7b555936f491f04b5baa636b6d54c41434efae029b8a338e9 WHIRLPOOL 5d603f3df5545e0e348a5bfa87e2f13bd9f7c3139ad976b1f1c9fbdf3adb2c8b325cc53a2581115a78fcfc96f9cad691aae73cbef7cd4b07ad4c284a322d4a14
+DIST freebsd-etc-10.1.tar.xz 197364 SHA256 0a32b2df2e0e066bc339edd1624dbe67f4dd13e0a8488f3c2f983d16deac52f6 SHA512 b1cf4ffbde2705c64aece64ec00b5fc14ee9a51354780c0fe8141311fb2edcff303f3c3911aed8d9dfc27d1926c0d20b37d135d0d0e0c61ff8ed7c22a75f51d1 WHIRLPOOL 27efe1e81de0e9e53ecfb36234d7ef15370bcf3a9c9365f7d84fa99396bf43746cb00469e7369bb9e713a26742e97b0ad0a1ba9dd66159eec77e2efe325bc98a
DIST freebsd-etc-8.2.tar.bz2 188629 SHA256 6bc745fa259f9fa2b65df865d45443a7b23c24445195e33a4ac50bf1040ae238 SHA512 3e5c106754a6a1ac806bd46b711fba7ee9cb31a4eab5262c995a5d59dbeb02f756dd8b495640dda94189d204a5d2c5218de2bd23467172d6a4ebe1048986e89c WHIRLPOOL 23b658a214f1a64c43420351020e32b1182e9aac3ed5253f49ee86f9cee9166ce32bd556cd2a2b3c0e60a165462a8700f37dea19e57ad5716415e17f61da912e
DIST freebsd-etc-9.1.tar.bz2 207776 SHA256 a317bf85532d6192f5506e8d7bd5d5c201fe24017700e3a974a7712c2c69cdb8 SHA512 4fbe56fde519cf2f44e39a8869efa26c34f703cf540f4a83389da8d170873d7c6fb18e4010e643b8d793cfc5c55d15eeb198057a5b2a8da9d9e8f791801bf314 WHIRLPOOL 0c27019fe140fe96f870697acbaa89ac2f281f55b892c5791b08abf1cfa4da94d9d42a1df1c2091317573ed7234253857aecb797065f911a0a5d57bbf64349a5
DIST freebsd-etc-9.2.tar.bz2 214804 SHA256 929ce5bab6cee4f3ac49d3449c82167745a0e44a238f29b7c09a1b0a7333e4d8 SHA512 5d22e50b5857b86700675ea036e9ffc40cd13d07476b2aca238d715715cf5b8d96f551d5da5669caf25a682295d82355f65b11c89a7889df718286df202e906d WHIRLPOOL 5ae3239d94ae33cc3e7cbf1175664287d278c923a04bb3f0722d2ea1e0dcec60648fcb7758e298577d3c95120917daa42df50118ab087a5a97b6c62695320c16
DIST freebsd-etc-9.2_rc1.tar.bz2 214075 SHA256 4c5ea8073616ae37bb14cc9a7e1b78be2e91eb173a3b6265d7be0525c8e7827d SHA512 b71f5f34e9d139919bb39303384ba00e84849d78689138a13697475d129a16d2da96517518c49a61c9099861b67612a8c7099f923c1c72b8d6837911d2b18b6e WHIRLPOOL 4bed70659af3feab2a77e95556af175f61aabe3fd11a3c40d06f45c55344f5159b7263f57970293a77bf22a9ba404a1d74bb0cfe7bc39fdac9bbdd92ad775c22
DIST freebsd-etc-9.2_rc2.tar.bz2 214730 SHA256 9927e9f8f6ab1f2edebafe718efad0f13d8173acaf738e6942e1687f84c4a556 SHA512 0c672ceb7a1156eae5c07f0ad139e6ddfdeb059ad8b9bb1ea9f698569431e227c5b3596aaf6a73b50638c998857ce61bc1945f8b6ea98b3b1a66fd93762baf88 WHIRLPOOL 27c47185fd478a6203fcd3ae16847d97ff9a024a095e90588c2b323dc9242ab1ed53d3906eed57e3b1ada45fc65923d6aa101d9499c6af1e65b03bee8a72b24b
DIST freebsd-etc-9.2_rc3.tar.bz2 214670 SHA256 49ffaad14850efaaa8f121320f7fe9074e02ce75a3115d45e4448ee3137e0e73 SHA512 cf9405d996b65ca0c7aa26ed48ae72877aaf4dd130117f7dddd4bbc6a87082867a1347f2c1838b8fac102efe312b357244908cfde396d5aa8bf892071dbe80f2 WHIRLPOOL d058ae3edd609271ccbf8eed944c9d2ede40707ceca6c65901fc09681394bea9a0a78212ff50f460151676a272592ee92a5e17af61b887182823825cbc7245b6
+DIST freebsd-gnu-10.1.tar.xz 531536 SHA256 642315633aa473884784c0a0b0f659b88ad321c2ef13218aee27639dc018dfd9 SHA512 008c1120c417601716be8f106bf6c37b9507e06064ae8773ce08b831c3a2508e6db14e1b3c4106768741bd4b9a3c43164a460c681663b65d63060fac9714cb67 WHIRLPOOL 1ceb6c14c482cd18ea22dff838844792349955e2ccf82688449b4508bac702f29d578c765a44cd8db94926ab5e5ad6b81f5356167499366662646cce64488e6d
DIST freebsd-gnu-8.2.tar.bz2 815379 SHA256 34be1326b8e188427ea4a59de5dd24049f99adb5e172d61a645db1b7124f7876 SHA512 8b278e386b22b22658eef18341073c1c757b86ecdef5c5b543fb781cfee295d71cef599544eda5f8cf273fc22d28a1ab14d912086ff8398c36ee2b71281617d4 WHIRLPOOL aaf91562f147095e09a9f6aa2d4c33494f430cbe7340377edff1b8a44cc60edfe4af7ef90350018f0c80e82f5518110689cb582bb227d2360488dfbdd7bcb7c8
DIST freebsd-gnu-9.1.tar.bz2 795778 SHA256 3b99c1fa1087bf69549e0990a0d7997954533ac9d7938c4760ec2b01aa509a5f SHA512 b05f2a5a10bdaeef19dfd0e962bc09f1571288a831e9345f404b920037f47db5c0ca3d620d1cbdd138b18bca1c3feab5b211b57e3041727341e5238cb9feb4fd WHIRLPOOL 4f776b99296c4fcc0d6f4d30a12b0773f6704292e1361826b260ce34dcc8e537ef7eb7c6332c4988e0e03bc84ca07fb18e6b2785fe4c6f175c08865b72d6bb0b
DIST freebsd-gnu-9.2.tar.bz2 795621 SHA256 1282a2a80682598d1b7f8a8aa50f7b4bcef756585fdd89f365b06dc1310791cd SHA512 15d947e1198769b1d223c6f1e78871deb1db28323278d0f5e56c63ff93a7a536c04dfb3d8883fdb2052da51ae9051b30fadebcc2e1194b49e4cd314287d9582d WHIRLPOOL 014bf47e89e2cc8f12775c7d84c38a9bd86395689d2986934e260018c74321001d7ca64f37cf5f2ec276004e3d87d20b091ba9bb22582999f430676dce5365e3
DIST freebsd-gnu-9.2_rc1.tar.bz2 796244 SHA256 e0ac75f19ef37b65611d7b718cf4e464d98efb5e90f5e69f3e0e4cbca72cefdc SHA512 253946274094163539d7068eac721dcba7d2b564e6bfbef30ff5f75ee88927c9f323099af7f2627c0dc8c15566366816da1668b1897bd7e1a1b0534d8ad21584 WHIRLPOOL d874ba49ccd04fd653c4948f3094d082bef6c7477ecab47376618a0180c5093f7711e18dfb896ca39449a30cd941c82ae48a95f591ab75b8fba496544f11910f
DIST freebsd-gnu-9.2_rc2.tar.bz2 795401 SHA256 209c119d79c3349c0f4b0bfedac1b95c41701b1e81af251492657769a8365811 SHA512 80a73d7a696c1fdb81fdb9f72a2cbd4f132858f56df0a0a1b10a89680a91020a1d4266dbc872f0e2de47d9f36604c48f09bf3900543822b7063e1a6adbcb08f7 WHIRLPOOL 9ed7a9330b6fb8d186ffaa84511733b126322bca0a0a33ed26e0f99526ae702f4e9fbc1afa914aad82597abed52a6db25da0a19b53c3220e315977c8086d54ad
DIST freebsd-gnu-9.2_rc3.tar.bz2 795706 SHA256 1663794274339744639497897b8a429024bb659e54618fb8292a53e66b8aeb3e SHA512 2804f81934c2f49bb64816d76275e5d749fc5c7fc50bf4b36fccd2914c494060190024e62eabb20f73ce195618be92cded74393263b0f9001f3664b5239263cf WHIRLPOOL 98c90a7cf0236fdd9ddad96797066b861135d87ae071cb63c1c812c47a928ca6fd7dc2a82df3d756f2fe0a235244e27b6c9eed3721fadd977fbe3cf6f4e0586c
+DIST freebsd-include-10.1.tar.xz 146572 SHA256 4eb78700bfd6f17a2e4034cefd50f097a7c288ba0441004544b3035023caae34 SHA512 71f0090f0f88bfb914eee6774d55af5a7834cfc2dcd9fd8c58131c0803beeced5900c8787569a7f07281f1cc4872e4a075b319d17564e8ca9fb367c77650dfe3 WHIRLPOOL 4a72de0c28c416d6b8216a71869aeb170ae8a6de5729f7054ca41830d014206784640a866b0d1a99e4a88e57b3cecdd28172a7085ffad1ef125b4332b5993481
DIST freebsd-include-8.2.tar.bz2 138992 SHA256 fade90621a8e4880c9583c1ee49965400c88e53ac6c07cb5dcf320e4f069271d SHA512 6bc820dde866589ef75f9f0d1c469d815439bdd4c79f0e1a2482ec58f938b638cb9106969b321aa72492f933c95c76895ce489727a5e265798c93adc75dd64e3 WHIRLPOOL 64d3160c4ac46a62f5969058e07bd160c92284f08805ed917f2073ba1cb5907cfca16c5893daf30254d39b4fcdf641ab6afb9817607f65e7789d3049e8103947
DIST freebsd-include-9.1.tar.bz2 146881 SHA256 861dce3f39e6806762b102361017cbe148f0e2b768b3fca152f8426f44a2942f SHA512 779c8315ce2b10b343bb62e331525d510b0d68ce5d665a1672bd6f4d1eff6445bc6b7a0f178b319828aa203c4e4c04c561ce793052703f4f936ce9711280a0c9 WHIRLPOOL e16ba45d380591ba007ca59579d45f61ffc1aa1a4c08fc11ed2794979b0a189a346c81b4f70a44ee199d50a72024930f28587ad62a9cd6854fc937eb466ec115
DIST freebsd-include-9.2.tar.bz2 146402 SHA256 9453323f7643183785dab9de022a1580dfd2ae2e99ec743234e7d2e66660d4fd SHA512 da3bcdadfb21bd71bfecf41fe4ebf6d91c8e464f4567d9bca5735bb0520c7e81b5ad2751b28420ea5d75c1523a6f157d6aa271eb8747a53d5478a49f027e7477 WHIRLPOOL 632d690bafb5c4ffdd8c05dd3ef5a6144bdc530680a11670ac257e2830d11cb5a0689e4ab8b34f32cdcdccaad68ed6c534bb144bd71be5f52e6b836006657449
DIST freebsd-include-9.2_rc1.tar.bz2 146410 SHA256 35f40bae495bd13a7483c7983c35e9064691c7d5f5bea679fdea4c6ff3d69349 SHA512 231367f2cc88bc523e5281c87ca8caa68f60967ed6a8e29ad77183ec49e686165d2638cbf24627f9d9cda793e9cab464600853aeb5cf66c52903b8707c2ca455 WHIRLPOOL 5fc6c4c439040c72bdd4ba062df94f900e14dc5ff9938ebea3af971fb33035f05d933aa17c889d0aa13fb7b30b0a230ab8e7c81898bf52f5c55882be957448f6
DIST freebsd-include-9.2_rc2.tar.bz2 146360 SHA256 d63a7d7286ebf859c61795f22d977a7d1234fb96557ae1f0bdf7e5a90f97e129 SHA512 39851d9df0f6bbcb1e320e265c360e3922b785805918e748a1545f7365b5fee534fe64921fd21b89b330c05fc8d971a0edc55fe1e5e32cba12ddf9dbfb0b4e3f WHIRLPOOL 63cbee9e607b3f18cddc384e5996de5feeede6d95c660fe4f4dcc3b1376ed6c26f5a84bb484c7cf267901829a85e490938043bc3912fddc178cdc2f7fa255dd8
DIST freebsd-include-9.2_rc3.tar.bz2 146663 SHA256 a7bc839156eae55ef2a85fceec9443efd3cdf5be9e0b450a531737040f371293 SHA512 86763a6bbec987806603762eaa8cba83bccf7194f67aa11aee91af6ffb79a86778fc796b7ec19cdabb5b0dfff7c113b961a35fba209bed3199eac4f094229e4c WHIRLPOOL 07c2e6b115de31bb9dd01213975da201bbc23d12ad1730558fbe177f87e6679c111e7deea881c85b4de9e86fd1fb38d00eb9d6ca341ddcda4b682a8436048968
+DIST freebsd-lib-10.1.tar.xz 2837916 SHA256 2556d6236f1944e30ca3f2acb2956110ade82790b69dd6489a72d0eedf51180f SHA512 c0324689f048e24ff2be247b8e92522eee57720658f8b918d68225b9f90d304c914188e5c37715524ebeb968a92f7622ca5ccfc582b5a335685d0461d796491e WHIRLPOOL c0835e43b32d3d799ee2e878411749407cc472ac38fb1636f6bbedc956ec917692a01256887df57576ff4c1b3d8bd74c007f8c71cdada3341d86ea9237987aa9
DIST freebsd-lib-8.2.tar.bz2 3323878 SHA256 e3590c12794fcb5ba8eb7a1f58b497587cf19f9200b3254c194a793da3b5bfb0 SHA512 c059cfdd1099bb519b2a5c43fb7e7104c500ef8906229ed7eb9e420cb3a217cdaf8655e9e7a9f45cfadc5491f8115e0e738fd49251d9f0c3a83780845b09f007 WHIRLPOOL 95f98a372f44a89bc8ac3029ec065dbbfec338e6f889d057d75644bfcdfb9d27fdc0421d7e392cad5a823712b97f0857297ec3d321580254c63032c22b95792e
DIST freebsd-lib-9.1.tar.bz2 3206685 SHA256 f31fa8107b4de711c548f6d0c1bb1f81d09f51bcc3b14a1e9e90bb0e7cc4a35d SHA512 40d0c36b6b889c404fa0e0afa38ba4e84a55bc88ffa2f98a70afbd7a32c4f32c158617ba770567d082a986d62c09b3ec8db3dc5ab853ee1c9bbe0b90bb82396e WHIRLPOOL 581878bf9c43184b043b4293409b85901c9ed1f9bd279e965414aca41ba50950848ebda3ee10a503a028135dfd2765e95a11acd4e62a11c528e104392bbbd8d0
DIST freebsd-lib-9.2.tar.bz2 3255831 SHA256 519e8cc6db1201111f80d261769a9d2b8d7f218853c575b4877a1108f4451fa7 SHA512 5e2a711c323afaa9d91b927c1afdb3f0faea59ed30577bc73cf6ff79931cb0a48c8c601a340e477c2ce6cf85090ada41fd429e803b469dcd997f7755d2ea883e WHIRLPOOL 92e70fb3214c6d1a0ab7bca4c4f63edab414e84031097f327edc1f8a14c12dfd72a615103d2c37f92fbed21ba5fb6517e2027084d8b9bea60600f5afb7b4599c
DIST freebsd-lib-9.2_rc1.tar.bz2 3255347 SHA256 78f748c2dfc51427dbbcaa1bbce49348cdb98378435e4ab0052458001ce40ae7 SHA512 64a63e2160cff00ec8da32313688a6f86feeed22ec77587991531c4817212300f1c74d97d0e4dba77c61a35fd323fba9d7ba31ae365b4890a1551b3e3e2da54a WHIRLPOOL 1b064e1768f41cca6bcd1c716e9f06179cbd6c196ef2c482e5f8b07375700a8247724375d162f75f9e7cb2b19ff8f10355d0501220f3f4dccdf7c7fb9cb4c626
DIST freebsd-lib-9.2_rc2.tar.bz2 3254277 SHA256 692cb051b17a6a402409d7a6f214979e5b2e1969dc64f333ba2ceee622afdcd3 SHA512 31400cdf3941608418edc7a22ba54b2a85e79f25c68bf85d3f39b6c35688be70c04335586444e492f2c20c7d740423896f0d058fc7ef2f3d3504a8ca85ce0ad7 WHIRLPOOL 94b989b757d39eddac32282ee7daf84aeeb65021ed14831a794ea7d55e61e383747172e522ab170ba63e1f3b33a38b18bc2cecb8c26f1bbb276110cd348d3faf
DIST freebsd-lib-9.2_rc3.tar.bz2 3254273 SHA256 d3ffe12bf1a7b79d7e5d2f0afafe0a01958b5df6898739420120ade824677f24 SHA512 6077ac4e8712a0af43a45f02fc90d5d74bc09acba9bdbe0a662b7192c487a9acd670ea0c3990842cb82eaceb87be739fa8236e1231849ae9c5e79371b7fb7f29 WHIRLPOOL a883b8e0cdd3f73eed90efcc5c04f99570559590276dcce86ab03520e655e339e9432ab9b1bef381f9a9b52d5992c349996505064623513be807e1ae2e0086d0
+DIST freebsd-libexec-10.1.tar.xz 292452 SHA256 0b68d6f2e5c6069afbf3624a45a08596ca8abe45594e6fbda3098e4a687ddaf4 SHA512 ad5e88d0da8786204844efc7fc17c90f730cc387b7ec7bc74667e35310c0f51e0a92274e133f234a527b9a2bd3863112c28b7aa926621fd89db01c611d7d9cee WHIRLPOOL e735be0df8b1bbb5272c4c4e4ff1e7586463db0ffb90928e8c078b18ecff1227417db3089fc1ba162b5cc3ed294196afd74634414065695ab56c301abc809911
DIST freebsd-libexec-8.2.tar.bz2 289147 SHA256 10b996d1d8cd044ee2e7a877e5e6ad2bf050cce9b3bd402a5e0dea7d290b595d SHA512 abe6cf5a268675d7dcb1c214c46fef47a3fb09b31947f5d8a0b938d352295efe0249beb5007649c52187bf4c221b6ebf074d18dfe9bafd168cae09ee02ab608d WHIRLPOOL 27e854fe465eb933dd8e27c5a09b063e4d3798b54e0914c79a9120dcdc34cc5d525a0c92da7b645ff7ab2ab4f34c7f7b2783012dfa5004407acd11150062b7ad
DIST freebsd-libexec-9.1.tar.bz2 304592 SHA256 71e6e9e41328c2148c54b81ad9b59f912a1d5f0d52e17ac07f223aa7a94b82be SHA512 7baa4160dda2610250dd52f445e24478e0f1ea10bce21fcd0e5d1b856f399b896adc334114de0c7f61a5637e4349bb1688fdbe5c72798d8568ae791114710b92 WHIRLPOOL d800f477ac5c9ad6dae3e0091c83e107609b5a1e3aa79e9533fcd10a8dd34ff7733ab9523eae7c292310fe94f6a529209cae6b9e8bac6b47244e59834593e74b
DIST freebsd-libexec-9.2.tar.bz2 306842 SHA256 13accb5ab5ca3ec3d6e14d3e5dcddc9b9b7235cab9138c69ab174f83b2569b04 SHA512 b9a274ca79706cab48bad5e7479933af7f4e6981432eef5731af71db16e086629ca8e342b0951b1fb8797af75a551925ec2d781f5e6c4809e4b889395be84deb WHIRLPOOL eedd530e9ec0381d78a0f6b038a24879588bd52858830eee64e0ad70ac9a07745be7cd4f2862ca70a3135896e7e6e21c4f4d3aa2944e4b05b038f21b24aabc42
DIST freebsd-libexec-9.2_rc1.tar.bz2 306649 SHA256 1c1b3af238dd4a240a09698fb870eae19bbdea91ac6af34efd2dd169a8e966c0 SHA512 6fe8532894c7a6be189ed99d30b36ff2f4b5e882b1cadf84eea0a2f76271a05702548c19de3740a5f031e31b776a91e6f3f41f81c449e4f9105de09076889c81 WHIRLPOOL ac427b02a24bd966352ed3fa5af7dadf6835b932f5998b24fde7e1c810cb1557e07460e322f55a64fe52479f21eb20db7ca2a49c52f9237d5c9ca3e8f4412cbd
DIST freebsd-libexec-9.2_rc2.tar.bz2 306491 SHA256 87b9a212ead9df058254d439f4bc0e87c1c0fe0dbe9da0ee89a4780fe693ae50 SHA512 c473c3c8e4d21293f2d6887c824486170706882eaa4899cfa6474de5cfc1f08da28175f852c4c4deea1768e1daa11251863d7e42f5bcd7df65068267b900414d WHIRLPOOL 318fa356659867a923fba31ecb831d2660c8b6e736f4370e615be33b875fd846c450f65cfeaaf233ce667d4f7f3149937766438a8ccc1b70332da935151fc1e5
DIST freebsd-libexec-9.2_rc3.tar.bz2 306636 SHA256 ee6d7805551ccebc883b5399523b98cc0231a2149b591a34aa4c2c7c667a8839 SHA512 91783915759d25493a13a3878fd20e7a64d2ec6addac65b541ca97d337e10c626df23b112cb3fa22443d0626514946516f8274df62641ed43ad8d0b34c5ec232 WHIRLPOOL 7436989d007fed6ff15a7552753e0ad76b894e3680e2547f6f064c43d9fc7b4f137b57577fc503712b985b2cf93fd516a1ef9a21cb34312afc4cc28076a71f29
+DIST freebsd-secure-10.1.tar.xz 430120 SHA256 52bc60802705af3d8c224234026240d6434c9844d75fb29d5bd002ef71d790f3 SHA512 d495ce5c05abe665fa2ac8e72b6e34bae7398bc94190a1f6a1e866a8b2bc41267b48492d71eb0da377c517169c498570fee89134d0267bfc37d71b670f2ebf30 WHIRLPOOL 78369a50f5722bda4dbaa6cfd792772e120a9707521df372e3aca42325bb2f8547f1ec43b2478042bc9a1434e0dcf1ca6a09d847ea89f14f4c6739606d3217d1
DIST freebsd-secure-9.2.tar.bz2 328734 SHA256 cc6a53a8286d5f8868e74b59df176956e3b23312c3effcca6f3e87ad86113171 SHA512 49b8927474414e993fd4c64a6a83e947ec8cb0c580ed1aab4fab3548f3d934976e056471996efcc02ae6a799e2f24e155adf9609bebf92c2daf69e88811d2963 WHIRLPOOL 9fa079d6ba0d18add09046e2a63651be76971224837a7e9eba0ceb43f5d5334691143792a2520e693857b0de08ae1e808b2dbf443feda907785922656ad5d406
DIST freebsd-secure-9.2_rc1.tar.bz2 328951 SHA256 203acaec4dd751d3b711a4f2f6bdffa210f396b5531d89c61ca45f6fe90a3fe0 SHA512 c2bee5ff39140938362b44eceebefad0a4d217ea96df77f25050ef3216bcfdf5c1c6b6f45b1c7a3ce913538d96af546b4debd6fa7e625eaeddef01c1469de761 WHIRLPOOL 80048ab36ef28745f4479321585a6fe1093ff8aee8706460e2d28d0a0f89b25322fbc2485467cedf2be39c4270fbeb8fc909169b322f7c2bc023b619704d3a89
DIST freebsd-secure-9.2_rc2.tar.bz2 328666 SHA256 dd8a8a4564feab6e0f33ff39331d7f54a28a6973448425d47b6e1df2f642a717 SHA512 04b2ce084f98f6cd79491c64a772d37ced2678281e1bb085ff0a16e80104570329dfea44583eacdb979baf35f971120cc6166754b0166440f4c9e504087c99f7 WHIRLPOOL f8d7eae30ccee424f637270dac1baef62946a96a6e5d768296011450c367d6e9cac2f60bd7a7b9e9b9b61a9c1b7caf23f5a47f9f7c7f6565ca94fda76a96036d
DIST freebsd-secure-9.2_rc3.tar.bz2 328502 SHA256 5d36f22685615762b7230bc3748a46ba123ff83a84f7a3b82d7eb579dbd37d59 SHA512 05fb189d64abe68b65ddfec4b23d38f4efb0ded938917a53f37784759afeaf8813da62915f7526626c37cb21512d5f11354a84eea303933953fff35f1b388d23 WHIRLPOOL cedc89d107e406eac7e9f031fee7526e31c8720d331984997e56cac6523995ed259598561d11de49feaf8e5b7ef3d6eeb3296806d77dee713677d6e1e823bc3f
+DIST freebsd-sys-10.1.tar.xz 33703720 SHA256 51d19f65846387140744d73ece99a81c35e554ee11b361fabb008e8b0c7451ed SHA512 9625cd876912c303bed6403e1a7694a4b3923783eba306ba19c6e31f2fe5c39c3287746b808d136bec05e11a1eaf5d63e4016797c145140fbeb09c68ae7f4a9b WHIRLPOOL a352b4f846c5e7ba849dfd7acc22637aec8594ce3ac19f975f20659ba6d1a091ca417be4f6973c87d39c8c8d5b0aa1e7cc09afa5cc4ad7cdbc3d47f50e61e428
DIST freebsd-sys-8.2.tar.bz2 25835329 SHA256 0c6c7b61aae94db2931f985d5899f3bca78fc8ffab6b598fbaa158142d676f16 SHA512 6ea4516a5c52e25c4f993f7acb875463a5caea93dbdf250c5d48eee95fff226956e9f030cab7e341b5e6a132325bc3dbf93dcb4b1185acb011918e50b1a22be3 WHIRLPOOL 870deeff877c6b9fc812a4260e4fdbb6715a5dc2065cab3bfbf2a42d876f6654703ccb124275a4e2c410cef48f3db02b63cc76059eccf9cf90244826f35b7a15
DIST freebsd-sys-9.1.tar.bz2 32588103 SHA256 b93a7ac8334ac16cc9f60665048e5ef812c0a6c62f10d0b0a674aec3f56516a8 SHA512 7dc9d9e00dde8f592bb171f4386d02b655b73cb4f153fe5ec063d010a148ef0639eae0dcdb3eeb09ecd1e3653c69e49a2d261329fa6d0381d2ddabe258ddde6d WHIRLPOOL c8348344dfb14bad64bd3a78ee615ddd29203175b292233254f8ba175e7a3fb7218af6f95f7b4dbf394c0354bafe9d8bb0c21cdf0ceaeb697214964b280469b3
DIST freebsd-sys-9.2.tar.bz2 34386743 SHA256 5619589783d0fe915b6e74be050c10fa06c7014e3bdf91256b75177ad63333a5 SHA512 b8c56d9735a6b59f5914d120d61ca6b14265b9f5a8c39e068de374751088a9b78ebefbf7c4b90362b854e8296d2a2acbae50d513e9fea8897df2f1999314cda1 WHIRLPOOL 081d8f5567628b0d6d9b41145feadc56484ada949051119f3cbaabde230addc1a1ec56b25343dc49236c7ebe62604ee08d302863878931a5d29c4626780f6445
DIST freebsd-sys-9.2_rc1.tar.bz2 34377450 SHA256 0db609374f4922e026779331a3299cfe542049014e9bdc4de0990aba539b7518 SHA512 ab7e6301180560934da38a3ef1de3623f0e42c6ee5ba2695754784c5af80ab8367b5d5412bbee51e8ba963b7f5835be9c3789b66b33be338bb9194a9de15b2eb WHIRLPOOL 7afbf758f0a02ea0337b58dd8f12876b8b58dbf73d8a3c237e1bfe2c77b72f319080d91a52ef2918e2c133af5924b302712fcc76ebe2cb334c561f18511698b1
DIST freebsd-sys-9.2_rc2.tar.bz2 34381761 SHA256 2cf28a18adf0d22c0d141f2ee0c7a8b4167a232b2f488389a1b9777c0fc3259f SHA512 1ac4ae1e04f44bbe9687722fc21633e7ea5e0990327f079dfb3239dca1fc6f92a587e4f5d9fa4ec6112b99ce57297f5394303d5907b04f7a3eaeff7a1c71bac0 WHIRLPOOL 734a3911efcc3253bf8e04eb57130b227b38f9e8666aeb50fc608af42ed8ca080016b3062d59ddc585890693bdb64d4a90a0fa7287a0bc62ede4ad445140223f
DIST freebsd-sys-9.2_rc3.tar.bz2 34386428 SHA256 86fd03137f39a8544174dd26f4096da022c1ecfa447a1e7c9e4e241428b94947 SHA512 233181db24063e6afe1dc3e17280e2b89a39529961814640bd52d6efa1bd9f9212ab2a467266df7cd1c52654e1759f124df5d4fa439862397816623d46f3af40 WHIRLPOOL 4d7a065decda622550b16b2583b133f9b3d42aca4e6707a53012bbac9e5eb62b2fbdfc84d9cc0b666c9685e8f9abd6c9b7c9f46ce23e7b16a90a05530f45cc9b
+DIST freebsd-usbin-10.1.tar.xz 2596760 SHA256 3b6472768fedbec4d7d82e2c60ec337931cdec571f5d6a0017308c767dacb41a SHA512 6a76a1b6304b5aea8fe33074b705138396633fd31eb2c000d681a8befaefc816519de40e9d1b8c2a7e36628152b8185c9e796af30cf136cd8490a8c15458daea WHIRLPOOL 17949b8bbf8705fb91472db6ab0aedd851162c6fe87f6236a0dfd8cfd46756d7d9e53ba3c8618f8f899d7259f7fb228966a6fb88a1c1b58b26fb08739f62c665
DIST freebsd-usbin-8.2.tar.bz2 2443024 SHA256 aa7cabf10f5c3a9daabea32e4de24d04ec312247842981476da666eff5054603 SHA512 bcb8ff3df54848b9107bbb52e5ced7a91e24bb181f06769b6997221729b8064ec17652eaf7500de3268cbcb63ff5760beb54d15fc78c27b02687b5b1067c74a6 WHIRLPOOL 20f5278e2a1dd387a75b44f10507958d6c0e84a2faa1bddbf808c14ab86d8dd14a956192911bbc1880f5f5f7bd05972dcbb4aec85d241f0dcf91bf4246883f0a
DIST freebsd-usbin-9.1.tar.bz2 2670916 SHA256 b938c20b8c09aa9a610e13b69b9afeea72f561ab3636a59fba2bdac290f4db75 SHA512 21c234312f70eb35cd2926519efc1f61592892f5d0940786dbeb959c3c5ec7819a51ae95c6e8a1a06aa01f669350fe0fd3dd7c4ec8a84dd6b90f24cb192356ca WHIRLPOOL 7f6ad2eb5410cc5e685881654a788807848af026b1277a974682755ab7c9db28f576bfd1576441ea10c5f1e9edb7d30a4a23fb8eccd6d69d86ecc9ce4c9adc7e
DIST freebsd-usbin-9.2.tar.bz2 2868307 SHA256 8a2968562aca3af605858ebd8cdbb5896e69a42322a88f3e87c9d9e03dfb58dc SHA512 cb810bdf5f2bf038a8281155bd4240771522a0bba23e0192645bbaeb33b3e6d52a819b3be1edd300e527d93c7f4b74c4c484850fc975f51fd5844fc76d62cdc9 WHIRLPOOL 454fc083915a794e88c0722a9a9e089ee802f72acc610d9b4c68e160f36d869aabfa2f7c38dd67deaf51b1deaf535df2479be70382b31e11e9f299eec3eb5f08
DIST freebsd-usbin-9.2_rc1.tar.bz2 2867186 SHA256 e96c38c632e1ff4a98a922709d92c96c685c03c64ffdb049b2b76a86b7924d59 SHA512 91dca8d47accd4f65b8844f2698f774a70cf4dd042536d94462d1ce2c267e5d0e6160e364f08c6f1b9ad0f2cfa88106906fc24fcf4c24ee2e19ea20e7b4eb2de WHIRLPOOL baa5300db6d9c749cf67d88bd926ba28914626d18e4518a152da858b77e1e3411bd890e7ab83fa4a9d9c04629f20e15cbd1ddaebc157cfa8fcc8d16b57dfec45
DIST freebsd-usbin-9.2_rc2.tar.bz2 2866526 SHA256 c7140742f1610edba8f9fb99fd7a3236077de2a83715d41141db3c5f3d0ce7ac SHA512 df9c9ece6a45395db2c6128e1bc6c066c8acd760f4de13a23c26771bed72788f90fef33ebe55053540416c73a7b753330f50af5aab17a74829c60b4d980e391c WHIRLPOOL a204f81f15c7e8e350c2af4d35811a58ccb4bdb0f2e3709d24a3fd8908775207dbe075ccf0935696d93c4f1089976e8d39a1196957d2fad17334fef34c7c242c
DIST freebsd-usbin-9.2_rc3.tar.bz2 2866696 SHA256 6ef46645466bf94799a8cfd0465d60a3a0fb444ff96b3e8f2a00fa7cf266d2bb SHA512 e70d6d12588be267b5bf7b9128f49e2805f7b84428b85b8c0a9e93b10b54b362b62b6be01c4ab00c5ea39e84d2f56019c3318ffe75abd946d77bf154e1f258a8 WHIRLPOOL 1b5556928fc1d26baee3366c16eaeefcf58f39e59c0d472f21bf525f8dc1a69e7a7c05492f5d03359b315c9550a823519ed20b9062309725499f6eccb3f60a05
+EBUILD freebsd-lib-10.1.ebuild 19669 SHA256 219e4f7e9dd02b1369659ac46dcd7c64da269e042fec4935a4d51031e9126bf6 SHA512 0e81da5dfa8fa5fb76b82b82bda894e4f5b1b702d04d67b051849ff71aee85a2332662118e924394b4a1a3899b50915b1559203fd73e3ced17116fc9b12156d7 WHIRLPOOL 4353baf8a0bb02fe19660164317a159659aeddad68691ce7970b0fcf78dc4ffa4411d8368f510d7f844b478545017b3db5418679160960a299e068e6e778d771
EBUILD freebsd-lib-8.2-r1.ebuild 15803 SHA256 6ed08aaa4950f1c5f92736e403f27eaaa7e4059f6d8c0d3cb416d5ec3859dd96 SHA512 32abfc388bdfe628634d46a686437cbfbe01d0fb99c85a75a3ccc67869a19ace1c3341b2ca468643a1c0d544ef8ad0b041cd1c882767cab57337813b8b3d8b63 WHIRLPOOL 250d59a4bee40b369d1d683e26e70ac15c02044af13c604c885c41a0463470555ba92124bc58adea34fdd922fbc79406e4c376f9cef08ca6569c7cf432c6a2a8
EBUILD freebsd-lib-9.1-r10.ebuild 18625 SHA256 9bad00d447b28f362910eaf85782a1caac4da475d4e83cfb6de583456891b3c5 SHA512 1b67821daa1ca31220542d404f8a9268a35462eb0a86bc76882a9e31159af87e62f06dd6d64192b123ea2c019581829cd3da8e9b6bb443279b55d5e3ed4c1d63 WHIRLPOOL 6fc1ec14acc67d2fa6ccf55ddc77aa89bafab102e5fc12dea833dcc2eb0628b5e87e7ae4cdab679e5fecbd688395d794550f1761cc688dcfe8786d0d1c6ad6ba
EBUILD freebsd-lib-9.1-r11.ebuild 18936 SHA256 a450ef603f4d8ddcfa67a1ab37492e97b06aa6e7ff55d9a52818338def7a2c61 SHA512 dcfe7645fd9c75a6eaa5934fa3975a5584294f31851a724cc63f27cfe6c698206a81553400f09c522649fcbf169107253147f8855c641e323c3abdef1dc344ee WHIRLPOOL 7f6e33a601ceac7fee197eb0ea609cbc6ac2207bc65608585c8f8137f8b052e8f50df8d031c311312af542b83a1a14f85d8559de52bf3091946e6322626ef7db
@@ -100,24 +117,24 @@ EBUILD freebsd-lib-9.2.ebuild 18282 SHA256 5760c4d3575f2c4ebeee6cff154ca3dc97b90
EBUILD freebsd-lib-9.2_rc1.ebuild 18245 SHA256 4612d1d7e72dd9bf6fb4e1f75c4c498a8fb01b5fd01cdd6b387d375fc86e532f SHA512 0ca2ad95896ef4b1f87a71af91e35d4539988a56248149b5a5462b6861d14f683a4ae02d914d4f701cb7a558933dd23d0b6b0ad1bc51dd028ba0f60143c17a88 WHIRLPOOL 7d878eda6a245603b4414f0ced9170be65787f48d820a210b2334b7c73677093fe57949cc1ee34ed857520d258a72202d7294cc29495285d6318dff4cf3bf93b
EBUILD freebsd-lib-9.2_rc2.ebuild 18245 SHA256 f57feb3e766b489cfcf34724f39f781cf600ae553cfa7a8e8227aaaf66a1cc90 SHA512 7e47a37cea6e0d0150e5233bf2d09294dcfe189ada64a74757b4ebf83371ff7f703d98745cc0764e3f2e3a527062791698c8c0cd0ee891e0eb1f49cadec145cc WHIRLPOOL 4a4d71da35ab4efce57787dfc1687cdeaaebf6a3fb747d9b38c93e60e576074ecf0aa1639ae5b27404ebc4f68c0781f020ee1cb3bc99b8f771d2811c8abfa0d3
EBUILD freebsd-lib-9.2_rc3.ebuild 18245 SHA256 e47cd90122bdbaa22c46c55bc6846135be2f78de273cdf337c0bd0592d239c75 SHA512 b96037063f14d9a44bf1196ae54a17f756ba7e25ab7106c3d31b8e49c6f55f9de545fd9c11e637932636194122d1600d23a38869841132c4a95191ec3b550157 WHIRLPOOL e1cc9cc9f1a057d6992922e051cad1e38d54a610835596b8952bde0dac8272f73238fbd7ba7a8fca7aa97f0ce98129dafd35f5d9cf7f1c9ff90f0c8746c7912b
-MISC ChangeLog 42041 SHA256 fb234d81e1035675bc41683cc3810422195d1d675e6ad2e7adae12ba8e2fb438 SHA512 3f60cd339604da3d6d0b82188be418167b29e0e96973d48bdf11c78d24a570f96cfc3a98b292825be873c887106140c18b3c7e55fc580b040162c6ae794ed464 WHIRLPOOL 1188f17a58d5b88966c76362b6527580f3a7ef192d3c08e3556a74654d62f635ba3312246fa710abb7cd3c23cb8fc241311be32ddf1032bde50315505ba766b1
+MISC ChangeLog 42469 SHA256 4fc08d793af327cf45dad5daa64d6708d5a164767e913e04ddcbad73b0cfd7bf SHA512 0efd663fde008cd5f3e6ffc7b12acc4fd73af9aeed2ec514d12a10f29d2d11ab5e18c89589ecc5c0c08b7ca860662c61f57c551e6b87588d4a0013a2bb33b211 WHIRLPOOL 51290f0bcbff1d973247687c0dafbcc8bd1ba12a10ed6f0e53536a27a4a000295eaddc74b8cd8e2a38a75f3a53c67c20ec5cd7781c14c4bfa0f25669f669d4fd
MISC metadata.xml 410 SHA256 0ea0a391db3018afdf230e293ffedbc313b4a20db703c8c83fdf144a28c6c246 SHA512 de2a427cd8fcc2c0d7c0a1821f4cc916a280d9c0e21d83fdb7c35d110b48e96854baffc7d469e3461c2a6ee81eaec14d105c45cafbd3aaa37100a525bc60b7af WHIRLPOOL 3b2f587e647dafdb68bdb147bb0d5fecea0e728b52eabb61deb2623641117be6ac0871405666d7616ae1d60eaacf0b621cba8175dca463e9344ad83a4daf5865
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
-iQJ8BAEBCABmBQJU5MdAXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
+iQJ8BAEBCABmBQJU/FZdXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2REJCMDdDQzRGMERBRDA2RUEwQUZFNDFC
-MDdBMUFFQUVGQjQ0NjRFAAoJELB6GurvtEZO/iAP/1ZdNbKajO3hZkMk8Sib2v6Y
-Bc8rGdeIzSY/Vr8nStF4DOREUQYsWVOCSaPtBM2IuSK/LhuAXFer3r3xwWX8LXGV
-u/5EarpZHM1bRR/GKh9oZLqXhn3cVADVX+mIjeOHwKnLP2xtKmbiQV9ohSXoRq1D
-jbSbmIboNMxPERBpfRfx9Qdq5nZgdMr45uNY2U9QwfpLJNMmgwKq5aeVNgrlL/Ru
-i9HHd30yz/4yEG/WUnIprGa64RH3hf5BY09vpGvs3O/FGdF9Y7+wxVYF89fE9D5B
-znvQdpvwApf5Hw/ogIaJPd69jyyUliDvMriH/Saf1kuuQ2kLVtSN/8KP6IfxHWbM
-3SGf/Zs8KacyKscNYRnGN7l7wrhJP86M6Aimfw+GNBDxHqZDTYrFXLK2LjnoBpHd
-kwKNPCkAjOg43ElxD61IYnjdEUKP27+gb/ZhJCE5u1GRX4zqjubccV+rfNns7GYC
-LaqTwVrXXuCxgmYna2URxWGJMZkuLVT/lczwsmT5Y3eS9YpM3mWQFn8anY4CPoKS
-BjLi+lXK/Pxxoi4LsOyWX0jiFotxnJM/HwZ5/JXeC4qiqRvNmMFnJGDfqDKIOupb
-0ZJSP3F9RjiaWTu3UR+CvtB/BOwQE5UQCcr567f5VfJCkFiLKhct+M6mLv9tyH9F
-O3CHH2dzJ7aeiMrexqS2
-=loDw
+MDdBMUFFQUVGQjQ0NjRFAAoJELB6GurvtEZOsHoP/R6reDPrimf/IJFDAjCC5qaJ
+GEYHHEzACI2Ij/XWGjxDW+til2luesUM9FMdaXbDHxj6GWqJeYPpehJ8F3Q0CBfx
+FhlnONWP/APptwCcc2gF9zj3MY7gDKfL10hAdwahb++g5MMp429lkuJCq645V63d
+nL376SPnfV5iVB8/6rjQ3A9FBviqgzWpUNcyEIcAj8uXlu5kyZ0MiZI5SdFf6O7a
+c/uBrUEwgNJIgdviFA4bBzwcXntIrdyfMQL9MvHbmTlcQPNRGfGQKwKeD5EGlMo4
+VEaOdQriFP8MY/NYfm2npasm1KQE4gcJo1p8VJQ2wAcPIglrovRpt/JNGhOxeL9V
+H/bKh98L4OIIapNLvwUqO+h0+3E7Vh/hOKnmY7G0UzHhDZ9Uq5NiT/g+nq6xr1ax
+dLlsZvfzj22nQf4R4ogRSSrcwkuFO41u7OaNkUCzAq/rxi5jHTnr8Nv/qqTHG7Ve
+WRrorGRXRxHQt5KcFdrDjHfVTy/ZNhxiRBmajvEdvO3MqFTKqAG0KStvDXHU6/Gf
+rIl2VosU2zdQMUIgYhiV1nKzwc8IiYWnaVtg2PJaQZIQOD/dyAKUfUWMCR6kxB9B
+0bdP/l0b5mtnByLZhZTRwlePMWsjQ8rPjbUDdNhrg39V0sv+J64ZsaItvODQalx3
+WoSAx5aMZHHvJNi2qQXn
+=yAQ2
-----END PGP SIGNATURE-----
diff --git a/sys-freebsd/freebsd-lib/files/freebsd-lib-10.0-atfcxx.patch b/sys-freebsd/freebsd-lib/files/freebsd-lib-10.0-atfcxx.patch
new file mode 100644
index 000000000000..42b64b572322
--- /dev/null
+++ b/sys-freebsd/freebsd-lib/files/freebsd-lib-10.0-atfcxx.patch
@@ -0,0 +1,49 @@
+diff --git a/lib/atf/Makefile.inc b/lib/atf/Makefile.inc
+index 937187a..d5277f3 100644
+--- a/lib/atf/Makefile.inc
++++ b/lib/atf/Makefile.inc
+@@ -49,6 +49,24 @@ CFLAGS+= -DATF_PKGDATADIR='"${SHAREDIR}/atf"'
+ CFLAGS+= -DATF_SHELL='"/bin/sh"'
+ CFLAGS+= -DATF_WORKDIR='"/tmp"'
+
++CXXFLAGS+= -DHAVE_CONFIG_H
++CXXFLAGS+= -DATF_ARCH='"${MACHINE}"'
++CXXFLAGS+= -DATF_BUILD_CC='"${CC}"'
++CXXFLAGS+= -DATF_BUILD_CXXFLAGS='"${_CXXFLAGS}"'
++CXXFLAGS+= -DATF_BUILD_CPP='"${CPP}"'
++CXXFLAGS+= -DATF_BUILD_CPPFLAGS='"${_CPPFLAGS}"'
++CXXFLAGS+= -DATF_BUILD_CXX='"${CXX}"'
++CXXFLAGS+= -DATF_BUILD_CXXFLAGS='"${_CXXFLAGS}"'
++CXXFLAGS+= -DATF_CONFDIR='"${CONFDIR}/atf"'
++CXXFLAGS+= -DATF_INCLUDEDIR='"${INCLUDEDIR}"'
++CXXFLAGS+= -DATF_LIBDIR='"${LIBDIR}"'
++CXXFLAGS+= -DATF_LIBEXECDIR='"${LIBEXECDIR}"'
++CXXFLAGS+= -DATF_MACHINE='"${MACHINE_ARCH}"'
++CXXFLAGS+= -DATF_M4='"/usr/bin/m4"'
++CXXFLAGS+= -DATF_PKGDATADIR='"${SHAREDIR}/atf"'
++CXXFLAGS+= -DATF_SHELL='"/bin/sh"'
++CXXFLAGS+= -DATF_WORKDIR='"/tmp"'
++
+ WARNS?= 3
+
+ # vim: syntax=make
+diff --git a/lib/atf/libatf-c++/Makefile b/lib/atf/libatf-c++/Makefile
+index 37d6073..90a2687 100644
+--- a/lib/atf/libatf-c++/Makefile
++++ b/lib/atf/libatf-c++/Makefile
+@@ -40,11 +40,11 @@ LDFLAGS+= -L${.OBJDIR}/../libatf-c
+ .PATH: ${ATF}/atf-c++
+ .PATH: ${ATF}/atf-c++/detail
+
+-CFLAGS+= -I${ATF}
+-CFLAGS+= -I${.CURDIR}/../libatf-c
+-CFLAGS+= -I.
++CXXFLAGS+= -I${ATF}
++CXXFLAGS+= -I${.CURDIR}/../libatf-c
++CXXFLAGS+= -I.
+
+-CFLAGS+= -DHAVE_CONFIG_H
++CXXFLAGS+= -DHAVE_CONFIG_H
+
+ SRCS= application.cpp \
+ build.cpp \
diff --git a/sys-freebsd/freebsd-lib/files/freebsd-lib-10.0-liblink.patch b/sys-freebsd/freebsd-lib/files/freebsd-lib-10.0-liblink.patch
new file mode 100644
index 000000000000..6ef3f07de0fd
--- /dev/null
+++ b/sys-freebsd/freebsd-lib/files/freebsd-lib-10.0-liblink.patch
@@ -0,0 +1,98 @@
+diff --git a/lib/libcam/Makefile b/lib/libcam/Makefile
+index 9a21dde..0815f0a 100644
+--- a/lib/libcam/Makefile
++++ b/lib/libcam/Makefile
+@@ -8,6 +8,7 @@ INCS= camlib.h
+
+ DPADD= ${LIBSBUF}
+ LDADD= -lsbuf
++LDFLAGS+= -L${.OBJDIR}/../libsbuf
+
+ MAN= cam.3 cam_cdbparse.3
+
+diff --git a/lib/libdwarf/Makefile b/lib/libdwarf/Makefile
+index dbd7895..607b1f6 100644
+--- a/lib/libdwarf/Makefile
++++ b/lib/libdwarf/Makefile
+@@ -21,6 +21,7 @@ SRCS= \
+ INCS= dwarf.h libdwarf.h
+
+ CFLAGS+= -I${.CURDIR}
++CFLAGS+= -I${.CURDIR}/../libelf
+
+ SHLIB_MAJOR= 3
+
+diff --git a/lib/libproc/Makefile b/lib/libproc/Makefile
+index 4449c06..f024cf0 100644
+--- a/lib/libproc/Makefile
++++ b/lib/libproc/Makefile
+@@ -14,6 +14,7 @@ SRCS= proc_bkpt.c \
+ INCS= libproc.h
+
+ CFLAGS+= -I${.CURDIR}
++CFLAGS+= -I${.CURDIR}/../libelf
+
+ .if ${MK_LIBCPLUSPLUS} != "no"
+ LDADD+= -lcxxrt
+@@ -27,4 +28,7 @@ SHLIB_MAJOR= 2
+
+ WITHOUT_MAN=
+
++LDADD+= -lelf
++LDFLAGS+= -L${.OBJDIR}/../libelf
++
+ .include <bsd.lib.mk>
+diff --git a/lib/libprocstat/Makefile b/lib/libprocstat/Makefile
+index af5a775..c01aa05 100644
+--- a/lib/libprocstat/Makefile
++++ b/lib/libprocstat/Makefile
+@@ -16,6 +16,8 @@ VERSION_DEF= ${.CURDIR}/Versions.def
+ SYMBOL_MAPS= ${.CURDIR}/Symbol.map
+
+ INCS= libprocstat.h
++CFLAGS+= -I${.CURDIR}/../libelf
++LDFLAGS+= -L${.OBJDIR}/../libelf
+ CFLAGS+= -I. -I${.CURDIR} -D_KVM_VNODE
+ SHLIB_MAJOR= 1
+
+diff --git a/lib/librtld_db/Makefile b/lib/librtld_db/Makefile
+index 2815a07..e992662 100644
+--- a/lib/librtld_db/Makefile
++++ b/lib/librtld_db/Makefile
+@@ -10,5 +10,8 @@ SRCS= rtld_db.c
+ INCS= rtld_db.h
+
+ CFLAGS+= -I${.CURDIR}
++CFLAGS+= -I${.CURDIR}/../libelf
++LDADD+= -lutil -lproc
++LDFLAGS+= -L${.OBJDIR}/../libutil -L${.OBJDIR}/../libproc
+
+ .include <bsd.lib.mk>
+diff --git a/lib/libtelnet/Makefile b/lib/libtelnet/Makefile
+index 1cf52a0..3d25fae 100644
+--- a/lib/libtelnet/Makefile
++++ b/lib/libtelnet/Makefile
+@@ -13,6 +13,8 @@ INTERNALLIB=
+ SRCS= genget.c getent.c misc.c
+ CFLAGS+= -I${TELNETDIR}
+
++CFLAGS+= -I${.CURDIR}/../libmp
++
+ WARNS?= 2
+
+ .if !defined(RELEASE_CRUNCH)
+diff --git a/lib/libexecinfo/Makefile b/lib/libexecinfo/Makefile
+index 30a1dfb..9f8a99c 100644
+--- a/lib/libexecinfo/Makefile
++++ b/lib/libexecinfo/Makefile
+@@ -10,8 +10,10 @@ SHLIB_MAJOR= 1
+ INCS= execinfo.h
+ SRCS= backtrace.c symtab.c unwind.c
+
++CFLAGS+= -I${.CURDIR}/../libelf
+ DPADD= ${LIBELF}
+ LDADD= -lelf
++LDFLAGS+= -L${.OBJDIR}/../libelf
+
+ MAN= backtrace.3
+
diff --git a/sys-freebsd/freebsd-lib/files/freebsd-lib-10.0-libproc-libcxx.patch b/sys-freebsd/freebsd-lib/files/freebsd-lib-10.0-libproc-libcxx.patch
new file mode 100644
index 000000000000..55987aa44fa1
--- /dev/null
+++ b/sys-freebsd/freebsd-lib/files/freebsd-lib-10.0-libproc-libcxx.patch
@@ -0,0 +1,16 @@
+diff --git a/lib/libproc/Makefile b/lib/libproc/Makefile
+index f9e01ab..15b27d8 100644
+--- a/lib/libproc/Makefile
++++ b/lib/libproc/Makefile
+@@ -15,7 +15,10 @@ INCS= libproc.h
+
+ CFLAGS+= -I${.CURDIR}
+
+-.if ${MK_LIBCPLUSPLUS} != "no"
++.if ${CXX:T:M*-stdlib=libc++*}
++LDADD+= -lcxxrt
++DPADD+= ${LIBCXXRT}
++.elif ${CXXFLAGS:T:M*-stdlib=libc++*}
+ LDADD+= -lcxxrt
+ DPADD+= ${LIBCXXRT}
+ .else
diff --git a/sys-freebsd/freebsd-lib/files/freebsd-lib-10.0-libusb.patch b/sys-freebsd/freebsd-lib/files/freebsd-lib-10.0-libusb.patch
new file mode 100644
index 000000000000..296825259f08
--- /dev/null
+++ b/sys-freebsd/freebsd-lib/files/freebsd-lib-10.0-libusb.patch
@@ -0,0 +1,19 @@
+diff --git a/lib/libusb/Makefile b/lib/libusb/Makefile
+index 21016a9..26010e8 100644
+--- a/lib/libusb/Makefile
++++ b/lib/libusb/Makefile
+@@ -40,11 +40,11 @@ CFLAGS+= -DCOMPAT_32BIT
+
+ beforeinstall:
+ ${INSTALL} -C -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
+- ${.CURDIR}/libusb-0.1.pc ${DESTDIR}${LIBDATADIR}/pkgconfig
++ ${.CURDIR}/libusb-0.1.pc ${DESTDIR}${LIBDIR}/pkgconfig
+ ${INSTALL} -C -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
+- ${.CURDIR}/libusb-1.0.pc ${DESTDIR}${LIBDATADIR}/pkgconfig
++ ${.CURDIR}/libusb-1.0.pc ${DESTDIR}${LIBDIR}/pkgconfig
+ ${INSTALL} -C -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
+- ${.CURDIR}/libusb-2.0.pc ${DESTDIR}${LIBDATADIR}/pkgconfig
++ ${.CURDIR}/libusb-2.0.pc ${DESTDIR}${LIBDIR}/pkgconfig
+
+ #
+ # Cross platform support
diff --git a/sys-freebsd/freebsd-lib/files/freebsd-lib-10.1-cve-2014-8611.patch b/sys-freebsd/freebsd-lib/files/freebsd-lib-10.1-cve-2014-8611.patch
new file mode 100644
index 000000000000..e22504215e30
--- /dev/null
+++ b/sys-freebsd/freebsd-lib/files/freebsd-lib-10.1-cve-2014-8611.patch
@@ -0,0 +1,22 @@
+Index: lib/libc/stdio/fflush.c
+===================================================================
+--- lib/libc/stdio/fflush.c.orig
++++ lib/libc/stdio/fflush.c
+@@ -124,11 +124,13 @@
+ t = _swrite(fp, (char *)p, n);
+ if (t <= 0) {
+ /* Reset _p and _w. */
+- if (p > fp->_p) /* Some was written. */
++ if (p > fp->_p) {
++ /* Some was written. */
+ memmove(fp->_p, p, n);
+- fp->_p += n;
+- if ((fp->_flags & (__SLBF | __SNBF)) == 0)
+- fp->_w -= n;
++ fp->_p += n;
++ if ((fp->_flags & (__SLBF | __SNBF)) == 0)
++ fp->_w -= n;
++ }
+ fp->_flags |= __SERR;
+ return (EOF);
+ }
diff --git a/sys-freebsd/freebsd-lib/freebsd-lib-10.1.ebuild b/sys-freebsd/freebsd-lib/freebsd-lib-10.1.ebuild
new file mode 100644
index 000000000000..642a156b5f70
--- /dev/null
+++ b/sys-freebsd/freebsd-lib/freebsd-lib-10.1.ebuild
@@ -0,0 +1,632 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-lib/freebsd-lib-10.1.ebuild,v 1.1 2015/03/08 14:01:56 mgorny Exp $
+
+EAPI=5
+
+inherit bsdmk freebsd flag-o-matic multilib toolchain-funcs eutils multibuild multilib-build
+
+DESCRIPTION="FreeBSD's base system libraries"
+SLOT="0"
+
+# 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
+if [[ ${PV} != *9999* ]]; then
+ KEYWORDS="~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
+ SRC_URI="http://dev.gentoo.org/~mgorny/dist/freebsd/${RV}/${LIB}.tar.xz
+ http://dev.gentoo.org/~mgorny/dist/freebsd/${RV}/${CONTRIB}.tar.xz
+ http://dev.gentoo.org/~mgorny/dist/freebsd/${RV}/${CRYPTO}.tar.xz
+ http://dev.gentoo.org/~mgorny/dist/freebsd/${RV}/${LIBEXEC}.tar.xz
+ http://dev.gentoo.org/~mgorny/dist/freebsd/${RV}/${ETC}.tar.xz
+ http://dev.gentoo.org/~mgorny/dist/freebsd/${RV}/${INCLUDE}.tar.xz
+ http://dev.gentoo.org/~mgorny/dist/freebsd/${RV}/${USBIN}.tar.xz
+ http://dev.gentoo.org/~mgorny/dist/freebsd/${RV}/${GNU}.tar.xz
+ http://dev.gentoo.org/~mgorny/dist/freebsd/${RV}/${SECURE}.tar.xz
+ build? ( http://dev.gentoo.org/~mgorny/dist/freebsd/${RV}/${SYS}.tar.xz )
+ zfs? ( http://dev.gentoo.org/~mgorny/dist/freebsd/${RV}/${CDDL}.tar.xz )"
+fi
+
+if [ "${CATEGORY#*cross-}" = "${CATEGORY}" ]; then
+ RDEPEND="ssl? ( dev-libs/openssl )
+ hesiod? ( net-dns/hesiod )
+ kerberos? ( app-crypt/heimdal )
+ usb? ( !dev-libs/libusb )
+ zfs? ( =sys-freebsd/freebsd-cddl-${RV}* )
+ >=dev-libs/expat-2.0.1
+ =sys-freebsd/freebsd-libexec-${RV}*
+ !sys-libs/libutempter
+ !dev-libs/libelf
+ !dev-libs/libexecinfo
+ !dev-libs/libiconv
+ !sys-freebsd/freebsd-headers"
+ DEPEND="${RDEPEND}
+ >=sys-devel/flex-2.5.31-r2
+ =sys-freebsd/freebsd-sources-${RV}*"
+ RDEPEND="${RDEPEND}
+ =sys-freebsd/freebsd-share-${RV}*
+ >=virtual/libiconv-0-r2"
+else
+ SRC_URI="${SRC_URI}
+ http://dev.gentoo.org/~mgorny/dist/freebsd/${RV}/${SYS}.tar.xz"
+fi
+
+DEPEND="${DEPEND}
+ userland_GNU? ( sys-apps/mtree )
+ =sys-freebsd/freebsd-mk-defs-${RV}*"
+
+S="${WORKDIR}/lib"
+
+export CTARGET=${CTARGET:-${CHOST}}
+if [ "${CTARGET}" = "${CHOST}" -a "${CATEGORY#*cross-}" != "${CATEGORY}" ]; then
+ export CTARGET=${CATEGORY/cross-}
+fi
+
+IUSE="atm bluetooth ssl hesiod ipv6 kerberos usb netware
+ build crosscompile_opts_headers-only zfs
+ userland_GNU userland_BSD"
+
+QA_DT_NEEDED="lib/libc.so.7 lib32/libc.so.7"
+
+pkg_setup() {
+ [ -c /dev/zero ] || \
+ die "You forgot to mount /dev; the compiled libc would break."
+
+ if ! use ssl && use kerberos; then
+ eerror "If you want kerberos support you need to enable ssl support, too."
+ fi
+
+ use atm || mymakeopts="${mymakeopts} WITHOUT_ATM= "
+ use bluetooth || mymakeopts="${mymakeopts} WITHOUT_BLUETOOTH= "
+ use hesiod || mymakeopts="${mymakeopts} WITHOUT_HESIOD= "
+ use ipv6 || mymakeopts="${mymakeopts} WITHOUT_INET6_SUPPORT= "
+ use kerberos || mymakeopts="${mymakeopts} WITHOUT_KERBEROS_SUPPORT= WITHOUT_GSSAPI= "
+ use netware || mymakeopts="${mymakeopts} WITHOUT_IPX= WITHOUT_IPX_SUPPORT= WITHOUT_NCP= "
+ use ssl || mymakeopts="${mymakeopts} WITHOUT_OPENSSL= "
+ use usb || mymakeopts="${mymakeopts} WITHOUT_USB= "
+ use zfs || mymakeopts="${mymakeopts} WITHOUT_CDDL= "
+
+ mymakeopts="${mymakeopts} WITHOUT_SENDMAIL= WITHOUT_CLANG= WITHOUT_LIBCPLUSPLUS= WITHOUT_LDNS= WITHOUT_UNBOUND= "
+
+ if [ "${CTARGET}" != "${CHOST}" ]; then
+ mymakeopts="${mymakeopts} MACHINE=$(tc-arch-kernel ${CTARGET})"
+ mymakeopts="${mymakeopts} MACHINE_ARCH=$(tc-arch-kernel ${CTARGET})"
+ fi
+}
+
+PATCHES=(
+ "${FILESDIR}/${PN}-6.0-pmc.patch"
+ "${FILESDIR}/${PN}-6.1-csu.patch"
+ "${FILESDIR}/${PN}-10.0-liblink.patch"
+ "${FILESDIR}/${PN}-10.0-atfcxx.patch"
+ "${FILESDIR}/${PN}-10.0-libusb.patch"
+ "${FILESDIR}/${PN}-10.0-libproc-libcxx.patch"
+ "${FILESDIR}/${PN}-bsdxml2expat.patch"
+ "${FILESDIR}/${PN}-9.0-bluetooth.patch"
+ "${FILESDIR}/${PN}-9.1-.eh_frame_hdr-fix.patch"
+ "${FILESDIR}/${PN}-add-nossp-cflags.patch"
+ "${FILESDIR}/${PN}-10.1-cve-2014-8611.patch"
+ )
+
+# Here we disable and remove source which we don't need or want
+# In order:
+# - ncurses stuff
+# - libexpat creates a bsdxml library which is the same as expat
+# - archiving libraries (have their own ebuild)
+# - sendmail libraries (they are installed by sendmail)
+# - SNMP library and dependency (have their own ebuilds)
+# - libstand: static library, 32bits on amd64 used for boot0, we build it from
+# boot0 instead.
+#
+# The rest are libraries we already have somewhere else because
+# they are contribution.
+REMOVE_SUBDIRS="ncurses \
+ libexpat \
+ libz libbz2 libarchive liblzma \
+ libsm libsmdb libsmutil \
+ libbegemot libbsnmp \
+ libpam libpcap libwrap libmagic \
+ libcom_err
+ libedit
+ libstand
+ libgssapi"
+
+# Are we building a cross-compiler?
+is_crosscompile() {
+ [ "${CATEGORY#*cross-}" != "${CATEGORY}" ]
+}
+
+src_prepare() {
+ sed -i.bak -e 's:-o/dev/stdout:-t:' "${S}/libc/net/Makefile.inc"
+
+ # Upstream Display Managers default to using VT7
+ # We should make FreeBSD allow this by default
+ local x=
+ for x in "${WORKDIR}"/etc/etc.*/ttys ; do
+ sed -i.bak \
+ -e '/ttyv5[[:space:]]/ a\
+# Display Managers default to VT7.\
+# If you use the xdm init script, keep ttyv6 commented out\
+# unless you force a different VT for the DM being used.' \
+ -e '/^ttyv[678][[:space:]]/ s/^/# /' "${x}" \
+ || die "Failed to sed ${x}"
+ rm "${x}".bak
+ done
+
+ # This one is here because it also
+ # patches "${WORKDIR}/include"
+ cd "${WORKDIR}"
+ epatch "${FILESDIR}/${PN}-includes.patch"
+ epatch "${FILESDIR}/${PN}-8.0-gcc45.patch"
+ epatch "${FILESDIR}/${PN}-9.0-opieincludes.patch"
+
+ # Don't install the hesiod man page or header
+ rm "${WORKDIR}"/include/hesiod.h || die
+ sed -i.bak -e 's:hesiod.h::' "${WORKDIR}"/include/Makefile || die
+ sed -i.bak -e 's:hesiod.c::' -e 's:hesiod.3::' \
+ "${WORKDIR}"/lib/libc/net/Makefile.inc || die
+
+ # Fix the Makefiles of these few libraries that will overwrite our LDADD.
+ cd "${S}"
+ for dir in libradius libtacplus libcam libdevstat libfetch libgeom libmemstat libopie \
+ libsmb libprocstat libulog; do sed -i.bak -e 's:LDADD=:LDADD+=:g' "${dir}/Makefile" || \
+ die "Problem fixing \"${dir}/Makefile"
+ done
+ # Call LD with LDFLAGS, rename them to RAW_LDFLAGS
+ sed -e 's/LDFLAGS/RAW_LDFLAGS/g' \
+ -i "${S}/csu/i386-elf/Makefile" \
+ -i "${S}/csu/ia64/Makefile" || die
+ if use build; then
+ cd "${WORKDIR}"
+ # This patch has to be applied on ${WORKDIR}/sys, so we do it here since it
+ # shouldn't be a symlink to /usr/src/sys (which should be already patched)
+ epatch "${FILESDIR}"/${PN}-7.1-types.h-fix.patch
+ epatch "${FILESDIR}"/freebsd-sources-9.0-sysctluint.patch
+ return 0
+ fi
+
+ if ! is_crosscompile ; then
+ if [[ ! -e "${WORKDIR}/sys" ]]; then
+ ln -s "/usr/src/sys" "${WORKDIR}/sys" || die "Couldn't make sys symlink!"
+ fi
+ else
+ sed -i.bak -e "s:/usr/include:/usr/${CTARGET}/usr/include:g" \
+ "${S}/libc/rpc/Makefile.inc" \
+ "${S}/libc/yp/Makefile.inc"
+ fi
+
+ if install --version 2> /dev/null | grep -q GNU; then
+ sed -i.bak -e 's:${INSTALL} -C:${INSTALL}:' "${WORKDIR}/include/Makefile"
+ fi
+
+ # Try to fix sed calls for GNU sed. Do it only with GNU userland and force
+ # BSD's sed on BSD.
+ cd "${S}"
+ if use userland_GNU; then
+ find . -name Makefile -exec sed -ibak 's/sed -i /sed -i/' {} \;
+ fi
+}
+
+bootstrap_lib() {
+ for i ; do
+ cd "${WORKDIR}/${i}" || die "missing ${i}"
+ freebsd_src_compile
+ append-ldflags "-L${MAKEOBJDIRPREFIX}/${WORKDIR}/${i}"
+ done
+}
+
+get_csudir() {
+ if [ -d "${WORKDIR}/lib/csu/$1-elf" ]; then
+ echo "lib/csu/$1-elf"
+ else
+ echo "lib/csu/$1"
+ fi
+}
+
+bootstrap_csu() {
+ local csudir="$(get_csudir $(tc-arch-kernel ${CTARGET}))"
+ export RAW_LDFLAGS=$(raw-ldflags)
+ bootstrap_lib "${csudir}"
+
+ CFLAGS="${CFLAGS} -B ${MAKEOBJDIRPREFIX}/${WORKDIR}/${csudir}"
+ append-ldflags "-B ${MAKEOBJDIRPREFIX}/${WORKDIR}/${csudir}"
+
+ bootstrap_lib "gnu/lib/csu"
+
+ cd "${MAKEOBJDIRPREFIX}/${WORKDIR}/gnu/lib/csu"
+ for i in *.So ; do
+ ln -s $i ${i%.So}S.o
+ done
+ CFLAGS="${CFLAGS} -B ${MAKEOBJDIRPREFIX}/${WORKDIR}/gnu/lib/csu"
+ append-ldflags "-B ${MAKEOBJDIRPREFIX}/${WORKDIR}/gnu/lib/csu"
+}
+
+# Compile libssp_nonshared.a and add it's path to LDFLAGS.
+bootstrap_libssp_nonshared() {
+ bootstrap_lib "gnu/lib/libssp/libssp_nonshared"
+ export LDADD="-lssp_nonshared"
+}
+
+bootstrap_libgcc() {
+ bootstrap_lib "lib/libcompiler_rt"
+ cd "${MAKEOBJDIRPREFIX}/${WORKDIR}/lib/libcompiler_rt" || die
+ ln -s libcompiler_rt.a libgcc.a || die
+
+ bootstrap_lib "lib/libc" "gnu/lib/libgcc"
+}
+
+bootstrap_libthr() {
+ bootstrap_lib "lib/libthr"
+ cd "${MAKEOBJDIRPREFIX}/${WORKDIR}/lib/libthr" || die
+ ln -s libthr.so libpthread.so
+}
+
+# What to build for a cross-compiler.
+# We also need the csu but this has to be handled separately.
+CROSS_SUBDIRS="lib/libc lib/msun gnu/lib/libssp/libssp_nonshared lib/libthr lib/libutil lib/librt lib/libc_nonshared"
+
+# What to build for non-default ABIs.
+NON_NATIVE_SUBDIRS="${CROSS_SUBDIRS} gnu/lib/csu lib/libcompiler_rt gnu/lib/libgcc lib/libmd lib/libcrypt lib/libsbuf lib/libcam lib/libelf lib/libiconv_modules"
+
+# Subdirs for a native build:
+NATIVE_SUBDIRS="lib gnu/lib/libssp/libssp_nonshared gnu/lib/libregex gnu/lib/csu gnu/lib/libgcc lib/libiconv_modules"
+
+# Is my $ABI native ?
+is_native_abi() {
+ is_crosscompile && return 1
+ multilib_is_native_abi
+}
+
+# Do we need to bootstrap the csu and libssp_nonshared?
+need_bootstrap() {
+ is_crosscompile || use build || { ! is_native_abi && ! has_version '>=sys-freebsd/freebsd-lib-9.1-r8[multilib]' && ! has_version ">=sys-freebsd/freebsd-lib-9.1-r11[${MULTILIB_USEDEP}]" ; } || has_version "<${CATEGORY}/${P}"
+}
+
+# Get the subdirs we are building.
+get_subdirs() {
+ local ret=""
+ if is_native_abi ; then
+ # If we are building for the native ABI, build everything
+ ret="${NATIVE_SUBDIRS}"
+ elif is_crosscompile ; then
+ # With a cross-compiler we only build the very core parts.
+ ret="${CROSS_SUBDIRS}"
+ if [ "${EBUILD_PHASE}" = "install" ]; then
+ # Add the csu dir first when installing. We treat it separately for
+ # compiling.
+ ret="$(get_csudir $(tc-arch-kernel ${CTARGET})) ${ret}"
+ fi
+ else
+ # For the non-native ABIs we only build the csu parts and very core
+ # libraries for now.
+ ret="${NON_NATIVE_SUBDIRS} $(get_csudir $(tc-arch-kernel ${CHOST}))"
+ fi
+ echo "${ret}"
+}
+
+# Bootstrap the core libraries and setup the flags so that the other parts can
+# build against it.
+do_bootstrap() {
+ einfo "Bootstrapping on ${CHOST} for ${CTARGET}"
+ if ! is_crosscompile ; then
+ # Pre-install headers, but not when building a cross-compiler since we
+ # assume they have been installed in the previous pass.
+ einfo "Pre-installing includes in include_proper_${ABI}"
+ mkdir "${WORKDIR}/include_proper_${ABI}" || die
+ CTARGET="${CHOST}" install_includes "/include_proper_${ABI}"
+ CFLAGS="${CFLAGS} -isystem ${WORKDIR}/include_proper_${ABI}"
+ CXXFLAGS="${CXXFLAGS} -isystem ${WORKDIR}/include_proper_${ABI}"
+ fi
+ bootstrap_csu
+ bootstrap_libssp_nonshared
+ is_crosscompile && bootstrap_lib "lib/libc"
+ is_crosscompile || is_native_abi || bootstrap_libgcc
+ is_native_abi || bootstrap_libthr
+}
+
+# Compile it. Assume we have the toolchain setup correctly.
+do_compile() {
+ # Bootstrap if needed, otherwise assume the system headers are in
+ # /usr/include.
+ if need_bootstrap ; then
+ do_bootstrap
+ else
+ CFLAGS="${CFLAGS} -isystem /usr/include"
+ CXXFLAGS="${CXXFLAGS} -isystem /usr/include"
+ fi
+
+ export RAW_LDFLAGS=$(raw-ldflags)
+
+ # Everything is now setup, build it!
+ for i in $(get_subdirs) ; do
+ einfo "Building in ${i}... with CC=${CC} and CFLAGS=${CFLAGS}"
+ cd "${WORKDIR}/${i}/" || die "missing ${i}."
+ freebsd_src_compile || die "make ${i} failed"
+ done
+}
+
+src_compile() {
+ # Does not work with GNU sed
+ # Force BSD's sed on BSD.
+ if use userland_BSD ; then
+ export ESED=/usr/bin/sed
+ unalias sed
+ fi
+
+ use usb && export NON_NATIVE_SUBDIRS="${NON_NATIVE_SUBDIRS} lib/libusb lib/libusbhid"
+
+ cd "${WORKDIR}/include"
+ $(freebsd_get_bmake) CC="$(tc-getCC)" || die "make include failed"
+
+ use crosscompile_opts_headers-only && return 0
+
+ # Bug #270098
+ append-flags $(test-flags -fno-strict-aliasing)
+
+ # Bug #324445
+ append-flags $(test-flags -fno-strict-overflow)
+
+ # strip flags and do not do it later, we only add safe, and in fact
+ # needed flags after all
+ strip-flags
+ export NOFLAGSTRIP=yes
+ if is_crosscompile ; then
+ export YACC='yacc -by'
+ CHOST=${CTARGET} tc-export CC LD CXX RANLIB
+ mymakeopts="${mymakeopts} NLS="
+ CFLAGS="${CFLAGS} -isystem /usr/${CTARGET}/usr/include"
+ CXXFLAGS="${CXXFLAGS} -isystem /usr/${CTARGET}/usr/include"
+ append-ldflags "-L${WORKDIR}/${CHOST}/${WORKDIR}/lib/libc"
+ fi
+
+ if is_crosscompile ; then
+ do_compile
+ else
+ local MULTIBUILD_VARIANTS=( $(multilib_get_enabled_abis) )
+ multibuild_foreach_variant freebsd_multilib_multibuild_wrapper do_compile
+ fi
+}
+
+gen_libc_ldscript() {
+ # Parameters:
+ # $1 = target libdir
+ # $2 = source libc dir
+ # $3 = source libssp_nonshared dir
+
+ # Clear the symlink.
+ rm -f "${D}/$2/libc.so" || die
+
+ # Move the library if needed
+ if [ "$1" != "$2" ] ; then
+ mv "${D}/$2/libc.so.7" "${D}/$1/" || die
+ fi
+
+ # Generate libc.so ldscript for inclusion of libssp_nonshared.a when linking
+ # this is done to avoid having to touch gcc spec file as it is currently
+ # done on FreeBSD upstream, mostly because their binutils aren't able to
+ # cope with linker scripts yet.
+ # Taken from toolchain-funcs.eclass:
+ local output_format
+ output_format=$($(tc-getCC) ${CFLAGS} ${LDFLAGS} -Wl,--verbose 2>&1 | sed -n 's/^OUTPUT_FORMAT("\([^"]*\)",.*/\1/p')
+ [[ -n ${output_format} ]] && output_format="OUTPUT_FORMAT ( ${output_format} )"
+
+ # iconv symbol provided by libc_nonshared.a.
+ # http://svnweb.freebsd.org/base?view=revision&amp;revision=258283
+ cat > "${D}/$2/libc.so" <<-END_LDSCRIPT
+/* GNU ld script
+ SSP (-fstack-protector) requires __stack_chk_fail_local to be local.
+ GCC invokes this symbol in a non-PIC way, which results in TEXTRELs if
+ this symbol was provided by a shared libc. So we link in
+ libssp_nonshared.a from here.
+ */
+${output_format}
+GROUP ( /$1/libc.so.7 /$3/libc_nonshared.a /$3/libssp_nonshared.a )
+END_LDSCRIPT
+}
+
+header_list=""
+
+move_header() {
+ local dirname=$(dirname ${1})
+ local filename=$(basename ${1})
+
+ if [ ! -d "${dirname}/${ABI}" ] ; then
+ mkdir "${dirname}/${ABI}" || die
+ fi
+
+ mv "${1}" "${dirname}/${ABI}/" || die
+
+ export header_list="${header_list} ${1}"
+}
+
+make_header_template() {
+ cat <<-END_HEADER
+/*
+ * Wrapped header for multilib support.
+ * See the real headers included below.
+ */
+
+#if defined(__x86_64__)
+ @ABI_amd64_fbsd@
+#elif defined(__i386__)
+ @ABI_x86_fbsd@
+#else
+ @ABI_${DEFAULT_ABI}@
+#endif
+END_HEADER
+}
+
+wrap_header() {
+ local dirname=$(dirname ${1})
+ local filename=$(basename ${1})
+
+ if [ -n "${dirname#.}" ] ; then
+ dirname="${dirname}/${2}"
+ else
+ dirname="${2}"
+ fi
+
+ if [ -f "${dirname}/${filename}" ] ; then
+ sed -e "s:@ABI_${2}@:#include <${dirname}/${filename}>:" ${1}
+ else
+ cat ${1}
+ fi
+}
+
+wrap_header_end() {
+ sed -e "s:@ABI_.*@:#error \"Sorry, no support for your ABI.\":" ${1}
+}
+
+do_install() {
+ if is_crosscompile ; then
+ INCLUDEDIR="/usr/${CTARGET}/usr/include"
+ else
+ INCLUDEDIR="/usr/include"
+ fi
+
+ dodir ${INCLUDEDIR}
+ CTARGET="${CHOST}" \
+ install_includes ${INCLUDEDIR}
+
+ is_crosscompile && use crosscompile_opts_headers-only && return 0
+
+ # Install a libusb.pc for better compat with Linux's libusb
+ if use usb ; then
+ dodir /usr/$(get_libdir)/pkgconfig
+ sed -i.bkp "s:^libdir=.*:libdir=/usr/$(get_libdir):g" "${S}"/libusb/libusb-*.pc
+ fi
+
+ for i in $(get_subdirs) ; do
+ if [[ ${i} != *libiconv_modules* ]] ; then
+ einfo "Installing in ${i}..."
+ cd "${WORKDIR}/${i}/" || die "missing ${i}."
+ freebsd_src_install || die "Install ${i} failed"
+ fi
+ done
+
+ if ! is_crosscompile; then
+ local mymakeopts_save="${mymakeopts}"
+ mymakeopts="${mymakeopts} SHLIBDIR=/usr/$(get_libdir)/i18n LIBDIR=/usr/$(get_libdir)/i18n"
+
+ einfo "Installing in lib/libiconv_modules..."
+ cd "${WORKDIR}/lib/libiconv_modules/" || die "missing libiconv_modules."
+ freebsd_src_install || die "Install lib/libiconv_modules failed"
+
+ mymakeopts="${mymakeopts_save}"
+ fi
+
+ if ! is_crosscompile ; then
+ if ! multilib_is_native_abi ; then
+ gen_libc_ldscript "usr/$(get_libdir)" "usr/$(get_libdir)" "usr/$(get_libdir)"
+ else
+ dodir "$(get_libdir)"
+ gen_libc_ldscript "$(get_libdir)" "usr/$(get_libdir)" "usr/$(get_libdir)"
+ fi
+ else
+ CHOST=${CTARGET} gen_libc_ldscript "usr/${CTARGET}/usr/lib" "usr/${CTARGET}/usr/lib" "usr/${CTARGET}/usr/lib"
+ # We're done for the cross libc here.
+ return 0
+ fi
+
+ # Generate ldscripts for core libraries that will go in /
+ multilib_is_native_abi && \
+ gen_usr_ldscript -a alias cam geom ipsec jail kiconv \
+ kvm m md procstat sbuf thr ufs util elf
+
+ if [[ ${#MULTIBUILD_VARIANTS[@]} -gt 1 ]] ; then
+ cd "${D}/usr/include"
+ for i in machine/*.h fenv.h ; do
+ move_header ${i}
+ done
+ if multilib_is_native_abi ; then
+ # Supposedly the last one!
+ local uniq_headers="$(echo ${header_list} | tr ' ' '\n' | sort | uniq | tr '\n' ' ')"
+ for j in ${uniq_headers} ; do
+ make_header_template > ${j}
+ for i in $(get_all_abis) ; do
+ wrap_header ${j} ${i} > ${j}.new
+ cp ${j}.new ${j}
+ rm -f ${j}.new
+ done
+ wrap_header_end ${j} > ${j}.new
+ cp ${j}.new ${j}
+ rm -f ${j}.new
+ done
+ fi
+ fi
+}
+
+src_install() {
+ if is_crosscompile ; then
+ einfo "Installing for ${CTARGET} in ${CHOST}.."
+ # From this point we need to force: get stripped with the correct tools,
+ # get tc-arch-kernel to return the right value, etc.
+ export CHOST=${CTARGET}
+
+ mymakeopts="${mymakeopts} NO_MAN= \
+ INCLUDEDIR=/usr/${CTARGET}/usr/include \
+ SHLIBDIR=/usr/${CTARGET}/usr/lib \
+ LIBDIR=/usr/${CTARGET}/usr/lib"
+
+ dosym "usr/include" "/usr/${CTARGET}/sys-include"
+ do_install
+
+ return 0
+ else
+ export STRIP_MASK="*/usr/lib*/*crt*.o"
+ local MULTIBUILD_VARIANTS=( $(multilib_get_enabled_abis) )
+ multibuild_foreach_variant freebsd_multilib_multibuild_wrapper do_install
+ fi
+
+ cd "${WORKDIR}/etc/"
+ insinto /etc
+ doins nls.alias mac.conf netconfig
+
+ # Install ttys file
+ local MACHINE="$(tc-arch-kernel)"
+ doins "etc.${MACHINE}"/*
+}
+
+install_includes()
+{
+ local INCLUDEDIR="$1"
+
+ # The idea is to be called from either install or unpack.
+ # During unpack it's required to install them as portage's user.
+ if [[ "${EBUILD_PHASE}" == "install" ]]; then
+ local DESTDIR="${D}"
+ BINOWN="root"
+ BINGRP="wheel"
+ else
+ local DESTDIR="${WORKDIR}"
+ [[ -z "${USER}" ]] && USER="portage"
+ BINOWN="${USER}"
+ [[ -z "${GROUPS}" ]] && GROUPS="portage"
+ BINGRP="${GROUPS}"
+ fi
+
+ # Must exist before we use it.
+ [[ -d "${DESTDIR}${INCLUDEDIR}" ]] || die "dodir or mkdir ${INCLUDEDIR} before using install_includes."
+ cd "${WORKDIR}/include"
+
+ local MACHINE="$(tc-arch-kernel)"
+
+ einfo "Installing includes into ${INCLUDEDIR} as ${BINOWN}:${BINGRP}..."
+ $(freebsd_get_bmake) installincludes \
+ MACHINE=${MACHINE} MACHINE_ARCH=${MACHINE} \
+ DESTDIR="${DESTDIR}" \
+ INCLUDEDIR="${INCLUDEDIR}" BINOWN="${BINOWN}" \
+ BINGRP="${BINGRP}" \
+ WITHOUT_GSSAPI= || die "install_includes() failed"
+ einfo "includes installed ok."
+ EXTRA_INCLUDES="lib/librtld_db lib/libutil lib/msun gnu/lib/libregex"
+ for i in $EXTRA_INCLUDES; do
+ einfo "Installing $i includes into ${INCLUDEDIR} as ${BINOWN}:${BINGRP}..."
+ cd "${WORKDIR}/$i" || die
+ $(freebsd_get_bmake) installincludes DESTDIR="${DESTDIR}" \
+ MACHINE=${MACHINE} MACHINE_ARCH=${MACHINE} \
+ INCLUDEDIR="${INCLUDEDIR}" BINOWN="${BINOWN}" \
+ BINGRP="${BINGRP}" || die "problem installing $i includes."
+ einfo "$i includes installed ok."
+ done
+}