summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-11-18 14:56:13 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-11-18 14:56:13 +0000
commit6d2516f744a7a88d48bcaf95a236680620f24f6b (patch)
tree3f7513374f1df85ca23a9556d3860a3153847ca6 /sys-freebsd/freebsd-lib
parentFixed metadata (diff)
downloadhistorical-6d2516f744a7a88d48bcaf95a236680620f24f6b.tar.gz
historical-6d2516f744a7a88d48bcaf95a236680620f24f6b.tar.bz2
historical-6d2516f744a7a88d48bcaf95a236680620f24f6b.zip
Remove 6.2_beta2.
Package-Manager: portage-2.1.2_rc2
Diffstat (limited to 'sys-freebsd/freebsd-lib')
-rw-r--r--sys-freebsd/freebsd-lib/Manifest29
-rw-r--r--sys-freebsd/freebsd-lib/files/digest-freebsd-lib-6.2_beta224
-rw-r--r--sys-freebsd/freebsd-lib/freebsd-lib-6.2_beta2.ebuild255
3 files changed, 7 insertions, 301 deletions
diff --git a/sys-freebsd/freebsd-lib/Manifest b/sys-freebsd/freebsd-lib/Manifest
index 64f27ee6ddb7..f31bd207d6ed 100644
--- a/sys-freebsd/freebsd-lib/Manifest
+++ b/sys-freebsd/freebsd-lib/Manifest
@@ -42,45 +42,33 @@ MD5 eb10216ffda9c5f69fdb28728c574114 files/freebsd-lib-fixmp.patch 548
RMD160 91cf241eaa972c13ea6ddd1ec03a6fd7f3a2a4b3 files/freebsd-lib-fixmp.patch 548
SHA256 bd99697872b00a4275c80935f4f5188f4f859aa358be0ecfc0c5470e9979c354 files/freebsd-lib-fixmp.patch 548
DIST freebsd-contrib-6.1.tar.bz2 36017365 RMD160 225f6ade032533d08b98b79cb29b75da2a3c74fa SHA1 adac960daad3f4169874fe0ba1050fe7e906aa23 SHA256 41283b7f78597cf81f98477aef04eb9cce2b130b1a2f8b5c7d647549c973c054
-DIST freebsd-contrib-6.2_beta2.tar.bz2 36450440 RMD160 ade5b435c733f1f7766d3a64e884ae70053c53c8 SHA1 b32f5ecd9420e2d26f3ec82442fa77301d9d4b41 SHA256 c3a600edf8d61377e5bffbd91f06b9ff3442d76ee667f757e9a71fba854f4f96
DIST freebsd-contrib-6.2_beta3.tar.bz2 36555171 RMD160 630c839a0025811a4c2da5de560150fe00d4ed28 SHA1 84e8c230815b47b9116b1e1c67684ae08b76a754 SHA256 51c0b85ff28b6b9d85092e51a0fe2a9ae9bb9714a50495713236e0c162e8ee0b
DIST freebsd-crypto-6.1.tar.bz2 3978359 RMD160 de2fa1e12cda42661565d5bf0f910b1a99d3c4df SHA1 a816fb8b613b92a80b9fab3d8d89b72eb9c550be SHA256 52be404c7f86ca29f957e1dc46c8a2c32a46ddb5c316d5123faf92a9c9fe37c5
-DIST freebsd-crypto-6.2_beta2.tar.bz2 3983557 RMD160 8f8fb40a3d754fe80e4c9e77449e48f1e09e957c SHA1 f770c768455034bf2b06f583589be1ff5a1ea229 SHA256 207e03eebdb1d8b769d4f91ffe274053da88ee933921acedbdf1bc5f9245d876
DIST freebsd-crypto-6.2_beta3.tar.bz2 4033439 RMD160 1c7680fe08f6e026d3a5b4370552d04c8438f1cc SHA1 2cfaaa68ac950a379d14f55171b373f278d490d4 SHA256 0cff4034fd45611b9acfde941773f50588303ef5b1d848055ecb8eb8cba5e518
DIST freebsd-etc-6.1.tar.bz2 184045 RMD160 b9a8bea64694c040c02b74f7633dc3cd77afa400 SHA1 4a1fff7fa1c77485c5efccf5ab1155e497d1cd82 SHA256 62b06b61e526c4a939503202aaca31cbce7a3de9daec03e67dc57119527eeff7
-DIST freebsd-etc-6.2_beta2.tar.bz2 188103 RMD160 d6556dd5c89806e4968d7b76df5790602be25390 SHA1 6350c7b6b35e15ffe062f0ff583c3a23583ac3ac SHA256 9395e53d0b581235cb48f3b8d788a8c4be8e75e7c11edcd11dd56569b40b1656
DIST freebsd-etc-6.2_beta3.tar.bz2 188295 RMD160 7b4e5f22cdb6b23b0379c285001379390f176136 SHA1 45357af3e1a5a920df024aa806d3f2b38febfd6e SHA256 8d79f1e1e9b8453c0431dd9112b51a09a2ed8db7c288e6eb76347b0030eacf89
DIST freebsd-include-6.1.tar.bz2 127179 RMD160 f873b13bb16408a390932d14974b39336bd90a7c SHA1 747d7498ce80846274e49ed4487440dcbefe96af SHA256 9cd9d47c5cc8ea4fc7afe185c9b391317fe013adb3f0a960e9fe498f166177b5
-DIST freebsd-include-6.2_beta2.tar.bz2 131579 RMD160 1c09dd973a875dbebb8e5b460a72ac5ab99f0644 SHA1 92be1546193dc154b11be865fd8715f760e9125a SHA256 d2ab03d2db180d4a444b99b7f164eb1ef5e04ac8ad69e1ffcb621ea8c594fa3f
DIST freebsd-include-6.2_beta3.tar.bz2 131608 RMD160 7bbc4c99f04752366a5d67a7ce8edc56c0807ec3 SHA1 e60eec5ab98920871838aed86122019315f72b48 SHA256 5ce85fe6c6c2cc0e6bc4502d838f52820d06c1dc19c270583f2469edc466ca9a
DIST freebsd-lib-6.1.tar.bz2 2613584 RMD160 f71aad95ef2bac094bdab9e317a99fb866fba042 SHA1 c7fed3b4a996fdd25f97eef428dd40023dc53a7e SHA256 6ecb49695dc135e64cea949cb7e9b9998b15cb962797cdafc735a7e244744c37
-DIST freebsd-lib-6.2_beta2.tar.bz2 2669048 RMD160 dfb33df2c853bf226034843fdc319a5e0781fcf7 SHA1 c1062981050f4666e146affc4b152a5ad427904a SHA256 ee3f7c41c0991b0196cbb550ed6a97093f220efd9caac52705ef4f49050c4f14
DIST freebsd-lib-6.2_beta3.tar.bz2 2668544 RMD160 9b21ec424b2b86c0dfa252322e9784ebddce3e53 SHA1 4054245c50fdb8d526f89e49824ee993793234b4 SHA256 7aed09b38fedeb174bfd91caa8c2f38240c2f5a0c21d4c50e7eaef5a42daba09
DIST freebsd-libexec-6.1.tar.bz2 277860 RMD160 bef98efbc76812cf36b55067433039f3805cfbab SHA1 8204a510e44e21cbf53715f3d4a2518b8192400d SHA256 38eaddc9edc36597e42ca3c63ee8a2fd6f07f96c7294aea75a9988ac5b07b357
-DIST freebsd-libexec-6.2_beta2.tar.bz2 276928 RMD160 33a180fa9938dbe8b57c211f475522b837079ad5 SHA1 a952c72c7dbe62abd25835705e4bd24f35a31a5a SHA256 6a9d0525336914d1607412fe7785aa4809f78abb0961933521bf912195e614aa
DIST freebsd-libexec-6.2_beta3.tar.bz2 277158 RMD160 91353b9c0bb7fc254b0a57d55f07b095a06909c9 SHA1 72629c436dda375767758270b52e9dd52759250c SHA256 ce19db01248c1c805636e271056a4f99c8bbe1e2b76def47875dcf6e5bdafdf4
DIST freebsd-sys-6.1.tar.bz2 17361671 RMD160 eb19f6a345c665542df694a4f9170d227beaf3b6 SHA1 f9da69cabdaaad268c79670c06ba4fff3e3ef6a8 SHA256 d2ecd79b83ba06c12e358adfccc7e057e15fb7c5be76d92c537b99cbe1d84f0f
-DIST freebsd-sys-6.2_beta2.tar.bz2 18317253 RMD160 c53fdcb1289d56f5184b3912fdb0ce2cc4edcc49 SHA1 5f5e3d61f7580eecafb87cbd08050ac8a2c8a1c4 SHA256 a5e503e13340bd1ac674aeae3737d4b65f3b00650a43ef11bfb9771fcf0f62d3
DIST freebsd-sys-6.2_beta3.tar.bz2 18336143 RMD160 c75040d96af463013459f3a3278d4cca1d78e828 SHA1 6b5e89d268cab3ea64065a444a65569a70440344 SHA256 f52b0bf25d2ae5792503789a1bd47bc0db7924c13df55021c7740dcdd5a4225c
DIST freebsd-usbin-6.1.tar.bz2 2664570 RMD160 98a87538790a814d0afd35bb0f848bcff574c72d SHA1 c7e6856e7f6bd2d45790737f411348b301944b91 SHA256 70b4a494a72d130d641500bfa857bdf98c9a4a040da2699475902523ba5c374e
-DIST freebsd-usbin-6.2_beta2.tar.bz2 2694290 RMD160 a260f821dc50adbf1b1bef270bc41477e938e336 SHA1 bf532378a01c4b17499c402953d8d8eac1d276fc SHA256 fd54dc28e41028d39cdef1d37f054c3db5c798854db1519119e09e034a8f48ef
DIST freebsd-usbin-6.2_beta3.tar.bz2 2695369 RMD160 09e6b00f27ee49418e807fd565966f534fb5f0a3 SHA1 ff37ab51607274d59190feeb0862f84fd1c0c973 SHA256 14fd08cee425c734abb24fa08e6ccf1c69de7b5e9b569cf77459c04fca096db4
EBUILD freebsd-lib-6.1.ebuild 7090 RMD160 20f8f465cedd506e454cb89fe11fcfc45147de99 SHA1 85b610d3f4cdec3425cbeda56e2bd200dbeedee2 SHA256 96004cae3e5f4896ef8cffcd49997ec8e8d14ccad7d7226775afd00dd0a09458
MD5 a6c67502d5291a0a1f582e2001324268 freebsd-lib-6.1.ebuild 7090
RMD160 20f8f465cedd506e454cb89fe11fcfc45147de99 freebsd-lib-6.1.ebuild 7090
SHA256 96004cae3e5f4896ef8cffcd49997ec8e8d14ccad7d7226775afd00dd0a09458 freebsd-lib-6.1.ebuild 7090
-EBUILD freebsd-lib-6.2_beta2.ebuild 7675 RMD160 58f9f6c2699c051288991f356fa0bb47d9f0a15b SHA1 bf729f581b3d2656770d35de0d6b5315be638903 SHA256 f61c7bbdfb0b5e673c94b2580e958ca3a60c47c3ade5db2296c7cccddeff1531
-MD5 8278bea4a109c5a5dee20d0d99dfdb08 freebsd-lib-6.2_beta2.ebuild 7675
-RMD160 58f9f6c2699c051288991f356fa0bb47d9f0a15b freebsd-lib-6.2_beta2.ebuild 7675
-SHA256 f61c7bbdfb0b5e673c94b2580e958ca3a60c47c3ade5db2296c7cccddeff1531 freebsd-lib-6.2_beta2.ebuild 7675
EBUILD freebsd-lib-6.2_beta3.ebuild 7708 RMD160 80c68bdee17cfc7144ef19cec844c584a0abd12b SHA1 d621e3d88ae183dc4c11c6fa902951baad6944d1 SHA256 a3dd6b8e207814515ec0b690f83537584fa8bbb44a16e0543625ae9d0e3e587e
MD5 9edd6493cca33fce44844bbe97e1da50 freebsd-lib-6.2_beta3.ebuild 7708
RMD160 80c68bdee17cfc7144ef19cec844c584a0abd12b freebsd-lib-6.2_beta3.ebuild 7708
SHA256 a3dd6b8e207814515ec0b690f83537584fa8bbb44a16e0543625ae9d0e3e587e freebsd-lib-6.2_beta3.ebuild 7708
-MISC ChangeLog 12018 RMD160 c5dc942fd5c3d0d24c942373823ac546f64b912b SHA1 806a89224ef326b225b4aecdb0ba02ea0bbe08b9 SHA256 5f4729b7f31e69f3b39b4659824debf0b21b442ac768426c919deb62a372c19b
-MD5 456ad40c6b4c91549d5b7df12b9c72fc ChangeLog 12018
-RMD160 c5dc942fd5c3d0d24c942373823ac546f64b912b ChangeLog 12018
-SHA256 5f4729b7f31e69f3b39b4659824debf0b21b442ac768426c919deb62a372c19b ChangeLog 12018
+MISC ChangeLog 12125 RMD160 81366642986590dcf8499506c00dc3e79c8fa038 SHA1 5a467430005096115cc7adfdfaf4aac188ad9cf7 SHA256 d8eece4c7e38a3bd2a42529ef2e8918aa8b4de7e9ab26c82e5d1b2f3657c6ce4
+MD5 587e0da6acf57412b33006f3f7427728 ChangeLog 12125
+RMD160 81366642986590dcf8499506c00dc3e79c8fa038 ChangeLog 12125
+SHA256 d8eece4c7e38a3bd2a42529ef2e8918aa8b4de7e9ab26c82e5d1b2f3657c6ce4 ChangeLog 12125
MISC metadata.xml 156 RMD160 60b5820a08275f307e5bd936d78f5afd1f141086 SHA1 d9d9d4f2b5afc58339ea3e562fca490156935f1f SHA256 30ab515d6ac492d3d6c36ac3c675511742c2149e56a6b3228c8d22ab8edb3ff7
MD5 2bd48a5ae413433cbb36110b219ce97c metadata.xml 156
RMD160 60b5820a08275f307e5bd936d78f5afd1f141086 metadata.xml 156
@@ -88,16 +76,13 @@ SHA256 30ab515d6ac492d3d6c36ac3c675511742c2149e56a6b3228c8d22ab8edb3ff7 metadata
MD5 7a392338e5c80064105ffb19a6575361 files/digest-freebsd-lib-6.1 2072
RMD160 2f3e680d7a90f8387d086addff4fff68fd4c51de files/digest-freebsd-lib-6.1 2072
SHA256 e4f88af696b9cdd96f0553e2928d59ce138c08f8d4925b32b6ea59c3030d7f21 files/digest-freebsd-lib-6.1 2072
-MD5 5798c1390f14676ded274a3ef35adbfd files/digest-freebsd-lib-6.2_beta2 2216
-RMD160 49e26b83a9101626c4ab560ec144bc6e2cd25e08 files/digest-freebsd-lib-6.2_beta2 2216
-SHA256 6ec0493bba230f79c405f25cbb3918fdb3e38a1627c4fe87a5d635cb269b1e4d files/digest-freebsd-lib-6.2_beta2 2216
MD5 3f7b61934e41c5bb952365cd52fa5c4f files/digest-freebsd-lib-6.2_beta3 2216
RMD160 f04db5202d33da7c9d6d2bf3095ede292c490b01 files/digest-freebsd-lib-6.2_beta3 2216
SHA256 8a325f1f75f25f7462ef202dc8b0ce4ed4851c543b2581a34132ee07415e96b0 files/digest-freebsd-lib-6.2_beta3 2216
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
-iD8DBQFFXdlAAiZjviIA2XgRApeDAJ9ouC+YAQxXNMQ8He5gAwzP4R64iQCfXGsU
-ohiduz+7uVDy/ytq4JZduNQ=
-=hqf1
+iD8DBQFFXxzMAiZjviIA2XgRAhyhAKC931vq+Eo7F+71zJ9utFxPYEP8nQCeLQyl
+cOYfT0WyUZMVtIN1G8o7unA=
+=j6Ax
-----END PGP SIGNATURE-----
diff --git a/sys-freebsd/freebsd-lib/files/digest-freebsd-lib-6.2_beta2 b/sys-freebsd/freebsd-lib/files/digest-freebsd-lib-6.2_beta2
deleted file mode 100644
index 4b7562e2f40e..000000000000
--- a/sys-freebsd/freebsd-lib/files/digest-freebsd-lib-6.2_beta2
+++ /dev/null
@@ -1,24 +0,0 @@
-MD5 a01bf3e9615dc7971e8d192d934fe939 freebsd-contrib-6.2_beta2.tar.bz2 36450440
-RMD160 ade5b435c733f1f7766d3a64e884ae70053c53c8 freebsd-contrib-6.2_beta2.tar.bz2 36450440
-SHA256 c3a600edf8d61377e5bffbd91f06b9ff3442d76ee667f757e9a71fba854f4f96 freebsd-contrib-6.2_beta2.tar.bz2 36450440
-MD5 23813687cc798ce8a7ca2e38ed6d2518 freebsd-crypto-6.2_beta2.tar.bz2 3983557
-RMD160 8f8fb40a3d754fe80e4c9e77449e48f1e09e957c freebsd-crypto-6.2_beta2.tar.bz2 3983557
-SHA256 207e03eebdb1d8b769d4f91ffe274053da88ee933921acedbdf1bc5f9245d876 freebsd-crypto-6.2_beta2.tar.bz2 3983557
-MD5 5c67b6e8d6c69b5151a9828679b920ad freebsd-etc-6.2_beta2.tar.bz2 188103
-RMD160 d6556dd5c89806e4968d7b76df5790602be25390 freebsd-etc-6.2_beta2.tar.bz2 188103
-SHA256 9395e53d0b581235cb48f3b8d788a8c4be8e75e7c11edcd11dd56569b40b1656 freebsd-etc-6.2_beta2.tar.bz2 188103
-MD5 e6733cd028b0dd26545a63c70ed44d0d freebsd-include-6.2_beta2.tar.bz2 131579
-RMD160 1c09dd973a875dbebb8e5b460a72ac5ab99f0644 freebsd-include-6.2_beta2.tar.bz2 131579
-SHA256 d2ab03d2db180d4a444b99b7f164eb1ef5e04ac8ad69e1ffcb621ea8c594fa3f freebsd-include-6.2_beta2.tar.bz2 131579
-MD5 280ec9cccb1e34dabc8344d682dcfa23 freebsd-lib-6.2_beta2.tar.bz2 2669048
-RMD160 dfb33df2c853bf226034843fdc319a5e0781fcf7 freebsd-lib-6.2_beta2.tar.bz2 2669048
-SHA256 ee3f7c41c0991b0196cbb550ed6a97093f220efd9caac52705ef4f49050c4f14 freebsd-lib-6.2_beta2.tar.bz2 2669048
-MD5 e824d69bd6cc2563bc28eb270987e069 freebsd-libexec-6.2_beta2.tar.bz2 276928
-RMD160 33a180fa9938dbe8b57c211f475522b837079ad5 freebsd-libexec-6.2_beta2.tar.bz2 276928
-SHA256 6a9d0525336914d1607412fe7785aa4809f78abb0961933521bf912195e614aa freebsd-libexec-6.2_beta2.tar.bz2 276928
-MD5 7457f7ec6d84a5cc00a8689fca2082ea freebsd-sys-6.2_beta2.tar.bz2 18317253
-RMD160 c53fdcb1289d56f5184b3912fdb0ce2cc4edcc49 freebsd-sys-6.2_beta2.tar.bz2 18317253
-SHA256 a5e503e13340bd1ac674aeae3737d4b65f3b00650a43ef11bfb9771fcf0f62d3 freebsd-sys-6.2_beta2.tar.bz2 18317253
-MD5 489233461f2029fd841e95dbff84034a freebsd-usbin-6.2_beta2.tar.bz2 2694290
-RMD160 a260f821dc50adbf1b1bef270bc41477e938e336 freebsd-usbin-6.2_beta2.tar.bz2 2694290
-SHA256 fd54dc28e41028d39cdef1d37f054c3db5c798854db1519119e09e034a8f48ef freebsd-usbin-6.2_beta2.tar.bz2 2694290
diff --git a/sys-freebsd/freebsd-lib/freebsd-lib-6.2_beta2.ebuild b/sys-freebsd/freebsd-lib/freebsd-lib-6.2_beta2.ebuild
deleted file mode 100644
index 4627e99d568c..000000000000
--- a/sys-freebsd/freebsd-lib/freebsd-lib-6.2_beta2.ebuild
+++ /dev/null
@@ -1,255 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-lib/freebsd-lib-6.2_beta2.ebuild,v 1.8 2006/10/26 18:21:14 flameeyes Exp $
-
-inherit bsdmk freebsd flag-o-matic toolchain-funcs
-
-DESCRIPTION="FreeBSD's base system libraries"
-SLOT="6.0"
-KEYWORDS="~sparc-fbsd ~x86-fbsd"
-
-IUSE="atm bluetooth ssl ipv6 kerberos nis gpib build bootstrap"
-
-# Crypto is needed to have an internal OpenSSL header
-# sys is needed for libalias, probably we can just extract that instead of
-# extracting the whole tarball
-SRC_URI="mirror://gentoo/${LIB}.tar.bz2
- mirror://gentoo/${CONTRIB}.tar.bz2
- mirror://gentoo/${CRYPTO}.tar.bz2
- mirror://gentoo/${LIBEXEC}.tar.bz2
- mirror://gentoo/${ETC}.tar.bz2
- mirror://gentoo/${INCLUDE}.tar.bz2
- nis? ( mirror://gentoo/${USBIN}.tar.bz2 )
- build? (
- mirror://gentoo/${SYS}.tar.bz2 )"
-
-if [[ ${CATEGORY/cross-} == ${CATEGORY} ]]; then
- RDEPEND="ssl? ( dev-libs/openssl )
- kerberos? ( virtual/krb5 )
- !sys-freebsd/freebsd-headers"
- DEPEND="${RDEPEND}
- >=sys-devel/flex-2.5.31-r2
- =sys-freebsd/freebsd-sources-${RV}*
- !bootstrap? ( app-arch/bzip2 )"
-
- PROVIDE="virtual/libc
- virtual/os-headers"
-
-else
- SRC_URI="${SRC_URI}
- mirror://gentoo/${SYS}.tar.bz2"
-fi
-
-DEPEND="${DEPEND}
- =sys-freebsd/freebsd-mk-defs-${RV}*"
-
-S="${WORKDIR}/lib"
-
-export CTARGET=${CTARGET:-${CHOST}}
-if [[ ${CTARGET} == ${CHOST} && ${CATEGORY/cross-} != ${CATEGORY} ]]; then
- export CTARGET=${CATEGORY/cross-}
-fi
-
-pkg_setup() {
- [[ -c /dev/zero ]] || \
- die "You forgot to mount /dev; the compiled libc would break."
-
- if ! use ssl && use kerberos; then
- eerror "If you want kerberos support you need to enable ssl support, too."
- fi
-
- use atm || mymakeopts="${mymakeopts} NO_ATM= "
- use bluetooth || mymakeopts="${mymakeopts} NO_BLUETOOTH= "
- use ssl || mymakeopts="${mymakeopts} NO_OPENSSL= NO_CRYPT= "
- use ipv6 || mymakeopts="${mymakeopts} NO_INET6= "
- use kerberos || mymakeopts="${mymakeopts} NO_KERBEROS= "
- use nis || mymakeopts="${mymakeopts} NO_NIS= "
- use gpib || mymakeopts="${mymakeopts} NO_GPIB= "
-
- mymakeopts="${mymakeopts} NO_OPENSSH= NO_BIND= NO_SENDMAIL= "
-
- replace-flags "-O?" -"O1"
-
- if [[ ${CTARGET} != ${CHOST} ]]; then
- mymakeopts="${mymakeopts} MACHINE=$(tc-arch-kernel ${CTARGET})"
- mymakeopts="${mymakeopts} MACHINE_ARCH=$(tc-arch-kernel ${CTARGET})"
- fi
-}
-
-PATCHES="${FILESDIR}/${PN}-bsdxml.patch
- ${FILESDIR}/${PN}-fixmp.patch
- ${FILESDIR}/${PN}-6.0-pmc.patch
- ${FILESDIR}/${PN}-6.0-gccfloat.patch
- ${FILESDIR}/${PN}-6.0-flex-2.5.31.patch
- ${FILESDIR}/${PN}-6.0-binutils-asm.patch
- ${FILESDIR}/${PN}-6.0-ssp.patch
- ${FILESDIR}/${PN}-6.1-csu.patch
- ${FILESDIR}/${PN}-6.2-gcc41.patch
- ${FILESDIR}/${PN}-6.2-sparc64.patch"
-
-# Here we disable and remove source which we don't need or want
-# In order:
-# - ncurses stuff
-# - archiving libraries (have their own ebuild)
-# - sendmail libraries (they are installed by sendmail)
-# - SNMP library and dependency (have their own ebuilds)
-#
-# The rest are libraries we already have somewhere else because
-# they are contribution.
-# Note: libtelnet is an internal lib used by telnet and telnetd programs
-# as it's not used in freebsd-lib package itself, it's pointless building
-# it here.
-REMOVE_SUBDIRS="libncurses libform libmenu libpanel \
- libz libbz2 libarchive \
- libsm libsmdb libsmutil \
- libbegemot libbsnmp \
- libsmb libpam libpcap bind libwrap libmagic \
- libcom_err libtelnet"
-
-src_unpack() {
- freebsd_src_unpack
-
- sed -i -e 's:-o/dev/stdout:-t:' ${S}/libc/net/Makefile.inc
-
- use build && return 0
-
- if [[ ${CTARGET} == ${CHOST} ]]; then
- ln -s "/usr/src/sys-${RV}" "${WORKDIR}/sys"
- else
- sed -i -e 's:/usr/include:/usr/'${CTARGET}'/usr/include:g' \
- "${S}/libc/"{yp,rpc}"/Makefile.inc"
- fi
-
- [[ -n $(install --version 2> /dev/null | grep GNU) ]] && \
- sed -i -e 's:${INSTALL} -C:${INSTALL}:' "${WORKDIR}/include/Makefile"
-
- # Let arch-specific includes to be found
- local machine
- machine=$(tc-arch-kernel ${CTARGET})
- ln -s "${WORKDIR}/sys/${machine}/include" "${WORKDIR}/include/machine"
-
- use bootstrap && dummy_mk libstand
-}
-
-src_compile() {
- cd "${WORKDIR}/include"
- $(freebsd_get_bmake) CC=$(tc-getCC) || die "make include failed"
-
- use crosscompile_opts_headers-only && return 0
-
- # Don't use ssp until properly fixed
- append-flags $(test-flags -fno-stack-protector -fno-stack-protector-all)
-
- strip-flags
- if [[ ${CTARGET} != ${CHOST} ]]; then
- export YACC='yacc -by'
- CHOST=${CTARGET} tc-export CC LD CXX
-
- local machine
- machine=$(tc-arch-kernel ${CTARGET})
-
- local csudir
- if [[ -d "${S}/csu/${machine}-elf" ]]; then
- csudir="${S}/csu/${machine}-elf"
- else
- csudir="${S}/csu/${machine}"
- fi
- cd "${csudir}"
- $(freebsd_get_bmake) ${mymakeopts} || die "make csu failed"
-
- append-flags "-isystem /usr/${CTARGET}/usr/include"
- append-flags "-B ${csudir}"
- append-ldflags "-B ${csudir}"
- cd "${S}/libc"
- $(freebsd_get_bmake) ${mymakeopts} || die "make libc failed"
-
- append-flags "-isystem ${WORKDIR}/lib/msun/${machine/i386/i387}"
- cd "${S}/msun"
- $(freebsd_get_bmake) ${mymakeopts} || die "make libc failed"
- else
- # Forces to use the local copy of headers as they might be outdated in
- # the system
- append-flags "-isystem '${WORKDIR}/sys' -isystem '${WORKDIR}/include'"
-
- cd "${S}"
- NOFLAGSTRIP=yes freebsd_src_compile
- fi
-}
-
-src_install() {
- cd "${WORKDIR}/include"
-
- [[ ${CTARGET} == ${CHOST} ]] \
- && INCLUDEDIR="/usr/include" \
- || INCLUDEDIR="/usr/${CTARGET}/usr/include"
-
- einfo "Installing for ${CTARGET} in ${CHOST}.."
-
- dodir "${INCLUDEDIR}"
- $(freebsd_get_bmake) installincludes \
- MACHINE=$(tc-arch-kernel) \
- DESTDIR="${D}" INCLUDEDIR="${INCLUDEDIR}" || die "Install failed"
-
- # Install math.h when crosscompiling, at this point
- if [[ ${CHOST} != ${CTARGET} ]]; then
- insinto "/usr/${CTARGET}/usr/include"
- doins "${S}/msun/src/math.h"
- fi
-
- use crosscompile_opts_headers-only && return 0
-
- if [[ ${CTARGET} != ${CHOST} ]]; then
- local csudir
- if [[ -d "${S}/csu/$(tc-arch-kernel ${CTARGET})-elf" ]]; then
- csudir="${S}/csu/$(tc-arch-kernel ${CTARGET})-elf"
- else
- csudir="${S}/csu/$(tc-arch-kernel ${CTARGET})"
- fi
- cd "${csudir}"
- $(freebsd_get_bmake) ${mymakeopts} DESTDIR="${D}" install \
- FILESDIR="/usr/${CTARGET}/usr/lib" || die "Install csu failed"
-
- cd "${S}/libc"
- $(freebsd_get_bmake) ${mymakeopts} DESTDIR="${D}" install NO_MAN= \
- SHLIBDIR="/usr/${CTARGET}/lib" LIBDIR="/usr/${CTARGET}/usr/lib" || die "Install failed"
-
- cd "${S}/msun"
- $(freebsd_get_bmake) ${mymakeopts} DESTDIR="${D}" install NO_MAN= \
- INCLUDEDIR="/usr/${CTARGET}/usr/include" \
- SHLIBDIR="/usr/${CTARGET}/lib" LIBDIR="/usr/${CTARGET}/usr/lib" || die "Install failed"
-
- dosym "usr/include" "/usr/${CTARGET}/sys-include"
- else
- cd "${S}"
- mkinstall || die "Install failed"
- fi
-
- # Don't install the rest of the configuration files if crosscompiling
- [[ ${CTARGET} != ${CHOST} ]] && return 0
-
- # Compatibility symlinks to run FreeBSD 5.x binaries (ABI is mostly
- # identical, remove when problems will actually happen)
- dosym /lib/libc.so.6 /usr/lib/libc.so.5
- dosym /lib/libm.so.4 /usr/lib/libm.so.3
-
- # install libstand files
- dodir /usr/include/libstand
- insinto /usr/include/libstand
- doins "${S}"/libstand/*.h
-
- cd "${WORKDIR}/etc/"
- insinto /etc
- doins auth.conf nls.alias mac.conf netconfig
-
- # Install ttys file
- doins "etc.$(tc-arch-kernel)"/*
-
- dodir /etc/sandbox.d
- cat - > "${D}"/etc/sandbox.d/00freebsd <<EOF
-# /dev/crypto is used mostly by OpenSSL on *BSD platforms
-# leave it available as packages might use OpenSSL commands
-# during compile or install phase.
-SANDBOX_PREDICT="/dev/crypto"
-EOF
-}
-